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
Set value of Sequence
public final void setSequence(java.lang.Integer sequence) { setSequence(getContext(), sequence); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSequence(Integer sequence) {\n this.sequence = sequence;\n }", "@IcalProperty(pindex = PropertyInfoIndex.SEQUENCE,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setSequence(final int val) {\n sequence = val;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public static void setSequence(Sequence m){\n\t\tcurMIDI = m;\n\t}", "void setSeq(long seq) {\n this.seq = seq;\n }", "public void modifySequence(String sequence) {\n this.sequence = sequence;\n }", "public void setSequence(Integer sequence)\n {\n if (sequence == null)\n sequence = 0;\n \n if (sequence < 0)\n throw new IllegalArgumentException(\"sortrank must be >= 0\");\n \n this.sequence = sequence;\n }", "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "public final void setSequence(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer sequence)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.Sequence.toString(), sequence);\r\n\t}", "public void set (Object element)\n {\n if(!isAfterNext){\n throw new IllegalStateException(); \n }\n position.data = element;\n \n \n }", "public void set(){\n if (getRhs().isResolved() && getRhs().isSimpleValue()){\n getParameter().setExpression((ArchSimpleExpressionSymbol) getRhs());\n }\n else {\n throw new IllegalStateException(\"The value of the parameter is set to a sequence or the expression is not resolved. This should never happen.\");\n }\n }", "void setSequenceNumber(int sequenceNumber);", "public void setValue(A value) {this.value = value; }", "public void set_seqnum(byte value) {\n setSIntElement(offsetBits_seqnum(), 8, value);\n }", "public void set(int pos);", "public void setValue(S s) { value = s; }", "public void setSequence(String sequence) {\r\n this.sequence = sequence;\r\n }", "public Builder setSeq(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n seq_ = value;\n onChanged();\n return this;\n }", "public void setActiveSequence(Sequence sequence) {\n\t\tif(!sequences.contains(sequence) && sequence != null) {\n\t\t\tLogger.log(\"New sequence added: \" + sequence.getName());\n\t\t\tsequences.add(sequence);\n\t\t}\n\t\t\n\t\tif(sequence == null) {\n\t\t\tLogger.log(\"Active sequence set to: NULL\");\n\t\t} else {\n\t\t\tLogger.log(\"Active sequence set to: \" + sequence.getName());\n\t\t}\n\t\t\n\t\tactiveSequence = sequence;\n\t}", "void setNextValue() {\n this.value = this.value * 2;\n }", "public void SetSequence(int Sequence, String ElementID){\n\t\t_TEST stack = new _TEST();\t\t\t\t\t\t\t\t /* TEST */\n\t\tstack.PrintHeader(ID,Sequence+\":int, \" + ElementID+\":String\",\"\");\t /* TEST */\n\t\tGENERATOR GEN_to_setsequence;\t\n\t\tGEN_to_setsequence = new GENERATOR(0,0,null);\t\t\t/* Temporalis valtozo */\n\t\tGetElementByID(GEN_to_setsequence.ID);\t\t\t\t\t/* GetElemetByIDvel megkapjuk, az objektumot\t*/\t\t\n\t\tGEN_to_setsequence.SetSequence(Sequence); \t\t\t\t /* az generator objektum SetSequence(...) metodusat meghivjuk */\n\t\tstack.PrintTail(ID,Sequence+\":int, \" + ElementID+\":String\",\"\");\t\t\t\t\t\t\t\t\t /* TEST */\n\t\n\t}", "public V setValue(V value);", "void set(int idx, int val);", "public void setValue(Object value) { this.value = value; }", "public void setSeqNo (int SeqNo);", "public void setSeqNo (int SeqNo);", "void setValue(V value);", "public void setValue(int value);", "void setValue(int value);", "public final void setSequence(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String sequence)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.Sequence.toString(), sequence);\r\n\t}", "public void setValue(int value) {\r\n this.value = value;\r\n }", "public void setValue(Object value);", "public void setValue(Object val);", "public final void setSequence(java.lang.String sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "public Element set(Element value) {\n if (value instanceof SymmetricLongZrElement)\n this.value = ((SymmetricLongZrElement) value).value;\n else\n this.value = value.toBigInteger().longValue();\n// return this;\n return mod();\n }", "public void applySequence(Sequence seq) {\n List<Game> games = seq.getGames();\n int nextStart = 0;\n for (Game game : games) {\n game.setStart(nextStart);\n nextStart += game.getDuration();\n }\n tau.setStart(nextStart);\n sequence = seq;\n }", "public void setValue(int value)\n {\n this.value = value;\n }", "public int setValue (int val);", "@Override\n public E set(E value) throws IllegalStateException{\n if(lastItem == null) throw new IllegalStateException();\n it.remove();\n offer(value);\n\n it = iterator();\n for (int i = 0; i < nextCount; i++) {\n it.next();\n }\n\n E item = lastItem;\n lastItem = null;\n return item;\n }", "public void set(int i);", "public void setValue(Integer value) {\n _value = value ;\n }", "protected abstract void setValue(V value);", "public void setValue(Value value) {\n this.value = value;\n }", "public void setValue(int val)\r\n {\r\n value = val;\r\n }", "public abstract void setValue(int value);", "void setValue(T value)\n\t\t{\n\t\t\tthis.value = value;\n\t\t}", "public void set(int value){\n val = value;\n }", "public void setSequence(String seq) throws Exception {\n seq = seq.toUpperCase();\n seq = seq.trim();\n\n // Verify that the sequence does not contain invalid chars\n if (this.verifySequence(seq)) {\n this.sequence = seq;\n } else {\n throw new Exception(\"Invalid Sub Sequence\");\n }\n }", "void setValue(Object value);", "public Builder setSeqBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n seq_ = value;\n onChanged();\n return this;\n }", "@Test(expected = IllegalStateException.class)\n public void testSet_After_Set() {\n OasisList<Integer> baseList = new SegmentedOasisList<>();\n baseList.addAll(Arrays.asList(1, 2, 6, 8));\n\n ListIterator<Integer> instance = baseList.listIterator();\n instance.next();\n instance.next();\n instance.set(3);\n\n instance.set(2);\n\n }", "@Override\r\n\t\tpublic V setValue(V value) {\n\t\t\treturn pair.setSecond(value);\r\n\t\t}", "public void set(long index);", "@Override\n public void setValue(Object val)\n {\n value = val;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setSequenceNumber(long value) {\n this.sequenceNumber = value;\n }", "@Override\n public E set(int index, E value) {\n // todo: Students must code\n checkRange(index);\n int pos = calculate(index);\n E oldVal = data[pos];\n data[pos] = value;\n return oldVal;\n }", "public void setSequenceNo(Number value) {\n setAttributeInternal(SEQUENCENO, value);\n }", "public void setSequenceNumber(int sequence) {\n\t\tfSequenceNumber= sequence;\n\t}", "public void setValue(final Object value) { _value = value; }", "void setValue(T value);", "void setValue(T value);", "public void setValue(Object value) {\n this.value = value;\n }", "public void setValue(int new_value){\n this.value=new_value;\n }", "@Override\n\tpublic void set(int id, Generator generator) {\n\t}", "public void set(int idx, E value) {\n assert idx >= 0;\n \n checkgrow(idx);\n \n\tarray[idx] = value;\n\t\n }", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value)\n {\n // we have assumed value 1 for X and 10 for O\n this.value = value;\n }", "public void setValue(T element) {\n\t\t\n\t}", "public void set(int[] ai);", "public EffectIter(EffectSequence seq) {\n d_seq = seq;\n }", "void set(int index, int value) {\n array[index] = value;\n }", "public void setValue(E value)\n {\n }", "void setToValue(int val);", "public void setValue(Integer value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis.value = value;\n\t}", "public void setValue(T value) \n\t{\n\t\tthis.value = value;\n\t}", "public void setUserSeq(Long userSeq) {\n sessionData.setUserSeq(userSeq);\n }", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis._value = value;\n\t}", "public void setValue(T value) {\n this.value = value;\n }", "public void set(int i) {\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }" ]
[ "0.68692076", "0.66746175", "0.6665601", "0.6665601", "0.6665601", "0.65669656", "0.6565137", "0.6527603", "0.6508975", "0.6407753", "0.6407753", "0.6400742", "0.6354687", "0.6348604", "0.63084376", "0.6303209", "0.6272365", "0.6248536", "0.62267697", "0.6203783", "0.6186234", "0.6143161", "0.60911465", "0.60882103", "0.6080845", "0.6067514", "0.60646015", "0.6061242", "0.6061242", "0.60464936", "0.60125697", "0.601229", "0.59938574", "0.5912815", "0.589983", "0.5899066", "0.5883599", "0.5881647", "0.5868407", "0.58670086", "0.58570534", "0.585586", "0.5854348", "0.58415824", "0.5835487", "0.582516", "0.5817035", "0.5811133", "0.5810641", "0.5796182", "0.5794035", "0.578817", "0.5775433", "0.5774836", "0.5769347", "0.576635", "0.5746813", "0.5743535", "0.5743535", "0.57421", "0.5739299", "0.5739299", "0.5739299", "0.5732992", "0.57277954", "0.5724235", "0.57213724", "0.57126546", "0.57118195", "0.57118195", "0.57006943", "0.569517", "0.5692254", "0.56740654", "0.56639993", "0.56639993", "0.56639993", "0.56639993", "0.56639993", "0.5658529", "0.56463194", "0.5645516", "0.5642227", "0.56315595", "0.5625449", "0.5618127", "0.560968", "0.56091434", "0.56091434", "0.5608137", "0.56034344", "0.5600801", "0.5600801", "0.5594091", "0.5594041", "0.559123", "0.558601", "0.558601", "0.558601", "0.558601" ]
0.6721538
1
Set value of Sequence
public final void setSequence(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer sequence) { getMendixObject().setValue(context, MemberNames.Sequence.toString(), sequence); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSequence(Integer sequence) {\n this.sequence = sequence;\n }", "public final void setSequence(java.lang.Integer sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "@IcalProperty(pindex = PropertyInfoIndex.SEQUENCE,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setSequence(final int val) {\n sequence = val;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public void setSeq(Integer seq) {\n this.seq = seq;\n }", "public static void setSequence(Sequence m){\n\t\tcurMIDI = m;\n\t}", "void setSeq(long seq) {\n this.seq = seq;\n }", "public void modifySequence(String sequence) {\n this.sequence = sequence;\n }", "public void setSequence(Integer sequence)\n {\n if (sequence == null)\n sequence = 0;\n \n if (sequence < 0)\n throw new IllegalArgumentException(\"sortrank must be >= 0\");\n \n this.sequence = sequence;\n }", "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "public Builder setSeq(int value) {\n\n seq_ = value;\n onChanged();\n return this;\n }", "public void set (Object element)\n {\n if(!isAfterNext){\n throw new IllegalStateException(); \n }\n position.data = element;\n \n \n }", "public void set(){\n if (getRhs().isResolved() && getRhs().isSimpleValue()){\n getParameter().setExpression((ArchSimpleExpressionSymbol) getRhs());\n }\n else {\n throw new IllegalStateException(\"The value of the parameter is set to a sequence or the expression is not resolved. This should never happen.\");\n }\n }", "void setSequenceNumber(int sequenceNumber);", "public void setValue(A value) {this.value = value; }", "public void set_seqnum(byte value) {\n setSIntElement(offsetBits_seqnum(), 8, value);\n }", "public void set(int pos);", "public void setValue(S s) { value = s; }", "public void setSequence(String sequence) {\r\n this.sequence = sequence;\r\n }", "public Builder setSeq(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n seq_ = value;\n onChanged();\n return this;\n }", "public void setActiveSequence(Sequence sequence) {\n\t\tif(!sequences.contains(sequence) && sequence != null) {\n\t\t\tLogger.log(\"New sequence added: \" + sequence.getName());\n\t\t\tsequences.add(sequence);\n\t\t}\n\t\t\n\t\tif(sequence == null) {\n\t\t\tLogger.log(\"Active sequence set to: NULL\");\n\t\t} else {\n\t\t\tLogger.log(\"Active sequence set to: \" + sequence.getName());\n\t\t}\n\t\t\n\t\tactiveSequence = sequence;\n\t}", "void setNextValue() {\n this.value = this.value * 2;\n }", "public void SetSequence(int Sequence, String ElementID){\n\t\t_TEST stack = new _TEST();\t\t\t\t\t\t\t\t /* TEST */\n\t\tstack.PrintHeader(ID,Sequence+\":int, \" + ElementID+\":String\",\"\");\t /* TEST */\n\t\tGENERATOR GEN_to_setsequence;\t\n\t\tGEN_to_setsequence = new GENERATOR(0,0,null);\t\t\t/* Temporalis valtozo */\n\t\tGetElementByID(GEN_to_setsequence.ID);\t\t\t\t\t/* GetElemetByIDvel megkapjuk, az objektumot\t*/\t\t\n\t\tGEN_to_setsequence.SetSequence(Sequence); \t\t\t\t /* az generator objektum SetSequence(...) metodusat meghivjuk */\n\t\tstack.PrintTail(ID,Sequence+\":int, \" + ElementID+\":String\",\"\");\t\t\t\t\t\t\t\t\t /* TEST */\n\t\n\t}", "public V setValue(V value);", "void set(int idx, int val);", "public void setValue(Object value) { this.value = value; }", "public void setSeqNo (int SeqNo);", "public void setSeqNo (int SeqNo);", "void setValue(V value);", "public void setValue(int value);", "void setValue(int value);", "public final void setSequence(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String sequence)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.Sequence.toString(), sequence);\r\n\t}", "public void setValue(int value) {\r\n this.value = value;\r\n }", "public void setValue(Object value);", "public void setValue(Object val);", "public final void setSequence(java.lang.String sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "public Element set(Element value) {\n if (value instanceof SymmetricLongZrElement)\n this.value = ((SymmetricLongZrElement) value).value;\n else\n this.value = value.toBigInteger().longValue();\n// return this;\n return mod();\n }", "public void applySequence(Sequence seq) {\n List<Game> games = seq.getGames();\n int nextStart = 0;\n for (Game game : games) {\n game.setStart(nextStart);\n nextStart += game.getDuration();\n }\n tau.setStart(nextStart);\n sequence = seq;\n }", "public void setValue(int value)\n {\n this.value = value;\n }", "@Override\n public E set(E value) throws IllegalStateException{\n if(lastItem == null) throw new IllegalStateException();\n it.remove();\n offer(value);\n\n it = iterator();\n for (int i = 0; i < nextCount; i++) {\n it.next();\n }\n\n E item = lastItem;\n lastItem = null;\n return item;\n }", "public int setValue (int val);", "public void set(int i);", "public void setValue(Integer value) {\n _value = value ;\n }", "protected abstract void setValue(V value);", "public void setValue(Value value) {\n this.value = value;\n }", "public void setValue(int val)\r\n {\r\n value = val;\r\n }", "public abstract void setValue(int value);", "void setValue(T value)\n\t\t{\n\t\t\tthis.value = value;\n\t\t}", "public void setSequence(String seq) throws Exception {\n seq = seq.toUpperCase();\n seq = seq.trim();\n\n // Verify that the sequence does not contain invalid chars\n if (this.verifySequence(seq)) {\n this.sequence = seq;\n } else {\n throw new Exception(\"Invalid Sub Sequence\");\n }\n }", "public void set(int value){\n val = value;\n }", "void setValue(Object value);", "public Builder setSeqBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n seq_ = value;\n onChanged();\n return this;\n }", "@Test(expected = IllegalStateException.class)\n public void testSet_After_Set() {\n OasisList<Integer> baseList = new SegmentedOasisList<>();\n baseList.addAll(Arrays.asList(1, 2, 6, 8));\n\n ListIterator<Integer> instance = baseList.listIterator();\n instance.next();\n instance.next();\n instance.set(3);\n\n instance.set(2);\n\n }", "@Override\r\n\t\tpublic V setValue(V value) {\n\t\t\treturn pair.setSecond(value);\r\n\t\t}", "public void set(long index);", "@Override\n public void setValue(Object val)\n {\n value = val;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "@Override\n\tpublic void setValue(Object value) {\n\t\t\n\t}", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setValue(int value) {\n this.value = value;\n }", "public void setSequenceNumber(long value) {\n this.sequenceNumber = value;\n }", "@Override\n public E set(int index, E value) {\n // todo: Students must code\n checkRange(index);\n int pos = calculate(index);\n E oldVal = data[pos];\n data[pos] = value;\n return oldVal;\n }", "public void setSequenceNo(Number value) {\n setAttributeInternal(SEQUENCENO, value);\n }", "public void setSequenceNumber(int sequence) {\n\t\tfSequenceNumber= sequence;\n\t}", "public void setValue(final Object value) { _value = value; }", "void setValue(T value);", "void setValue(T value);", "public void setValue(Object value) {\n this.value = value;\n }", "public void setValue(int new_value){\n this.value=new_value;\n }", "@Override\n\tpublic void set(int id, Generator generator) {\n\t}", "public void set(int idx, E value) {\n assert idx >= 0;\n \n checkgrow(idx);\n \n\tarray[idx] = value;\n\t\n }", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value) {\r\n\t\tthis.value = value;\r\n\t}", "public void setValue(int value)\n {\n // we have assumed value 1 for X and 10 for O\n this.value = value;\n }", "public void setValue(T element) {\n\t\t\n\t}", "public void set(int[] ai);", "public EffectIter(EffectSequence seq) {\n d_seq = seq;\n }", "void set(int index, int value) {\n array[index] = value;\n }", "public void setValue(E value)\n {\n }", "void setToValue(int val);", "public void setValue(Integer value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis.value = value;\n\t}", "public void setValue(T value) \n\t{\n\t\tthis.value = value;\n\t}", "public void setUserSeq(Long userSeq) {\n sessionData.setUserSeq(userSeq);\n }", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public void setValue(T value) {\n\t\tthis.value = value;\n\t}", "public void setValue(int value) {\n\t\tthis._value = value;\n\t}", "public void setValue(T value) {\n this.value = value;\n }", "public void set(int i) {\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }", "public Builder setSeqnum(long value) {\n bitField0_ |= 0x00000004;\n seqnum_ = value;\n onChanged();\n return this;\n }" ]
[ "0.6870316", "0.672188", "0.667534", "0.6667109", "0.6667109", "0.6667109", "0.6567843", "0.6566325", "0.65285635", "0.6509868", "0.6410125", "0.6410125", "0.6353723", "0.63471097", "0.63093406", "0.6301069", "0.62737983", "0.62467474", "0.622465", "0.62055546", "0.61887157", "0.614328", "0.60907066", "0.60885954", "0.60786945", "0.6065656", "0.6062197", "0.6061911", "0.6061911", "0.60444677", "0.6010554", "0.60101867", "0.59946716", "0.5911131", "0.58972824", "0.58964336", "0.5884219", "0.5880014", "0.58694166", "0.5865283", "0.58562183", "0.5854951", "0.58523303", "0.58396816", "0.5833487", "0.5823335", "0.5815077", "0.5809032", "0.5808884", "0.5795028", "0.57943165", "0.57856536", "0.57776064", "0.5774337", "0.5768404", "0.57646114", "0.5744676", "0.5741919", "0.5741919", "0.5739986", "0.57376367", "0.57376367", "0.57376367", "0.57345957", "0.57265645", "0.5726041", "0.57224566", "0.57105815", "0.57094246", "0.57094246", "0.56986225", "0.5693226", "0.56906325", "0.5672876", "0.56623286", "0.56623286", "0.56623286", "0.56623286", "0.56623286", "0.5656874", "0.5643896", "0.5643556", "0.564335", "0.5630693", "0.56236035", "0.56163794", "0.560788", "0.5607572", "0.5607572", "0.56060743", "0.5604061", "0.5598781", "0.5598781", "0.5592671", "0.5591925", "0.55890965", "0.5587759", "0.5587759", "0.5587759", "0.5587759" ]
0.64013416
12
Set value of Name
public final void setName(java.lang.String name) { setName(getContext(), name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String Name){\r\n name = Name;\r\n }", "public void setName(String value) {\n this.name = value;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(String value) {\n\t\tname = value;\n\t}", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(java.lang.String value);", "public void setName(java.lang.String value);", "public void setNameValue(String nameValue) throws JNCException {\n setNameValue(new YangString(nameValue));\n }", "public void setNameValue(String nameValue) throws JNCException {\n setNameValue(new YangString(nameValue));\n }", "public void setName (String n){\n\t\tname = n;\n\t}", "public void setName(String inName)\n {\n\tname = inName;\n }", "public void setName(java.lang.String value) {\n this.name = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "public static void setName(String n){\n\t\tname = n;\n\t}", "public void setName(String name) {\n fName= name;\n }", "public void setName(String inName)\n {\n name = inName;\n }", "public void setName(String Name) {\r\n\t\t\tthis.Name=Name;\r\n\t\t}", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "public final void setName(String name) {_name = name;}", "public void setName(String n){ name=n; }", "public void setName(String val) {\n this.name = val;\n }", "void setName(String name_);", "public void setName(String val) {\n name = val;\n }", "public void setName(String Name) {\n this.Name = Name;\n }", "public void setName(String Name) {\n this.Name = Name;\n }", "public void setName(String n) {\r\n name = n;\r\n }", "public void setName (String Name);", "public void setName (String Name);", "public void setName (String Name);", "public void setName(String name) {\n\t\tName = name;\n\t}", "public void setName( String pName )\n {\n name = pName;\n }", "public void setName (String n) {\n name = n;\n }", "public void setName(String aName) {\n name = aName;\n }", "public void setName(String n) {\n this.name = n;\n }", "public void setName(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/name\",v);\n\t\t_Name=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "void setName(java.lang.String name);", "void setName(java.lang.String name);", "void setName(java.lang.String name);", "public void setName(String n) {\r\n\t\tthis.name = n;\r\n\t}", "public void setName(String s) {\n this.name = s;\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String s) {\n\t\t\n\t\tname = s;\n\t}", "public void setName(final String name);", "public void setName(String nameIn) {\n name = nameIn;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String newname){\n name = newname; \n }", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "private void setName(java.lang.String name) {\n System.out.println(\"setting name \"+name);\n this.name = name;\n }", "public void setName(String name){\n \t\tthis.name = name;\n \t}", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "public void setName(String new_name){\n this.name=new_name;\n }", "public void setName(java.lang.CharSequence value) {\n this.name = value;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n \tthis.name = name;\n }", "public void setName(String name) {\n \tthis.name = name;\n }", "public void setName(String name) {\n m_Name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name) \n {\n this.name = name;\n }", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "protected void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }" ]
[ "0.8440509", "0.83640933", "0.8340217", "0.8340217", "0.8340217", "0.8318229", "0.8290898", "0.8290898", "0.8290898", "0.81711113", "0.81711113", "0.8128814", "0.8128814", "0.8097014", "0.8083978", "0.80780834", "0.80508864", "0.80508864", "0.80508864", "0.8046455", "0.80357397", "0.8032184", "0.8012115", "0.8011396", "0.80087185", "0.7985696", "0.79822594", "0.7970879", "0.7966503", "0.79656774", "0.79656774", "0.7957973", "0.7930188", "0.7930188", "0.7930188", "0.78947264", "0.7886537", "0.78813213", "0.7863852", "0.7856213", "0.7844561", "0.7842571", "0.7842571", "0.7842571", "0.7842508", "0.78152204", "0.7810065", "0.7810065", "0.7810065", "0.7806231", "0.7805125", "0.77983695", "0.7796004", "0.7789291", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77686155", "0.7765066", "0.7754528", "0.7754528", "0.7754528", "0.7754528", "0.7752514", "0.7752514", "0.7752514", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.77400446", "0.7737385", "0.77335274", "0.7723048", "0.7723048", "0.7715482", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77020633", "0.769622", "0.769622", "0.769622", "0.76948476", "0.7687062", "0.7687062", "0.7687062" ]
0.0
-1
Set value of Name
public final void setName(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String name) { getMendixObject().setValue(context, MemberNames.Name.toString(), name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String Name){\r\n name = Name;\r\n }", "public void setName(String value) {\n this.name = value;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(String value) {\n\t\tname = value;\n\t}", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(final String nameValue) {\n this.name = nameValue;\n }", "public void setName(java.lang.String value);", "public void setName(java.lang.String value);", "public void setNameValue(String nameValue) throws JNCException {\n setNameValue(new YangString(nameValue));\n }", "public void setNameValue(String nameValue) throws JNCException {\n setNameValue(new YangString(nameValue));\n }", "public void setName (String n){\n\t\tname = n;\n\t}", "public void setName(String inName)\n {\n\tname = inName;\n }", "public void setName(java.lang.String value) {\n this.name = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "public static void setName(String n){\n\t\tname = n;\n\t}", "public void setName(String name) {\n fName= name;\n }", "public void setName(String inName)\n {\n name = inName;\n }", "public void setName(String Name) {\r\n\t\t\tthis.Name=Name;\r\n\t\t}", "private void setName(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n name_ = value;\n }", "public final void setName(String name) {_name = name;}", "public void setName(String n){ name=n; }", "public void setName(String val) {\n this.name = val;\n }", "void setName(String name_);", "public void setName(String val) {\n name = val;\n }", "public void setName(String Name) {\n this.Name = Name;\n }", "public void setName(String Name) {\n this.Name = Name;\n }", "public void setName(String n) {\r\n name = n;\r\n }", "public void setName (String Name);", "public void setName (String Name);", "public void setName (String Name);", "public void setName(String name) {\n\t\tName = name;\n\t}", "public void setName( String pName )\n {\n name = pName;\n }", "public void setName (String n) {\n name = n;\n }", "public void setName(String aName) {\n name = aName;\n }", "public void setName(String n) {\n this.name = n;\n }", "public void setName(String v){\n\t\ttry{\n\t\tsetProperty(SCHEMA_ELEMENT_NAME + \"/name\",v);\n\t\t_Name=null;\n\t\t} catch (Exception e1) {logger.error(e1);}\n\t}", "void setName(java.lang.String name);", "void setName(java.lang.String name);", "void setName(java.lang.String name);", "public void setName(String n) {\r\n\t\tthis.name = n;\r\n\t}", "public void setName(String s) {\n this.name = s;\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String name){\r\n this.name = name;\r\n }", "public void setName(String s) {\n\t\t\n\t\tname = s;\n\t}", "public void setName(final String name);", "public void setName(String nameIn) {\n name = nameIn;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String newname){\n name = newname; \n }", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "public void setName(String name);", "private void setName(java.lang.String name) {\n System.out.println(\"setting name \"+name);\n this.name = name;\n }", "public void setName(String name){\n \t\tthis.name = name;\n \t}", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name) { this.name = name; }", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "public void setName(String name){\r\n\t\tthis.name = name;\r\n\t}", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "void setName(String name);", "public void setName(String new_name){\n this.name=new_name;\n }", "public void setName(java.lang.CharSequence value) {\n this.name = value;\n }", "public void setName(String name) {\n this.name = name;\n }", "public void setName(String name) {\n \tthis.name = name;\n }", "public void setName(String name) {\n \tthis.name = name;\n }", "public void setName(String name) {\n m_Name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name){\n this.name = name;\n }", "public void setName(String name) \n {\n this.name = name;\n }", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "public void setName(String name){\n\t\tthis.name = name;\n\t}", "protected void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }", "public void setName(String name) {\r\n this.name = name;\r\n }" ]
[ "0.8440509", "0.83640933", "0.8340217", "0.8340217", "0.8340217", "0.8318229", "0.8290898", "0.8290898", "0.8290898", "0.81711113", "0.81711113", "0.8128814", "0.8128814", "0.8097014", "0.8083978", "0.80780834", "0.80508864", "0.80508864", "0.80508864", "0.8046455", "0.80357397", "0.8032184", "0.8012115", "0.8011396", "0.80087185", "0.7985696", "0.79822594", "0.7970879", "0.7966503", "0.79656774", "0.79656774", "0.7957973", "0.7930188", "0.7930188", "0.7930188", "0.78947264", "0.7886537", "0.78813213", "0.7863852", "0.7856213", "0.7844561", "0.7842571", "0.7842571", "0.7842571", "0.7842508", "0.78152204", "0.7810065", "0.7810065", "0.7810065", "0.7806231", "0.7805125", "0.77983695", "0.7796004", "0.7789291", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77887285", "0.77686155", "0.7765066", "0.7754528", "0.7754528", "0.7754528", "0.7754528", "0.7752514", "0.7752514", "0.7752514", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.7744093", "0.77400446", "0.7737385", "0.77335274", "0.7723048", "0.7723048", "0.7715482", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77049017", "0.77020633", "0.769622", "0.769622", "0.769622", "0.76948476", "0.7687062", "0.7687062", "0.7687062" ]
0.0
-1
Set value of DataUsage
public final void setDataUsage(java.lang.Boolean datausage) { setDataUsage(getContext(), datausage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDataUsage(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean datausage)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.DataUsage.toString(), datausage);\r\n\t}", "public void setData(long value) {\n this.data = value;\n }", "public Builder setUsage(DGUsage value) {\n if (usageBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n usage_ = value;\n onChanged();\n } else {\n usageBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }", "void setDatty(Datty newDatty);", "public void setData(int data) {\n this.data = data;\n }", "public void setData(int data) {\n this.data = data;\n }", "public void setData(int data) {\n\t\tthis.data = data;\n\t}", "public void setUsed(Long used) {\r\n this.used = used;\r\n }", "public void setData(int data)\n\t {\n\t this.data = data;\n\t }", "public void setCollectData(int value) {\n JsoHelper.setAttribute(getJsObj(), \"collectData\", value);\n }", "public void setData(D data) {\n this.data = data;\n }", "public void setData(Data data) {\n this.data = data;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void setUsageType(String usageType);", "public void setDataFormat(String dataFormat) {\n this.dataFormat = dataFormat;\n }", "public void set_dataType(short value) {\n setUIntBEElement(offsetBits_dataType(), 8, value);\n }", "@Deprecated\n public void setDataParam(int dataParam) {\n this.dataParam = dataParam;\n }", "public void setDmaValue(int value);", "private void incrementUsageCount() {\n usageCount++;\n }", "public void setUsageWeighted(boolean aUsageWeighted) {\n usageWeighted = aUsageWeighted; \n }", "public void setData (G pData){\n this._data=pData;\n }", "public void setData(Object data) {\r\n this.data = data;\r\n }", "public void setRemainingData(int value) {\n this.remainingData = value;\n }", "public void setData(Object data) {\n this.data = data;\n }", "void setData(T data) {\n\t\tthis.data = data;\n\t}", "public void setData(final D dt) {\n this.data = dt;\n }", "public void setData(V data){\n\t\tthis.data = data;\n\t}", "public void setValue(short value) {\n this.value = value;\n }", "public X509KeyUsage(int a_usage)\n\t{\n\t\tsuper(IDENTIFIER, true, createDEROctet(a_usage));\n\t\tm_usage = a_usage;\n\t}", "public void set(double val);", "public void setData(Object data) {\n\t\tthis.data = data;\n\t}", "public void setValue(short value) {\n this.value = value;\n }", "public void set(double d);", "void setDeviation(double deviation);", "public void setUsedLimit(float value) {\n this.usedLimit = value;\n }", "public void setDataRetentionPeriodUnitOfMeasure(com.exacttarget.wsdl.partnerapi.RecurrenceTypeEnum.Enum dataRetentionPeriodUnitOfMeasure)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATARETENTIONPERIODUNITOFMEASURE$28, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATARETENTIONPERIODUNITOFMEASURE$28);\n }\n target.setEnumValue(dataRetentionPeriodUnitOfMeasure);\n }\n }", "public void setDataType(DataType dataType) {\r\n\t\tthis.dataType = dataType;\r\n\t}", "public Long usage() {\n return this.usage;\n }", "public void setDataType(DataType dataType) {\n this.dataType = dataType;\n }", "public void setDataMemory(int index, int value)\n {\n try \n {\n // If the memory address hasn't changed, don't notify any observers\n if (data_memory[index].intValue() != value)\n {\n data_memory[index].setValue(value); \n this.setChanged();\n notifyObservers(new MemoryChangeDetails(index, HexTableModel.OBSERVE_DATA_MEMORY));\n } \n }\n catch (ArrayIndexOutOfBoundsException OOB) { }\n }", "public void setUsedSpace(Long usedSpace) {\n this.usedSpace = usedSpace;\n }", "public void setData(T data){\n this.data = data;\n }", "void setDataType(int type );", "void setCost(double cost);", "public abstract double set\r\n ( DataID dID // input\r\n , double value // input\r\n );", "public void setDataScannedInBytes(Long dataScannedInBytes) {\n this.dataScannedInBytes = dataScannedInBytes;\n }", "public void setDatasource( int newValue ) {\n __setCache(\"datasource\", new Integer(newValue));\n }", "public void setPUtilization(double argPUtilization) {\n pUtilization = argPUtilization;\n }", "public void setProfilerData(gw.lang.Blob value) {\n __getInternalInterface().setFieldValue(PROFILERDATA_PROP.get(), value);\n }", "public void setData(T val) {\r\n\t\tthis.val = val;\r\n\t}", "public final void setDataName(String dataName) {\n this.dataName = dataName;\n }", "public void setUsageType(String usageType) {\n this.usageType = usageType;\n }", "public void setLimitUsageRate(java.lang.Double limitUsageRate) {\n this.limitUsageRate = limitUsageRate;\n }", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:32:41.965 -0500\", hash_original_method = \"B06B3FDC2D2CDF223C79F9432CF6B221\", hash_generated_method = \"EC13B61AE91A640A596BB8C3880035C6\")\n \n public void setCacheSize(int bytes){\n \t//Formerly a native method\n \taddTaint(bytes);\n }", "public void setUsed() {\n used = true;\n }", "private void setData() {\n\n }", "public void setData(Object d) {\n\t\t funcData = d; \n\t}", "public void dataWasSet();", "public void setProfilerData(gw.lang.Blob value) {\n __getInternalInterface().setFieldValue(PROFILERDATA_PROP.get(), value);\n }", "@Override\n\tpublic int setDataType(int dataType)\n\t{\n\t\tthis.dataType = dataType;\n\t\treturn 0;\n\t}", "void setValue(double value);", "public void setData(List<Number> data) {\n this.data = data;\n }", "public void setData(String data) {\r\n this.data = data;\r\n }", "public void setLastUse() {\n\t\t_lastused = System.currentTimeMillis();\n\t}", "public void setData( E data ) {\n\t\tthis.data = data;\n\t}", "void setValueSampledData(org.hl7.fhir.SampledData valueSampledData);", "void setUsagePattern(UsagePattern usagePattern);", "abstract public void setUserData(Object data);", "public void setData(E data){\n\t\t\tthis.data = data;\n\t\t}", "public void setOilConsumptionDataSet (int OilConsumptionDataSet)\n\t{\n\t\tset_Value (COLUMNNAME_OilConsumptionDataSet, Integer.valueOf(OilConsumptionDataSet));\n\t}", "@Override\n\tpublic void setDataSet(IDataSet ds) {\n\t\t\n\t}", "public void setData(String data) {\n\tthis.data = data;\n }", "public void setData(String data) {\n _data = data;\n }", "public void setS0Utilization(double argS0Utilization) {\n s0Utilization = argS0Utilization;\n }", "public void setNumberOfArticulationParameters(short pNumberOfArticulationParameters)\n{ numberOfArticulationParameters = pNumberOfArticulationParameters;\n}", "public void setUserData(Object data);", "void incUsage() {\n incUsage(1);\n }", "public void setDataSet(DataSet dataSet) {\r\n\t\tthis.dataSet = dataSet;\r\n\t}", "public void setDataType(int atype)\n {\n dtype = atype;\n }", "UsageInfo(PhysicalMachine pm) {\n this.pm = pm;\n }", "public void setUsed(){\n\t\talreadyUsed = true;\n\t}", "abstract public void setPerformanceInfo() throws Exception;", "public void setValue(double value) {\n this.value = value; \n }", "public void setData(IData data) {\n this.data = data;\n }", "void decUsage() {\n incUsage(-1);\n }", "public void updateUsedStorage(long consumedStorage) {\n this.usedStorage = consumedStorage;\n }", "public void setdat()\n {\n }", "@Override\r\n\tprotected void setData(Object data) {\n\t\t\r\n\t}", "public void setData(String data) {\n this.data = data;\n }", "public void setData(E data) {\r\n\t\tthis.data = data;\r\n\t}", "public void setOpData(java.lang.String param) {\r\n localOpDataTracker = param != null;\r\n\r\n this.localOpData = param;\r\n }", "public void set_infos_size_data(short value) {\n setUIntBEElement(offsetBits_infos_size_data(), 8, value);\n }", "public void setDataUnit(String dataUnit) {\n this.dataUnit = dataUnit == null ? null : dataUnit.trim();\n }", "public synchronized void setDataset(final String newValue) {\n checkWritePermission();\n dataset = newValue;\n }", "public void setDataRetentionPeriodLength(short dataRetentionPeriodLength)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATARETENTIONPERIODLENGTH$26, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATARETENTIONPERIODLENGTH$26);\n }\n target.setShortValue(dataRetentionPeriodLength);\n }\n }", "private void setMemorySize() { }", "public void setData(String data) {\n\t\tthis.data = data;\n\t}", "public void setData(String data) {\n\t\tthis.data = data;\n\t}", "public void setData(E d)\n {\n data = d;\n }", "public void setData(E data)\n {\n this.data = data;\n }" ]
[ "0.7421356", "0.6527223", "0.6277999", "0.617031", "0.6160537", "0.6160537", "0.6068987", "0.60158116", "0.5995629", "0.5945781", "0.5943763", "0.58357906", "0.58209556", "0.581645", "0.58074063", "0.57380074", "0.57364696", "0.5706097", "0.5663255", "0.5641615", "0.56221837", "0.5619336", "0.56106615", "0.55672055", "0.55664754", "0.5564068", "0.5552907", "0.5543342", "0.55419093", "0.55405164", "0.5528296", "0.55230075", "0.55095685", "0.5504349", "0.55032855", "0.54931873", "0.548975", "0.5485987", "0.5477432", "0.5471699", "0.54602146", "0.5459681", "0.5440317", "0.54358345", "0.54325676", "0.5420645", "0.5418381", "0.54012835", "0.5391665", "0.5384311", "0.5378263", "0.53635955", "0.5361779", "0.535629", "0.53481", "0.5343205", "0.53418773", "0.53400654", "0.5335014", "0.53347844", "0.5328922", "0.5326292", "0.5324621", "0.532351", "0.53232014", "0.53149706", "0.5314352", "0.5303137", "0.53030246", "0.53024215", "0.5293991", "0.52929556", "0.5287766", "0.5286591", "0.52803075", "0.527909", "0.52774876", "0.527648", "0.5276382", "0.52763504", "0.5274317", "0.5271554", "0.5264349", "0.52636397", "0.5262101", "0.52555263", "0.5250421", "0.524943", "0.52470714", "0.5239963", "0.5230513", "0.5227412", "0.52221775", "0.5219434", "0.52186424", "0.52170527", "0.52157354", "0.52157354", "0.52104944", "0.5207263" ]
0.75686055
0
Set value of DataUsage
public final void setDataUsage(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean datausage) { getMendixObject().setValue(context, MemberNames.DataUsage.toString(), datausage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDataUsage(java.lang.Boolean datausage)\r\n\t{\r\n\t\tsetDataUsage(getContext(), datausage);\r\n\t}", "public void setData(long value) {\n this.data = value;\n }", "public Builder setUsage(DGUsage value) {\n if (usageBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n usage_ = value;\n onChanged();\n } else {\n usageBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }", "void setDatty(Datty newDatty);", "public void setData(int data) {\n this.data = data;\n }", "public void setData(int data) {\n this.data = data;\n }", "public void setData(int data) {\n\t\tthis.data = data;\n\t}", "public void setUsed(Long used) {\r\n this.used = used;\r\n }", "public void setData(int data)\n\t {\n\t this.data = data;\n\t }", "public void setCollectData(int value) {\n JsoHelper.setAttribute(getJsObj(), \"collectData\", value);\n }", "public void setData(D data) {\n this.data = data;\n }", "public void setData(Data data) {\n this.data = data;\n }", "public void setData(D s){\n\t\tdata = s;\n\t}", "public void setUsageType(String usageType);", "public void setDataFormat(String dataFormat) {\n this.dataFormat = dataFormat;\n }", "public void set_dataType(short value) {\n setUIntBEElement(offsetBits_dataType(), 8, value);\n }", "@Deprecated\n public void setDataParam(int dataParam) {\n this.dataParam = dataParam;\n }", "public void setDmaValue(int value);", "private void incrementUsageCount() {\n usageCount++;\n }", "public void setUsageWeighted(boolean aUsageWeighted) {\n usageWeighted = aUsageWeighted; \n }", "public void setData (G pData){\n this._data=pData;\n }", "public void setData(Object data) {\r\n this.data = data;\r\n }", "public void setRemainingData(int value) {\n this.remainingData = value;\n }", "public void setData(Object data) {\n this.data = data;\n }", "void setData(T data) {\n\t\tthis.data = data;\n\t}", "public void setData(final D dt) {\n this.data = dt;\n }", "public void setData(V data){\n\t\tthis.data = data;\n\t}", "public void setValue(short value) {\n this.value = value;\n }", "public X509KeyUsage(int a_usage)\n\t{\n\t\tsuper(IDENTIFIER, true, createDEROctet(a_usage));\n\t\tm_usage = a_usage;\n\t}", "public void set(double val);", "public void setData(Object data) {\n\t\tthis.data = data;\n\t}", "public void setValue(short value) {\n this.value = value;\n }", "public void set(double d);", "void setDeviation(double deviation);", "public void setUsedLimit(float value) {\n this.usedLimit = value;\n }", "public void setDataRetentionPeriodUnitOfMeasure(com.exacttarget.wsdl.partnerapi.RecurrenceTypeEnum.Enum dataRetentionPeriodUnitOfMeasure)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATARETENTIONPERIODUNITOFMEASURE$28, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATARETENTIONPERIODUNITOFMEASURE$28);\n }\n target.setEnumValue(dataRetentionPeriodUnitOfMeasure);\n }\n }", "public void setDataType(DataType dataType) {\r\n\t\tthis.dataType = dataType;\r\n\t}", "public Long usage() {\n return this.usage;\n }", "public void setDataType(DataType dataType) {\n this.dataType = dataType;\n }", "public void setDataMemory(int index, int value)\n {\n try \n {\n // If the memory address hasn't changed, don't notify any observers\n if (data_memory[index].intValue() != value)\n {\n data_memory[index].setValue(value); \n this.setChanged();\n notifyObservers(new MemoryChangeDetails(index, HexTableModel.OBSERVE_DATA_MEMORY));\n } \n }\n catch (ArrayIndexOutOfBoundsException OOB) { }\n }", "public void setUsedSpace(Long usedSpace) {\n this.usedSpace = usedSpace;\n }", "public void setData(T data){\n this.data = data;\n }", "void setDataType(int type );", "void setCost(double cost);", "public abstract double set\r\n ( DataID dID // input\r\n , double value // input\r\n );", "public void setDataScannedInBytes(Long dataScannedInBytes) {\n this.dataScannedInBytes = dataScannedInBytes;\n }", "public void setDatasource( int newValue ) {\n __setCache(\"datasource\", new Integer(newValue));\n }", "public void setPUtilization(double argPUtilization) {\n pUtilization = argPUtilization;\n }", "public void setProfilerData(gw.lang.Blob value) {\n __getInternalInterface().setFieldValue(PROFILERDATA_PROP.get(), value);\n }", "public void setData(T val) {\r\n\t\tthis.val = val;\r\n\t}", "public final void setDataName(String dataName) {\n this.dataName = dataName;\n }", "public void setUsageType(String usageType) {\n this.usageType = usageType;\n }", "public void setLimitUsageRate(java.lang.Double limitUsageRate) {\n this.limitUsageRate = limitUsageRate;\n }", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:32:41.965 -0500\", hash_original_method = \"B06B3FDC2D2CDF223C79F9432CF6B221\", hash_generated_method = \"EC13B61AE91A640A596BB8C3880035C6\")\n \n public void setCacheSize(int bytes){\n \t//Formerly a native method\n \taddTaint(bytes);\n }", "public void setUsed() {\n used = true;\n }", "private void setData() {\n\n }", "public void setData(Object d) {\n\t\t funcData = d; \n\t}", "public void dataWasSet();", "@Override\n\tpublic int setDataType(int dataType)\n\t{\n\t\tthis.dataType = dataType;\n\t\treturn 0;\n\t}", "public void setProfilerData(gw.lang.Blob value) {\n __getInternalInterface().setFieldValue(PROFILERDATA_PROP.get(), value);\n }", "void setValue(double value);", "public void setData(List<Number> data) {\n this.data = data;\n }", "public void setLastUse() {\n\t\t_lastused = System.currentTimeMillis();\n\t}", "public void setData(String data) {\r\n this.data = data;\r\n }", "public void setData( E data ) {\n\t\tthis.data = data;\n\t}", "void setUsagePattern(UsagePattern usagePattern);", "void setValueSampledData(org.hl7.fhir.SampledData valueSampledData);", "abstract public void setUserData(Object data);", "public void setData(E data){\n\t\t\tthis.data = data;\n\t\t}", "public void setOilConsumptionDataSet (int OilConsumptionDataSet)\n\t{\n\t\tset_Value (COLUMNNAME_OilConsumptionDataSet, Integer.valueOf(OilConsumptionDataSet));\n\t}", "@Override\n\tpublic void setDataSet(IDataSet ds) {\n\t\t\n\t}", "public void setData(String data) {\n\tthis.data = data;\n }", "public void setData(String data) {\n _data = data;\n }", "public void setS0Utilization(double argS0Utilization) {\n s0Utilization = argS0Utilization;\n }", "public void setNumberOfArticulationParameters(short pNumberOfArticulationParameters)\n{ numberOfArticulationParameters = pNumberOfArticulationParameters;\n}", "void incUsage() {\n incUsage(1);\n }", "public void setUserData(Object data);", "UsageInfo(PhysicalMachine pm) {\n this.pm = pm;\n }", "public void setDataSet(DataSet dataSet) {\r\n\t\tthis.dataSet = dataSet;\r\n\t}", "public void setDataType(int atype)\n {\n dtype = atype;\n }", "public void setUsed(){\n\t\talreadyUsed = true;\n\t}", "abstract public void setPerformanceInfo() throws Exception;", "public void setValue(double value) {\n this.value = value; \n }", "void decUsage() {\n incUsage(-1);\n }", "public void setData(IData data) {\n this.data = data;\n }", "public void updateUsedStorage(long consumedStorage) {\n this.usedStorage = consumedStorage;\n }", "public void setdat()\n {\n }", "@Override\r\n\tprotected void setData(Object data) {\n\t\t\r\n\t}", "public void setData(String data) {\n this.data = data;\n }", "public void setData(E data) {\r\n\t\tthis.data = data;\r\n\t}", "public void setOpData(java.lang.String param) {\r\n localOpDataTracker = param != null;\r\n\r\n this.localOpData = param;\r\n }", "public void set_infos_size_data(short value) {\n setUIntBEElement(offsetBits_infos_size_data(), 8, value);\n }", "public void setDataUnit(String dataUnit) {\n this.dataUnit = dataUnit == null ? null : dataUnit.trim();\n }", "public void setDataRetentionPeriodLength(short dataRetentionPeriodLength)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATARETENTIONPERIODLENGTH$26, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATARETENTIONPERIODLENGTH$26);\n }\n target.setShortValue(dataRetentionPeriodLength);\n }\n }", "public synchronized void setDataset(final String newValue) {\n checkWritePermission();\n dataset = newValue;\n }", "private void setMemorySize() { }", "public void setData(String data) {\n\t\tthis.data = data;\n\t}", "public void setData(String data) {\n\t\tthis.data = data;\n\t}", "public void setData(E d)\n {\n data = d;\n }", "public void setData(E data)\n {\n this.data = data;\n }" ]
[ "0.75684386", "0.6526938", "0.6277726", "0.61704254", "0.61609924", "0.61609924", "0.6069641", "0.6017313", "0.5996227", "0.59450465", "0.5944134", "0.583597", "0.5820845", "0.5816523", "0.58073217", "0.5737483", "0.5736556", "0.57061714", "0.5665081", "0.56418586", "0.5622925", "0.56194353", "0.5610176", "0.5567287", "0.5566811", "0.55644417", "0.5553288", "0.5543519", "0.554223", "0.55405486", "0.55285", "0.5523154", "0.5510089", "0.55057824", "0.5503631", "0.5493971", "0.5489716", "0.5487244", "0.54772604", "0.54714787", "0.54622287", "0.5459544", "0.54397774", "0.54370743", "0.5432676", "0.5421576", "0.5418488", "0.540246", "0.539094", "0.5384116", "0.53789", "0.53636557", "0.53626215", "0.53569704", "0.53489906", "0.5343285", "0.53415024", "0.5339483", "0.53348", "0.5334273", "0.53294104", "0.5326697", "0.53252757", "0.5324944", "0.53234494", "0.5314989", "0.53142434", "0.53032905", "0.530313", "0.5302403", "0.5294036", "0.5293278", "0.52881294", "0.528783", "0.52806854", "0.52792186", "0.52790916", "0.5276956", "0.5276588", "0.52755255", "0.52754617", "0.5272429", "0.526475", "0.52640194", "0.52637887", "0.52566975", "0.52507025", "0.5249753", "0.52473754", "0.5240176", "0.5230398", "0.5227206", "0.5222315", "0.52192825", "0.52184963", "0.5218396", "0.52161133", "0.52161133", "0.52105266", "0.5207381" ]
0.74210536
1
Set value of Status
public final xlsreport.proxies.Yes_no getStatus() { return getStatus(getContext()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(int value) {\n this.status = value;\n }", "public void setStatus(int value) {\n this.status = value;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus( int pStatus )\r\n {\r\n mStatus = pStatus;\r\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "void setStatus(STATUS status);", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatusValue(Integer statusValue)\r\n\t{\r\n\t\tstatus = WaterGasMeterStatusEnum.enumForValue(statusValue);\r\n\t}", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(BatchStatus value) {\n this.status = value;\n }", "public void setStatus(java.lang.CharSequence value) {\n this.status = value;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "void setStatus(int status);", "public void setStatus(String value) {\r\n setAttributeInternal(STATUS, value);\r\n }", "public void setStatus(Integer status)\n {\n data().put(_STATUS, status);\n }", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(int status)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$12, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$12);\n }\n target.setIntValue(status);\n }\n }", "public void setStatus(String value) {\n setAttributeInternal(STATUS, value);\n }", "void setStatus(String status);", "public void setStatus(String status) { this.status = status; }", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(int newStatus) {\n status = newStatus;\n }", "void setStatus(java.lang.String status);", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(JobStatus status);", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "public void setStatus(Long Status) {\n this.Status = Status;\n }", "public void setStatus(int status) {\n\t\tthis.status = (byte) status;\n\t\trefreshStatus();\n\t}", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(STATUS status) {\n this.status = status;\n }", "@IcalProperty(pindex = PropertyInfoIndex.STATUS,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setStatus(final String val) {\n status = val;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(@NotNull Status status) {\n this.status = status;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(StatusOfCause status) {\n\t\tthis.statusValue = status.value;\n\t}", "public void setStatus(int status)\r\n\t{\r\n\t\tthis.m_status = status;\r\n\t}", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }" ]
[ "0.83706075", "0.83706075", "0.7912063", "0.7911006", "0.7898511", "0.78175056", "0.78175056", "0.7803505", "0.7803505", "0.7800892", "0.7800892", "0.7793412", "0.77693725", "0.7765682", "0.7760542", "0.77578914", "0.77578914", "0.7754393", "0.77301913", "0.77211845", "0.7711592", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7682662", "0.7674659", "0.7670312", "0.7666313", "0.7649003", "0.7648307", "0.76479137", "0.76479137", "0.7645294", "0.76437575", "0.76437575", "0.76313686", "0.7613823", "0.75974876", "0.7593546", "0.7587176", "0.7575574", "0.75630903", "0.7558348", "0.7556994", "0.7556994", "0.75465363", "0.75460094", "0.7521199", "0.75177014", "0.75142896", "0.75118536", "0.75118536", "0.75118536", "0.75118536", "0.75058764", "0.749941", "0.7484641", "0.748404", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7468616", "0.7451493", "0.7451493", "0.7451493", "0.7451279", "0.7451279", "0.74494165", "0.7442213", "0.74198574", "0.74198574", "0.74198574", "0.74198574", "0.74171555", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021" ]
0.0
-1
Set value of Status
public final void setStatus(xlsreport.proxies.Yes_no status) { setStatus(getContext(), status); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(int value) {\n this.status = value;\n }", "public void setStatus(int value) {\n this.status = value;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus( int pStatus )\r\n {\r\n mStatus = pStatus;\r\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "void setStatus(STATUS status);", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatusValue(Integer statusValue)\r\n\t{\r\n\t\tstatus = WaterGasMeterStatusEnum.enumForValue(statusValue);\r\n\t}", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(BatchStatus value) {\n this.status = value;\n }", "public void setStatus(java.lang.CharSequence value) {\n this.status = value;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "void setStatus(int status);", "public void setStatus(String value) {\r\n setAttributeInternal(STATUS, value);\r\n }", "public void setStatus(Integer status)\n {\n data().put(_STATUS, status);\n }", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(int status)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$12, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$12);\n }\n target.setIntValue(status);\n }\n }", "public void setStatus(String value) {\n setAttributeInternal(STATUS, value);\n }", "void setStatus(String status);", "public void setStatus(String status) { this.status = status; }", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(int newStatus) {\n status = newStatus;\n }", "void setStatus(java.lang.String status);", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(JobStatus status);", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "public void setStatus(Long Status) {\n this.Status = Status;\n }", "public void setStatus(int status) {\n\t\tthis.status = (byte) status;\n\t\trefreshStatus();\n\t}", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(STATUS status) {\n this.status = status;\n }", "@IcalProperty(pindex = PropertyInfoIndex.STATUS,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setStatus(final String val) {\n status = val;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(@NotNull Status status) {\n this.status = status;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(StatusOfCause status) {\n\t\tthis.statusValue = status.value;\n\t}", "public void setStatus(int status)\r\n\t{\r\n\t\tthis.m_status = status;\r\n\t}", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }" ]
[ "0.83706075", "0.83706075", "0.7912063", "0.7911006", "0.7898511", "0.78175056", "0.78175056", "0.7803505", "0.7803505", "0.7800892", "0.7800892", "0.7793412", "0.77693725", "0.7765682", "0.7760542", "0.77578914", "0.77578914", "0.7754393", "0.77301913", "0.77211845", "0.7711592", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7682662", "0.7674659", "0.7670312", "0.7666313", "0.7649003", "0.7648307", "0.76479137", "0.76479137", "0.7645294", "0.76437575", "0.76437575", "0.76313686", "0.7613823", "0.75974876", "0.7593546", "0.7587176", "0.7575574", "0.75630903", "0.7558348", "0.7556994", "0.7556994", "0.75465363", "0.75460094", "0.7521199", "0.75177014", "0.75142896", "0.75118536", "0.75118536", "0.75118536", "0.75118536", "0.75058764", "0.749941", "0.7484641", "0.748404", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7468616", "0.7451493", "0.7451493", "0.7451493", "0.7451279", "0.7451279", "0.74494165", "0.7442213", "0.74198574", "0.74198574", "0.74198574", "0.74198574", "0.74171555", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021" ]
0.0
-1
Set value of Status
public final void setStatus(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.Yes_no status) { if (status != null) getMendixObject().setValue(context, MemberNames.Status.toString(), status.toString()); else getMendixObject().setValue(context, MemberNames.Status.toString(), null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStatus(int value) {\n this.status = value;\n }", "public void setStatus(int value) {\n this.status = value;\n }", "private void setStatus(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n }", "public void setStatus(int v) \n {\n \n if (this.status != v)\n {\n this.status = v;\n setModified(true);\n }\n \n \n }", "public void setStatus(Status newStatus){\n status = newStatus;\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "public void setStatus(Integer status) {\r\n this.status = status;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "@JsonSetter(\"status\")\r\n public void setStatus (String value) { \r\n this.status = value;\r\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus(boolean value) {\n this.status = value;\n }", "public void setStatus( int pStatus )\r\n {\r\n mStatus = pStatus;\r\n }", "public void setStatus(String newStatus){\n\n //assigns the value of newStatus to the status field\n this.status = newStatus;\n }", "public void setStatus(Status status) {\r\n\t this.status = status;\r\n\t }", "void setStatus(STATUS status);", "public void setStatus(int status);", "public void setStatus(int status);", "public void setStatusValue(Integer statusValue)\r\n\t{\r\n\t\tstatus = WaterGasMeterStatusEnum.enumForValue(statusValue);\r\n\t}", "public void setStatus(long status) {\r\n this.status = status;\r\n }", "public void setStatus(BatchStatus value) {\n this.status = value;\n }", "public void setStatus(java.lang.CharSequence value) {\n this.status = value;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n this.status = status;\n }", "public void setStatus(EnumVar status) {\n this.status = status;\n }", "public void setStatus(int status){\r\n\t\tthis.status=status;\r\n\t}", "void setStatus(int status);", "public void setStatus(String value) {\r\n setAttributeInternal(STATUS, value);\r\n }", "public void setStatus(Integer status)\n {\n data().put(_STATUS, status);\n }", "public void setStatus(StatusEnum status) {\n this.status = status;\n }", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Integer status) {\n\t\tthis.status = status;\n\t}", "public void setStatus(Status status) {\r\n this.status = status;\r\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(String Status) {\n this.Status = Status;\n }", "public void setStatus(int status)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$12, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$12);\n }\n target.setIntValue(status);\n }\n }", "public void setStatus(String value) {\n setAttributeInternal(STATUS, value);\n }", "void setStatus(String status);", "public void setStatus(String status) { this.status = status; }", "public void setStatus(int status) {\n STATUS = status;\n }", "public void setStatus(java.lang.Object status) {\n this.status = status;\n }", "public void setStatus(int newStatus) {\n status = newStatus;\n }", "void setStatus(java.lang.String status);", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(int status) {\n this.status = status;\n }", "public void setStatus(JobStatus status);", "public void setStatus(Status status)\n {\n this.status = status;\n }", "public void setStatus(String stat)\n {\n status = stat;\n }", "public void setStatus(Long Status) {\n this.Status = Status;\n }", "public void setStatus(int status) {\n\t\tthis.status = (byte) status;\n\t\trefreshStatus();\n\t}", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Status status) {\n this.status = status;\n }", "public void setStatus(Boolean s){ status = s;}", "public void setStatus(STATUS status) {\n this.status = status;\n }", "@IcalProperty(pindex = PropertyInfoIndex.STATUS,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true\n )\n public void setStatus(final String val) {\n status = val;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(Byte status) {\r\n this.status = status;\r\n }", "public void setStatus(@NotNull Status status) {\n this.status = status;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(String status) {\r\n this.status = status;\r\n }", "public void setStatus(StatusOfCause status) {\n\t\tthis.statusValue = status.value;\n\t}", "public void setStatus(int status)\r\n\t{\r\n\t\tthis.m_status = status;\r\n\t}", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n status_ = value;\n onChanged();\n return this;\n }", "@Override\n\t\tpublic void setStatus(int status) {\n\t\t\t\n\t\t}", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }", "public Builder setStatusValue(int value) {\n\n status_ = value;\n onChanged();\n return this;\n }" ]
[ "0.83706075", "0.83706075", "0.7912063", "0.7911006", "0.7898511", "0.78175056", "0.78175056", "0.7803505", "0.7803505", "0.7800892", "0.7800892", "0.7793412", "0.77693725", "0.7765682", "0.7760542", "0.77578914", "0.77578914", "0.7754393", "0.77301913", "0.77211845", "0.7711592", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7702285", "0.7682662", "0.7674659", "0.7670312", "0.7666313", "0.7649003", "0.7648307", "0.76479137", "0.76479137", "0.7645294", "0.76437575", "0.76437575", "0.76313686", "0.7613823", "0.75974876", "0.7593546", "0.7587176", "0.7575574", "0.75630903", "0.7558348", "0.7556994", "0.7556994", "0.75465363", "0.75460094", "0.7521199", "0.75177014", "0.75142896", "0.75118536", "0.75118536", "0.75118536", "0.75118536", "0.75058764", "0.749941", "0.7484641", "0.748404", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7478296", "0.7468616", "0.7451493", "0.7451493", "0.7451493", "0.7451279", "0.7451279", "0.74494165", "0.7442213", "0.74198574", "0.74198574", "0.74198574", "0.74198574", "0.74171555", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021", "0.7401021" ]
0.0
-1
Set value of DistinctData
public final void setDistinctData(java.lang.Boolean distinctdata) { setDistinctData(getContext(), distinctdata); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDistinctData(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean distinctdata)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.DistinctData.toString(), distinctdata);\r\n\t}", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }" ]
[ "0.67197025", "0.6145884", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.6124991", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776", "0.60662776" ]
0.69874716
0
Set value of DistinctData
public final void setDistinctData(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean distinctdata) { getMendixObject().setValue(context, MemberNames.DistinctData.toString(), distinctdata); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setDistinctData(java.lang.Boolean distinctdata)\r\n\t{\r\n\t\tsetDistinctData(getContext(), distinctdata);\r\n\t}", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\r\n this.distinct = distinct;\r\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }", "public void setDistinct(boolean distinct) {\n this.distinct = distinct;\n }" ]
[ "0.69872785", "0.61451864", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6124273", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547", "0.6065547" ]
0.6719612
1
Set value of StartRow
public final void setStartRow(java.lang.Integer startrow) { setStartRow(getContext(), startrow); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setStartRow(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer startrow)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.StartRow.toString(), startrow);\r\n\t}", "public int getStartRow();", "public void setStartLine(final int startLine) {\n this.startLine = startLine;\n }", "public void setStartLine(int startLine) {\r\n this.startLine = startLine;\r\n }", "public void setRow(int value) {\n this.row = value;\n }", "public void setPositionRow(int value){this.positionRow = value;}", "public void setLoopStartRow(final int loopStartRow) {\n\t\tthis.loopStartRow = loopStartRow;\n\t}", "public void setRow( int row, int startColumn, double... values ) {\n ops.setRow(mat, row, startColumn, values);\n }", "public void setRow(int newRow) {\n this.row = newRow;\n }", "public void setRow(int i) {\n\t\tif (row != Integer.MIN_VALUE) explicitRow = true; \n\t\trow = i;\t\t\n\t}", "public void setRow(int row) {\n\t\t\tif (row > 0)\n\t\t\t\tthis.row = row;\n\t\t}", "public void setMinInSingleRow(int value) {\n minInSingleRow = value;\n }", "void setStartAt(final Long startAt);", "public void setRow(int row) {\n\t\tthis.row = row; \n\t}", "public void setFirstRow(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle firstRow)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(FIRSTROW$22, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(FIRSTROW$22);\n }\n target.set(firstRow);\n }\n }", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setSeriesStart(int aValue) { _dataSet.setSeriesStart(aValue); }", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int r) {\n\t\tthis.row = r;\n\t}", "public void setLineToStart(final int lineToStart) {\r\n\t\tthis.lineToStart = lineToStart;\r\n\t}", "public void setStartLineNumber(int foo) { startLineNumber = foo; }", "public void setRow(int row) {\n setRowAndColumn(row, column);\n }", "public Builder setStartLineNumber(int value) {\n bitField0_ |= 0x00000020;\n startLineNumber_ = value;\n onChanged();\n return this;\n }", "public void setStart(int start) {\r\n this.start = start;\r\n }", "public void setStart(int start) {\n this.start=start;\n }", "public void incrementRow() {\n setRowAndColumn(row + 1, column);\n }", "public void setStartX(double val) {\r\n startx = val;\r\n }", "public void setRows () {\n\t\t\n\t}", "@Modified(author=\"Phil Brown\", summary=\"Added Method\")\n public void setupStartValues() {\n }", "public void setBeginLineNumber(int beginLine) {\n this.beginLine = beginLine;\n }", "public void setStart(int start) {\n\t\tthis.start = start;\n\t}", "public IndexKey(BpCoord start, long lineId, boolean isRowNumber) {\n\t\tthis(start, lineId);\n\t\tthis.isRowNumber = isRowNumber;\n\t}", "public void setStartIndex(java.math.BigInteger startIndex)\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(STARTINDEX$10);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTINDEX$10);\n }\n target.setBigIntegerValue(startIndex);\n }\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public void setStart(long start) { this.start = start; }", "@Pure\n public int getStartLine() {\n return this.startLine;\n }", "public void setStartPage(java.math.BigInteger startPage)\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(STARTPAGE$12);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTPAGE$12);\n }\n target.setBigIntegerValue(startPage);\n }\n }", "public void setRowKey(Object key)\n {\n if (key == null)\n {\n setRowIndex(-1);\n return;\n }\n\n if (getRowKey() != null && getRowKey().equals(key))\n return;\n \n for (int i = 0; i < getRowCount(); i++)\n {\n setRowIndex(i);\n Object prop = getRowKey();\n if (key.equals(prop))\n {\n return;\n }\n }\n\n // if we didn't find an element with a matching key,\n // then don't make any rows current\n setRowIndex(-1);\n }", "private void setRowInfo(int rowIndex, T rowValue) {\n this.rowIndex = rowIndex;\n this.rowValueKey = cellTable.getValueKey(rowValue);\n this.subrowIndex = 0; // Reset the subrow.\n }", "public Row setPosition(int rowNumber) {\n this.rowNumber = rowNumber;\n this.nextRowSet = false;\n return this;\n }", "public void setCurrentRow(int rowNumber) throws SQLException {\n/* 163 */ notSupported();\n/* */ }", "public void testSetStartLocation() {\n assertEquals(test, maze1.getStartLocation());\n test = new Location(0, 1);\n maze1.setStartLocation(test);\n assertEquals(test, maze1.getStartLocation());\n test = new Location(2, 2);\n maze1.setCell(test, MazeCell.WALL);\n maze1.setStartLocation(test);\n assertEquals(test, maze1.getStartLocation());\n \n }", "public int getMinRow() {\n return minRow;\n }", "public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }", "public int getStartLine() {\r\n return this.startLine;\r\n }", "public void setRows(int rows)\n {\n this.rows = rows;\n }", "private void shiftPartialRowToBeginning() {\n if(true)\n throw new UnsupportedOperationException(\"Need to step through this method\");\n// // Get the length to shift from the beginning of the partial row.\n// int length = lastValidBytePosition_ - currentRowPosition_;\n//\n// // shift the data in the dataBufferStream\n// dataBufferStream_.reset();\n// if (dataBuffer_ != null) {\n// dataBufferStream_.write(dataBuffer_, currentRowPosition_, length);\n// }\n//\n// for (int i = 0; i < length; i++) {\n// dataBuffer_[i] = dataBuffer_[currentRowPosition_ + i];\n// }\n//\n// position_ = length - (lastValidBytePosition_ - position_);\n// lastValidBytePosition_ = length;\n }", "public int getStartLine() {\r\n \r\n return startLine;\r\n }", "public void setRows(Integer rows) {\n this.rows = rows;\n }", "public void setRows(Integer rows) {\n this.rows = rows;\n }", "public void setBeginOffset(Integer beginOffset) {\n this.beginOffset = beginOffset;\n }", "public void setStartPos(int startPos) {\r\n this.startPos = startPos;\r\n }", "public void setStart(int start)\n {\n if(start >= 0)\n {\n this.start = start;\n }\n else\n {\n System.out.println(\"Cannot be negative.\");\n }\n }", "public void setStartPos(int startPos) {\n this.startPos = startPos;\n }", "public void setRows(int rows) {\n this.rows = rows;\n }", "public void setBegin(int begin) {\n\t\tthis.begin = begin;\n\t}", "public void setStart(int startId) throws IllegalArgumentException, IllegalStateException;", "public int getLoopStartRow() {\n\t\treturn loopStartRow;\n\t}", "public void setBeginColumnNumber(int beginColumn) {\n this.beginColumn = beginColumn;\n }", "public void setBegin(int begin)\n {\n this.begin = begin;\n this.beginSpecified = true;\n }", "public final native void setStartIndex(double startIndex) /*-{\n this.setStartIndex(startIndex);\n }-*/;", "public void setRowIndex(int rowIndex) {\r\n\t\tthis.rowIndex = rowIndex;\r\n\t}", "public void setStart (int r, int c)\n\t{\n\t\tPosition p = new Position (r, c);\n\n\t\tif (validPosition (p))\n\t\t{\n\t\t\tsquares[p.r][p.c] = START_SPACE;\n\t\t\tstart = p;\n\t\t}\n\t\telse\n\t\t\tstart = null;\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void restart(byte[] firstRow) throws IOException {\n Scan newScan = new Scan(scan);\n newScan.setStartRow(firstRow);\n this.scanner = this.htable.getScanner(newScan);\n }", "public Builder setStartPosition(int value) {\n bitField0_ |= 0x00000008;\n startPosition_ = value;\n onChanged();\n return this;\n }", "public void setStartCode() throws Exception {\n String line;\n while ((line = this.fnirsDataIn.readLine()) != null) {\n if (line.startsWith(\"Start Code:\")) {\n String [] vals = line.split(\"\\t\");\n this.startCode = Float.parseFloat(vals[1]);\n return;\n } //.. now buffered reader is in desired location\n }\n throw new Exception(\"Could not find line Start Code:\");\n }", "private void setTable(int row)\n {\n table.setValueAt(idText.getText(), row, 0);\n table.setValueAt(nameText.getText(), row, 1);\n }", "public void setStartPoint(CartesianCoordinate startPoint) {\r\n\t\tthis.startPoint = startPoint;\r\n\t}", "void setStartSegment(int startSegment);", "public void setRows(int rows) {\n\t\tthis.rows = rows;\n\t}", "public void setRowNo(Integer rowNo) {\n this.rowNo = rowNo;\n }", "public HBaseRangeQuery setRange(String startRow, String stopRow) {\n this.startRow = startRow;\n this.stopRow = stopRow;\n return this;\n }", "public void nextRow(int minimumOffset) {\n\t\tarrangeCurrentRow();\n\n\t\t// Step 4 : Profit\n\n\t\t// Increment the Y position\n\t\tSystem.out.println(this.currentYPosition);\n\t\tsetCurrentYPosition(Math.max(this.currentYPosition + minimumOffset,\n\t\t\t\tthis.currentYPosition + getCurrentRowHeight()));\n\t\tSystem.out.println(this.currentYPosition);\n\n\t\t// Clear current row buffer\n\t\tthis.currentRow.clear();\n\n\t\tint theoreticalMaxWidth = 99999999;\n\n\t\t// Update left and right offsets occupied by previous floats for this\n\t\t// row, as well as the row max width\n\t\tint x = this.box.getAbsoluteX() + this.box.marginLeft + this.box.paddingLeft;\n\t\tint y = this.box.getAbsoluteY() + getCurrentY() + this.box.marginTop\n\t\t\t\t+ this.box.paddingTop;\n\t\tint currentRowAbsoluteY = this.box.getAbsoluteY() + this.currentYPosition\n\t\t\t\t+ this.box.marginTop + this.box.paddingTop;\n\t\tint workMaxWidth = this.box.parent.contentWidth - this.box.marginLeft\n\t\t\t\t- this.box.marginRight - this.box.paddingLeft - this.box.paddingRight;\n\n\t\tif (this.box.contentWidth > 0) {\n\t\t\tworkMaxWidth = this.box.contentWidth;\n\t\t}\n\n\t\tthis.currentRowLeftFloatOccupiedSpace = this.floats.leftIntersectionPoint(x,\n\t\t\t\tcurrentRowAbsoluteY, workMaxWidth, this.box);\n\t\tint rightPoint = this.floats.rightIntersectionPoint(x, currentRowAbsoluteY,\n\t\t\t\tworkMaxWidth, this.box);\n\t\tthis.currentRowRightFloatOccupiedSpace = workMaxWidth - rightPoint;\n\t\t// currentRowMaxWidth = rightPoint - currentRowLeftFloatOccupiedSpace ;\n\t\tthis.currentRowMaxWidth = getMaxRowWidth(this.currentYPosition);\n\n\t\t// Other init stuff\n\t\tthis.startXPosition = this.floats.leftIntersectionPoint(x, y,\n\t\t\t\ttheoreticalMaxWidth, this.box);\n\t\tthis.currentXPosition = this.startXPosition;\n\n\t\tthis.rowHeightFloats = Integer.MAX_VALUE;\n\t\tthis.rowHeightNoFloats = 0;\n\n\t\tthis.leftFloatsCount = this.rightFloatsCount = 0;\n\t\tthis.hasClearRight = false;\n\n\t\tthis.nextChildFromSavedElements = true;\n\t\tthis.currentRowHasOnlyFloats = true;\n\n\t\tSystem.out.println(\"THIS ROW WIDTH: \" + this.currentRowMaxWidth);\n\n\t}", "private void setStartValues() {\n startValues = new float[9];\n mStartMatrix = new Matrix(getImageMatrix());\n mStartMatrix.getValues(startValues);\n calculatedMinScale = minScale * startValues[Matrix.MSCALE_X];\n calculatedMaxScale = maxScale * startValues[Matrix.MSCALE_X];\n }", "public void setStartPosition(int start) {\n mLastPosition = start;\n }", "public void setStartX(double x)\n {\n startxcoord=x; \n }", "private void setNumRows(int rows) {\n\t\tnumRows = rows; \n\t}", "public void setStartX(float startX) {this.startX = startX;}", "void setOpenBodyRangeStart(int start) {\n this.fOpenBodyRange[0] = start;\n }", "public void setRowNumber(int rowNumber) {\n this.rowNumber = rowNumber;\n }", "public void setLine (int Line);", "public void setHighlightrow(String highlightRowIn)\n {\n if (highlightRowIn == null || highlightRowIn.equals(\"\"))\n {\n highlightRow = -1;\n }\n else\n {\n try\n {\n highlightRow = Integer.parseInt(highlightRowIn);\n }\n catch(NumberFormatException nfe)\n {\n highlightRow = -1;\n }\n }\n }", "public static void setRowNumber(int pRowNumber) {\r\n\t\trowNumber = pRowNumber;\r\n\t}", "public final void nextRow() {\n this.line++;\n }", "public Row resetPosition() {\n rowNumber = -1;\n return this;\n }", "public void setStartOffset(int offset) {\n this.startOffset = offset;\n }", "public void setStartIndex(int startIndex) {\n this.startIndex = startIndex;\n }", "public void setStartIndex(Integer startIndex) {\r\n this.startIndex = startIndex;\r\n }", "public IndexKey(BpCoord start, long lineId) {\n\t\tthis.start = start;\n\t\tthis.lineId = lineId;\n\t}", "public void setLine(int line);", "@Override\n @IcalProperties({\n @IcalProperty(pindex = PropertyInfoIndex.DTSTART,\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true),\n @IcalProperty(pindex = PropertyInfoIndex.INDEX_START,\n jname = \"indexStart\",\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true)}\n )\n @NoProxy\n public void setDtstart(final BwDateTime val) {\n dtstart = val;\n }", "public void setRowKey(Long value) {\n setAttributeInternal(ROWKEY, value);\n }" ]
[ "0.7946762", "0.7110731", "0.6946135", "0.69374627", "0.6899352", "0.6821448", "0.67271477", "0.6688604", "0.66104597", "0.6600484", "0.6562885", "0.6556282", "0.65004987", "0.6457625", "0.6424963", "0.6415709", "0.6415709", "0.6409766", "0.6407716", "0.6407716", "0.6333321", "0.6323258", "0.6278555", "0.6254851", "0.62427413", "0.6180283", "0.6149093", "0.61350644", "0.6117515", "0.6097828", "0.6072566", "0.60534257", "0.60170287", "0.600677", "0.6006348", "0.598236", "0.598236", "0.598236", "0.598236", "0.598236", "0.5966292", "0.5912504", "0.5886684", "0.5863361", "0.5850924", "0.58490753", "0.5833226", "0.58313155", "0.58261526", "0.5812253", "0.5806986", "0.5801297", "0.58000314", "0.5792304", "0.5754949", "0.5754949", "0.57535183", "0.57479024", "0.5743871", "0.57309306", "0.5724016", "0.57192975", "0.57122207", "0.5711256", "0.5698502", "0.56759965", "0.5668977", "0.5663656", "0.5653635", "0.565064", "0.565064", "0.56471664", "0.5629237", "0.5626432", "0.56143725", "0.5613595", "0.56082463", "0.55976206", "0.55941385", "0.55794823", "0.55564255", "0.5556347", "0.55522686", "0.5551252", "0.5548806", "0.5544103", "0.5542419", "0.5531739", "0.55275583", "0.5518499", "0.5517811", "0.5514955", "0.55098736", "0.54944444", "0.54851604", "0.5483538", "0.5473564", "0.5464811", "0.5436354", "0.54304683" ]
0.8189055
0
Set value of StartRow
public final void setStartRow(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer startrow) { getMendixObject().setValue(context, MemberNames.StartRow.toString(), startrow); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setStartRow(java.lang.Integer startrow)\r\n\t{\r\n\t\tsetStartRow(getContext(), startrow);\r\n\t}", "public int getStartRow();", "public void setStartLine(final int startLine) {\n this.startLine = startLine;\n }", "public void setStartLine(int startLine) {\r\n this.startLine = startLine;\r\n }", "public void setRow(int value) {\n this.row = value;\n }", "public void setPositionRow(int value){this.positionRow = value;}", "public void setLoopStartRow(final int loopStartRow) {\n\t\tthis.loopStartRow = loopStartRow;\n\t}", "public void setRow( int row, int startColumn, double... values ) {\n ops.setRow(mat, row, startColumn, values);\n }", "public void setRow(int newRow) {\n this.row = newRow;\n }", "public void setRow(int i) {\n\t\tif (row != Integer.MIN_VALUE) explicitRow = true; \n\t\trow = i;\t\t\n\t}", "public void setRow(int row) {\n\t\t\tif (row > 0)\n\t\t\t\tthis.row = row;\n\t\t}", "public void setMinInSingleRow(int value) {\n minInSingleRow = value;\n }", "void setStartAt(final Long startAt);", "public void setRow(int row) {\n\t\tthis.row = row; \n\t}", "public void setFirstRow(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle firstRow)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(FIRSTROW$22, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(FIRSTROW$22);\n }\n target.set(firstRow);\n }\n }", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setSeriesStart(int aValue) { _dataSet.setSeriesStart(aValue); }", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int r) {\n\t\tthis.row = r;\n\t}", "public void setLineToStart(final int lineToStart) {\r\n\t\tthis.lineToStart = lineToStart;\r\n\t}", "public void setStartLineNumber(int foo) { startLineNumber = foo; }", "public void setRow(int row) {\n setRowAndColumn(row, column);\n }", "public Builder setStartLineNumber(int value) {\n bitField0_ |= 0x00000020;\n startLineNumber_ = value;\n onChanged();\n return this;\n }", "public void setStart(int start) {\r\n this.start = start;\r\n }", "public void setStart(int start) {\n this.start=start;\n }", "public void incrementRow() {\n setRowAndColumn(row + 1, column);\n }", "public void setStartX(double val) {\r\n startx = val;\r\n }", "public void setRows () {\n\t\t\n\t}", "@Modified(author=\"Phil Brown\", summary=\"Added Method\")\n public void setupStartValues() {\n }", "public void setBeginLineNumber(int beginLine) {\n this.beginLine = beginLine;\n }", "public void setStart(int start) {\n\t\tthis.start = start;\n\t}", "public IndexKey(BpCoord start, long lineId, boolean isRowNumber) {\n\t\tthis(start, lineId);\n\t\tthis.isRowNumber = isRowNumber;\n\t}", "public void setStartIndex(java.math.BigInteger startIndex)\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(STARTINDEX$10);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTINDEX$10);\n }\n target.setBigIntegerValue(startIndex);\n }\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public void setStart(long start) { this.start = start; }", "@Pure\n public int getStartLine() {\n return this.startLine;\n }", "public void setStartPage(java.math.BigInteger startPage)\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(STARTPAGE$12);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTPAGE$12);\n }\n target.setBigIntegerValue(startPage);\n }\n }", "public void setRowKey(Object key)\n {\n if (key == null)\n {\n setRowIndex(-1);\n return;\n }\n\n if (getRowKey() != null && getRowKey().equals(key))\n return;\n \n for (int i = 0; i < getRowCount(); i++)\n {\n setRowIndex(i);\n Object prop = getRowKey();\n if (key.equals(prop))\n {\n return;\n }\n }\n\n // if we didn't find an element with a matching key,\n // then don't make any rows current\n setRowIndex(-1);\n }", "private void setRowInfo(int rowIndex, T rowValue) {\n this.rowIndex = rowIndex;\n this.rowValueKey = cellTable.getValueKey(rowValue);\n this.subrowIndex = 0; // Reset the subrow.\n }", "public Row setPosition(int rowNumber) {\n this.rowNumber = rowNumber;\n this.nextRowSet = false;\n return this;\n }", "public void setCurrentRow(int rowNumber) throws SQLException {\n/* 163 */ notSupported();\n/* */ }", "public void testSetStartLocation() {\n assertEquals(test, maze1.getStartLocation());\n test = new Location(0, 1);\n maze1.setStartLocation(test);\n assertEquals(test, maze1.getStartLocation());\n test = new Location(2, 2);\n maze1.setCell(test, MazeCell.WALL);\n maze1.setStartLocation(test);\n assertEquals(test, maze1.getStartLocation());\n \n }", "public int getMinRow() {\n return minRow;\n }", "public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }", "public int getStartLine() {\r\n return this.startLine;\r\n }", "public void setRows(int rows)\n {\n this.rows = rows;\n }", "private void shiftPartialRowToBeginning() {\n if(true)\n throw new UnsupportedOperationException(\"Need to step through this method\");\n// // Get the length to shift from the beginning of the partial row.\n// int length = lastValidBytePosition_ - currentRowPosition_;\n//\n// // shift the data in the dataBufferStream\n// dataBufferStream_.reset();\n// if (dataBuffer_ != null) {\n// dataBufferStream_.write(dataBuffer_, currentRowPosition_, length);\n// }\n//\n// for (int i = 0; i < length; i++) {\n// dataBuffer_[i] = dataBuffer_[currentRowPosition_ + i];\n// }\n//\n// position_ = length - (lastValidBytePosition_ - position_);\n// lastValidBytePosition_ = length;\n }", "public int getStartLine() {\r\n \r\n return startLine;\r\n }", "public void setRows(Integer rows) {\n this.rows = rows;\n }", "public void setRows(Integer rows) {\n this.rows = rows;\n }", "public void setBeginOffset(Integer beginOffset) {\n this.beginOffset = beginOffset;\n }", "public void setStartPos(int startPos) {\r\n this.startPos = startPos;\r\n }", "public void setStart(int start)\n {\n if(start >= 0)\n {\n this.start = start;\n }\n else\n {\n System.out.println(\"Cannot be negative.\");\n }\n }", "public void setStartPos(int startPos) {\n this.startPos = startPos;\n }", "public void setRows(int rows) {\n this.rows = rows;\n }", "public void setBegin(int begin) {\n\t\tthis.begin = begin;\n\t}", "public void setStart(int startId) throws IllegalArgumentException, IllegalStateException;", "public int getLoopStartRow() {\n\t\treturn loopStartRow;\n\t}", "public void setBeginColumnNumber(int beginColumn) {\n this.beginColumn = beginColumn;\n }", "public void setBegin(int begin)\n {\n this.begin = begin;\n this.beginSpecified = true;\n }", "public final native void setStartIndex(double startIndex) /*-{\n this.setStartIndex(startIndex);\n }-*/;", "public void setRowIndex(int rowIndex) {\r\n\t\tthis.rowIndex = rowIndex;\r\n\t}", "public void setStart (int r, int c)\n\t{\n\t\tPosition p = new Position (r, c);\n\n\t\tif (validPosition (p))\n\t\t{\n\t\t\tsquares[p.r][p.c] = START_SPACE;\n\t\t\tstart = p;\n\t\t}\n\t\telse\n\t\t\tstart = null;\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void restart(byte[] firstRow) throws IOException {\n Scan newScan = new Scan(scan);\n newScan.setStartRow(firstRow);\n this.scanner = this.htable.getScanner(newScan);\n }", "public Builder setStartPosition(int value) {\n bitField0_ |= 0x00000008;\n startPosition_ = value;\n onChanged();\n return this;\n }", "public void setStartCode() throws Exception {\n String line;\n while ((line = this.fnirsDataIn.readLine()) != null) {\n if (line.startsWith(\"Start Code:\")) {\n String [] vals = line.split(\"\\t\");\n this.startCode = Float.parseFloat(vals[1]);\n return;\n } //.. now buffered reader is in desired location\n }\n throw new Exception(\"Could not find line Start Code:\");\n }", "private void setTable(int row)\n {\n table.setValueAt(idText.getText(), row, 0);\n table.setValueAt(nameText.getText(), row, 1);\n }", "public void setStartPoint(CartesianCoordinate startPoint) {\r\n\t\tthis.startPoint = startPoint;\r\n\t}", "void setStartSegment(int startSegment);", "public void setRows(int rows) {\n\t\tthis.rows = rows;\n\t}", "public void setRowNo(Integer rowNo) {\n this.rowNo = rowNo;\n }", "public HBaseRangeQuery setRange(String startRow, String stopRow) {\n this.startRow = startRow;\n this.stopRow = stopRow;\n return this;\n }", "public void nextRow(int minimumOffset) {\n\t\tarrangeCurrentRow();\n\n\t\t// Step 4 : Profit\n\n\t\t// Increment the Y position\n\t\tSystem.out.println(this.currentYPosition);\n\t\tsetCurrentYPosition(Math.max(this.currentYPosition + minimumOffset,\n\t\t\t\tthis.currentYPosition + getCurrentRowHeight()));\n\t\tSystem.out.println(this.currentYPosition);\n\n\t\t// Clear current row buffer\n\t\tthis.currentRow.clear();\n\n\t\tint theoreticalMaxWidth = 99999999;\n\n\t\t// Update left and right offsets occupied by previous floats for this\n\t\t// row, as well as the row max width\n\t\tint x = this.box.getAbsoluteX() + this.box.marginLeft + this.box.paddingLeft;\n\t\tint y = this.box.getAbsoluteY() + getCurrentY() + this.box.marginTop\n\t\t\t\t+ this.box.paddingTop;\n\t\tint currentRowAbsoluteY = this.box.getAbsoluteY() + this.currentYPosition\n\t\t\t\t+ this.box.marginTop + this.box.paddingTop;\n\t\tint workMaxWidth = this.box.parent.contentWidth - this.box.marginLeft\n\t\t\t\t- this.box.marginRight - this.box.paddingLeft - this.box.paddingRight;\n\n\t\tif (this.box.contentWidth > 0) {\n\t\t\tworkMaxWidth = this.box.contentWidth;\n\t\t}\n\n\t\tthis.currentRowLeftFloatOccupiedSpace = this.floats.leftIntersectionPoint(x,\n\t\t\t\tcurrentRowAbsoluteY, workMaxWidth, this.box);\n\t\tint rightPoint = this.floats.rightIntersectionPoint(x, currentRowAbsoluteY,\n\t\t\t\tworkMaxWidth, this.box);\n\t\tthis.currentRowRightFloatOccupiedSpace = workMaxWidth - rightPoint;\n\t\t// currentRowMaxWidth = rightPoint - currentRowLeftFloatOccupiedSpace ;\n\t\tthis.currentRowMaxWidth = getMaxRowWidth(this.currentYPosition);\n\n\t\t// Other init stuff\n\t\tthis.startXPosition = this.floats.leftIntersectionPoint(x, y,\n\t\t\t\ttheoreticalMaxWidth, this.box);\n\t\tthis.currentXPosition = this.startXPosition;\n\n\t\tthis.rowHeightFloats = Integer.MAX_VALUE;\n\t\tthis.rowHeightNoFloats = 0;\n\n\t\tthis.leftFloatsCount = this.rightFloatsCount = 0;\n\t\tthis.hasClearRight = false;\n\n\t\tthis.nextChildFromSavedElements = true;\n\t\tthis.currentRowHasOnlyFloats = true;\n\n\t\tSystem.out.println(\"THIS ROW WIDTH: \" + this.currentRowMaxWidth);\n\n\t}", "private void setStartValues() {\n startValues = new float[9];\n mStartMatrix = new Matrix(getImageMatrix());\n mStartMatrix.getValues(startValues);\n calculatedMinScale = minScale * startValues[Matrix.MSCALE_X];\n calculatedMaxScale = maxScale * startValues[Matrix.MSCALE_X];\n }", "public void setStartPosition(int start) {\n mLastPosition = start;\n }", "public void setStartX(double x)\n {\n startxcoord=x; \n }", "private void setNumRows(int rows) {\n\t\tnumRows = rows; \n\t}", "public void setStartX(float startX) {this.startX = startX;}", "void setOpenBodyRangeStart(int start) {\n this.fOpenBodyRange[0] = start;\n }", "public void setRowNumber(int rowNumber) {\n this.rowNumber = rowNumber;\n }", "public void setLine (int Line);", "public void setHighlightrow(String highlightRowIn)\n {\n if (highlightRowIn == null || highlightRowIn.equals(\"\"))\n {\n highlightRow = -1;\n }\n else\n {\n try\n {\n highlightRow = Integer.parseInt(highlightRowIn);\n }\n catch(NumberFormatException nfe)\n {\n highlightRow = -1;\n }\n }\n }", "public static void setRowNumber(int pRowNumber) {\r\n\t\trowNumber = pRowNumber;\r\n\t}", "public final void nextRow() {\n this.line++;\n }", "public Row resetPosition() {\n rowNumber = -1;\n return this;\n }", "public void setStartOffset(int offset) {\n this.startOffset = offset;\n }", "public void setStartIndex(int startIndex) {\n this.startIndex = startIndex;\n }", "public void setStartIndex(Integer startIndex) {\r\n this.startIndex = startIndex;\r\n }", "public IndexKey(BpCoord start, long lineId) {\n\t\tthis.start = start;\n\t\tthis.lineId = lineId;\n\t}", "public void setLine(int line);", "@Override\n @IcalProperties({\n @IcalProperty(pindex = PropertyInfoIndex.DTSTART,\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true),\n @IcalProperty(pindex = PropertyInfoIndex.INDEX_START,\n jname = \"indexStart\",\n presenceField = \"dtval\",\n required = true,\n reschedule = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true)}\n )\n @NoProxy\n public void setDtstart(final BwDateTime val) {\n dtstart = val;\n }", "public void setRowKey(Long value) {\n setAttributeInternal(ROWKEY, value);\n }" ]
[ "0.8189055", "0.7110731", "0.6946135", "0.69374627", "0.6899352", "0.6821448", "0.67271477", "0.6688604", "0.66104597", "0.6600484", "0.6562885", "0.6556282", "0.65004987", "0.6457625", "0.6424963", "0.6415709", "0.6415709", "0.6409766", "0.6407716", "0.6407716", "0.6333321", "0.6323258", "0.6278555", "0.6254851", "0.62427413", "0.6180283", "0.6149093", "0.61350644", "0.6117515", "0.6097828", "0.6072566", "0.60534257", "0.60170287", "0.600677", "0.6006348", "0.598236", "0.598236", "0.598236", "0.598236", "0.598236", "0.5966292", "0.5912504", "0.5886684", "0.5863361", "0.5850924", "0.58490753", "0.5833226", "0.58313155", "0.58261526", "0.5812253", "0.5806986", "0.5801297", "0.58000314", "0.5792304", "0.5754949", "0.5754949", "0.57535183", "0.57479024", "0.5743871", "0.57309306", "0.5724016", "0.57192975", "0.57122207", "0.5711256", "0.5698502", "0.56759965", "0.5668977", "0.5663656", "0.5653635", "0.565064", "0.565064", "0.56471664", "0.5629237", "0.5626432", "0.56143725", "0.5613595", "0.56082463", "0.55976206", "0.55941385", "0.55794823", "0.55564255", "0.5556347", "0.55522686", "0.5551252", "0.5548806", "0.5544103", "0.5542419", "0.5531739", "0.55275583", "0.5518499", "0.5517811", "0.5514955", "0.55098736", "0.54944444", "0.54851604", "0.5483538", "0.5473564", "0.5464811", "0.5436354", "0.54304683" ]
0.7946762
1
Set value of ColumnWidthDefault
public final void setColumnWidthDefault(java.lang.Boolean columnwidthdefault) { setColumnWidthDefault(getContext(), columnwidthdefault); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setColumnWidthDefault(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean columnwidthdefault)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.ColumnWidthDefault.toString(), columnwidthdefault);\r\n\t}", "public void setWidth(double w)\n { this.widthDefault = w; }", "void setColWidth(String SQLString, JTable Table)\n {\n TableColumn column = null;\n int[] sz = new int[14];\n sz[0]=100;sz[1]=60;sz[2]=120;sz[3]=100;sz[4]=100;sz[5]=70;sz[6]=70;sz[7]=70;\n sz[8]=120;sz[9]=70;sz[10]=50;sz[11]=50;sz[12]=70;sz[13]=200;\n for (int j = 0; j < TotalCol; ++j)\n {\n column = Table.getColumnModel().getColumn(j);\n column.setPreferredWidth(sz[j]);\n }\n }", "Integer getDefaultWidth();", "public void setColumnSize() {\n \t\tTableColumn column = null;\n \t\tfor (int i = 0; i < model.getColumnCount(); i++) {\n \t\t\tcolumn = getColumnModel().getColumn(i);\n \t\t\tcolumn.sizeWidthToFit();\n \t\t}\n \t}", "@Override\r\n public void setWidth(String width) {\n }", "@Override\npublic int defaultWidth() {\n\treturn 0;\n}", "void setFitWidth(short width);", "protected final void applyColumnWidthToSheet() {\n\t\tif (!autoResizeColumn) {\n\t\t\tfor (Map.Entry<Integer, Integer> column : columnWidthMap.entrySet()) {\n\t\t\t\tgetSheet().setColumnWidth(column.getKey(), column.getValue() * 256);\n\t\t\t}\n\t\t}\n\t}", "public void setWidth(final String value)\n {\n width = value;\n }", "private void adjustColumnsWidth() {\r\n // Add a listener to resize the column to the full width of the table\r\n ControlAdapter resizer = new ControlAdapter() {\r\n @Override\r\n public void controlResized(ControlEvent e) {\r\n Rectangle r = mTablePackages.getClientArea();\r\n mColumnPackages.setWidth(r.width);\r\n }\r\n };\r\n mTablePackages.addControlListener(resizer);\r\n resizer.controlResized(null);\r\n }", "@Override\r\n\tpublic void setWidth(int width) {\n\t\t\r\n\t}", "void setWidth(int width);", "void setWidth(int width);", "public void setDefaultFacetWidth(int defaultFacetWidth) {\r\n setAttribute(\"defaultFacetWidth\", defaultFacetWidth, true);\r\n }", "private void initColumnSizes(JTable table) {\r\n \t MatchersControlPanelTableModel model = (MatchersControlPanelTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n int width = 0;\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = 0;\r\n \tif(i == MatchersControlPanelTableModel.INPUTMATCHERS || i == MatchersControlPanelTableModel.NAME){\r\n \t\twidth = 175;\r\n \t}\r\n \telse{\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = comp.getPreferredSize().width;\r\n \t}\r\n \tcolumn.setPreferredWidth(width);\r\n \tcolumn.setMinWidth(width);\r\n \tcolumn.setMaxWidth(width);\r\n }\r\n \t/* THIS WAS MADE TO SET THE WIDTH AUTOMATICALLY BUT THERE WAS A BUG\r\n \t * \r\n MyTableModel model = (MyTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n int headerWidth = 0;\r\n int cellWidth = 0;\r\n Object[] longValues = model.defaultValues;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n headerWidth = comp.getPreferredSize().width;\r\n if(model.getRowCount() > 0) {//consider also the dimension of the elements rendered in the first row, and then take the max between header and row cells\r\n \tcomp = table.getDefaultRenderer(model.getColumnClass(i)).\r\n getTableCellRendererComponent( table, longValues[i],\r\n false, false, 0, i);\r\n \t\t\t\tcellWidth = comp.getPreferredSize().width;\r\n\r\n \t\t\t\t System.out.println(\"Initializing width of column \"\r\n \t\t\t\t + i + \". \"\r\n \t\t\t\t + \"headerWidth = \" + headerWidth\r\n \t\t\t\t + \"; cellWidth = \" + cellWidth);\r\n \t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\tcolumn.setPreferredWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMinWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMaxWidth(Math.max(headerWidth, cellWidth));\r\n }\r\n else {//Else just consider the header width\r\n \tcolumn.setPreferredWidth(headerWidth);\r\n \tcolumn.setMinWidth(headerWidth);\r\n \tcolumn.setMaxWidth(headerWidth);\r\n \t\r\n }\r\n }\r\n */\r\n\r\n }", "public int getColumnWidth() {\n return COLUMN_WIDTH;\n }", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "void setContentMinWidth(String minWidth);", "@Override\r\n\tpublic int setWidth() {\n\t\treturn 0;\r\n\t}", "private void setInitialWidths(Table inputTable, int colNum) {\n this.colWidth = new int[colNum];\n for (int i = 0; i < colNum; i++) {\n this.colWidth[i] = inputTable.getColumnName(i).length();\n }\n }", "public void setColumnWidths(int[] widthes){\n\t\tif (widthes.length > tableViewer.getTable().getColumnCount()) {\n\t\t\tsetColumnsCount(widthes.length);\n\t\t}\n\t\tfor (int i = 0; i < widthes.length; i++) {\n\t\t\ttableViewer.getTable().getColumn(i).setWidth(widthes[i]);\n\t\t}\n\t}", "void setMyWidth()\n\t{\n\t\tfor(int i =0 ; i<editRow.getChildCount();i++)\n\t\t{\n\t\t\t\n\t\t\t((EditText)editRow.getChildAt(i)).setMinWidth(colWidth[i]);\n\t\t\t((EditText)editRow.getChildAt(i)).setMaxWidth(colWidth[i]);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic void setWidth(float width) {\n\n\t}", "public void setTableToDefault() {\n TableColumnModel tcm = table.getColumnModel();\n\n for (int i = 0; i < msbQTM.getColumnCount(); i++) {\n tcm.getColumn(i).setPreferredWidth(-1);\n }\n\n table.setColumnModel(tcm);\n }", "public void setWidth(double value) {\n this.width = value;\n }", "public void setColumnSizes() {\n Set<JTable> tables = columnSizes.keySet();\n\n for (JTable current : tables) {\n TableColumnModel tcm = current.getColumnModel();\n\n if (tcm != null) {\n int columnCount = tcm.getColumnCount();\n int[] tableColumnSizes = columnSizes.get(current);\n\n for (int i = 0; i < tableColumnSizes.length; i++) {\n if (i >= columnCount) {\n break;\n }\n\n TableColumn column = tcm.getColumn(i);\n\n if (column != null) {\n column.setPreferredWidth(tableColumnSizes[i]);\n }\n }\n\n current.setColumnModel(tcm);\n }\n }\n }", "public void setWidth(java.lang.String width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$20);\n }\n target.setStringValue(width);\n }\n }", "public void setColumnWidth(JTable table) {\r\n TableColumnModel model = table.getColumnModel();\r\n for (int i = 0; i < model.getColumnCount(); i++)\r\n TableWidth.sizeColumn(i, table);\r\n }", "public static void largeurColoneMax(DefaultTableColumnModel dtcm, int numColumn, int largeur) {\n dtcm.getColumn(numColumn).setMinWidth(largeur);\n dtcm.getColumn(numColumn).setMaxWidth(largeur);\n dtcm.getColumn(numColumn).setPreferredWidth(largeur);\n }", "public void setColumnSize(int column, int width) {\r\n\t\tif (table == null) {\r\n\t\t\tSystem.out.println(\"You must set the column size after displaying the table\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttable.getColumnModel().getColumn(column).setPreferredWidth(width);\r\n\t}", "public void autoSizeColumns() {\n\t\tfor (TableColumn column : tableViewer.getTable().getColumns()) {\n\t\t\tcolumn.pack();\n\t\t}\n\t}", "private void objectWidth(TableColumn col,int min,int max){\r\n col.setMinWidth(min); //Establece el valor minimo\r\n col.setMaxWidth(max); //Establece el valor maximo\r\n }", "void setContentMaxWidth(String maxWidth);", "private static void setSize(JTable table, int column, int size) {\n table.getColumnModel().getColumn(column).setMaxWidth(size);\n table.getColumnModel().getColumn(column).setMinWidth(size);\n table.getColumnModel().getColumn(column).setWidth(size);\n table.getColumnModel().getColumn(column).setPreferredWidth(size);\n }", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "public void setWidth(int width) {\n this.width = width;\n }", "public void resizeColumns() {\n }", "public void setWidth(int w)\n {\n width = w;\n }", "public void xsetWidth(org.apache.xmlbeans.XmlString width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WIDTH$20);\n }\n target.set(width);\n }\n }", "public void setWidth(int w){\n \twidth = w;\n }", "protected int getColumnWidth() {\n if (columnWidth == 0) {\n FontMetrics metrics = getFontMetrics(getFont());\n columnWidth = metrics.charWidth('m');\n }\n return columnWidth;\n }", "public int getWidth() {\r\n\t\treturn defaultWidth;\r\n\t}", "private void setMaxWidths(Table inputTable) {\n int colsz = inputTable.getColumnSize();\n setInitialWidths(inputTable, colsz);\n List<String> recordKeys = inputTable.getKeyList();\n for (String entry : recordKeys) {\n for (int i = 0; i < colsz; i++) {\n this.colWidth[i] = \n Math.max(\n this.colWidth[i], \n inputTable.select(entry).getField(i).length()\n );\n }\n }\n }", "public void setWidth(int width)\n {\n this.width = width;\n }", "public static void setColumnWidth(TableColumn column, int min, int max) {\n column.setMinWidth(min);\n column.setMaxWidth(max);\n }", "IColumnBinding addColumn(SpecialBinding columnType, int width);", "private void tablesice() {\n //Modificamos los tamaños de las columnas.\n tablastock.getColumnModel().getColumn(0).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(1).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(2).setMinWidth(100);\n tablastock.getColumnModel().getColumn(3).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(4).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(5).setMaxWidth(70);\n }", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "public void setWidth(int w) {\n this.W = w;\n }", "public void setWidth(final int theWidth) {\n myWidth = theWidth;\n }", "public void setMinWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getMinWidth()) return;\n firePropertyChange(\"MinWidth\", put(\"MinWidth\", w), w, -1);\n}", "public void setWidth(int w) {\n this.width = w;\n }", "public void setPrefWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getPrefWidth()) return;\n firePropertyChange(\"PrefWidth\", put(\"PrefWidth\", w), w, -1);\n}", "public void setWidth(double width) {\n this.width = width;\n }", "public void setMinColumnWidth(final int minColWidth) {\n mMinColWidth = minColWidth;\n setColumnCount(COLUMN_COUNT_AUTO);\n }", "public void setColumnWidths(int[] ar) {\n TableColumnModel model = getColumnModel();\n //setAutoResizeMode(AUTO_RESIZE_LAST_COLUMN);\n for (int i = 0; i < ar.length; ++i)\n model.getColumn(i).setPreferredWidth(ar[i]);\n }", "public void setWidth(String value)\r\n\t{\r\n\r\n\t\tput(HtmlEnum.width.getAttributeName(), value);\r\n\t}", "public void setWidth(Integer width) {\n\t\tthis.width = width;\n\t\tthis.handleConfig(\"width\", width);\n\t}", "public void setCellWidth(int cellWidth) {\n this.cellWidth = Math.min( 10, Math.max(0, cellWidth));\n }", "public void setWidth(int width) {\n if (width > 0) {\n this.width = width;\n }\n }", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "public void setColumnSize(CIVLTable tbl, int size, int col) {\n\t\tTableColumnModel tcm = tbl.getColumnModel();\n\t\ttcm.getColumn(col).setMaxWidth(size);\n\t\ttcm.getColumn(col).setMinWidth(size);\n\t}", "public void adjustWidth() {\n int width = Short.MIN_VALUE;\n\n for (final TextBox tb : getAllTextBox()) {\n final int tbWidth = tb.getTextDim().width;\n\n if (tbWidth > width) width = tbWidth; // get the longer content\n }\n\n if (fullWidthStereotype > width) width = fullWidthStereotype;\n\n Change.push(new BufferBounds(this));\n\n setBounds(new Rectangle(\n bounds.x, bounds.y, width + GraphicView.getGridSize() + 15, bounds.height));\n\n Change.push(new BufferBounds(this));\n }", "public int getColumnCount() { return tableWidth;}", "private static void tableObjAutofit() {\n\t\ttableObj.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);\r\n\t\tfor (int column = 0; column < tableObj.getColumnCount(); column++) {\r\n\t\t\tfinal TableColumn tableObjColumn = tableObj.getColumnModel().getColumn(column);\r\n\r\n\t\t\tint preferredWidth = tableObjColumn.getMinWidth();\r\n\t\t\tfinal int maxWidth = tableObjColumn.getMaxWidth();\r\n\r\n\t\t\tfor (int row = 0; row < tableObj.getRowCount(); row++) {\r\n\t\t\t\tfinal TableCellRenderer cellRenderer = tableObj.getCellRenderer(row, column);\r\n\t\t\t\tfinal Component c = tableObj.prepareRenderer(cellRenderer, row, column);\r\n\t\t\t\tfinal int width = c.getPreferredSize().width + tableObj.getIntercellSpacing().width;\r\n\t\t\t\tpreferredWidth = Math.max(preferredWidth, width);\r\n\r\n\t\t\t\t// We've exceeded the maximum width, no need to check other rows\r\n\t\t\t\tif (preferredWidth >= maxWidth) {\r\n\t\t\t\t\tpreferredWidth = maxWidth;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\ttableObjColumn.setPreferredWidth(preferredWidth);\r\n\t\t}\r\n\t}", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "@Override\n\tpublic int getColumnDisplaySize(int arg0) throws SQLException {\n\t\treturn 0;\n\t}", "private void adjustTableColumnWidths() {\n\t\tint tableWidth = jTable.getPreferredSize().width;\n\t\tint columnCount = jTable.getColumnModel().getColumnCount();\n\t\tint headerWidth = (int) (tableWidth * 0.4);\n\t\tjTable.getColumnModel().getColumn(0).setPreferredWidth(headerWidth);\n\t\tfor (int i = 1; i < columnCount; i++) {\n\t\t\tint columnWidth = (tableWidth - headerWidth) / (columnCount - 1);\n\t\t\tjTable.getColumnModel().getColumn(i).setPreferredWidth(columnWidth);\n\t\t}\n\t}", "public void setWidth( int width ) {\n\t\t_width = width;\n\t}", "public double getColumnWidth(Object fieldId) {\n\t\t\treturn 0;\n\t\t}", "public void setWidth(double width) {\n this.width = width;\n }", "private int minWidth()\n {\n return firstColumn + 1 + cursor.length();\n }", "public static void resizeColumnWidth(JTable table) {\n final TableColumnModel columnModel = table.getColumnModel();\n for (int column = 0; column < table.getColumnCount(); column++) {\n int width = 15; // Min width\n for (int row = 0; row < table.getRowCount(); row++) {\n TableCellRenderer renderer = table.getCellRenderer(row, column);\n Component comp = table.prepareRenderer(renderer, row, column);\n width = Math.max(comp.getPreferredSize().width + 1, width);\n }\n if (width > 300) {\n width = 300;\n }\n columnModel.getColumn(column).setPreferredWidth(width);\n }\n }", "@Override\n public int width()\n {\n return widthCent; //Charlie Gao helped me debug the issue here\n }", "private void initColumnSizes(JTable table) {\n MyTableModel model = (MyTableModel)table.getModel();\n TableColumn column = null;\n Component comp = null;\n int headerWidth = 0;\n int cellWidth = 0;\n Object[] longValues = model.longValues;\n TableCellRenderer headerRenderer =\n table.getTableHeader().getDefaultRenderer();\n\n for (int i = 0; i < 1; i++) {\n column = table.getColumnModel().getColumn(i);\n\n comp = headerRenderer.getTableCellRendererComponent(\n null, column.getHeaderValue(),\n false, false, 0, 0);\n headerWidth = comp.getPreferredSize().width;\n\n comp = table.getDefaultRenderer(model.getColumnClass(i)).\n getTableCellRendererComponent(\n table, longValues[i],\n false, false, 0, i);\n cellWidth = comp.getPreferredSize().width;\n\n if (DEBUG) {\n System.out.println(\"Initializing width of column \"\n + i + \". \"\n + \"headerWidth = \" + headerWidth\n + \"; cellWidth = \" + cellWidth);\n }\n\n column.setPreferredWidth(Math.max(headerWidth, cellWidth));\n }\n }", "public abstract Builder setOutputWidth(int value);", "public NListPrinter maxColumnWidth( int maxColumnWidth ) {\n if( maxColumnWidth > 0 )\n this.maxColumnWidth = maxColumnWidth;\n return this;\n }", "public void setWidth(int width) {\n\t\tthis.width = width;\n\t}", "public void setCellWidth(final int the_width) {\r\n\t\tcellWidth = the_width;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public int getDefaultFacetWidth() {\r\n return getAttributeAsInt(\"defaultFacetWidth\");\r\n }", "public void setMinWidth(final Integer value) {\n minWidth = value.intValue();\n }", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "@Override\n\tpublic void setWidth(int newWidth) {\n\t\tint width = (int) (newWidth * 0.5);\n\t\tif (width > mainContainer.getMinWidth()) {\n\t\t\tscreenWidth = width;\n\t\t\tmainContainer.setPrefWidth(screenWidth);\n\t\t}\n\t\tcenterScreenX(newWidth);\n\t}", "@Override\n\tpublic void setBoxWidth(int l) {\n\t\tmaxwid = l;\n\t}", "public void setBaseWidth(double baseWidth) {\n this.baseWidth = baseWidth;\n }", "private void setWidth(long value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n }", "public void setWidth(final int width) {\n\t\tthis.width = width;\n\t\tthis.widthString = \"%-\" + width + \"s\";\n\t}", "public void setWidth(int width) {\n\tthis.width = width;\n\tcalculateWidthRatio();\n }", "public void setWidth(int width) {\n\t\tw = width;\n\t}", "public void setMaxWidth(final Integer value) {\n maxWidth = value.intValue();\n }", "public static void buildColumnMaxLength(int[] width, String[] value) {\n for (int i = 0; i < value.length; i++)\n width[i] = Math.max(width[i], value[i].length());\n }", "protected void adjustForNumColumns(int numColumns) {\n GridData gd = (GridData) textField.getLayoutData();\n gd.horizontalSpan = numColumns - 1;\n // We only grab excess space if we have to\n // If another field editor has more columns then\n // we assume it is setting the width.\n gd.grabExcessHorizontalSpace = gd.horizontalSpan == 1;\n //gd.grabExcessVerticalSpace = true;\n //gd.heightHint = 200;\n }", "public int maxColumnWidth() {\n return maxColumnWidth;\n }", "public int getColumnWidth() {\r\n\t\tint columnWidth = getElementColumn1().getOffsetWidth();\r\n\t\treturn columnWidth;\r\n\t}", "public void SetWidth(double width) {\n OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_SetWidth(swigCPtr, this, width);\n }", "public void setMinWidth(float minWidth) {\n this.minWidth = minWidth;\n }", "public void setWidth(int newWidth) {\n roomWidth = newWidth;\n }", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}" ]
[ "0.7396211", "0.73755074", "0.6998717", "0.6844634", "0.6776715", "0.6766064", "0.659627", "0.6575708", "0.65657425", "0.6542778", "0.6513299", "0.64915216", "0.6462879", "0.6462879", "0.6462808", "0.6447964", "0.644065", "0.64165413", "0.63741916", "0.6345174", "0.62551093", "0.6254869", "0.623579", "0.6232871", "0.6202377", "0.6196806", "0.6177507", "0.6162236", "0.6154307", "0.6137374", "0.6125578", "0.61206937", "0.60897726", "0.60747266", "0.6067391", "0.6052739", "0.60512614", "0.6047297", "0.60356426", "0.6035389", "0.6033875", "0.60222995", "0.6021311", "0.60206306", "0.60175693", "0.600305", "0.59810317", "0.59554636", "0.5946582", "0.59456503", "0.59319955", "0.59241164", "0.5919612", "0.5918414", "0.5902549", "0.5893884", "0.5880537", "0.58658195", "0.58483213", "0.58453536", "0.5835718", "0.58273387", "0.5826821", "0.58107656", "0.5802183", "0.5790679", "0.5789048", "0.5782369", "0.57760024", "0.57661104", "0.57645005", "0.5762227", "0.5760835", "0.57505554", "0.5743552", "0.573787", "0.5734259", "0.5733106", "0.5697936", "0.5696274", "0.56927335", "0.5690729", "0.5683524", "0.5682644", "0.5679147", "0.5678954", "0.56733423", "0.5668489", "0.5644706", "0.5642054", "0.5637129", "0.5623517", "0.5620382", "0.56130946", "0.55976635", "0.5595073", "0.55899066", "0.55849695", "0.5580054", "0.5580054" ]
0.7502299
0
Set value of ColumnWidthDefault
public final void setColumnWidthDefault(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean columnwidthdefault) { getMendixObject().setValue(context, MemberNames.ColumnWidthDefault.toString(), columnwidthdefault); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setColumnWidthDefault(java.lang.Boolean columnwidthdefault)\r\n\t{\r\n\t\tsetColumnWidthDefault(getContext(), columnwidthdefault);\r\n\t}", "public void setWidth(double w)\n { this.widthDefault = w; }", "void setColWidth(String SQLString, JTable Table)\n {\n TableColumn column = null;\n int[] sz = new int[14];\n sz[0]=100;sz[1]=60;sz[2]=120;sz[3]=100;sz[4]=100;sz[5]=70;sz[6]=70;sz[7]=70;\n sz[8]=120;sz[9]=70;sz[10]=50;sz[11]=50;sz[12]=70;sz[13]=200;\n for (int j = 0; j < TotalCol; ++j)\n {\n column = Table.getColumnModel().getColumn(j);\n column.setPreferredWidth(sz[j]);\n }\n }", "Integer getDefaultWidth();", "public void setColumnSize() {\n \t\tTableColumn column = null;\n \t\tfor (int i = 0; i < model.getColumnCount(); i++) {\n \t\t\tcolumn = getColumnModel().getColumn(i);\n \t\t\tcolumn.sizeWidthToFit();\n \t\t}\n \t}", "@Override\r\n public void setWidth(String width) {\n }", "@Override\npublic int defaultWidth() {\n\treturn 0;\n}", "void setFitWidth(short width);", "protected final void applyColumnWidthToSheet() {\n\t\tif (!autoResizeColumn) {\n\t\t\tfor (Map.Entry<Integer, Integer> column : columnWidthMap.entrySet()) {\n\t\t\t\tgetSheet().setColumnWidth(column.getKey(), column.getValue() * 256);\n\t\t\t}\n\t\t}\n\t}", "public void setWidth(final String value)\n {\n width = value;\n }", "private void adjustColumnsWidth() {\r\n // Add a listener to resize the column to the full width of the table\r\n ControlAdapter resizer = new ControlAdapter() {\r\n @Override\r\n public void controlResized(ControlEvent e) {\r\n Rectangle r = mTablePackages.getClientArea();\r\n mColumnPackages.setWidth(r.width);\r\n }\r\n };\r\n mTablePackages.addControlListener(resizer);\r\n resizer.controlResized(null);\r\n }", "@Override\r\n\tpublic void setWidth(int width) {\n\t\t\r\n\t}", "public void setDefaultFacetWidth(int defaultFacetWidth) {\r\n setAttribute(\"defaultFacetWidth\", defaultFacetWidth, true);\r\n }", "void setWidth(int width);", "void setWidth(int width);", "private void initColumnSizes(JTable table) {\r\n \t MatchersControlPanelTableModel model = (MatchersControlPanelTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n int width = 0;\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = 0;\r\n \tif(i == MatchersControlPanelTableModel.INPUTMATCHERS || i == MatchersControlPanelTableModel.NAME){\r\n \t\twidth = 175;\r\n \t}\r\n \telse{\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = comp.getPreferredSize().width;\r\n \t}\r\n \tcolumn.setPreferredWidth(width);\r\n \tcolumn.setMinWidth(width);\r\n \tcolumn.setMaxWidth(width);\r\n }\r\n \t/* THIS WAS MADE TO SET THE WIDTH AUTOMATICALLY BUT THERE WAS A BUG\r\n \t * \r\n MyTableModel model = (MyTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n int headerWidth = 0;\r\n int cellWidth = 0;\r\n Object[] longValues = model.defaultValues;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n headerWidth = comp.getPreferredSize().width;\r\n if(model.getRowCount() > 0) {//consider also the dimension of the elements rendered in the first row, and then take the max between header and row cells\r\n \tcomp = table.getDefaultRenderer(model.getColumnClass(i)).\r\n getTableCellRendererComponent( table, longValues[i],\r\n false, false, 0, i);\r\n \t\t\t\tcellWidth = comp.getPreferredSize().width;\r\n\r\n \t\t\t\t System.out.println(\"Initializing width of column \"\r\n \t\t\t\t + i + \". \"\r\n \t\t\t\t + \"headerWidth = \" + headerWidth\r\n \t\t\t\t + \"; cellWidth = \" + cellWidth);\r\n \t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\tcolumn.setPreferredWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMinWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMaxWidth(Math.max(headerWidth, cellWidth));\r\n }\r\n else {//Else just consider the header width\r\n \tcolumn.setPreferredWidth(headerWidth);\r\n \tcolumn.setMinWidth(headerWidth);\r\n \tcolumn.setMaxWidth(headerWidth);\r\n \t\r\n }\r\n }\r\n */\r\n\r\n }", "public int getColumnWidth() {\n return COLUMN_WIDTH;\n }", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "void setContentMinWidth(String minWidth);", "@Override\r\n\tpublic int setWidth() {\n\t\treturn 0;\r\n\t}", "private void setInitialWidths(Table inputTable, int colNum) {\n this.colWidth = new int[colNum];\n for (int i = 0; i < colNum; i++) {\n this.colWidth[i] = inputTable.getColumnName(i).length();\n }\n }", "public void setColumnWidths(int[] widthes){\n\t\tif (widthes.length > tableViewer.getTable().getColumnCount()) {\n\t\t\tsetColumnsCount(widthes.length);\n\t\t}\n\t\tfor (int i = 0; i < widthes.length; i++) {\n\t\t\ttableViewer.getTable().getColumn(i).setWidth(widthes[i]);\n\t\t}\n\t}", "void setMyWidth()\n\t{\n\t\tfor(int i =0 ; i<editRow.getChildCount();i++)\n\t\t{\n\t\t\t\n\t\t\t((EditText)editRow.getChildAt(i)).setMinWidth(colWidth[i]);\n\t\t\t((EditText)editRow.getChildAt(i)).setMaxWidth(colWidth[i]);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic void setWidth(float width) {\n\n\t}", "public void setTableToDefault() {\n TableColumnModel tcm = table.getColumnModel();\n\n for (int i = 0; i < msbQTM.getColumnCount(); i++) {\n tcm.getColumn(i).setPreferredWidth(-1);\n }\n\n table.setColumnModel(tcm);\n }", "public void setWidth(double value) {\n this.width = value;\n }", "public void setColumnSizes() {\n Set<JTable> tables = columnSizes.keySet();\n\n for (JTable current : tables) {\n TableColumnModel tcm = current.getColumnModel();\n\n if (tcm != null) {\n int columnCount = tcm.getColumnCount();\n int[] tableColumnSizes = columnSizes.get(current);\n\n for (int i = 0; i < tableColumnSizes.length; i++) {\n if (i >= columnCount) {\n break;\n }\n\n TableColumn column = tcm.getColumn(i);\n\n if (column != null) {\n column.setPreferredWidth(tableColumnSizes[i]);\n }\n }\n\n current.setColumnModel(tcm);\n }\n }\n }", "public void setWidth(java.lang.String width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$20);\n }\n target.setStringValue(width);\n }\n }", "public void setColumnWidth(JTable table) {\r\n TableColumnModel model = table.getColumnModel();\r\n for (int i = 0; i < model.getColumnCount(); i++)\r\n TableWidth.sizeColumn(i, table);\r\n }", "public static void largeurColoneMax(DefaultTableColumnModel dtcm, int numColumn, int largeur) {\n dtcm.getColumn(numColumn).setMinWidth(largeur);\n dtcm.getColumn(numColumn).setMaxWidth(largeur);\n dtcm.getColumn(numColumn).setPreferredWidth(largeur);\n }", "public void setColumnSize(int column, int width) {\r\n\t\tif (table == null) {\r\n\t\t\tSystem.out.println(\"You must set the column size after displaying the table\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\ttable.getColumnModel().getColumn(column).setPreferredWidth(width);\r\n\t}", "public void autoSizeColumns() {\n\t\tfor (TableColumn column : tableViewer.getTable().getColumns()) {\n\t\t\tcolumn.pack();\n\t\t}\n\t}", "private void objectWidth(TableColumn col,int min,int max){\r\n col.setMinWidth(min); //Establece el valor minimo\r\n col.setMaxWidth(max); //Establece el valor maximo\r\n }", "void setContentMaxWidth(String maxWidth);", "private static void setSize(JTable table, int column, int size) {\n table.getColumnModel().getColumn(column).setMaxWidth(size);\n table.getColumnModel().getColumn(column).setMinWidth(size);\n table.getColumnModel().getColumn(column).setWidth(size);\n table.getColumnModel().getColumn(column).setPreferredWidth(size);\n }", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "public void setWidth(int width) {\n this.width = width;\n }", "public void resizeColumns() {\n }", "public void setWidth(int w)\n {\n width = w;\n }", "public void xsetWidth(org.apache.xmlbeans.XmlString width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WIDTH$20);\n }\n target.set(width);\n }\n }", "public void setWidth(int w){\n \twidth = w;\n }", "protected int getColumnWidth() {\n if (columnWidth == 0) {\n FontMetrics metrics = getFontMetrics(getFont());\n columnWidth = metrics.charWidth('m');\n }\n return columnWidth;\n }", "public int getWidth() {\r\n\t\treturn defaultWidth;\r\n\t}", "private void setMaxWidths(Table inputTable) {\n int colsz = inputTable.getColumnSize();\n setInitialWidths(inputTable, colsz);\n List<String> recordKeys = inputTable.getKeyList();\n for (String entry : recordKeys) {\n for (int i = 0; i < colsz; i++) {\n this.colWidth[i] = \n Math.max(\n this.colWidth[i], \n inputTable.select(entry).getField(i).length()\n );\n }\n }\n }", "public void setWidth(int width)\n {\n this.width = width;\n }", "public static void setColumnWidth(TableColumn column, int min, int max) {\n column.setMinWidth(min);\n column.setMaxWidth(max);\n }", "IColumnBinding addColumn(SpecialBinding columnType, int width);", "private void tablesice() {\n //Modificamos los tamaños de las columnas.\n tablastock.getColumnModel().getColumn(0).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(1).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(2).setMinWidth(100);\n tablastock.getColumnModel().getColumn(3).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(4).setMaxWidth(70);\n tablastock.getColumnModel().getColumn(5).setMaxWidth(70);\n }", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "public void setWidth(int w) {\n this.W = w;\n }", "public void setWidth(final int theWidth) {\n myWidth = theWidth;\n }", "public void setMinWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getMinWidth()) return;\n firePropertyChange(\"MinWidth\", put(\"MinWidth\", w), w, -1);\n}", "public void setWidth(int w) {\n this.width = w;\n }", "public void setPrefWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getPrefWidth()) return;\n firePropertyChange(\"PrefWidth\", put(\"PrefWidth\", w), w, -1);\n}", "public void setWidth(double width) {\n this.width = width;\n }", "public void setMinColumnWidth(final int minColWidth) {\n mMinColWidth = minColWidth;\n setColumnCount(COLUMN_COUNT_AUTO);\n }", "public void setColumnWidths(int[] ar) {\n TableColumnModel model = getColumnModel();\n //setAutoResizeMode(AUTO_RESIZE_LAST_COLUMN);\n for (int i = 0; i < ar.length; ++i)\n model.getColumn(i).setPreferredWidth(ar[i]);\n }", "public void setWidth(String value)\r\n\t{\r\n\r\n\t\tput(HtmlEnum.width.getAttributeName(), value);\r\n\t}", "public void setWidth(Integer width) {\n\t\tthis.width = width;\n\t\tthis.handleConfig(\"width\", width);\n\t}", "public void setCellWidth(int cellWidth) {\n this.cellWidth = Math.min( 10, Math.max(0, cellWidth));\n }", "public void setWidth(int width) {\n if (width > 0) {\n this.width = width;\n }\n }", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "public void setColumnSize(CIVLTable tbl, int size, int col) {\n\t\tTableColumnModel tcm = tbl.getColumnModel();\n\t\ttcm.getColumn(col).setMaxWidth(size);\n\t\ttcm.getColumn(col).setMinWidth(size);\n\t}", "public void adjustWidth() {\n int width = Short.MIN_VALUE;\n\n for (final TextBox tb : getAllTextBox()) {\n final int tbWidth = tb.getTextDim().width;\n\n if (tbWidth > width) width = tbWidth; // get the longer content\n }\n\n if (fullWidthStereotype > width) width = fullWidthStereotype;\n\n Change.push(new BufferBounds(this));\n\n setBounds(new Rectangle(\n bounds.x, bounds.y, width + GraphicView.getGridSize() + 15, bounds.height));\n\n Change.push(new BufferBounds(this));\n }", "public int getColumnCount() { return tableWidth;}", "private static void tableObjAutofit() {\n\t\ttableObj.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);\r\n\t\tfor (int column = 0; column < tableObj.getColumnCount(); column++) {\r\n\t\t\tfinal TableColumn tableObjColumn = tableObj.getColumnModel().getColumn(column);\r\n\r\n\t\t\tint preferredWidth = tableObjColumn.getMinWidth();\r\n\t\t\tfinal int maxWidth = tableObjColumn.getMaxWidth();\r\n\r\n\t\t\tfor (int row = 0; row < tableObj.getRowCount(); row++) {\r\n\t\t\t\tfinal TableCellRenderer cellRenderer = tableObj.getCellRenderer(row, column);\r\n\t\t\t\tfinal Component c = tableObj.prepareRenderer(cellRenderer, row, column);\r\n\t\t\t\tfinal int width = c.getPreferredSize().width + tableObj.getIntercellSpacing().width;\r\n\t\t\t\tpreferredWidth = Math.max(preferredWidth, width);\r\n\r\n\t\t\t\t// We've exceeded the maximum width, no need to check other rows\r\n\t\t\t\tif (preferredWidth >= maxWidth) {\r\n\t\t\t\t\tpreferredWidth = maxWidth;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\ttableObjColumn.setPreferredWidth(preferredWidth);\r\n\t\t}\r\n\t}", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "@Override\n\tpublic int getColumnDisplaySize(int arg0) throws SQLException {\n\t\treturn 0;\n\t}", "private void adjustTableColumnWidths() {\n\t\tint tableWidth = jTable.getPreferredSize().width;\n\t\tint columnCount = jTable.getColumnModel().getColumnCount();\n\t\tint headerWidth = (int) (tableWidth * 0.4);\n\t\tjTable.getColumnModel().getColumn(0).setPreferredWidth(headerWidth);\n\t\tfor (int i = 1; i < columnCount; i++) {\n\t\t\tint columnWidth = (tableWidth - headerWidth) / (columnCount - 1);\n\t\t\tjTable.getColumnModel().getColumn(i).setPreferredWidth(columnWidth);\n\t\t}\n\t}", "public void setWidth( int width ) {\n\t\t_width = width;\n\t}", "public double getColumnWidth(Object fieldId) {\n\t\t\treturn 0;\n\t\t}", "public void setWidth(double width) {\n this.width = width;\n }", "private int minWidth()\n {\n return firstColumn + 1 + cursor.length();\n }", "public static void resizeColumnWidth(JTable table) {\n final TableColumnModel columnModel = table.getColumnModel();\n for (int column = 0; column < table.getColumnCount(); column++) {\n int width = 15; // Min width\n for (int row = 0; row < table.getRowCount(); row++) {\n TableCellRenderer renderer = table.getCellRenderer(row, column);\n Component comp = table.prepareRenderer(renderer, row, column);\n width = Math.max(comp.getPreferredSize().width + 1, width);\n }\n if (width > 300) {\n width = 300;\n }\n columnModel.getColumn(column).setPreferredWidth(width);\n }\n }", "@Override\n public int width()\n {\n return widthCent; //Charlie Gao helped me debug the issue here\n }", "private void initColumnSizes(JTable table) {\n MyTableModel model = (MyTableModel)table.getModel();\n TableColumn column = null;\n Component comp = null;\n int headerWidth = 0;\n int cellWidth = 0;\n Object[] longValues = model.longValues;\n TableCellRenderer headerRenderer =\n table.getTableHeader().getDefaultRenderer();\n\n for (int i = 0; i < 1; i++) {\n column = table.getColumnModel().getColumn(i);\n\n comp = headerRenderer.getTableCellRendererComponent(\n null, column.getHeaderValue(),\n false, false, 0, 0);\n headerWidth = comp.getPreferredSize().width;\n\n comp = table.getDefaultRenderer(model.getColumnClass(i)).\n getTableCellRendererComponent(\n table, longValues[i],\n false, false, 0, i);\n cellWidth = comp.getPreferredSize().width;\n\n if (DEBUG) {\n System.out.println(\"Initializing width of column \"\n + i + \". \"\n + \"headerWidth = \" + headerWidth\n + \"; cellWidth = \" + cellWidth);\n }\n\n column.setPreferredWidth(Math.max(headerWidth, cellWidth));\n }\n }", "public abstract Builder setOutputWidth(int value);", "public NListPrinter maxColumnWidth( int maxColumnWidth ) {\n if( maxColumnWidth > 0 )\n this.maxColumnWidth = maxColumnWidth;\n return this;\n }", "public void setWidth(int width) {\n\t\tthis.width = width;\n\t}", "public void setCellWidth(final int the_width) {\r\n\t\tcellWidth = the_width;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public int getDefaultFacetWidth() {\r\n return getAttributeAsInt(\"defaultFacetWidth\");\r\n }", "public void setMinWidth(final Integer value) {\n minWidth = value.intValue();\n }", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "@Override\n\tpublic void setWidth(int newWidth) {\n\t\tint width = (int) (newWidth * 0.5);\n\t\tif (width > mainContainer.getMinWidth()) {\n\t\t\tscreenWidth = width;\n\t\t\tmainContainer.setPrefWidth(screenWidth);\n\t\t}\n\t\tcenterScreenX(newWidth);\n\t}", "@Override\n\tpublic void setBoxWidth(int l) {\n\t\tmaxwid = l;\n\t}", "public void setBaseWidth(double baseWidth) {\n this.baseWidth = baseWidth;\n }", "private void setWidth(long value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n }", "public void setWidth(final int width) {\n\t\tthis.width = width;\n\t\tthis.widthString = \"%-\" + width + \"s\";\n\t}", "public void setWidth(int width) {\n\tthis.width = width;\n\tcalculateWidthRatio();\n }", "public void setWidth(int width) {\n\t\tw = width;\n\t}", "public void setMaxWidth(final Integer value) {\n maxWidth = value.intValue();\n }", "public static void buildColumnMaxLength(int[] width, String[] value) {\n for (int i = 0; i < value.length; i++)\n width[i] = Math.max(width[i], value[i].length());\n }", "protected void adjustForNumColumns(int numColumns) {\n GridData gd = (GridData) textField.getLayoutData();\n gd.horizontalSpan = numColumns - 1;\n // We only grab excess space if we have to\n // If another field editor has more columns then\n // we assume it is setting the width.\n gd.grabExcessHorizontalSpace = gd.horizontalSpan == 1;\n //gd.grabExcessVerticalSpace = true;\n //gd.heightHint = 200;\n }", "public int maxColumnWidth() {\n return maxColumnWidth;\n }", "public int getColumnWidth() {\r\n\t\tint columnWidth = getElementColumn1().getOffsetWidth();\r\n\t\treturn columnWidth;\r\n\t}", "public void SetWidth(double width) {\n OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_SetWidth(swigCPtr, this, width);\n }", "public void setMinWidth(float minWidth) {\n this.minWidth = minWidth;\n }", "public void setWidth(int newWidth) {\n roomWidth = newWidth;\n }", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}" ]
[ "0.750283", "0.73765284", "0.69985116", "0.6845816", "0.67778146", "0.6766897", "0.6597909", "0.6575761", "0.6564755", "0.65434414", "0.6513271", "0.6492213", "0.64638186", "0.64630425", "0.64630425", "0.6448393", "0.6441281", "0.64163375", "0.63740855", "0.63469565", "0.6255352", "0.6254929", "0.62357265", "0.6233562", "0.62037", "0.6197392", "0.6178196", "0.616197", "0.6155035", "0.61363477", "0.6125816", "0.61210567", "0.6089729", "0.60750514", "0.60679495", "0.60530466", "0.6051632", "0.604729", "0.6036562", "0.60353047", "0.60347754", "0.6023347", "0.6023058", "0.6020951", "0.60179657", "0.6003193", "0.5980548", "0.59562415", "0.5947755", "0.59465235", "0.5932244", "0.5924057", "0.5920438", "0.59177923", "0.59026957", "0.58937824", "0.5880276", "0.58668494", "0.58480656", "0.58453137", "0.58360356", "0.58275026", "0.5826156", "0.581081", "0.58030164", "0.5791203", "0.5789331", "0.57837737", "0.57762986", "0.5766617", "0.5765645", "0.5762352", "0.5761126", "0.5750508", "0.57446665", "0.57381576", "0.5734482", "0.573319", "0.5698155", "0.5696348", "0.5694048", "0.5691302", "0.56843644", "0.56824106", "0.56799597", "0.5679776", "0.56738853", "0.5668292", "0.5644791", "0.5642425", "0.5637906", "0.5622817", "0.56197274", "0.5613841", "0.5598303", "0.5594318", "0.55904925", "0.5585318", "0.5580076", "0.5580076" ]
0.73964757
1
Set value of ColumnWidthPixels
public final void setColumnWidthPixels(java.lang.Integer columnwidthpixels) { setColumnWidthPixels(getContext(), columnwidthpixels); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setColumnWidthPixels(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer columnwidthpixels)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.ColumnWidthPixels.toString(), columnwidthpixels);\r\n\t}", "void setWidth(int width);", "void setWidth(int width);", "public void setWidth(double value) {\n this.width = value;\n }", "public void setWidth(int w){\n \twidth = w;\n }", "public void setWidth(double w)\n { this.widthDefault = w; }", "public void setWidth(int w)\n {\n width = w;\n }", "public void setWidth(int w) {\n this.W = w;\n }", "public int setColumns(int width) {\n\n Display display = getActivity().getWindowManager().getDefaultDisplay();\n DisplayMetrics outMetrics = new DisplayMetrics();\n display.getMetrics(outMetrics);\n\n float density = getResources().getDisplayMetrics().density;\n float dpWidth = outMetrics.widthPixels / density;\n\n return Math.round(dpWidth / width);\n }", "void setFitWidth(short width);", "public void setWidth(int w) {\n this.width = w;\n }", "private void setWidth(long value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n }", "public void setWidth(final int theWidth) {\n myWidth = theWidth;\n }", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "protected final void applyColumnWidthToSheet() {\n\t\tif (!autoResizeColumn) {\n\t\t\tfor (Map.Entry<Integer, Integer> column : columnWidthMap.entrySet()) {\n\t\t\t\tgetSheet().setColumnWidth(column.getKey(), column.getValue() * 256);\n\t\t\t}\n\t\t}\n\t}", "public void setWidth(int width) {\n this.width = width;\n }", "public void setWidth(double width) {\n this.width = width;\n }", "public void setWidth(int width) {\n\tthis.width = width;\n\tcalculateWidthRatio();\n }", "public void setWidth(int width)\n {\n this.width = width;\n }", "public void setWidth(final String value)\n {\n width = value;\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "static int setColumns(int screenWidth) {\n COLUMNS = ((screenWidth / 20) + 1) * 3;\n return (COLUMNS);\n }", "public void setColumnSize() {\n \t\tTableColumn column = null;\n \t\tfor (int i = 0; i < model.getColumnCount(); i++) {\n \t\t\tcolumn = getColumnModel().getColumn(i);\n \t\t\tcolumn.sizeWidthToFit();\n \t\t}\n \t}", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "@Override\n\tpublic void setWidth(float width) {\n\n\t}", "@Override\r\n\tpublic void setWidth(int width) {\n\t\t\r\n\t}", "public void setColumnWidths(int[] widthes){\n\t\tif (widthes.length > tableViewer.getTable().getColumnCount()) {\n\t\t\tsetColumnsCount(widthes.length);\n\t\t}\n\t\tfor (int i = 0; i < widthes.length; i++) {\n\t\t\ttableViewer.getTable().getColumn(i).setWidth(widthes[i]);\n\t\t}\n\t}", "public void setWidth(double width) {\n this.width = width;\n }", "void setColWidth(String SQLString, JTable Table)\n {\n TableColumn column = null;\n int[] sz = new int[14];\n sz[0]=100;sz[1]=60;sz[2]=120;sz[3]=100;sz[4]=100;sz[5]=70;sz[6]=70;sz[7]=70;\n sz[8]=120;sz[9]=70;sz[10]=50;sz[11]=50;sz[12]=70;sz[13]=200;\n for (int j = 0; j < TotalCol; ++j)\n {\n column = Table.getColumnModel().getColumn(j);\n column.setPreferredWidth(sz[j]);\n }\n }", "void setMyWidth()\n\t{\n\t\tfor(int i =0 ; i<editRow.getChildCount();i++)\n\t\t{\n\t\t\t\n\t\t\t((EditText)editRow.getChildAt(i)).setMinWidth(colWidth[i]);\n\t\t\t((EditText)editRow.getChildAt(i)).setMaxWidth(colWidth[i]);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}", "private void adjustColumnsWidth() {\r\n // Add a listener to resize the column to the full width of the table\r\n ControlAdapter resizer = new ControlAdapter() {\r\n @Override\r\n public void controlResized(ControlEvent e) {\r\n Rectangle r = mTablePackages.getClientArea();\r\n mColumnPackages.setWidth(r.width);\r\n }\r\n };\r\n mTablePackages.addControlListener(resizer);\r\n resizer.controlResized(null);\r\n }", "public void setWidth(double w) {\n\t\t\twidth.set(clamp(w, WIDTH_MIN, WIDTH_MAX));\n\t\t}", "public void setWidth(int width) {\n\t\tw = width;\n\t}", "public void setCwidth_px(int cwidth_px) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeInt(__io__address + 4, cwidth_px);\n\t\t} else {\n\t\t\t__io__block.writeInt(__io__address + 4, cwidth_px);\n\t\t}\n\t}", "public Builder setWidth(int value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n onChanged();\n return this;\n }", "public void setWidth(int width) {\n if (width > 0) {\n this.width = width;\n }\n }", "public void setWidth( int width ) {\n\t\t_width = width;\n\t}", "public void setPrefWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getPrefWidth()) return;\n firePropertyChange(\"PrefWidth\", put(\"PrefWidth\", w), w, -1);\n}", "public Builder setWidth(int value) {\n \n width_ = value;\n onChanged();\n return this;\n }", "public void setCellWidth(final int the_width) {\r\n\t\tcellWidth = the_width;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public void resizeColumns() {\n }", "public final native void setWidth(double width) /*-{\n this.setWidth(width);\n }-*/;", "private void setWindowWidth(int width) {\n this.width = width;\n }", "@Override\r\n public void setWidth(String width) {\n }", "public void setWidth(int width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "@Override\n\tpublic void setWidth(int newWidth) {\n\t\tint width = (int) (newWidth * 0.5);\n\t\tif (width > mainContainer.getMinWidth()) {\n\t\t\tscreenWidth = width;\n\t\t\tmainContainer.setPrefWidth(screenWidth);\n\t\t}\n\t\tcenterScreenX(newWidth);\n\t}", "public void setWidth(Integer width) {\n\t\tthis.width = width;\n\t\tthis.handleConfig(\"width\", width);\n\t}", "public void setImageWidth(int val)\n {\n \n setImageWidth_0(nativeObj, val);\n \n return;\n }", "private void initColumnSizes(JTable table) {\r\n \t MatchersControlPanelTableModel model = (MatchersControlPanelTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n int width = 0;\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = 0;\r\n \tif(i == MatchersControlPanelTableModel.INPUTMATCHERS || i == MatchersControlPanelTableModel.NAME){\r\n \t\twidth = 175;\r\n \t}\r\n \telse{\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = comp.getPreferredSize().width;\r\n \t}\r\n \tcolumn.setPreferredWidth(width);\r\n \tcolumn.setMinWidth(width);\r\n \tcolumn.setMaxWidth(width);\r\n }\r\n \t/* THIS WAS MADE TO SET THE WIDTH AUTOMATICALLY BUT THERE WAS A BUG\r\n \t * \r\n MyTableModel model = (MyTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n int headerWidth = 0;\r\n int cellWidth = 0;\r\n Object[] longValues = model.defaultValues;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n headerWidth = comp.getPreferredSize().width;\r\n if(model.getRowCount() > 0) {//consider also the dimension of the elements rendered in the first row, and then take the max between header and row cells\r\n \tcomp = table.getDefaultRenderer(model.getColumnClass(i)).\r\n getTableCellRendererComponent( table, longValues[i],\r\n false, false, 0, i);\r\n \t\t\t\tcellWidth = comp.getPreferredSize().width;\r\n\r\n \t\t\t\t System.out.println(\"Initializing width of column \"\r\n \t\t\t\t + i + \". \"\r\n \t\t\t\t + \"headerWidth = \" + headerWidth\r\n \t\t\t\t + \"; cellWidth = \" + cellWidth);\r\n \t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\tcolumn.setPreferredWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMinWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMaxWidth(Math.max(headerWidth, cellWidth));\r\n }\r\n else {//Else just consider the header width\r\n \tcolumn.setPreferredWidth(headerWidth);\r\n \tcolumn.setMinWidth(headerWidth);\r\n \tcolumn.setMaxWidth(headerWidth);\r\n \t\r\n }\r\n }\r\n */\r\n\r\n }", "private void setInitialWidths(Table inputTable, int colNum) {\n this.colWidth = new int[colNum];\n for (int i = 0; i < colNum; i++) {\n this.colWidth[i] = inputTable.getColumnName(i).length();\n }\n }", "public void setW(int i) {\n\t\tthis.width=i;\n\t\t\n\t}", "public int getColumnWidth() {\n return COLUMN_WIDTH;\n }", "public void setWidth(int newWidth) {\n roomWidth = newWidth;\n }", "public Builder setWidth(long value) {\n copyOnWrite();\n instance.setWidth(value);\n return this;\n }", "public void updateWidth() {\n\t\t// Update width\n\t\tif (this.getFamily() != null) {\n\t\t\tthis.getFamily().updateFamilyWidth();\n\t\t\tthis.setWidth(this.getFamily().getWidth()\n\t\t\t\t\t+ this.getFamily().getNextWidth());\n\t\t} else {\n\t\t\tthis.setWidth(1);\n\t\t}\n\t}", "private void setTargetWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetWidth = width;\r\n\t\t}\r\n\t}", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "public void setWidth(Integer width)\n {\n getStateHelper().put(PropertyKeys.width, width);\n }", "private static native void setImageWidth_0(long nativeObj, int val);", "public void xsetWidth(org.apache.xmlbeans.XmlString width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WIDTH$20);\n }\n target.set(width);\n }\n }", "public void setColumnWidth(JTable table) {\r\n TableColumnModel model = table.getColumnModel();\r\n for (int i = 0; i < model.getColumnCount(); i++)\r\n TableWidth.sizeColumn(i, table);\r\n }", "public void setWidth(int nuova_larghezza)\n {\n \tboolean bo = informaPreUpdate();\n larghezza = nuova_larghezza;\n\t\tinformaPostUpdate(bo);\n }", "void setDimension(double width, double height);", "public void setCurrentWidth(final int currentWidth);", "public void setWidthMM(float millimeters){\n\t\tthis.setWidth(millimeters*0.03937f);\n\t}", "private void objectWidth(TableColumn col,int min,int max){\r\n col.setMinWidth(min); //Establece el valor minimo\r\n col.setMaxWidth(max); //Establece el valor maximo\r\n }", "public void SetWidth(double width) {\n OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_SetWidth(swigCPtr, this, width);\n }", "private int getColWidth(int i) {\n int ret = this.colWidth[i];\n return ret;\n }", "public void setWidthCM(float centimeters){\n\t\tthis.setWidth(centimeters*0.3937f);\n\t}", "@JsProperty\n public void setWidth(int width);", "public void setWidth(Double width) {\n\t\tthis.width = width;\n\t}", "private void setCurrentWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentWidth = width;\r\n\t\t}\r\n\t}", "public void setWidth(java.lang.String width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$20);\n }\n target.setStringValue(width);\n }\n }", "public void setWidth(float width) {\n this.xRadius = width/2f;\n }", "public void setRunwayWidth(float runwayWidth) {\n\t\tif(this.runwayWidth != 0f){\n\t\t\treturn;\n\t\t}\n\t\tthis.runwayWidth = runwayWidth;\n\t}", "public void setColumnWidths(int[] ar) {\n TableColumnModel model = getColumnModel();\n //setAutoResizeMode(AUTO_RESIZE_LAST_COLUMN);\n for (int i = 0; i < ar.length; ++i)\n model.getColumn(i).setPreferredWidth(ar[i]);\n }", "public void setWidth(int w){ widthRadius = w; }", "@Override\n public int width()\n {\n return widthCent; //Charlie Gao helped me debug the issue here\n }", "@Override\n public int getNumCols(){ return WIDTH; }", "public void setCellWidth(int cellWidth) {\n this.cellWidth = Math.min( 10, Math.max(0, cellWidth));\n }", "private void setNumColumns(int cols) {\n\t\tnumColumns = cols; \n\t}", "public void setMinWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getMinWidth()) return;\n firePropertyChange(\"MinWidth\", put(\"MinWidth\", w), w, -1);\n}", "public void setImageWidth(int width)\n\t{\n\t\tspecialWidth = SpecialDimension.NONE;\n\t\timgWidth = width;\n\t}", "@BindingAdapter({\"layout_width\"})\n public static void setWidth(View view, int width) {\n view.getLayoutParams().width = Math.round(width * view.getContext().getResources().getDisplayMetrics().density);\n }", "public void setColumnSizes() {\n Set<JTable> tables = columnSizes.keySet();\n\n for (JTable current : tables) {\n TableColumnModel tcm = current.getColumnModel();\n\n if (tcm != null) {\n int columnCount = tcm.getColumnCount();\n int[] tableColumnSizes = columnSizes.get(current);\n\n for (int i = 0; i < tableColumnSizes.length; i++) {\n if (i >= columnCount) {\n break;\n }\n\n TableColumn column = tcm.getColumn(i);\n\n if (column != null) {\n column.setPreferredWidth(tableColumnSizes[i]);\n }\n }\n\n current.setColumnModel(tcm);\n }\n }\n }", "public void setWidth(int width) {\n if(width < 0) throw new NegativeSizeException(\"Negative width\");\n \tthis.width = width;\n }", "public void setWidth(Integer width) {\n this.width = width;\n control.draw();\n }", "public void setWidth(final int width) {\n\t\tthis.width = width;\n\t\tthis.widthString = \"%-\" + width + \"s\";\n\t}", "public abstract Builder setOutputWidth(int value);", "@JSProperty(\"tickWidth\")\n void setTickWidth(double value);", "public void setCellInsetWidth(double insetWidth) {\n cellInsetWidth = insetWidth;\n mainView.setFrame(new CGRect(insetWidth, mainView.getFrame().getOrigin().getY(), mainView.getFrame().getSize()\n .getWidth()\n - 2 * insetWidth, mainView.getFrame().getSize().getHeight()));\n horizontalTextSpace = getHorizontalTextSpaceForInsetWidth(insetWidth);\n setNeedsDisplay();\n }", "@Override\r\n\tpublic int setWidth() {\n\t\treturn 0;\r\n\t}", "public void setNodeBorderWidth(Float value) {\n nodeBorderWidth = value;\n }", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "private void defineColumn_Dimension() {\r\n\r\n\t\tfinal ColumnDefinition colDef = TableColumnFactory.PHOTO_FILE_DIMENSION.createColumn(_columnManager, _pc);\r\n\r\n\t\tcolDef.setIsDefaultColumn();\r\n\t\tcolDef.setLabelProvider(new CellLabelProvider() {\r\n\t\t\t@Override\r\n\t\t\tpublic void update(final ViewerCell cell) {\r\n\r\n\t\t\t\tfinal Photo photo = (Photo) cell.getElement();\r\n\r\n\t\t\t\tcell.setText(photo.getDimensionText());\r\n\t\t\t}\r\n\t\t});\r\n\t}", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "@Test\n public void testSetSize_1()\n throws Exception {\n ColumnPreferences fixture = new ColumnPreferences(\"\", \"\", 1, ColumnPreferences.Visibility.HIDDEN, ColumnPreferences.Hidability.HIDABLE);\n fixture.setVisible(true);\n int size = 1;\n\n fixture.setSize(size);\n\n }" ]
[ "0.67371505", "0.67028856", "0.67028856", "0.66624963", "0.6538515", "0.65151733", "0.64942837", "0.6491866", "0.64668775", "0.64406335", "0.641916", "0.6355258", "0.633816", "0.63094175", "0.630253", "0.6287672", "0.6280115", "0.62685806", "0.6242467", "0.6231716", "0.6215016", "0.620805", "0.62062573", "0.62052417", "0.62016195", "0.61911553", "0.616844", "0.61585844", "0.6130607", "0.6123326", "0.6089769", "0.60440654", "0.6019269", "0.60131985", "0.599601", "0.59763956", "0.5966245", "0.5966153", "0.5966028", "0.59508145", "0.59414744", "0.5937253", "0.59221977", "0.5915795", "0.591568", "0.58986044", "0.5886113", "0.5886113", "0.5873164", "0.5844683", "0.5827682", "0.5810311", "0.5808523", "0.5786877", "0.5771367", "0.57703865", "0.57701117", "0.57700586", "0.57605976", "0.57579887", "0.5757957", "0.57549274", "0.5754392", "0.5737951", "0.572825", "0.57213897", "0.5711101", "0.5693916", "0.5689124", "0.5688301", "0.5679848", "0.56796664", "0.5677171", "0.56770176", "0.56650573", "0.5657864", "0.56521267", "0.5647084", "0.564586", "0.5635274", "0.5631515", "0.56272024", "0.5623269", "0.56083626", "0.5591854", "0.55902255", "0.5582679", "0.55773157", "0.5556944", "0.5553223", "0.5538897", "0.5538328", "0.552354", "0.55232495", "0.55196637", "0.55067027", "0.54937863", "0.5490197", "0.5489164", "0.54785055" ]
0.7009286
0
Set value of ColumnWidthPixels
public final void setColumnWidthPixels(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer columnwidthpixels) { getMendixObject().setValue(context, MemberNames.ColumnWidthPixels.toString(), columnwidthpixels); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setColumnWidthPixels(java.lang.Integer columnwidthpixels)\r\n\t{\r\n\t\tsetColumnWidthPixels(getContext(), columnwidthpixels);\r\n\t}", "void setWidth(int width);", "void setWidth(int width);", "public void setWidth(double value) {\n this.width = value;\n }", "public void setWidth(int w){\n \twidth = w;\n }", "public void setWidth(double w)\n { this.widthDefault = w; }", "public void setWidth(int w)\n {\n width = w;\n }", "public void setWidth(int w) {\n this.W = w;\n }", "public int setColumns(int width) {\n\n Display display = getActivity().getWindowManager().getDefaultDisplay();\n DisplayMetrics outMetrics = new DisplayMetrics();\n display.getMetrics(outMetrics);\n\n float density = getResources().getDisplayMetrics().density;\n float dpWidth = outMetrics.widthPixels / density;\n\n return Math.round(dpWidth / width);\n }", "void setFitWidth(short width);", "public void setWidth(int w) {\n this.width = w;\n }", "private void setWidth(long value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n }", "public void setWidth(final int theWidth) {\n myWidth = theWidth;\n }", "public void setWitdh(int newValue)\n {\n width = newValue;\n }", "protected final void applyColumnWidthToSheet() {\n\t\tif (!autoResizeColumn) {\n\t\t\tfor (Map.Entry<Integer, Integer> column : columnWidthMap.entrySet()) {\n\t\t\t\tgetSheet().setColumnWidth(column.getKey(), column.getValue() * 256);\n\t\t\t}\n\t\t}\n\t}", "public void setWidth(int width) {\n this.width = width;\n }", "public void setWidth(double width) {\n this.width = width;\n }", "public void setWidth(int width) {\n\tthis.width = width;\n\tcalculateWidthRatio();\n }", "public void setWidth(int width)\n {\n this.width = width;\n }", "public void setWidth(final String value)\n {\n width = value;\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "static int setColumns(int screenWidth) {\n COLUMNS = ((screenWidth / 20) + 1) * 3;\n return (COLUMNS);\n }", "public void setColumnSize() {\n \t\tTableColumn column = null;\n \t\tfor (int i = 0; i < model.getColumnCount(); i++) {\n \t\t\tcolumn = getColumnModel().getColumn(i);\n \t\t\tcolumn.sizeWidthToFit();\n \t\t}\n \t}", "public void setWidth(int w) {\n\t\twidth = w;\n\t}", "public void setWidth(double width) {\r\n this.width = width;\r\n }", "@Override\n\tpublic void setWidth(float width) {\n\n\t}", "@Override\r\n\tpublic void setWidth(int width) {\n\t\t\r\n\t}", "public void setColumnWidths(int[] widthes){\n\t\tif (widthes.length > tableViewer.getTable().getColumnCount()) {\n\t\t\tsetColumnsCount(widthes.length);\n\t\t}\n\t\tfor (int i = 0; i < widthes.length; i++) {\n\t\t\ttableViewer.getTable().getColumn(i).setWidth(widthes[i]);\n\t\t}\n\t}", "public void setWidth(double width) {\n this.width = width;\n }", "void setColWidth(String SQLString, JTable Table)\n {\n TableColumn column = null;\n int[] sz = new int[14];\n sz[0]=100;sz[1]=60;sz[2]=120;sz[3]=100;sz[4]=100;sz[5]=70;sz[6]=70;sz[7]=70;\n sz[8]=120;sz[9]=70;sz[10]=50;sz[11]=50;sz[12]=70;sz[13]=200;\n for (int j = 0; j < TotalCol; ++j)\n {\n column = Table.getColumnModel().getColumn(j);\n column.setPreferredWidth(sz[j]);\n }\n }", "void setMyWidth()\n\t{\n\t\tfor(int i =0 ; i<editRow.getChildCount();i++)\n\t\t{\n\t\t\t\n\t\t\t((EditText)editRow.getChildAt(i)).setMinWidth(colWidth[i]);\n\t\t\t((EditText)editRow.getChildAt(i)).setMaxWidth(colWidth[i]);\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}", "private void adjustColumnsWidth() {\r\n // Add a listener to resize the column to the full width of the table\r\n ControlAdapter resizer = new ControlAdapter() {\r\n @Override\r\n public void controlResized(ControlEvent e) {\r\n Rectangle r = mTablePackages.getClientArea();\r\n mColumnPackages.setWidth(r.width);\r\n }\r\n };\r\n mTablePackages.addControlListener(resizer);\r\n resizer.controlResized(null);\r\n }", "public void setWidth(double w) {\n\t\t\twidth.set(clamp(w, WIDTH_MIN, WIDTH_MAX));\n\t\t}", "public void setWidth(int width) {\n\t\tw = width;\n\t}", "public void setCwidth_px(int cwidth_px) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeInt(__io__address + 4, cwidth_px);\n\t\t} else {\n\t\t\t__io__block.writeInt(__io__address + 4, cwidth_px);\n\t\t}\n\t}", "public Builder setWidth(int value) {\n bitField0_ |= 0x00000004;\n width_ = value;\n onChanged();\n return this;\n }", "public void setWidth(int width) {\n if (width > 0) {\n this.width = width;\n }\n }", "public void setWidth( int width ) {\n\t\t_width = width;\n\t}", "public void setPrefWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getPrefWidth()) return;\n firePropertyChange(\"PrefWidth\", put(\"PrefWidth\", w), w, -1);\n}", "public Builder setWidth(int value) {\n \n width_ = value;\n onChanged();\n return this;\n }", "public void setCellWidth(final int the_width) {\r\n\t\tcellWidth = the_width;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public void resizeColumns() {\n }", "public final native void setWidth(double width) /*-{\n this.setWidth(width);\n }-*/;", "private void setWindowWidth(int width) {\n this.width = width;\n }", "@Override\r\n public void setWidth(String width) {\n }", "public void setWidth(int width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "public void setWidth(double width) {\n\t\tthis.width = width;\n\t}", "@Override\n\tpublic void setWidth(int newWidth) {\n\t\tint width = (int) (newWidth * 0.5);\n\t\tif (width > mainContainer.getMinWidth()) {\n\t\t\tscreenWidth = width;\n\t\t\tmainContainer.setPrefWidth(screenWidth);\n\t\t}\n\t\tcenterScreenX(newWidth);\n\t}", "public void setWidth(Integer width) {\n\t\tthis.width = width;\n\t\tthis.handleConfig(\"width\", width);\n\t}", "public void setImageWidth(int val)\n {\n \n setImageWidth_0(nativeObj, val);\n \n return;\n }", "private void initColumnSizes(JTable table) {\r\n \t MatchersControlPanelTableModel model = (MatchersControlPanelTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n int width = 0;\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = 0;\r\n \tif(i == MatchersControlPanelTableModel.INPUTMATCHERS || i == MatchersControlPanelTableModel.NAME){\r\n \t\twidth = 175;\r\n \t}\r\n \telse{\r\n column = table.getColumnModel().getColumn(i);\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n width = comp.getPreferredSize().width;\r\n \t}\r\n \tcolumn.setPreferredWidth(width);\r\n \tcolumn.setMinWidth(width);\r\n \tcolumn.setMaxWidth(width);\r\n }\r\n \t/* THIS WAS MADE TO SET THE WIDTH AUTOMATICALLY BUT THERE WAS A BUG\r\n \t * \r\n MyTableModel model = (MyTableModel)table.getModel();\r\n TableColumn column = null;\r\n Component comp = null;\r\n int headerWidth = 0;\r\n int cellWidth = 0;\r\n Object[] longValues = model.defaultValues;\r\n TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer();\r\n \r\n for (int i = 0; i < model.getColumnCount(); i++) {\r\n column = table.getColumnModel().getColumn(i);\r\n\r\n comp = headerRenderer.getTableCellRendererComponent(\r\n null, column.getHeaderValue(),\r\n false, false, 0, 0);\r\n headerWidth = comp.getPreferredSize().width;\r\n if(model.getRowCount() > 0) {//consider also the dimension of the elements rendered in the first row, and then take the max between header and row cells\r\n \tcomp = table.getDefaultRenderer(model.getColumnClass(i)).\r\n getTableCellRendererComponent( table, longValues[i],\r\n false, false, 0, i);\r\n \t\t\t\tcellWidth = comp.getPreferredSize().width;\r\n\r\n \t\t\t\t System.out.println(\"Initializing width of column \"\r\n \t\t\t\t + i + \". \"\r\n \t\t\t\t + \"headerWidth = \" + headerWidth\r\n \t\t\t\t + \"; cellWidth = \" + cellWidth);\r\n \t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\tcolumn.setPreferredWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMinWidth(Math.max(headerWidth, cellWidth));\r\n \t\t\t\tcolumn.setMaxWidth(Math.max(headerWidth, cellWidth));\r\n }\r\n else {//Else just consider the header width\r\n \tcolumn.setPreferredWidth(headerWidth);\r\n \tcolumn.setMinWidth(headerWidth);\r\n \tcolumn.setMaxWidth(headerWidth);\r\n \t\r\n }\r\n }\r\n */\r\n\r\n }", "private void setInitialWidths(Table inputTable, int colNum) {\n this.colWidth = new int[colNum];\n for (int i = 0; i < colNum; i++) {\n this.colWidth[i] = inputTable.getColumnName(i).length();\n }\n }", "public void setW(int i) {\n\t\tthis.width=i;\n\t\t\n\t}", "public int getColumnWidth() {\n return COLUMN_WIDTH;\n }", "public void setWidth(int newWidth) {\n roomWidth = newWidth;\n }", "public Builder setWidth(long value) {\n copyOnWrite();\n instance.setWidth(value);\n return this;\n }", "public void updateWidth() {\n\t\t// Update width\n\t\tif (this.getFamily() != null) {\n\t\t\tthis.getFamily().updateFamilyWidth();\n\t\t\tthis.setWidth(this.getFamily().getWidth()\n\t\t\t\t\t+ this.getFamily().getNextWidth());\n\t\t} else {\n\t\t\tthis.setWidth(1);\n\t\t}\n\t}", "private void setTargetWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetWidth = width;\r\n\t\t}\r\n\t}", "public void setWidth(String width) {\r\n this.width = width;\r\n }", "public void setWidth(Integer width)\n {\n getStateHelper().put(PropertyKeys.width, width);\n }", "private static native void setImageWidth_0(long nativeObj, int val);", "public void xsetWidth(org.apache.xmlbeans.XmlString width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WIDTH$20);\n }\n target.set(width);\n }\n }", "public void setColumnWidth(JTable table) {\r\n TableColumnModel model = table.getColumnModel();\r\n for (int i = 0; i < model.getColumnCount(); i++)\r\n TableWidth.sizeColumn(i, table);\r\n }", "public void setWidth(int nuova_larghezza)\n {\n \tboolean bo = informaPreUpdate();\n larghezza = nuova_larghezza;\n\t\tinformaPostUpdate(bo);\n }", "void setDimension(double width, double height);", "public void setCurrentWidth(final int currentWidth);", "public void setWidthMM(float millimeters){\n\t\tthis.setWidth(millimeters*0.03937f);\n\t}", "private void objectWidth(TableColumn col,int min,int max){\r\n col.setMinWidth(min); //Establece el valor minimo\r\n col.setMaxWidth(max); //Establece el valor maximo\r\n }", "public void SetWidth(double width) {\n OCCwrapJavaJNI.ShapeAnalysis_FreeBoundData_SetWidth(swigCPtr, this, width);\n }", "private int getColWidth(int i) {\n int ret = this.colWidth[i];\n return ret;\n }", "public void setWidthCM(float centimeters){\n\t\tthis.setWidth(centimeters*0.3937f);\n\t}", "@JsProperty\n public void setWidth(int width);", "public void setWidth(Double width) {\n\t\tthis.width = width;\n\t}", "private void setCurrentWidth(int width)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentWidth = width;\r\n\t\t}\r\n\t}", "public void setWidth(java.lang.String width)\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(WIDTH$20);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$20);\n }\n target.setStringValue(width);\n }\n }", "public void setWidth(float width) {\n this.xRadius = width/2f;\n }", "public void setRunwayWidth(float runwayWidth) {\n\t\tif(this.runwayWidth != 0f){\n\t\t\treturn;\n\t\t}\n\t\tthis.runwayWidth = runwayWidth;\n\t}", "public void setColumnWidths(int[] ar) {\n TableColumnModel model = getColumnModel();\n //setAutoResizeMode(AUTO_RESIZE_LAST_COLUMN);\n for (int i = 0; i < ar.length; ++i)\n model.getColumn(i).setPreferredWidth(ar[i]);\n }", "public void setWidth(int w){ widthRadius = w; }", "@Override\n public int width()\n {\n return widthCent; //Charlie Gao helped me debug the issue here\n }", "@Override\n public int getNumCols(){ return WIDTH; }", "public void setCellWidth(int cellWidth) {\n this.cellWidth = Math.min( 10, Math.max(0, cellWidth));\n }", "private void setNumColumns(int cols) {\n\t\tnumColumns = cols; \n\t}", "public void setMinWidth(double aWidth)\n{\n double w = aWidth<=0? 0 : aWidth; if(w==getMinWidth()) return;\n firePropertyChange(\"MinWidth\", put(\"MinWidth\", w), w, -1);\n}", "public void setImageWidth(int width)\n\t{\n\t\tspecialWidth = SpecialDimension.NONE;\n\t\timgWidth = width;\n\t}", "@BindingAdapter({\"layout_width\"})\n public static void setWidth(View view, int width) {\n view.getLayoutParams().width = Math.round(width * view.getContext().getResources().getDisplayMetrics().density);\n }", "public void setColumnSizes() {\n Set<JTable> tables = columnSizes.keySet();\n\n for (JTable current : tables) {\n TableColumnModel tcm = current.getColumnModel();\n\n if (tcm != null) {\n int columnCount = tcm.getColumnCount();\n int[] tableColumnSizes = columnSizes.get(current);\n\n for (int i = 0; i < tableColumnSizes.length; i++) {\n if (i >= columnCount) {\n break;\n }\n\n TableColumn column = tcm.getColumn(i);\n\n if (column != null) {\n column.setPreferredWidth(tableColumnSizes[i]);\n }\n }\n\n current.setColumnModel(tcm);\n }\n }\n }", "public void setWidth(int width) {\n if(width < 0) throw new NegativeSizeException(\"Negative width\");\n \tthis.width = width;\n }", "public void setWidth(Integer width) {\n this.width = width;\n control.draw();\n }", "public void setWidth(final int width) {\n\t\tthis.width = width;\n\t\tthis.widthString = \"%-\" + width + \"s\";\n\t}", "public abstract Builder setOutputWidth(int value);", "@JSProperty(\"tickWidth\")\n void setTickWidth(double value);", "public void setCellInsetWidth(double insetWidth) {\n cellInsetWidth = insetWidth;\n mainView.setFrame(new CGRect(insetWidth, mainView.getFrame().getOrigin().getY(), mainView.getFrame().getSize()\n .getWidth()\n - 2 * insetWidth, mainView.getFrame().getSize().getHeight()));\n horizontalTextSpace = getHorizontalTextSpaceForInsetWidth(insetWidth);\n setNeedsDisplay();\n }", "@Override\r\n\tpublic int setWidth() {\n\t\treturn 0;\r\n\t}", "public void setNodeBorderWidth(Float value) {\n nodeBorderWidth = value;\n }", "@Override\n @SimpleProperty()\n public void Width(int width) {\n if (width == LENGTH_PREFERRED) {\n width = LENGTH_FILL_PARENT;\n }\n super.Width(width);\n }", "private void defineColumn_Dimension() {\r\n\r\n\t\tfinal ColumnDefinition colDef = TableColumnFactory.PHOTO_FILE_DIMENSION.createColumn(_columnManager, _pc);\r\n\r\n\t\tcolDef.setIsDefaultColumn();\r\n\t\tcolDef.setLabelProvider(new CellLabelProvider() {\r\n\t\t\t@Override\r\n\t\t\tpublic void update(final ViewerCell cell) {\r\n\r\n\t\t\t\tfinal Photo photo = (Photo) cell.getElement();\r\n\r\n\t\t\t\tcell.setText(photo.getDimensionText());\r\n\t\t\t}\r\n\t\t});\r\n\t}", "public void setWidth(String string) {\r\n\t\t_width = string;\r\n\t}", "@Test\n public void testSetSize_1()\n throws Exception {\n ColumnPreferences fixture = new ColumnPreferences(\"\", \"\", 1, ColumnPreferences.Visibility.HIDDEN, ColumnPreferences.Hidability.HIDABLE);\n fixture.setVisible(true);\n int size = 1;\n\n fixture.setSize(size);\n\n }" ]
[ "0.7009286", "0.67028856", "0.67028856", "0.66624963", "0.6538515", "0.65151733", "0.64942837", "0.6491866", "0.64668775", "0.64406335", "0.641916", "0.6355258", "0.633816", "0.63094175", "0.630253", "0.6287672", "0.6280115", "0.62685806", "0.6242467", "0.6231716", "0.6215016", "0.620805", "0.62062573", "0.62052417", "0.62016195", "0.61911553", "0.616844", "0.61585844", "0.6130607", "0.6123326", "0.6089769", "0.60440654", "0.6019269", "0.60131985", "0.599601", "0.59763956", "0.5966245", "0.5966153", "0.5966028", "0.59508145", "0.59414744", "0.5937253", "0.59221977", "0.5915795", "0.591568", "0.58986044", "0.5886113", "0.5886113", "0.5873164", "0.5844683", "0.5827682", "0.5810311", "0.5808523", "0.5786877", "0.5771367", "0.57703865", "0.57701117", "0.57700586", "0.57605976", "0.57579887", "0.5757957", "0.57549274", "0.5754392", "0.5737951", "0.572825", "0.57213897", "0.5711101", "0.5693916", "0.5689124", "0.5688301", "0.5679848", "0.56796664", "0.5677171", "0.56770176", "0.56650573", "0.5657864", "0.56521267", "0.5647084", "0.564586", "0.5635274", "0.5631515", "0.56272024", "0.5623269", "0.56083626", "0.5591854", "0.55902255", "0.5582679", "0.55773157", "0.5556944", "0.5553223", "0.5538897", "0.5538328", "0.552354", "0.55232495", "0.55196637", "0.55067027", "0.54937863", "0.5490197", "0.5489164", "0.54785055" ]
0.67371505
1
Set value of RowHeightDefault
public final void setRowHeightDefault(java.lang.Boolean rowheightdefault) { setRowHeightDefault(getContext(), rowheightdefault); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setRowHeightDefault(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean rowheightdefault)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.RowHeightDefault.toString(), rowheightdefault);\r\n\t}", "private void rescaleRowHeightIfExplicitlySet() {\n if (uiScaleWhenRowHeightSet != null && uiScaleWhenRowHeightSet != UiScaling.getScaling()) {\n\n // TODO: this may have rounding errors so may 'drift' after multiple changes.\n setRowHeight(getRowHeight() * UiScaling.getScaling() / uiScaleWhenRowHeightSet);\n }\n }", "Integer getDefaultHeight();", "public void setRowSize() {\n \t\tfor (int i = 0; i < model.getRowCount(); i++) {\n \n \t\t\tthis.setRowHeight(i, 60);\n \t\t\tthis.setRowMargin(5);\n \t\t}\n \t\tSystem.out.println(\"Row count\" + getRowCount());\n \n \t}", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "@Override\npublic int defaultHeight() {\n\treturn 0;\n}", "private void setTableHeight() {\n coachesTable.prefHeightProperty().bind(coachesTable.fixedCellSizeProperty().\n multiply(Bindings.size(coachesTable.getItems())).add(20).add(15)); //margin + header height\n }", "public void setBestHeight() { setHeight(getBestHeight()); }", "public void setHeight(int height);", "public void setHeight(int height);", "public void setHeight(int value) {\n this.height = value;\n }", "void setHeight(int height);", "void setHeight(int height);", "public final void setRowHeightPoint(java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tsetRowHeightPoint(getContext(), rowheightpoint);\r\n\t}", "@Override\n protected void installDefaults() {\n super.installDefaults();\n //行高设置为25看起来会舒服些\n table.setRowHeight(25);\n //不显示垂直的网格线\n table.setShowVerticalLines(false);\n //设置单元格间的空白(默认是1个像素宽和高)\n //说明:设置本参数可以实现单元格间的间隔空制,间隔里通常是实现网格线的绘制,但\n //网格维绘制与否并不影响间隔的存在(如果间隔存在但网格线不绘的话它就是是透明的空\n //间),参数中width表示水平间隔,height表示垂直间隔,为0则表示没有间隔\n table.setIntercellSpacing(new Dimension(0, 1));\n }", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "public void setHeight(int h)\n {\n height = h;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "public void setHeight(int h) {\n this.H = h;\n }", "void setContentMinHeight(String minHeight);", "private void refreshHeight() {\n\t\tint lines = Math.min(maxLineCount, Math.max(minLineCount, text\n\t\t\t\t.getLineCount()));\n\t\tint newHeight = lines * text.getLineHeight();\n\n\t\tGridData data = (GridData) text.getLayoutData();\n\t\tif (data.heightHint != newHeight) {\n\t\t\tdata.heightHint = newHeight;\n\t\t\tlayout();\n\t\t}\n\t}", "void setHeight(VariableAmount height);", "default void setHeight(int height) {\n setHeight(VariableAmount.fixed(height));\n }", "@Override\n public int heightHint() {\n return isMultiline() ? 45 : 15;\n }", "public void setCurrentHeight(final int currentHeight);", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int l){\n \theight = l;\n }", "public void setCellHeight(final int the_height) {\r\n\t\tcellHeight = the_height;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "@Override\r\n public void setMaxRow(int maxRow) {\n }", "void setFitHeight(short height);", "public void setMinHeight(final Integer value) {\n minHeight = value.intValue();\n }", "public final void computeFixedRowHeight() {\n fixedRowHeight = getCurrentlyFixedRow().stream()\n .mapToDouble(this::getRowHeight)\n .sum();\n }", "@Override\n public int getNumRows(){\n return HEIGHT;\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "void setContentMaxHeight(String maxHeight);", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "@Override\r\n public void setHeight(String height) {\n }", "public int getRowCount()\r\n {\r\n return height;\r\n }", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "private void actionBiggerCells() {\n layoutPanel.changeCellSize(true);\n }", "private void matchLayoutHeight(TableRow tableRow, int height) {\n\n int tableRowChildCount = tableRow.getChildCount();\n\n // if a TableRow has only 1 child\n if(tableRow.getChildCount()==1){\n\n View view = tableRow.getChildAt(0);\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n params.height = height - (params.bottomMargin + params.topMargin);\n\n return ;\n }\n\n // if a TableRow has more than 1 child\n for (int x = 0; x < tableRowChildCount; x++) {\n\n View view = tableRow.getChildAt(x);\n\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n\n if (!isTheHeighestLayout(tableRow, x)) {\n params.height = height - (params.bottomMargin + params.topMargin);\n return;\n }\n }\n\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "public abstract int layoutHeight();", "private void table_resized()\n {\n int ne = pt_.num_of_visible_rows();\n int max = vsb_.getModel().getMaximum();\n \n int val = vsb_.getModel().getValue();\n val = Math.min(val, max - ne);\n\n vsb_.getModel().setValue(val);\n vsb_.getModel().setExtent(ne);\n\n // Readjust value, extent of the horizontal scroll bar\n max = max_horz_scroll_;\n ne = Math.min(this.pt_.as_component().getWidth(), max);\n\n val = hsb_.getModel().getValue();\n val = Math.min(val, max - ne);\n\n// Misc.log.println(\"max=\" + max + \", ne=\" + ne + \", val=\" + val);\n// Misc.log.flush();\n\n hsb_.getModel().setExtent(ne); \n hsb_.getModel().setValue(val);\n }", "abstract public int getMinHeight();", "public void setHeight(double height){\n h=height;\r\n }", "public void setMinHeight(double aHeight)\n{\n double h = aHeight<=0? 0 : aHeight; if(h==getMinHeight()) return;\n firePropertyChange(\"MinHeight\", put(\"MinHeight\", h), h, -1);\n}", "@Override\n\tpublic void setZeroHeight(boolean arg0) {\n\t\t\n\t}", "public void setMinHeight(int height) {\n setMinSize(minWidth, height);\n }", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "protected Integer getGridHeight () {\n\t\treturn null ; \n\t}", "public abstract Builder setOutputHeight(int value);", "private void adjustRowHeight(JTable table, int row, int column) {\n\t\t\tint cWidth = table.getTableHeader().getColumnModel().getColumn(column).getWidth();\n\t\t\tsetSize(new Dimension(cWidth, 1000));\n\t\t\tint prefH = getPreferredSize().height;\n\t\t\twhile (rowColHeight.size() <= row) {\n\t\t\t\trowColHeight.add(new ArrayList<Integer>(column));\n\t\t\t}\n\t\t\tArrayList<Integer> colHeights = rowColHeight.get(row);\n\t\t\twhile (colHeights.size() <= column) {\n\t\t\t\tcolHeights.add(0);\n\t\t\t}\n\t\t\tcolHeights.set(column, prefH);\n\t\t\tint maxH = prefH;\n\t\t\tfor (Integer colHeight : colHeights) {\n\t\t\t\tif (colHeight > maxH) {\n\t\t\t\t\tmaxH = colHeight;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (table.getRowHeight(row) != maxH) {\n\t\t\t\ttable.setRowHeight(row, maxH);\n\t\t\t}\n\t\t}", "private void adjustRowHeight(JTable table, int row, int column) {\n\t\t\tint cWidth = table.getTableHeader().getColumnModel().getColumn(column).getWidth();\n\t\t\tsetSize(new Dimension(cWidth, 1000));\n\t\t\tint prefH = getPreferredSize().height;\n\t\t\twhile (rowColHeight.size() <= row) {\n\t\t\t\trowColHeight.add(new ArrayList<Integer>(column));\n\t\t\t}\n\t\t\tArrayList<Integer> colHeights = rowColHeight.get(row);\n\t\t\twhile (colHeights.size() <= column) {\n\t\t\t\tcolHeights.add(0);\n\t\t\t}\n\t\t\tcolHeights.set(column, prefH);\n\t\t\tint maxH = prefH;\n\t\t\tfor (Integer colHeight : colHeights) {\n\t\t\t\tif (colHeight > maxH) {\n\t\t\t\t\tmaxH = colHeight;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (table.getRowHeight(row) != maxH) {\n\t\t\t\ttable.setRowHeight(row, maxH);\n\t\t\t}\n\t\t}", "public int getPreferredHeight() \n { \n Font font = Font.getDefault().derive( Font.BOLD, FONT_SIZE );\n return font.getHeight() + VMARGIN;\n }", "public void setMinHeight(float minHeight) {\n this.minHeight = minHeight;\n }", "void resizeBodyTableRowHeight(){\n\n int tableC_ChildCount = this.tableC.getChildCount();\n\n for(int x=0; x<tableC_ChildCount; x++){\n\n TableRow productNameHeaderTableRow = (TableRow) this.tableC.getChildAt(x);\n TableRow productInfoTableRow = (TableRow) this.tableD.getChildAt(x);\n\n int rowAHeight = this.viewHeight(productNameHeaderTableRow);\n int rowBHeight = this.viewHeight(productInfoTableRow);\n\n TableRow tableRow = rowAHeight < rowBHeight ? productNameHeaderTableRow : productInfoTableRow;\n int finalHeight = rowAHeight > rowBHeight ? rowAHeight : rowBHeight;\n\n this.matchLayoutHeight(tableRow, finalHeight);\n }\n\n }", "private int getViewableHeight() {\r\n\t\treturn MAX_CELL_COUNT * CELL_SIZE_Y;\r\n\t}", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "public void setClientHeight(Integer clientHeight) {\n this.clientHeight = clientHeight;\n }", "double getNewHeight();", "public int getPreferredRowHeight(JTable table, int rowIndex, int margin)\n {\n int height = table.getRowHeight();\n\n // Determine highest cell in the row\n for (int c=0; c<table.getColumnCount(); c++)\n {\n TableCellRenderer renderer = table.getCellRenderer(rowIndex, c);\n Component comp = table.prepareRenderer(renderer, rowIndex, c);\n int h = comp.getPreferredSize().height + 2*margin;\n\n height = Math.max(height, h);\n }\n return height;\n }", "public void tableChanged(TableModelEvent evt) {\n setRowHeight(ROW_HEIGHT);\n\n PropertyEditor editor;\n Component comp;\n Dimension prefSize;\n\n for (int i = 0; i < getRowCount(); i++) {\n editor = tableModel.getPropertyEditor(i);\n if (editor != null) {\n comp = editor.getCustomEditor();\n if (comp != null) {\n prefSize = comp.getPreferredSize();\n if (prefSize.height > ROW_HEIGHT) {\n setRowHeight(i, prefSize.height);\n }\n }\n }\n }\n }", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "double getOldHeight();", "public void setHeight(int height) {\n this.height = height;\n }", "public void determineMaximumHeight() {\n\t\tthis.setMaximumHeight(maxDepth(root));\n\t}", "public GeometryWKTCellRenderer(int maxWKTLength, int maxRowHeight) {\n super(maxWKTLength, maxRowHeight);\n }", "void resizeHeaderHeight() {\n\n TableRow productNameHeaderTableRow = (TableRow) this.tableA.getChildAt(0);\n TableRow productInfoTableRow = (TableRow) this.tableB.getChildAt(0);\n\n int rowAHeight = this.viewHeight(productNameHeaderTableRow);\n int rowBHeight = this.viewHeight(productInfoTableRow);\n\n TableRow tableRow = rowAHeight < rowBHeight ? productNameHeaderTableRow : productInfoTableRow;\n int finalHeight = rowAHeight > rowBHeight ? rowAHeight : rowBHeight;\n\n this.matchLayoutHeight(tableRow, finalHeight);\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "public void setHeight(final String value)\n {\n height = value;\n }", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "public void setH(int i) {\n\t\tthis.height=i;\n\t}", "public int getCurrentHeight();", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "private void setCorrectSize() {\n double newHeight = this.getContentPane().getPreferredSize().getHeight() +\n this.getContentPane().getPreferredSize().getHeight()/10 * 7;\n int newHeightInt = (int)Math.round(newHeight);\n \n this.setSize(this.getWidth(),newHeightInt);\n }", "@Override\r\n\tpublic int getDefaultHeight() {\n\t\tint w=0;\r\n\t\tToolbarLayout tl = (ToolbarLayout) getLayoutManager();\r\n\t\tif(tl.isHorizontal()){\t\t\r\n\t\t\tList list = getChildren();\r\n\t\t\tint max = 0;\r\n\t\t\tif(list.size()>0){\r\n\t\t\t\tfor (Object obj : list) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tAbstractElementFigure fig = (AbstractElementFigure) obj;\r\n\t\t\t\t\tif(max < fig.getDefaultHeight()){\r\n\t\t\t\t\t\tmax = fig.getDefaultHeight();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn max;\r\n\t\t\t}\t\t\r\n\t\t}else{\r\n\t\t\tList list = getChildren();\r\n\t\t\tif(list.size()>0){\r\n\t\t\t\tfor (Object obj : list) {\r\n\t\t\t\t\tAbstractElementFigure fig = (AbstractElementFigure) obj;\r\n\t\t\t\t\tw+=fig.getDefaultHeight();\r\n\t\t\t\t}\r\n\t\t\t\treturn w;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 100;\r\n\t}", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(double aValue)\n{\n if(_height==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"Height\", _height, _height = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}", "public final void setRowHeightPoint(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.RowHeightPoint.toString(), rowheightpoint);\r\n\t}", "public void setHeight(double height) {\n this.height = height;\n }", "public void setRows () {\n\t\t\n\t}", "@Override\n public int getPeekHeight() {\n return HeightMode.DISABLED;\n }", "private static native void setImageHeight_0(long nativeObj, int val);", "public void setPreferredSize( int width, int height ) {\n checkWidget();\n ideal = true;\n Point point = parent.fixPoint( width, height );\n preferredWidth = Math.max( point.x, MINIMUM_WIDTH );\n preferredHeight = point.y;\n }", "int maxRowSize();", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "public void setMinSize(double aWidth, double aHeight) { setMinWidth(aWidth); setMinHeight(aHeight); }", "public int getHeight() {return height;}", "public int getMaxHeight() {\n return Integer.MAX_VALUE;\n }", "@Override\r\n\tpublic int getHeight() {\n\t\treturn 0;\r\n\t}", "private void actionSmallerCells() {\n layoutPanel.changeCellSize(false);\n }", "private void updateHeight(AvlTreeNode<?, ?> n) {\n n.height = 1 + Math.max(height(n.left), height(n.right));\n }" ]
[ "0.72045535", "0.6938763", "0.6724816", "0.65150625", "0.6463546", "0.6410559", "0.6358366", "0.6223494", "0.6212385", "0.6212385", "0.6125505", "0.6077186", "0.6077186", "0.60756546", "0.602072", "0.59430164", "0.59331185", "0.59279823", "0.5905474", "0.5903078", "0.5830193", "0.5822219", "0.5779104", "0.5772861", "0.5772583", "0.57711446", "0.5762054", "0.56856", "0.5671099", "0.5643413", "0.5628698", "0.5621212", "0.5569724", "0.55580795", "0.55453163", "0.5543793", "0.5535165", "0.55322665", "0.5516561", "0.5515675", "0.5500193", "0.5497067", "0.5484859", "0.5467393", "0.5455873", "0.5455429", "0.54477316", "0.54460824", "0.5429933", "0.54081935", "0.5406284", "0.54059213", "0.5377446", "0.53713745", "0.5370696", "0.53526735", "0.53526735", "0.53511876", "0.5348542", "0.5344318", "0.5342591", "0.53414685", "0.53414685", "0.53319657", "0.5327685", "0.5320294", "0.53140515", "0.5313071", "0.53067315", "0.53060263", "0.5305445", "0.5304033", "0.5294934", "0.52768815", "0.5261333", "0.5243836", "0.52428097", "0.5229671", "0.5210304", "0.5209765", "0.5186433", "0.5175115", "0.51662904", "0.51662904", "0.51497173", "0.5146811", "0.5138904", "0.5127097", "0.5112046", "0.5104104", "0.5103544", "0.50967216", "0.50949115", "0.50866747", "0.5085454", "0.50838846", "0.5080321", "0.50752324", "0.5075017", "0.5067045" ]
0.7743848
0
Set value of RowHeightDefault
public final void setRowHeightDefault(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean rowheightdefault) { getMendixObject().setValue(context, MemberNames.RowHeightDefault.toString(), rowheightdefault); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setRowHeightDefault(java.lang.Boolean rowheightdefault)\r\n\t{\r\n\t\tsetRowHeightDefault(getContext(), rowheightdefault);\r\n\t}", "private void rescaleRowHeightIfExplicitlySet() {\n if (uiScaleWhenRowHeightSet != null && uiScaleWhenRowHeightSet != UiScaling.getScaling()) {\n\n // TODO: this may have rounding errors so may 'drift' after multiple changes.\n setRowHeight(getRowHeight() * UiScaling.getScaling() / uiScaleWhenRowHeightSet);\n }\n }", "Integer getDefaultHeight();", "public void setRowSize() {\n \t\tfor (int i = 0; i < model.getRowCount(); i++) {\n \n \t\t\tthis.setRowHeight(i, 60);\n \t\t\tthis.setRowMargin(5);\n \t\t}\n \t\tSystem.out.println(\"Row count\" + getRowCount());\n \n \t}", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "@Override\npublic int defaultHeight() {\n\treturn 0;\n}", "private void setTableHeight() {\n coachesTable.prefHeightProperty().bind(coachesTable.fixedCellSizeProperty().\n multiply(Bindings.size(coachesTable.getItems())).add(20).add(15)); //margin + header height\n }", "public void setBestHeight() { setHeight(getBestHeight()); }", "public void setHeight(int height);", "public void setHeight(int height);", "public void setHeight(int value) {\n this.height = value;\n }", "public final void setRowHeightPoint(java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tsetRowHeightPoint(getContext(), rowheightpoint);\r\n\t}", "void setHeight(int height);", "void setHeight(int height);", "@Override\n protected void installDefaults() {\n super.installDefaults();\n //行高设置为25看起来会舒服些\n table.setRowHeight(25);\n //不显示垂直的网格线\n table.setShowVerticalLines(false);\n //设置单元格间的空白(默认是1个像素宽和高)\n //说明:设置本参数可以实现单元格间的间隔空制,间隔里通常是实现网格线的绘制,但\n //网格维绘制与否并不影响间隔的存在(如果间隔存在但网格线不绘的话它就是是透明的空\n //间),参数中width表示水平间隔,height表示垂直间隔,为0则表示没有间隔\n table.setIntercellSpacing(new Dimension(0, 1));\n }", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "public void setHeight(int h)\n {\n height = h;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "public void setHeight(int h) {\n this.H = h;\n }", "void setContentMinHeight(String minHeight);", "private void refreshHeight() {\n\t\tint lines = Math.min(maxLineCount, Math.max(minLineCount, text\n\t\t\t\t.getLineCount()));\n\t\tint newHeight = lines * text.getLineHeight();\n\n\t\tGridData data = (GridData) text.getLayoutData();\n\t\tif (data.heightHint != newHeight) {\n\t\t\tdata.heightHint = newHeight;\n\t\t\tlayout();\n\t\t}\n\t}", "void setHeight(VariableAmount height);", "@Override\n public int heightHint() {\n return isMultiline() ? 45 : 15;\n }", "default void setHeight(int height) {\n setHeight(VariableAmount.fixed(height));\n }", "public void setCurrentHeight(final int currentHeight);", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int l){\n \theight = l;\n }", "public void setCellHeight(final int the_height) {\r\n\t\tcellHeight = the_height;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "@Override\r\n public void setMaxRow(int maxRow) {\n }", "void setFitHeight(short height);", "public void setMinHeight(final Integer value) {\n minHeight = value.intValue();\n }", "public final void computeFixedRowHeight() {\n fixedRowHeight = getCurrentlyFixedRow().stream()\n .mapToDouble(this::getRowHeight)\n .sum();\n }", "@Override\n public int getNumRows(){\n return HEIGHT;\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "void setContentMaxHeight(String maxHeight);", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "public int getRowCount()\r\n {\r\n return height;\r\n }", "@Override\r\n public void setHeight(String height) {\n }", "private void actionBiggerCells() {\n layoutPanel.changeCellSize(true);\n }", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "private void matchLayoutHeight(TableRow tableRow, int height) {\n\n int tableRowChildCount = tableRow.getChildCount();\n\n // if a TableRow has only 1 child\n if(tableRow.getChildCount()==1){\n\n View view = tableRow.getChildAt(0);\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n params.height = height - (params.bottomMargin + params.topMargin);\n\n return ;\n }\n\n // if a TableRow has more than 1 child\n for (int x = 0; x < tableRowChildCount; x++) {\n\n View view = tableRow.getChildAt(x);\n\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n\n if (!isTheHeighestLayout(tableRow, x)) {\n params.height = height - (params.bottomMargin + params.topMargin);\n return;\n }\n }\n\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "public abstract int layoutHeight();", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "private void table_resized()\n {\n int ne = pt_.num_of_visible_rows();\n int max = vsb_.getModel().getMaximum();\n \n int val = vsb_.getModel().getValue();\n val = Math.min(val, max - ne);\n\n vsb_.getModel().setValue(val);\n vsb_.getModel().setExtent(ne);\n\n // Readjust value, extent of the horizontal scroll bar\n max = max_horz_scroll_;\n ne = Math.min(this.pt_.as_component().getWidth(), max);\n\n val = hsb_.getModel().getValue();\n val = Math.min(val, max - ne);\n\n// Misc.log.println(\"max=\" + max + \", ne=\" + ne + \", val=\" + val);\n// Misc.log.flush();\n\n hsb_.getModel().setExtent(ne); \n hsb_.getModel().setValue(val);\n }", "abstract public int getMinHeight();", "public void setHeight(double height){\n h=height;\r\n }", "public void setMinHeight(int height) {\n setMinSize(minWidth, height);\n }", "public void setMinHeight(double aHeight)\n{\n double h = aHeight<=0? 0 : aHeight; if(h==getMinHeight()) return;\n firePropertyChange(\"MinHeight\", put(\"MinHeight\", h), h, -1);\n}", "@Override\n\tpublic void setZeroHeight(boolean arg0) {\n\t\t\n\t}", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "protected Integer getGridHeight () {\n\t\treturn null ; \n\t}", "public abstract Builder setOutputHeight(int value);", "private void adjustRowHeight(JTable table, int row, int column) {\n\t\t\tint cWidth = table.getTableHeader().getColumnModel().getColumn(column).getWidth();\n\t\t\tsetSize(new Dimension(cWidth, 1000));\n\t\t\tint prefH = getPreferredSize().height;\n\t\t\twhile (rowColHeight.size() <= row) {\n\t\t\t\trowColHeight.add(new ArrayList<Integer>(column));\n\t\t\t}\n\t\t\tArrayList<Integer> colHeights = rowColHeight.get(row);\n\t\t\twhile (colHeights.size() <= column) {\n\t\t\t\tcolHeights.add(0);\n\t\t\t}\n\t\t\tcolHeights.set(column, prefH);\n\t\t\tint maxH = prefH;\n\t\t\tfor (Integer colHeight : colHeights) {\n\t\t\t\tif (colHeight > maxH) {\n\t\t\t\t\tmaxH = colHeight;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (table.getRowHeight(row) != maxH) {\n\t\t\t\ttable.setRowHeight(row, maxH);\n\t\t\t}\n\t\t}", "private void adjustRowHeight(JTable table, int row, int column) {\n\t\t\tint cWidth = table.getTableHeader().getColumnModel().getColumn(column).getWidth();\n\t\t\tsetSize(new Dimension(cWidth, 1000));\n\t\t\tint prefH = getPreferredSize().height;\n\t\t\twhile (rowColHeight.size() <= row) {\n\t\t\t\trowColHeight.add(new ArrayList<Integer>(column));\n\t\t\t}\n\t\t\tArrayList<Integer> colHeights = rowColHeight.get(row);\n\t\t\twhile (colHeights.size() <= column) {\n\t\t\t\tcolHeights.add(0);\n\t\t\t}\n\t\t\tcolHeights.set(column, prefH);\n\t\t\tint maxH = prefH;\n\t\t\tfor (Integer colHeight : colHeights) {\n\t\t\t\tif (colHeight > maxH) {\n\t\t\t\t\tmaxH = colHeight;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (table.getRowHeight(row) != maxH) {\n\t\t\t\ttable.setRowHeight(row, maxH);\n\t\t\t}\n\t\t}", "public int getPreferredHeight() \n { \n Font font = Font.getDefault().derive( Font.BOLD, FONT_SIZE );\n return font.getHeight() + VMARGIN;\n }", "public void setMinHeight(float minHeight) {\n this.minHeight = minHeight;\n }", "void resizeBodyTableRowHeight(){\n\n int tableC_ChildCount = this.tableC.getChildCount();\n\n for(int x=0; x<tableC_ChildCount; x++){\n\n TableRow productNameHeaderTableRow = (TableRow) this.tableC.getChildAt(x);\n TableRow productInfoTableRow = (TableRow) this.tableD.getChildAt(x);\n\n int rowAHeight = this.viewHeight(productNameHeaderTableRow);\n int rowBHeight = this.viewHeight(productInfoTableRow);\n\n TableRow tableRow = rowAHeight < rowBHeight ? productNameHeaderTableRow : productInfoTableRow;\n int finalHeight = rowAHeight > rowBHeight ? rowAHeight : rowBHeight;\n\n this.matchLayoutHeight(tableRow, finalHeight);\n }\n\n }", "private int getViewableHeight() {\r\n\t\treturn MAX_CELL_COUNT * CELL_SIZE_Y;\r\n\t}", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "public void setClientHeight(Integer clientHeight) {\n this.clientHeight = clientHeight;\n }", "double getNewHeight();", "public int getPreferredRowHeight(JTable table, int rowIndex, int margin)\n {\n int height = table.getRowHeight();\n\n // Determine highest cell in the row\n for (int c=0; c<table.getColumnCount(); c++)\n {\n TableCellRenderer renderer = table.getCellRenderer(rowIndex, c);\n Component comp = table.prepareRenderer(renderer, rowIndex, c);\n int h = comp.getPreferredSize().height + 2*margin;\n\n height = Math.max(height, h);\n }\n return height;\n }", "public void tableChanged(TableModelEvent evt) {\n setRowHeight(ROW_HEIGHT);\n\n PropertyEditor editor;\n Component comp;\n Dimension prefSize;\n\n for (int i = 0; i < getRowCount(); i++) {\n editor = tableModel.getPropertyEditor(i);\n if (editor != null) {\n comp = editor.getCustomEditor();\n if (comp != null) {\n prefSize = comp.getPreferredSize();\n if (prefSize.height > ROW_HEIGHT) {\n setRowHeight(i, prefSize.height);\n }\n }\n }\n }\n }", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "public GeometryWKTCellRenderer(int maxWKTLength, int maxRowHeight) {\n super(maxWKTLength, maxRowHeight);\n }", "double getOldHeight();", "public void determineMaximumHeight() {\n\t\tthis.setMaximumHeight(maxDepth(root));\n\t}", "public void setHeight(int height) {\n this.height = height;\n }", "void resizeHeaderHeight() {\n\n TableRow productNameHeaderTableRow = (TableRow) this.tableA.getChildAt(0);\n TableRow productInfoTableRow = (TableRow) this.tableB.getChildAt(0);\n\n int rowAHeight = this.viewHeight(productNameHeaderTableRow);\n int rowBHeight = this.viewHeight(productInfoTableRow);\n\n TableRow tableRow = rowAHeight < rowBHeight ? productNameHeaderTableRow : productInfoTableRow;\n int finalHeight = rowAHeight > rowBHeight ? rowAHeight : rowBHeight;\n\n this.matchLayoutHeight(tableRow, finalHeight);\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "public void setHeight(final String value)\n {\n height = value;\n }", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "public void setH(int i) {\n\t\tthis.height=i;\n\t}", "public int getCurrentHeight();", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "private void setCorrectSize() {\n double newHeight = this.getContentPane().getPreferredSize().getHeight() +\n this.getContentPane().getPreferredSize().getHeight()/10 * 7;\n int newHeightInt = (int)Math.round(newHeight);\n \n this.setSize(this.getWidth(),newHeightInt);\n }", "@Override\r\n\tpublic int getDefaultHeight() {\n\t\tint w=0;\r\n\t\tToolbarLayout tl = (ToolbarLayout) getLayoutManager();\r\n\t\tif(tl.isHorizontal()){\t\t\r\n\t\t\tList list = getChildren();\r\n\t\t\tint max = 0;\r\n\t\t\tif(list.size()>0){\r\n\t\t\t\tfor (Object obj : list) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tAbstractElementFigure fig = (AbstractElementFigure) obj;\r\n\t\t\t\t\tif(max < fig.getDefaultHeight()){\r\n\t\t\t\t\t\tmax = fig.getDefaultHeight();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn max;\r\n\t\t\t}\t\t\r\n\t\t}else{\r\n\t\t\tList list = getChildren();\r\n\t\t\tif(list.size()>0){\r\n\t\t\t\tfor (Object obj : list) {\r\n\t\t\t\t\tAbstractElementFigure fig = (AbstractElementFigure) obj;\r\n\t\t\t\t\tw+=fig.getDefaultHeight();\r\n\t\t\t\t}\r\n\t\t\t\treturn w;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 100;\r\n\t}", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(double aValue)\n{\n if(_height==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"Height\", _height, _height = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}", "public final void setRowHeightPoint(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.RowHeightPoint.toString(), rowheightpoint);\r\n\t}", "public void setHeight(double height) {\n this.height = height;\n }", "public void setRows () {\n\t\t\n\t}", "@Override\n public int getPeekHeight() {\n return HeightMode.DISABLED;\n }", "public void setPreferredSize( int width, int height ) {\n checkWidget();\n ideal = true;\n Point point = parent.fixPoint( width, height );\n preferredWidth = Math.max( point.x, MINIMUM_WIDTH );\n preferredHeight = point.y;\n }", "private static native void setImageHeight_0(long nativeObj, int val);", "int maxRowSize();", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public void setMinSize(double aWidth, double aHeight) { setMinWidth(aWidth); setMinHeight(aHeight); }", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "public int getHeight() {return height;}", "public int getMaxHeight() {\n return Integer.MAX_VALUE;\n }", "private void actionSmallerCells() {\n layoutPanel.changeCellSize(false);\n }", "@Override\r\n\tpublic int getHeight() {\n\t\treturn 0;\r\n\t}", "public Dimension getPreferredSize() {\n\t Dimension size = super.getPreferredSize();\n\n\t // If not font has been set, prefer the renderers height.\n\t if(renderer != null &&\n\t DefaultTreeCellEditor.this.getFont() == null) {\n\t\tDimension rSize = renderer.getPreferredSize();\n\n\t\tsize.height = rSize.height;\n\t }\n\t return size;\n\t}" ]
[ "0.7744188", "0.6936583", "0.67222244", "0.6515502", "0.6459759", "0.64078707", "0.6357192", "0.62194914", "0.6207859", "0.6207859", "0.6120684", "0.6073336", "0.6072667", "0.6072667", "0.60232323", "0.5938694", "0.5928031", "0.59233916", "0.5900838", "0.5898273", "0.58276314", "0.58180314", "0.5774187", "0.57712996", "0.57686967", "0.57663894", "0.5756888", "0.5680364", "0.5669481", "0.5643283", "0.5624594", "0.56189525", "0.55681527", "0.5556408", "0.5540951", "0.5540461", "0.55315477", "0.5527744", "0.5514629", "0.5511865", "0.5496598", "0.54957324", "0.54815906", "0.5465419", "0.54521066", "0.5451308", "0.5447378", "0.5443123", "0.5424541", "0.5404638", "0.540356", "0.54028994", "0.5372496", "0.5368027", "0.5367285", "0.53513336", "0.53513336", "0.5350319", "0.5346652", "0.5343466", "0.5339898", "0.53371584", "0.53371584", "0.5329488", "0.5322901", "0.53215617", "0.53139603", "0.53082764", "0.53034294", "0.53021276", "0.5301709", "0.53013617", "0.52933294", "0.5272159", "0.52564925", "0.52388924", "0.5238386", "0.522592", "0.52057976", "0.5205638", "0.51851666", "0.51726115", "0.516158", "0.516158", "0.51452553", "0.51451486", "0.5133839", "0.51257586", "0.51084125", "0.51024246", "0.51003975", "0.5096704", "0.50902385", "0.5084431", "0.50815105", "0.50797236", "0.5077925", "0.5074711", "0.50711465", "0.5067562" ]
0.72051835
1
Set value of RowHeightPoint
public final void setRowHeightPoint(java.lang.Integer rowheightpoint) { setRowHeightPoint(getContext(), rowheightpoint); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setRowHeightPoint(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.RowHeightPoint.toString(), rowheightpoint);\r\n\t}", "public void setHeight(int height);", "public void setHeight(int height);", "void setHeight(int height);", "void setHeight(int height);", "public void setHeight(int h)\n {\n height = h;\n }", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "public void setHeight(int value) {\n this.height = value;\n }", "public void setHeight(double height){\n h=height;\r\n }", "public void setHeight(int h) {\n this.H = h;\n }", "public void setHeight(int l){\n \theight = l;\n }", "void setHeight(VariableAmount height);", "private void rescaleRowHeightIfExplicitlySet() {\n if (uiScaleWhenRowHeightSet != null && uiScaleWhenRowHeightSet != UiScaling.getScaling()) {\n\n // TODO: this may have rounding errors so may 'drift' after multiple changes.\n setRowHeight(getRowHeight() * UiScaling.getScaling() / uiScaleWhenRowHeightSet);\n }\n }", "public void setRowSize() {\n \t\tfor (int i = 0; i < model.getRowCount(); i++) {\n \n \t\t\tthis.setRowHeight(i, 60);\n \t\t\tthis.setRowMargin(5);\n \t\t}\n \t\tSystem.out.println(\"Row count\" + getRowCount());\n \n \t}", "public void changeHeight(double y)\r\n {\n }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "public void setHeight(double height) {\n this.height = height;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "public void setCurrentHeight(final int currentHeight);", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "double getNewHeight();", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "public void setHeight(double height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "private void setHeight(float height){\n this.height = height;\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "@Override\n\tpublic void setHeightInPoints(float arg0) {\n\t\t\n\t}", "public void setHeight(int h){ heightRadius = h; }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "private void refreshHeight() {\n\t\tint lines = Math.min(maxLineCount, Math.max(minLineCount, text\n\t\t\t\t.getLineCount()));\n\t\tint newHeight = lines * text.getLineHeight();\n\n\t\tGridData data = (GridData) text.getLayoutData();\n\t\tif (data.heightHint != newHeight) {\n\t\t\tdata.heightHint = newHeight;\n\t\t\tlayout();\n\t\t}\n\t}", "public int getRowCount()\r\n {\r\n return height;\r\n }", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public final native void setHeight(double height) /*-{\n this.setHeight(height);\n }-*/;", "public void setH(int i) {\n\t\tthis.height=i;\n\t}", "private void matchLayoutHeight(TableRow tableRow, int height) {\n\n int tableRowChildCount = tableRow.getChildCount();\n\n // if a TableRow has only 1 child\n if(tableRow.getChildCount()==1){\n\n View view = tableRow.getChildAt(0);\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n params.height = height - (params.bottomMargin + params.topMargin);\n\n return ;\n }\n\n // if a TableRow has more than 1 child\n for (int x = 0; x < tableRowChildCount; x++) {\n\n View view = tableRow.getChildAt(x);\n\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n\n if (!isTheHeighestLayout(tableRow, x)) {\n params.height = height - (params.bottomMargin + params.topMargin);\n return;\n }\n }\n\n }", "double getOldHeight();", "private void setTableHeight() {\n coachesTable.prefHeightProperty().bind(coachesTable.fixedCellSizeProperty().\n multiply(Bindings.size(coachesTable.getItems())).add(20).add(15)); //margin + header height\n }", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "void setFitHeight(short height);", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\tthis.height = height;\n\tcalculateHeightRatio();\n }", "public void setCellHeight(final int the_height) {\r\n\t\tcellHeight = the_height;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public void setHeight(int height) {\n\t\th = height;\n\t}", "private void setTargetHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetHeight = height;\r\n\t\t}\r\n\t}", "private void setCurrentHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentHeight = height;\r\n\t\t}\r\n\t}", "public void setLheight_px(int lheight_px) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeInt(__io__address + 0, lheight_px);\n\t\t} else {\n\t\t\t__io__block.writeInt(__io__address + 0, lheight_px);\n\t\t}\n\t}", "public void setHeight(double height) {\n\t\t this.height = height;\n\t }", "public void setHeight(final String value)\n {\n height = value;\n }", "public int getHeight() {\n return numRows+65;\n }", "default void setHeight(int height) {\n setHeight(VariableAmount.fixed(height));\n }", "public void setHeight(float height) {\n this.yRadius = 0.5f * height;\n }", "public void setHeight(int height) {\n int oldValue = mHeight;\n mHeight = height;\n pcs.firePropertyChange(PROP_HEIGHT, oldValue, mHeight);\n }", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "public void setBlockHeight(BigDecimal blockHeight) {\n this.blockHeight = blockHeight;\n }", "@Override\r\n public void setHeight(String height) {\n }", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "@Override\n public int getNumRows(){\n return HEIGHT;\n }", "public void setLineHeight(int i) {\n lineHeight = i;\n }", "public void setHeight( int height ) {\n\t\t_height = height;\n\t}", "public void setHeight(int height) {\n if (height > 0) {\n this.height = height;\n }\n }", "public int getCurrentHeight();", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "private static native void setImageHeight_0(long nativeObj, int val);", "public void setHeight(double aValue)\n{\n if(_height==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"Height\", _height, _height = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}", "public void setBestHeight() { setHeight(getBestHeight()); }", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "public void setMinHeight(double aHeight)\n{\n double h = aHeight<=0? 0 : aHeight; if(h==getMinHeight()) return;\n firePropertyChange(\"MinHeight\", put(\"MinHeight\", h), h, -1);\n}", "public void updateHeight() {\n Rectangle repaintBounds = getBounds();\n parent.getScene().paintImmediately(repaintBounds);\n\n // set new height compute while repainting.\n setBounds(new Rectangle(bounds));\n\n parent.getScene().repaint(repaintBounds);\n setChanged();\n notifyObservers();\n }", "public int getH() { return height; }", "public void setHeight(int height) {\n if(height < 0) throw new NegativeSizeException(\"Negative height\"); \n \tthis.height = height;\n }", "public boolean setHeight(double heightIn)\r\n {\r\n if (heightIn > 0)\r\n {\r\n height = heightIn;\r\n return true;\r\n }\r\n else \r\n {\r\n return false;\r\n }\r\n }", "public abstract Builder setOutputHeight(int value);", "public final void computeFixedRowHeight() {\n fixedRowHeight = getCurrentlyFixedRow().stream()\n .mapToDouble(this::getRowHeight)\n .sum();\n }", "public int getHeight() {return height;}", "public void setHeight(Integer height)\n {\n getStateHelper().put(PropertyKeys.height, height);\n }", "public int getHeight() { return height; }", "public void yBindHeight(String bind_name, ObservableValue<? extends Number> height, boolean stroke_included);", "@DISPID(-2147417101)\n @PropGet\n int offsetHeight();", "Integer getCurrentHeight();", "public int getLineHeight() {\n return lineHeight;\n }", "void setDimension(double width, double height);", "public void setPositionRow(int value){this.positionRow = value;}", "@BindingAdapter({\"layout_height\"})\n public static void setHeight(View view, int height) {\n view.getLayoutParams().height = Math.round(height * view.getContext().getResources().getDisplayMetrics().density);\n }", "public abstract int getSourceHeight();", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "private void updateHeight() {\n int leftHeight = height(this.leftChild);\n int rightHeight = height(this.rightChild);\n this.height = (rightHeight > leftHeight ? rightHeight : leftHeight) + 1;\n }", "int getheight();" ]
[ "0.72674125", "0.6781867", "0.6781867", "0.6767891", "0.6767891", "0.6657499", "0.66114205", "0.66001797", "0.6594935", "0.6583894", "0.65622336", "0.6538651", "0.648857", "0.64329153", "0.6319278", "0.6317013", "0.63022435", "0.62272483", "0.6217322", "0.61923474", "0.61746204", "0.6172605", "0.61621666", "0.6140009", "0.6087352", "0.60719824", "0.604571", "0.603411", "0.6026562", "0.5975728", "0.593562", "0.593562", "0.5934694", "0.5933573", "0.5909142", "0.5908997", "0.58931535", "0.5892616", "0.58924747", "0.5882953", "0.58707994", "0.58625937", "0.5859623", "0.583514", "0.58280104", "0.5821914", "0.5821914", "0.5821914", "0.58179075", "0.5812877", "0.5811483", "0.5811316", "0.58079386", "0.5805624", "0.57817966", "0.5768458", "0.5745557", "0.5736066", "0.5729068", "0.57252216", "0.5721406", "0.57200545", "0.5700089", "0.5696207", "0.56936073", "0.56861717", "0.5683751", "0.5682685", "0.5679274", "0.5672979", "0.5631979", "0.56313056", "0.5620093", "0.5620093", "0.56144756", "0.560424", "0.56026745", "0.557383", "0.55731326", "0.5567876", "0.5549331", "0.55488425", "0.5547171", "0.5537564", "0.5532746", "0.55127734", "0.55113137", "0.5481571", "0.54803413", "0.5479607", "0.54571724", "0.5455558", "0.54454976", "0.54448014", "0.5436214", "0.54121435", "0.54059917", "0.54059917", "0.540454", "0.54044795" ]
0.80148923
0
Set value of RowHeightPoint
public final void setRowHeightPoint(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer rowheightpoint) { getMendixObject().setValue(context, MemberNames.RowHeightPoint.toString(), rowheightpoint); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setRowHeightPoint(java.lang.Integer rowheightpoint)\r\n\t{\r\n\t\tsetRowHeightPoint(getContext(), rowheightpoint);\r\n\t}", "public void setHeight(int height);", "public void setHeight(int height);", "void setHeight(int height);", "void setHeight(int height);", "public void setHeight(int h)\n {\n height = h;\n }", "public void setHeight(double value) {\n this.height = value;\n }", "public void setHeight(int newValue)\n {\n height = newValue;\n }", "public void setHeight(int value) {\n this.height = value;\n }", "public void setHeight(double height){\n h=height;\r\n }", "public void setHeight(int h) {\n this.H = h;\n }", "public void setHeight(int l){\n \theight = l;\n }", "void setHeight(VariableAmount height);", "private void rescaleRowHeightIfExplicitlySet() {\n if (uiScaleWhenRowHeightSet != null && uiScaleWhenRowHeightSet != UiScaling.getScaling()) {\n\n // TODO: this may have rounding errors so may 'drift' after multiple changes.\n setRowHeight(getRowHeight() * UiScaling.getScaling() / uiScaleWhenRowHeightSet);\n }\n }", "public void setRowSize() {\n \t\tfor (int i = 0; i < model.getRowCount(); i++) {\n \n \t\t\tthis.setRowHeight(i, 60);\n \t\t\tthis.setRowMargin(5);\n \t\t}\n \t\tSystem.out.println(\"Row count\" + getRowCount());\n \n \t}", "public void changeHeight(double y)\r\n {\n }", "public void setHeight(int newValue)\r\n {\r\n seatHeight = newValue;\r\n }", "public void setHeight(int newValue) {\n seatHeight = newValue;\n }", "public void setHeight(double height) {\n this.height = height;\n }", "@Override\r\n\tpublic void setHeight(int height) {\n\t\t\r\n\t}", "public void setCurrentHeight(final int currentHeight);", "public void setHeight(double height) {\r\n this.height = height;\r\n }", "double getNewHeight();", "@Override\n\tpublic void setHeight(int y) {\n\t\tdelegate.setHeight(y);\n\t}", "public void setHeight(double height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "private void setHeight(float height){\n this.height = height;\n }", "public void setHeight(int height) {\r\n this.height = height;\r\n }", "@Override\n\tpublic void setHeightInPoints(float arg0) {\n\t\t\n\t}", "public void setHeight(int h){ heightRadius = h; }", "public void setHeight(int height) {\n this.height = height;\n }", "public void setHeight(int height) {\n this.height = height;\n }", "@Override\n\tpublic void setHeight(float height) {\n\n\t}", "private void refreshHeight() {\n\t\tint lines = Math.min(maxLineCount, Math.max(minLineCount, text\n\t\t\t\t.getLineCount()));\n\t\tint newHeight = lines * text.getLineHeight();\n\n\t\tGridData data = (GridData) text.getLayoutData();\n\t\tif (data.heightHint != newHeight) {\n\t\t\tdata.heightHint = newHeight;\n\t\t\tlayout();\n\t\t}\n\t}", "public int getRowCount()\r\n {\r\n return height;\r\n }", "private void setHeight(long value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n }", "public void setHeight(Integer height) {\n this.height = height;\n control.draw();\n }", "public void setHeight (int height) {\n if (height < 10) {\n Log.warning(\"Attempted to set a checkbox height of less than 10 pixels.\");\n return;\n }\n\n synchronized (this) {\n this.height = height;\n }\n }", "public final native void setHeight(double height) /*-{\n this.setHeight(height);\n }-*/;", "public void setH(int i) {\n\t\tthis.height=i;\n\t}", "private void matchLayoutHeight(TableRow tableRow, int height) {\n\n int tableRowChildCount = tableRow.getChildCount();\n\n // if a TableRow has only 1 child\n if(tableRow.getChildCount()==1){\n\n View view = tableRow.getChildAt(0);\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n params.height = height - (params.bottomMargin + params.topMargin);\n\n return ;\n }\n\n // if a TableRow has more than 1 child\n for (int x = 0; x < tableRowChildCount; x++) {\n\n View view = tableRow.getChildAt(x);\n\n TableRow.LayoutParams params = (TableRow.LayoutParams) view.getLayoutParams();\n\n if (!isTheHeighestLayout(tableRow, x)) {\n params.height = height - (params.bottomMargin + params.topMargin);\n return;\n }\n }\n\n }", "double getOldHeight();", "private void setTableHeight() {\n coachesTable.prefHeightProperty().bind(coachesTable.fixedCellSizeProperty().\n multiply(Bindings.size(coachesTable.getItems())).add(20).add(15)); //margin + header height\n }", "public void setHeight(double h) {\n\t\t\theight.set(clamp(h, HEIGHT_MIN, HEIGHT_MAX));\n\t\t}", "void setFitHeight(short height);", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(double height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\tthis.height = height;\n\tcalculateHeightRatio();\n }", "public void setCellHeight(final int the_height) {\r\n\t\tcellHeight = the_height;\r\n\t\tsetPreferredSize(new Dimension(myColumns * cellWidth, myRows\r\n\t\t\t\t* cellHeight));\r\n\t}", "public void setHeight(int height) {\r\n\t\tthis.height = height;\r\n\t}", "public void setHeight(int height) {\n\t\th = height;\n\t}", "private void setTargetHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmTargetHeight = height;\r\n\t\t}\r\n\t}", "private void setCurrentHeight(int height)\r\n\t{\r\n\t\tsynchronized (mMutex)\r\n\t\t{\r\n\t\t\tmCurrentHeight = height;\r\n\t\t}\r\n\t}", "public void setLheight_px(int lheight_px) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeInt(__io__address + 0, lheight_px);\n\t\t} else {\n\t\t\t__io__block.writeInt(__io__address + 0, lheight_px);\n\t\t}\n\t}", "public void setHeight(double height) {\n\t\t this.height = height;\n\t }", "public void setHeight(final String value)\n {\n height = value;\n }", "public int getHeight() {\n return numRows+65;\n }", "default void setHeight(int height) {\n setHeight(VariableAmount.fixed(height));\n }", "public void setHeight(float height) {\n this.yRadius = 0.5f * height;\n }", "public void setHeight(int height) {\n int oldValue = mHeight;\n mHeight = height;\n pcs.firePropertyChange(PROP_HEIGHT, oldValue, mHeight);\n }", "@Override\r\n\tpublic int setHeight() {\n\t\treturn 0;\r\n\t}", "public void setHeight(int newHeight) {\n roomHeight = newHeight;\n }", "void setWidthHeight() {\n\t\tsetWidthHeight(getNcols() * grid().gridW, getNvisibleRows() * grid().gridH);\n\t}", "public void setBlockHeight(BigDecimal blockHeight) {\n this.blockHeight = blockHeight;\n }", "@Override\r\n public void setHeight(String height) {\n }", "@Override\n\tpublic void setHeight(short arg0) {\n\t\t\n\t}", "@Override\n public int getNumRows(){\n return HEIGHT;\n }", "public void setLineHeight(int i) {\n lineHeight = i;\n }", "public void setHeight( int height ) {\n\t\t_height = height;\n\t}", "public void setHeight(int height) {\n if (height > 0) {\n this.height = height;\n }\n }", "public int getCurrentHeight();", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "public void setHeight(int height) {\n\t\tthis.height = height;\n\t}", "private static native void setImageHeight_0(long nativeObj, int val);", "public void setHeight(double aValue)\n{\n if(_height==aValue) return; // If value already set, just return\n repaint(); // Register repaint\n firePropertyChange(\"Height\", _height, _height = aValue, -1); // Set value and fire PropertyChange\n if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus\n}", "public void setBestHeight() { setHeight(getBestHeight()); }", "public Builder setHeight(int value) {\n bitField0_ |= 0x00000008;\n height_ = value;\n onChanged();\n return this;\n }", "public void setMinHeight(double aHeight)\n{\n double h = aHeight<=0? 0 : aHeight; if(h==getMinHeight()) return;\n firePropertyChange(\"MinHeight\", put(\"MinHeight\", h), h, -1);\n}", "public void updateHeight() {\n Rectangle repaintBounds = getBounds();\n parent.getScene().paintImmediately(repaintBounds);\n\n // set new height compute while repainting.\n setBounds(new Rectangle(bounds));\n\n parent.getScene().repaint(repaintBounds);\n setChanged();\n notifyObservers();\n }", "public int getH() { return height; }", "public void setHeight(int height) {\n if(height < 0) throw new NegativeSizeException(\"Negative height\"); \n \tthis.height = height;\n }", "public boolean setHeight(double heightIn)\r\n {\r\n if (heightIn > 0)\r\n {\r\n height = heightIn;\r\n return true;\r\n }\r\n else \r\n {\r\n return false;\r\n }\r\n }", "public abstract Builder setOutputHeight(int value);", "public final void computeFixedRowHeight() {\n fixedRowHeight = getCurrentlyFixedRow().stream()\n .mapToDouble(this::getRowHeight)\n .sum();\n }", "public int getHeight() {return height;}", "public void setHeight(Integer height)\n {\n getStateHelper().put(PropertyKeys.height, height);\n }", "public int getHeight() { return height; }", "public void yBindHeight(String bind_name, ObservableValue<? extends Number> height, boolean stroke_included);", "@DISPID(-2147417101)\n @PropGet\n int offsetHeight();", "Integer getCurrentHeight();", "public int getLineHeight() {\n return lineHeight;\n }", "void setDimension(double width, double height);", "public void setPositionRow(int value){this.positionRow = value;}", "@BindingAdapter({\"layout_height\"})\n public static void setHeight(View view, int height) {\n view.getLayoutParams().height = Math.round(height * view.getContext().getResources().getDisplayMetrics().density);\n }", "public abstract int getSourceHeight();", "@Override\n public int getHeight() {\n return height;\n }", "@Override\n public int getHeight() {\n return height;\n }", "private void updateHeight() {\n int leftHeight = height(this.leftChild);\n int rightHeight = height(this.rightChild);\n this.height = (rightHeight > leftHeight ? rightHeight : leftHeight) + 1;\n }", "int getheight();" ]
[ "0.80148923", "0.6781867", "0.6781867", "0.6767891", "0.6767891", "0.6657499", "0.66114205", "0.66001797", "0.6594935", "0.6583894", "0.65622336", "0.6538651", "0.648857", "0.64329153", "0.6319278", "0.6317013", "0.63022435", "0.62272483", "0.6217322", "0.61923474", "0.61746204", "0.6172605", "0.61621666", "0.6140009", "0.6087352", "0.60719824", "0.604571", "0.603411", "0.6026562", "0.5975728", "0.593562", "0.593562", "0.5934694", "0.5933573", "0.5909142", "0.5908997", "0.58931535", "0.5892616", "0.58924747", "0.5882953", "0.58707994", "0.58625937", "0.5859623", "0.583514", "0.58280104", "0.5821914", "0.5821914", "0.5821914", "0.58179075", "0.5812877", "0.5811483", "0.5811316", "0.58079386", "0.5805624", "0.57817966", "0.5768458", "0.5745557", "0.5736066", "0.5729068", "0.57252216", "0.5721406", "0.57200545", "0.5700089", "0.5696207", "0.56936073", "0.56861717", "0.5683751", "0.5682685", "0.5679274", "0.5672979", "0.5631979", "0.56313056", "0.5620093", "0.5620093", "0.56144756", "0.560424", "0.56026745", "0.557383", "0.55731326", "0.5567876", "0.5549331", "0.55488425", "0.5547171", "0.5537564", "0.5532746", "0.55127734", "0.55113137", "0.5481571", "0.54803413", "0.5479607", "0.54571724", "0.5455558", "0.54454976", "0.54448014", "0.5436214", "0.54121435", "0.54059917", "0.54059917", "0.540454", "0.54044795" ]
0.72674125
1
Set value of FormLayout_GroupBy
public final void setFormLayout_GroupBy(java.lang.Boolean formlayout_groupby) { setFormLayout_GroupBy(getContext(), formlayout_groupby); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setFormLayout_GroupBy(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean formlayout_groupby)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.FormLayout_GroupBy.toString(), formlayout_groupby);\r\n\t}", "public void setGroupBy(boolean value) {\n this.groupBy = value;\n }", "public void setGroup(entity.Group value);", "@Override\n public void setGroupSet(final boolean val) {\n groupSet = val;\n }", "private void setGroupIndex(int value) {\n bitField0_ |= 0x00000001;\n groupIndex_ = value;\n }", "private void setUpGroupBy(){\n\t\tEPPropiedad pro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p2\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t\tpro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p3\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t}", "public void setGroupId(String newValue);", "public void setGroupId(Integer value) {\n set(1, value);\n }", "public void setGroupFunction(JSFunction groupFunction) {\r\n this.groupFunction = groupFunction;\r\n }", "void setGroupName(String groupName) {\n this.groupName = new String(groupName);\n }", "public Builder setGroupIndex(int value) {\n copyOnWrite();\n instance.setGroupIndex(value);\n return this;\n }", "public void setGroupcode(java.lang.Integer newGroup) {\n\tgroupcode = newGroup;\n}", "public GroupLayoutRonald ()\n {\n groupFunction();\n }", "public void setGroup (String columnName)\n\t{\n\t\tsetGroup(getColumnIndex(columnName));\n\t}", "public int getIdGroup() {\n return idGroup;\n }", "protected void sequence_BY_GROUP_GroupBy(ISerializationContext context, GroupBy semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "public void setFilterByGroup(boolean value)\r\n {\r\n getSemanticObject().setBooleanProperty(swpres_filterByGroup, value);\r\n }", "public void setGroupingSize(int newValue) {\n groupingSize = (byte) newValue;\n }", "@Override\n public void groupBy(StructuredRecord record, Emitter<StructuredRecord> emitter) throws Exception {\n StructuredRecord.Builder builder = StructuredRecord.builder(getGroupKeySchema(record.getSchema()));\n for (String groupByField : conf.getGroupByFields()) {\n builder.set(groupByField, record.get(groupByField));\n }\n emitter.emit(builder.build());\n }", "public void setName(String name) {\n internalGroup.setName(name);\n }", "public void setGroupValue(String GroupValue) {\n this.GroupValue = GroupValue;\n }", "public void setLogGroup(int aNewGroup) {\n mLogGroup = aNewGroup;\n }", "protected void setTableGroup(int num)\n\t\t{\n\t\t\tGroup = num ;\n\t\t}", "public void setGroupName(String newGroupName)\n {\n this.groupName = newGroupName;\n }", "protected void initializeGroups() {\r\n if ((getCriteriaGroup() != null) && (getCriteriaGroup().getItems().isEmpty())) {\r\n getCriteriaGroup().setItems(getCriteriaFields());\r\n }\r\n\r\n if (getResultsGroup() != null) {\r\n if ((getResultsGroup().getItems().isEmpty()) && (getResultFields() != null)) {\r\n getResultsGroup().setItems(getResultFields());\r\n }\r\n\r\n if (getResultsGroup().getCollectionObjectClass() == null) {\r\n getResultsGroup().setCollectionObjectClass(getDataObjectClass());\r\n }\r\n }\r\n\r\n if (getItems().isEmpty()) {\r\n setItems(Arrays.asList(getCriteriaGroup(), getResultsGroup()));\r\n }\r\n }", "public void setGroupname(java.lang.String newGroupname) {\n\tgroupname = newGroupname;\n}", "public void setGroup (int col)\n\t{\n\t\tlog.config( \"RModel.setGroup col=\" + col);\n\t\tif (col < 0 || col >= m_data.cols.size())\n\t\t\treturn;\n\t\tInteger ii = new Integer(col);\n\t\tif (!m_data.groups.contains(ii))\n\t\t\tm_data.groups.add(ii);\n\t}", "void setGroupInfo(String groupName, int groupNumber, char insertionCode,\n\t\t\tString groupType, int atomCount, int bondCount, char singleLetterCode, \n\t\t\tint sequenceIndex, int secondaryStructureType);", "protected RowGroupingChangeEvent() {\n }", "public void assignOneGroup(final boolean val) {\n oneGroup = val;\n }", "public void setContactsGroup()\n\t{\n\t\tUtility.ThreadSleep(1000);\n\t\tList<Long> group = new ArrayList<Long>(Arrays.asList(new Long[] {1l,2l})); //with DB Call\n\t\tthis.groupIds = group;\n\t\tLong contactGroupId = groupIds.get(0);\n\t\tSystem.out.println(\".\");\n\t}", "public void setGroupVisible(int group, boolean visible);", "public void setRequiredGroupType(typekey.GroupType value);", "public void setGroupsCount(long groupsCount) {\r\n this.groupsCount = groupsCount;\r\n }", "GroupQueryBuilder setName(String name);", "public void setGrpDetail(HashMap<String, String> d, String grp, String prev, int type) {\n if(grp.equals(prev)){\n grpD.remove(prev);\n grpD.put(grp, d);\n db.createGroup(grp,grpD.get(grp),grpUsrs.get(grp),grpRls.get(grp));\n\t} else{\n grpD.put(grp, d);\n grpD.remove(prev);\n List li = (List) grpUsrs.get(prev);\n grpUsrs.remove(prev);\n grpUsrs.put(grp, li);\n List li2 = (List) grpRls.get(prev);\n grpRls.remove(prev);\n grpRls.put(grp, li);\n\n for (Label l : allGrps) {\n if (prev.equals((String) l.getValue())) {\n l.setContentMode(Label.CONTENT_TEXT);\n l.setValue(grp);\n\n }\n\n }\n db.createGroup(grp,grpD.get(grp),grpUsrs.get(grp),grpRls.get(grp));\n db.removeGroup(prev);\n\t}\n updateAllUsrs();\n updateAllRls();\n\n comapp1.grpListBuild();\n }", "abstract void configureGroupView(RecentTabsGroupView groupView, boolean isExpanded);", "public void newGroup() {\n addGroup(null, true);\n }", "@Override\n public void onGroupCollapsed(int groupPosition) {\n\n }", "public void setChildViewToGroup() {\n int childViewCount = mDataList.size();\n mParent.removeAllViews();\n for(int i = 0; i < childViewCount; i++) {\n LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(mPopItemWidth, mPopItemHeight);\n ViewGroup v = (ViewGroup) mInflater.inflate(mResource, mParent, false);\n if (i == 0) {\n layoutParams.setMargins(0, mPopViewTopMargin, 0, 0);\n }\n else if (i == childViewCount - 1) {\n layoutParams.setMargins(0, 0, 0, mPopViewBottomMargin);\n }\n else {\n layoutParams.setMargins(0, 0, 0, 0);\n }\n v.setLayoutParams(layoutParams);\n v.setVisibility(INVISIBLE);\n mParent.addView(v);\n }\n }", "public void setSizeGroupId(String value) {\n setAttributeInternal(SIZEGROUPID, value);\n }", "public void setGroupingSize(AVT v)\n {\n m_groupingSize_avt = v;\n }", "public void setGroup(UserGroup group) {\n this.group = group;\n }", "protected void setGroupKey(Key key)\n\t{\n\t\tfor (int i = 0; i < _searchKeyList.size(); i++)\n\t\t{\n\t\t\tKey ky = (Key)_searchKeyList.get(i) ;\n\t\t\tif (ky.getTableColumn().equals(key.getTableColumn()))\n\t\t\t{\n\t\t\t\tky.setTableGroup(key.getTableGroup()) ;\n\t\t\t\t_searchKeyList.set(i, ky) ;\n\t\t\t\tbreak ;\n\t\t\t}\n\t\t}\n\t}", "public void setGroupID(Long newGroupID)\n {\n this.groupID = newGroupID;\n }", "private void fillCompetitiveGroupFieldValues() {\r\n updateMethod.setSelectedItem(((CompetitiveGroup) competitive)\r\n .getUpdateMethod());\r\n tfEpsilon.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLearningRate()));\r\n tfLoserValue.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLoseValue()));\r\n tfWinnerValue.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getWinValue()));\r\n tfLeakyEpsilon.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLeakyLearningRate()));\r\n tfSynpaseDecayPercent.setText(Double\r\n .toString(((CompetitiveGroup) competitive)\r\n .getSynpaseDecayPercent()));\r\n cbUseLeakyLearning.setSelected(((CompetitiveGroup) competitive)\r\n .getUseLeakyLearning());\r\n cbNormalizeInputs.setSelected(((CompetitiveGroup) competitive)\r\n .getNormalizeInputs());\r\n }", "public void update() {\n if (Globals.prefs.getBoolean(JabRefPreferences.GRAY_OUT_NON_HITS)) {\n panel.getMainTable().getTableModel().updateGroupingState(MainTableDataModel.DisplayOption.FLOAT);\n } else {\n panel.getMainTable().getTableModel().updateGroupingState(MainTableDataModel.DisplayOption.FILTER);\n }\n panel.getMainTable().getTableModel().updateSortOrder();\n panel.getMainTable().getTableModel().updateGroupFilter();\n panel.getMainTable().scrollTo(0);\n\n frame.output(Localization.lang(\"Updated group selection\") + \".\");\n }", "public void setLogGroup(String value)\n {\n logGroup = value;\n }", "public void getGroup(SecurityUserBaseinfoForm form) {\n\t\tString[] tempIds = null;\r\n\t\tString[] tempNames = null;\r\n\t\tList<?> list = null;\r\n//\t\tcommClvIds & commClvNames;\r\n\t\tif(form.getCommConfigLocationGroupId() != null && form.getCommConfigLocationGroupId().trim().length() > 0){\r\n\t\t\tlist = this.getSecurityUserBaseinfoDAO().getGroupsByParent(form.getCommConfigLocationGroupId().trim());\r\n\t\t\tif(list != null && list.size() > 0){\r\n\t\t\t\ttempIds = new String[list.size()+1];\r\n\t\t\t\ttempNames = new String[list.size()+1];\r\n\t\t\t\ttempIds[0] = \"\";\r\n\t\t\t\ttempNames[0] = \"\";\r\n\t\t\t\tfor(int i=0; i<list.size(); i++){\r\n\t\t\t\t\tCommConfigLocationGroup town = (CommConfigLocationGroup)list.get(i);\r\n\t\t\t\t\ttempIds[i+1] = this.transNullToString(town.getId());\r\n\t\t\t\t\ttempNames[i+1] = this.transNullToString(town.getItemName());\r\n\t\t\t\t}\r\n\t\t\t\tform.setCommConfigLocationGroupIds(tempIds);\r\n\t\t\t\tform.setCommConfigLocationGroupId_names(tempNames);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "public AggregateLayout(String aggrGroup) {\r\n super(aggrGroup);\r\n }", "@Override\r\n public void onGroupExpand(int groupPosition) {\n }", "@java.lang.Override\n public int getGroupIndex() {\n return groupIndex_;\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n\n }", "public void setGroup(String column, int num)\n\t{\n\t\t//#CM708946\n\t\t// Disregard it when the key which does not exist in Effective is specified. \n\t\tKey Eky = getKey(column) ;\n\t\tif (Eky == null)\n\t\t\treturn ;\n\n\t\tEky.setTableGroup(num) ;\n\t\tsetGroupKey(Eky) ;\n\t}", "@Schema(description = \"Specifies the grouping attribute to use when rolling several instances. Instances that share the same value for the provided attribute key are rolled together as a unit. Examples that make sense to use are '\\\\_\\\\_all\\\\_\\\\_' (roll all instances as a single unit), 'logical_zone_name' (roll instances by zone), '\\\\_\\\\_name\\\\_\\\\_' (roll one instance at a time, the default if not specified). Note that '\\\\_\\\\_all\\\\_\\\\_' is required when performing a major version upgrade\")\n public String getGroupBy() {\n return groupBy;\n }", "GroupQueryBuilder reset();", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "public void setGroup(final Group group) {\n this.group = group;\n }", "void setGroupId(String groupId);", "public void setGroupName(String name) {\n group.setName(name);\n }", "private List<OptionBean> populateView(HttpServletRequest request) {\n List<OptionBean> groups = new ArrayList<OptionBean>();\n for (SecurityGroup group : securityManager.getAllGroups()) {\n groups.add(new OptionBean(group.getName(), group.getId()));\n }\n\n Collections.sort(groups);\n request.setAttribute(\"groups\", groups);\n\n return groups;\n }", "public void set_fieldset(String value) {\n\t\tfieldset = value;\n\t}", "public void setGroupID(int groupID) {\n this.groupID = groupID;\n }", "@Override\n public ModelInputDisplayItemType getDisplayItemType() {\n return ModelInputDisplayItemType.GROUP;\n }", "public void modifyGroup(String id) {\r\n //TODO\r\n System.out.println(\"conectado con model ---> metodo modifyGroup\");\r\n }", "public void visit(GroupBy obj) {\n List<Expression> symbols = obj.getSymbols();\n for (int i = 0; i < symbols.size(); i++) {\n Expression symbol = symbols.get(i);\n symbols.set(i, replaceExpression(symbol));\n }\n }", "public void setInValidGroup(boolean inValidGroup){this.inValidGroup = inValidGroup;}", "@java.lang.Override\n public int getGroupIndex() {\n return instance.getGroupIndex();\n }", "public void setGroupName(String groupName){\r\n if (this.errorInString(groupName)) {\r\n this.addErrorMessage(0, \"Group name is incorrect.\");\r\n } else {\r\n this.groupName = Validator.escapeJava(groupName);\r\n setValidData(0, true);\r\n }\r\n }", "public void setGroupName(String GroupName) {\n this.GroupName = GroupName;\n }", "public void setIndexGroupList(ArrayList<Integer> indexGroupList) {\r\n\t\tthis.indexGroupList = indexGroupList;\r\n\t}", "@Override\r\n\tpublic void addProductGroup() {\r\n\t\tString newProductGroupName = getView().getProductGroupName();\r\n\t\tString supplyValue = getView().getSupplyValue();\r\n\t\tSizeUnits supplyUnit = getView().getSupplyUnit();\r\n\t\t\r\n\t\tProductGroup pg = new ProductGroup();\r\n\t\tpg.setName(newProductGroupName);\r\n\t\tUnitSize threeMounthSup = null;\r\n\t\ttry {\r\n\t\t\tthreeMounthSup = new UnitSize(supplyValue, supplyUnit.toString() );\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"fail in addProductGroupController\");\r\n\t\t}\r\n\t\t\r\n\t\tpg.setThreeMonthSup(threeMounthSup);\r\n\t\t\r\n\t\tpg.setContainer(_parent);\r\n\t\t\r\n\t\t_productGroupFacade.addProductGroup(pg);\r\n\t\t\r\n\t\tPersistor persistor = Configuration.getInstance().getPersistor();\r\n\t\tpersistor.insertProductContainer(pg);\r\n\t}", "private void editValidItems(GroupOwnerModel group, String[] grps) {\r\n\t\tgroup.setGroupNameList(new ArrayList<String>());\r\n\t\tfor(String str:grps){\r\n\t\t\t for(SelectItem item: groupOwnerModel.getGroupSelectList()){\r\n\t\t\t\tif(str.trim().equalsIgnoreCase(item.getLabel())){\r\n\t\t\t\t\tgroup.getGroupNameList().add(item.getValue().toString());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void setGroupKey(String GroupKey) {\n this.GroupKey = GroupKey;\n }", "@Override\r\n\tprotected void setData(GroupMember t) {\n\r\n\t}", "public boolean isGroupBy() {\n return groupBy;\n }", "public void setGroupValue(String testCaseID)\r\n\t{\r\n\t\tgroupTestID=testCaseID;\r\n\t\tgroupTestScenario=getTestScenario(testCaseID);\t\r\n\t\tLog.info(\"======== \"+groupTestID+\" : \"+groupTestScenario+\" ========\");\r\n\t}", "public GroupCreateBean() {\n\t\tsuper();\n\t\tthis.initializeNumbers();\t\t\n\t}", "int getGroupingSize() {\n return groupingSize;\n }", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }", "public void setGroupId(Integer groupId) {\r\n this.groupId = groupId;\r\n }", "public void setGroup (String format, Object ... args)\n {\n group = String.format (format, args);\n }", "public void setGroup (String format, Object ... args)\n {\n group = String.format (format, args);\n }", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_changesetEntry.setGroupId(groupId);\n\t}", "@Override\n public void onGroupCollapse(int groupPosition) {\n }", "public void setGroupEnabled(int group, boolean enabled);", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }" ]
[ "0.713964", "0.6568495", "0.6248026", "0.6008469", "0.58937943", "0.5855715", "0.57124513", "0.57111007", "0.5614704", "0.55889344", "0.555427", "0.5550071", "0.5525154", "0.54650664", "0.54538566", "0.54503644", "0.5447812", "0.5429516", "0.5403276", "0.5378003", "0.53712934", "0.5366386", "0.53655547", "0.5341958", "0.52712274", "0.52665657", "0.52611965", "0.52542585", "0.52488226", "0.5247703", "0.5243186", "0.5241327", "0.5240661", "0.5239602", "0.5236895", "0.5233992", "0.52306974", "0.5226722", "0.5221951", "0.5210406", "0.51971495", "0.51961285", "0.518583", "0.5185716", "0.5180148", "0.51771843", "0.51768774", "0.51756597", "0.517551", "0.51733947", "0.5169126", "0.51681036", "0.51642925", "0.5162866", "0.5156627", "0.5141924", "0.5140435", "0.5139618", "0.51395583", "0.51395583", "0.51395583", "0.5120527", "0.5120527", "0.5118536", "0.51176155", "0.51174486", "0.5110234", "0.5107371", "0.5090379", "0.5082339", "0.5076838", "0.5075638", "0.50498754", "0.5040459", "0.5035423", "0.50324345", "0.50298345", "0.50233495", "0.5013225", "0.5009085", "0.4998901", "0.49889046", "0.4986495", "0.4982863", "0.49756363", "0.49704126", "0.49621558", "0.49586937", "0.49586937", "0.49586165", "0.49586165", "0.49586165", "0.49586165", "0.49586165", "0.49586165", "0.49546102", "0.4947417", "0.49469545", "0.4943951", "0.4943951" ]
0.74303466
0
Set value of FormLayout_GroupBy
public final void setFormLayout_GroupBy(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean formlayout_groupby) { getMendixObject().setValue(context, MemberNames.FormLayout_GroupBy.toString(), formlayout_groupby); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setFormLayout_GroupBy(java.lang.Boolean formlayout_groupby)\r\n\t{\r\n\t\tsetFormLayout_GroupBy(getContext(), formlayout_groupby);\r\n\t}", "public void setGroupBy(boolean value) {\n this.groupBy = value;\n }", "public void setGroup(entity.Group value);", "@Override\n public void setGroupSet(final boolean val) {\n groupSet = val;\n }", "private void setGroupIndex(int value) {\n bitField0_ |= 0x00000001;\n groupIndex_ = value;\n }", "private void setUpGroupBy(){\n\t\tEPPropiedad pro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p2\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t\tpro = new EPPropiedad();\n\t\tpro.setNombre(\"a1.p3\");\n\t\tpro.setPseudonombre(\"\");\n\t\texpresionesGroupBy.add(pro);\n\t}", "public void setGroupId(String newValue);", "public void setGroupId(Integer value) {\n set(1, value);\n }", "public void setGroupFunction(JSFunction groupFunction) {\r\n this.groupFunction = groupFunction;\r\n }", "void setGroupName(String groupName) {\n this.groupName = new String(groupName);\n }", "public Builder setGroupIndex(int value) {\n copyOnWrite();\n instance.setGroupIndex(value);\n return this;\n }", "public void setGroupcode(java.lang.Integer newGroup) {\n\tgroupcode = newGroup;\n}", "public GroupLayoutRonald ()\n {\n groupFunction();\n }", "public void setGroup (String columnName)\n\t{\n\t\tsetGroup(getColumnIndex(columnName));\n\t}", "public int getIdGroup() {\n return idGroup;\n }", "protected void sequence_BY_GROUP_GroupBy(ISerializationContext context, GroupBy semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "public void setFilterByGroup(boolean value)\r\n {\r\n getSemanticObject().setBooleanProperty(swpres_filterByGroup, value);\r\n }", "public void setGroupingSize(int newValue) {\n groupingSize = (byte) newValue;\n }", "@Override\n public void groupBy(StructuredRecord record, Emitter<StructuredRecord> emitter) throws Exception {\n StructuredRecord.Builder builder = StructuredRecord.builder(getGroupKeySchema(record.getSchema()));\n for (String groupByField : conf.getGroupByFields()) {\n builder.set(groupByField, record.get(groupByField));\n }\n emitter.emit(builder.build());\n }", "public void setName(String name) {\n internalGroup.setName(name);\n }", "public void setGroupValue(String GroupValue) {\n this.GroupValue = GroupValue;\n }", "public void setLogGroup(int aNewGroup) {\n mLogGroup = aNewGroup;\n }", "protected void setTableGroup(int num)\n\t\t{\n\t\t\tGroup = num ;\n\t\t}", "public void setGroupName(String newGroupName)\n {\n this.groupName = newGroupName;\n }", "protected void initializeGroups() {\r\n if ((getCriteriaGroup() != null) && (getCriteriaGroup().getItems().isEmpty())) {\r\n getCriteriaGroup().setItems(getCriteriaFields());\r\n }\r\n\r\n if (getResultsGroup() != null) {\r\n if ((getResultsGroup().getItems().isEmpty()) && (getResultFields() != null)) {\r\n getResultsGroup().setItems(getResultFields());\r\n }\r\n\r\n if (getResultsGroup().getCollectionObjectClass() == null) {\r\n getResultsGroup().setCollectionObjectClass(getDataObjectClass());\r\n }\r\n }\r\n\r\n if (getItems().isEmpty()) {\r\n setItems(Arrays.asList(getCriteriaGroup(), getResultsGroup()));\r\n }\r\n }", "public void setGroupname(java.lang.String newGroupname) {\n\tgroupname = newGroupname;\n}", "public void setGroup (int col)\n\t{\n\t\tlog.config( \"RModel.setGroup col=\" + col);\n\t\tif (col < 0 || col >= m_data.cols.size())\n\t\t\treturn;\n\t\tInteger ii = new Integer(col);\n\t\tif (!m_data.groups.contains(ii))\n\t\t\tm_data.groups.add(ii);\n\t}", "void setGroupInfo(String groupName, int groupNumber, char insertionCode,\n\t\t\tString groupType, int atomCount, int bondCount, char singleLetterCode, \n\t\t\tint sequenceIndex, int secondaryStructureType);", "protected RowGroupingChangeEvent() {\n }", "public void assignOneGroup(final boolean val) {\n oneGroup = val;\n }", "public void setContactsGroup()\n\t{\n\t\tUtility.ThreadSleep(1000);\n\t\tList<Long> group = new ArrayList<Long>(Arrays.asList(new Long[] {1l,2l})); //with DB Call\n\t\tthis.groupIds = group;\n\t\tLong contactGroupId = groupIds.get(0);\n\t\tSystem.out.println(\".\");\n\t}", "public void setRequiredGroupType(typekey.GroupType value);", "public void setGroupVisible(int group, boolean visible);", "public void setGroupsCount(long groupsCount) {\r\n this.groupsCount = groupsCount;\r\n }", "GroupQueryBuilder setName(String name);", "public void setGrpDetail(HashMap<String, String> d, String grp, String prev, int type) {\n if(grp.equals(prev)){\n grpD.remove(prev);\n grpD.put(grp, d);\n db.createGroup(grp,grpD.get(grp),grpUsrs.get(grp),grpRls.get(grp));\n\t} else{\n grpD.put(grp, d);\n grpD.remove(prev);\n List li = (List) grpUsrs.get(prev);\n grpUsrs.remove(prev);\n grpUsrs.put(grp, li);\n List li2 = (List) grpRls.get(prev);\n grpRls.remove(prev);\n grpRls.put(grp, li);\n\n for (Label l : allGrps) {\n if (prev.equals((String) l.getValue())) {\n l.setContentMode(Label.CONTENT_TEXT);\n l.setValue(grp);\n\n }\n\n }\n db.createGroup(grp,grpD.get(grp),grpUsrs.get(grp),grpRls.get(grp));\n db.removeGroup(prev);\n\t}\n updateAllUsrs();\n updateAllRls();\n\n comapp1.grpListBuild();\n }", "abstract void configureGroupView(RecentTabsGroupView groupView, boolean isExpanded);", "public void newGroup() {\n addGroup(null, true);\n }", "@Override\n public void onGroupCollapsed(int groupPosition) {\n\n }", "public void setChildViewToGroup() {\n int childViewCount = mDataList.size();\n mParent.removeAllViews();\n for(int i = 0; i < childViewCount; i++) {\n LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(mPopItemWidth, mPopItemHeight);\n ViewGroup v = (ViewGroup) mInflater.inflate(mResource, mParent, false);\n if (i == 0) {\n layoutParams.setMargins(0, mPopViewTopMargin, 0, 0);\n }\n else if (i == childViewCount - 1) {\n layoutParams.setMargins(0, 0, 0, mPopViewBottomMargin);\n }\n else {\n layoutParams.setMargins(0, 0, 0, 0);\n }\n v.setLayoutParams(layoutParams);\n v.setVisibility(INVISIBLE);\n mParent.addView(v);\n }\n }", "public void setSizeGroupId(String value) {\n setAttributeInternal(SIZEGROUPID, value);\n }", "public void setGroupingSize(AVT v)\n {\n m_groupingSize_avt = v;\n }", "public void setGroup(UserGroup group) {\n this.group = group;\n }", "protected void setGroupKey(Key key)\n\t{\n\t\tfor (int i = 0; i < _searchKeyList.size(); i++)\n\t\t{\n\t\t\tKey ky = (Key)_searchKeyList.get(i) ;\n\t\t\tif (ky.getTableColumn().equals(key.getTableColumn()))\n\t\t\t{\n\t\t\t\tky.setTableGroup(key.getTableGroup()) ;\n\t\t\t\t_searchKeyList.set(i, ky) ;\n\t\t\t\tbreak ;\n\t\t\t}\n\t\t}\n\t}", "public void setGroupID(Long newGroupID)\n {\n this.groupID = newGroupID;\n }", "private void fillCompetitiveGroupFieldValues() {\r\n updateMethod.setSelectedItem(((CompetitiveGroup) competitive)\r\n .getUpdateMethod());\r\n tfEpsilon.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLearningRate()));\r\n tfLoserValue.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLoseValue()));\r\n tfWinnerValue.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getWinValue()));\r\n tfLeakyEpsilon.setText(Double.toString(((CompetitiveGroup) competitive)\r\n .getLeakyLearningRate()));\r\n tfSynpaseDecayPercent.setText(Double\r\n .toString(((CompetitiveGroup) competitive)\r\n .getSynpaseDecayPercent()));\r\n cbUseLeakyLearning.setSelected(((CompetitiveGroup) competitive)\r\n .getUseLeakyLearning());\r\n cbNormalizeInputs.setSelected(((CompetitiveGroup) competitive)\r\n .getNormalizeInputs());\r\n }", "public void setLogGroup(String value)\n {\n logGroup = value;\n }", "public void getGroup(SecurityUserBaseinfoForm form) {\n\t\tString[] tempIds = null;\r\n\t\tString[] tempNames = null;\r\n\t\tList<?> list = null;\r\n//\t\tcommClvIds & commClvNames;\r\n\t\tif(form.getCommConfigLocationGroupId() != null && form.getCommConfigLocationGroupId().trim().length() > 0){\r\n\t\t\tlist = this.getSecurityUserBaseinfoDAO().getGroupsByParent(form.getCommConfigLocationGroupId().trim());\r\n\t\t\tif(list != null && list.size() > 0){\r\n\t\t\t\ttempIds = new String[list.size()+1];\r\n\t\t\t\ttempNames = new String[list.size()+1];\r\n\t\t\t\ttempIds[0] = \"\";\r\n\t\t\t\ttempNames[0] = \"\";\r\n\t\t\t\tfor(int i=0; i<list.size(); i++){\r\n\t\t\t\t\tCommConfigLocationGroup town = (CommConfigLocationGroup)list.get(i);\r\n\t\t\t\t\ttempIds[i+1] = this.transNullToString(town.getId());\r\n\t\t\t\t\ttempNames[i+1] = this.transNullToString(town.getItemName());\r\n\t\t\t\t}\r\n\t\t\t\tform.setCommConfigLocationGroupIds(tempIds);\r\n\t\t\t\tform.setCommConfigLocationGroupId_names(tempNames);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void update() {\n if (Globals.prefs.getBoolean(JabRefPreferences.GRAY_OUT_NON_HITS)) {\n panel.getMainTable().getTableModel().updateGroupingState(MainTableDataModel.DisplayOption.FLOAT);\n } else {\n panel.getMainTable().getTableModel().updateGroupingState(MainTableDataModel.DisplayOption.FILTER);\n }\n panel.getMainTable().getTableModel().updateSortOrder();\n panel.getMainTable().getTableModel().updateGroupFilter();\n panel.getMainTable().scrollTo(0);\n\n frame.output(Localization.lang(\"Updated group selection\") + \".\");\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "public AggregateLayout(String aggrGroup) {\r\n super(aggrGroup);\r\n }", "@Override\r\n public void onGroupExpand(int groupPosition) {\n }", "@java.lang.Override\n public int getGroupIndex() {\n return groupIndex_;\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n\n }", "public void setGroup(String column, int num)\n\t{\n\t\t//#CM708946\n\t\t// Disregard it when the key which does not exist in Effective is specified. \n\t\tKey Eky = getKey(column) ;\n\t\tif (Eky == null)\n\t\t\treturn ;\n\n\t\tEky.setTableGroup(num) ;\n\t\tsetGroupKey(Eky) ;\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\tmodel.setGroupId(groupId);\n\t}", "GroupQueryBuilder reset();", "@Schema(description = \"Specifies the grouping attribute to use when rolling several instances. Instances that share the same value for the provided attribute key are rolled together as a unit. Examples that make sense to use are '\\\\_\\\\_all\\\\_\\\\_' (roll all instances as a single unit), 'logical_zone_name' (roll instances by zone), '\\\\_\\\\_name\\\\_\\\\_' (roll one instance at a time, the default if not specified). Note that '\\\\_\\\\_all\\\\_\\\\_' is required when performing a major version upgrade\")\n public String getGroupBy() {\n return groupBy;\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "@Override\n public void onGroupExpand(int groupPosition) {\n }", "public void setGroup(final Group group) {\n this.group = group;\n }", "void setGroupId(String groupId);", "public void setGroupName(String name) {\n group.setName(name);\n }", "private List<OptionBean> populateView(HttpServletRequest request) {\n List<OptionBean> groups = new ArrayList<OptionBean>();\n for (SecurityGroup group : securityManager.getAllGroups()) {\n groups.add(new OptionBean(group.getName(), group.getId()));\n }\n\n Collections.sort(groups);\n request.setAttribute(\"groups\", groups);\n\n return groups;\n }", "public void set_fieldset(String value) {\n\t\tfieldset = value;\n\t}", "public void setGroupID(int groupID) {\n this.groupID = groupID;\n }", "@Override\n public ModelInputDisplayItemType getDisplayItemType() {\n return ModelInputDisplayItemType.GROUP;\n }", "public void modifyGroup(String id) {\r\n //TODO\r\n System.out.println(\"conectado con model ---> metodo modifyGroup\");\r\n }", "public void visit(GroupBy obj) {\n List<Expression> symbols = obj.getSymbols();\n for (int i = 0; i < symbols.size(); i++) {\n Expression symbol = symbols.get(i);\n symbols.set(i, replaceExpression(symbol));\n }\n }", "public void setInValidGroup(boolean inValidGroup){this.inValidGroup = inValidGroup;}", "@java.lang.Override\n public int getGroupIndex() {\n return instance.getGroupIndex();\n }", "public void setGroupName(String groupName){\r\n if (this.errorInString(groupName)) {\r\n this.addErrorMessage(0, \"Group name is incorrect.\");\r\n } else {\r\n this.groupName = Validator.escapeJava(groupName);\r\n setValidData(0, true);\r\n }\r\n }", "public void setGroupName(String GroupName) {\n this.GroupName = GroupName;\n }", "public void setIndexGroupList(ArrayList<Integer> indexGroupList) {\r\n\t\tthis.indexGroupList = indexGroupList;\r\n\t}", "@Override\r\n\tpublic void addProductGroup() {\r\n\t\tString newProductGroupName = getView().getProductGroupName();\r\n\t\tString supplyValue = getView().getSupplyValue();\r\n\t\tSizeUnits supplyUnit = getView().getSupplyUnit();\r\n\t\t\r\n\t\tProductGroup pg = new ProductGroup();\r\n\t\tpg.setName(newProductGroupName);\r\n\t\tUnitSize threeMounthSup = null;\r\n\t\ttry {\r\n\t\t\tthreeMounthSup = new UnitSize(supplyValue, supplyUnit.toString() );\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"fail in addProductGroupController\");\r\n\t\t}\r\n\t\t\r\n\t\tpg.setThreeMonthSup(threeMounthSup);\r\n\t\t\r\n\t\tpg.setContainer(_parent);\r\n\t\t\r\n\t\t_productGroupFacade.addProductGroup(pg);\r\n\t\t\r\n\t\tPersistor persistor = Configuration.getInstance().getPersistor();\r\n\t\tpersistor.insertProductContainer(pg);\r\n\t}", "private void editValidItems(GroupOwnerModel group, String[] grps) {\r\n\t\tgroup.setGroupNameList(new ArrayList<String>());\r\n\t\tfor(String str:grps){\r\n\t\t\t for(SelectItem item: groupOwnerModel.getGroupSelectList()){\r\n\t\t\t\tif(str.trim().equalsIgnoreCase(item.getLabel())){\r\n\t\t\t\t\tgroup.getGroupNameList().add(item.getValue().toString());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void setGroupKey(String GroupKey) {\n this.GroupKey = GroupKey;\n }", "@Override\r\n\tprotected void setData(GroupMember t) {\n\r\n\t}", "public void setGroupValue(String testCaseID)\r\n\t{\r\n\t\tgroupTestID=testCaseID;\r\n\t\tgroupTestScenario=getTestScenario(testCaseID);\t\r\n\t\tLog.info(\"======== \"+groupTestID+\" : \"+groupTestScenario+\" ========\");\r\n\t}", "public boolean isGroupBy() {\n return groupBy;\n }", "public GroupCreateBean() {\n\t\tsuper();\n\t\tthis.initializeNumbers();\t\t\n\t}", "int getGroupingSize() {\n return groupingSize;\n }", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }", "public void setGroupId(Integer groupId) {\r\n this.groupId = groupId;\r\n }", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroupId(long groupId);", "public void setGroup (String format, Object ... args)\n {\n group = String.format (format, args);\n }", "public void setGroup (String format, Object ... args)\n {\n group = String.format (format, args);\n }", "@Override\n\tpublic void setGroupId(long groupId) {\n\t\t_changesetEntry.setGroupId(groupId);\n\t}", "public void setGroupEnabled(int group, boolean enabled);", "@Override\n public void onGroupCollapse(int groupPosition) {\n }", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }", "@Override\n public void onGroupCollapse(int groupPosition) {\n\n }" ]
[ "0.74301696", "0.65667593", "0.62484515", "0.60079557", "0.5893977", "0.58542967", "0.571293", "0.57116795", "0.56146115", "0.5588796", "0.5554462", "0.5549961", "0.5523292", "0.5465146", "0.54521716", "0.54486245", "0.5446722", "0.54286253", "0.54004526", "0.5378695", "0.5370952", "0.5366007", "0.5365357", "0.53413874", "0.52689874", "0.5266477", "0.52614725", "0.5252973", "0.52476066", "0.5247313", "0.5242312", "0.5240958", "0.52393687", "0.5238959", "0.5236516", "0.523307", "0.5230301", "0.5225293", "0.5220379", "0.5209142", "0.51981974", "0.5195237", "0.51859623", "0.51853347", "0.517983", "0.5176801", "0.5175425", "0.5175331", "0.5175247", "0.51723444", "0.516794", "0.51653683", "0.5163189", "0.51612335", "0.51555014", "0.51425654", "0.5140313", "0.5140313", "0.5140313", "0.5138696", "0.51383084", "0.51195276", "0.51195276", "0.5118152", "0.5117574", "0.51165015", "0.51090205", "0.51089716", "0.50901216", "0.5079572", "0.50777227", "0.50758004", "0.50494474", "0.5038652", "0.50364804", "0.50315946", "0.5030045", "0.50233746", "0.50127476", "0.5008048", "0.49992228", "0.49874076", "0.49854153", "0.49819344", "0.49731815", "0.49690127", "0.49617916", "0.49586153", "0.49586153", "0.49586153", "0.49586153", "0.49586153", "0.49586153", "0.4958446", "0.4958446", "0.4955555", "0.49465907", "0.49459487", "0.49425247", "0.49425247" ]
0.71402806
1
Set value of MxSheet_Template
public final void setMxSheet_Template(xlsreport.proxies.MxTemplate mxsheet_template) { setMxSheet_Template(getContext(), mxsheet_template); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_Template(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxTemplate mxsheet_template)\r\n\t{\r\n\t\tif (mxsheet_template == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), mxsheet_template.getMendixObject().getId());\r\n\t}", "public void setTemplate(Template template)\n/* */ {\n/* 62 */ this.template = template;\n/* */ }", "private void setTemplate(MazeTemplate mt)\n {\n if (mt == mCurrentTemplate)\n return;\n\n mCurrentTemplate = mt;\n if (mCurrentTemplate == null)\n {\n mMazeView.setEditable(true);\n }\n else\n {\n mMazeView.setEditable(false);\n mt.reset();\n }\n mMazeView.setTemplate(mt);\n }", "public void setTemplate(MetaData mdTemplate) throws IOException;", "void setTemplate(ITemplateKey key, Template template);", "public abstract void setTemplId(Integer templId);", "public void setTemplate( byte[] value)\n {\n m_Template = value;\n }", "public abstract void setTemplCd(String templCd);", "@Accessor(qualifier = \"exportTemplate\", type = Accessor.Type.SETTER)\n\tpublic void setExportTemplate(final HeaderLibraryModel value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXPORTTEMPLATE, value);\n\t}", "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 }", "@Override\n public void setBean(TimeSheet t)\n {\n \n }", "public native Template set(String html) /*-{\r\n\t\tvar template = [email protected]::getJsObj()();\r\n\t\ttemplate.set(html);\r\n\t\treturn this;\r\n\t}-*/;", "public void setTemplateId(int tmp) {\n this.templateId = tmp;\n }", "private MessageProperty setTemplateVar(String key, String value){\n\t\tMessageProperty property = new MessageProperty();\n\t\tproperty.setPropertyName(key);\n\t\tproperty.setPropertyValue(appendCDATA(value));\n\t\treturn property;\n\t}", "public void creatTemplate(Sheet sheet, String title) {\n\n String label1 = \"TẬP ĐOÀN VIỄN THÔNG QUÂN ĐỘI\";\n String label2 = \"TỔNG CÔNG TY VIỄN THÔNG VIETTEL\";\n String label3 = \"CỘNG HOÀ XÃ HỘI CHỦ NGHĨA VIỆT NAM\";\n String label4 = \"Độc Lập - Tự Do - Hạnh Phúc\";\n\n createCellObject(sheet, 0, 0, label1, getCsSubTitle());\n createCellObject(sheet, 0, 1, label2, getCsCenterNoboderBoldweight());\n createCellObject(sheet, 5, 0, label3, getCsSubTitle());\n createCellObject(sheet, 5, 1, label4, getCsCenterNoboderBoldweight());\n createCellObject(sheet, 1, 4, title, getCsTitle());\n\n ExcelWriterUtils.mergeCells(sheet, 0, 0, 0, 2);\n ExcelWriterUtils.mergeCells(sheet, 1, 1, 0, 2);\n ExcelWriterUtils.mergeCells(sheet, 0, 0, 5, 8);\n ExcelWriterUtils.mergeCells(sheet, 1, 1, 5, 8);\n ExcelWriterUtils.mergeCells(sheet, 4, 4, 1, 6);\n\n setRowHeight(sheet, 4, 630);\n }", "public void setSheetNumber(int number){\n this.sheetNumber = number;\n }", "public void setTemplateId(String tmp) {\n this.setTemplateId(Integer.parseInt(tmp));\n }", "public void setTemplateFileName( String templateFileName )\n {\n _strTemplateFileName = templateFileName;\n }", "public void setTemplate(ProducerTemplate template) {\n this.template = template;\n }", "public abstract void setTemplDesc(String templDesc);", "public static void assignTemplateName(String templateName) {\n trialWizardPreferences.put(CURRENT_TEMPLATE, templateName);\n }", "public void setGraphicTemplateToUse(String template) throws\n\t\tInvalidGraphicTemplateException\n\t{\n\t\ttry\n\t\t{\n\t\t\tClass userPropClass = MedSummaryUserProperties.class;\n\n\t\t\tpCFactory.setPageCreatorToUse(template); // identifier\n\n\t\t\tpageView.setPageCreator(pCFactory.createPageCreator()); // triggers refresh\n\n\t\t\tmVDH.setUserStringPreference(LAST_GRAPHIC_TEMPLATE_USED_PROPERTY, template, userPropClass);\n\t\t}\n\t\tcatch (InvalidPageCreatorException e)\n\t\t{\n\t\t\tthrow new InvalidGraphicTemplateException(e.getMessage());\n\t\t}\n\t}", "public void setTemplate(HibernateTemplate template) {\n\t\tthis.template = template;\n\t}", "public void setDebuggerTemplate(final DebuggerTemplate template) throws CouldntSaveDataException {\n try {\n m_module.getConfiguration().setDebuggerTemplate(template == null ? null : template.getNative());\n } catch (final com.google.security.zynamics.binnavi.Database.Exceptions.CouldntSaveDataException e) {\n throw new CouldntSaveDataException(e);\n }\n }", "private void setTemplateHandler(TemplateHandler3D templateHandler) throws CDKException {\n\t\tif (templateHandler == null) throw new NullPointerException(\"The given template handler is null!\");\n\t\t\n\t\tthis.templateHandler = templateHandler;\n\t}", "public void setSheetId(long value) {\r\n this.sheetId = value;\r\n }", "public void setTitle(String titleTemplate);", "public MapSheetTemplate(String sheetName) {\n\t\tsuper(sheetName);\n\t\ttileType = 0;\n\n\t\tfor (int x = 0; x < size.x; x++) {\n\t\t\tfor (int y = 0; y < size.y; y++) {\n\t\t\t\tdata[x][y] = new TileDataOLD(x, y);\n\t\t\t}\n\t\t}\n\t\tTileDataOLD td;\n\n\t\tloadData();\n\n\t\tcreateAnimationData(1, 20, 1, 11, 4, 0.07); // Flower\n\t\t// createAnimationData(2, 26, 5, 0, 4, 0.07); // Water\n\t\t// createAnimationData(2, 27, 5, 1, 4, 0.07); // Puddle\n\t\t// createAnimationData(2, 25, 5, 15, 4, 0.07); // Ocean Water\n\n\t\t// Terrain.\n\t\tcreateLedgeData(1, 3, Direction.SOUTH);\n\t\tcreateLedgeData(1, 4, Direction.SOUTH);\n\n\t\tcreateCollisionData(4, 0, MODEL_CORNER_NW);\n\t\tcreateCollisionLedgeData(5, 0, MODEL_EDGE_N, Direction.NORTH);\n\t\tcreateCollisionData(6, 0, MODEL_CORNER_NE);\n\t\tcreateCollisionLedgeData(4, 1, MODEL_EDGE_W, Direction.WEST);\n\t\tcreateCollisionLedgeData(6, 1, MODEL_EDGE_E, Direction.EAST);\n\t\tcreateCollisionData(4, 2, MODEL_CORNER_SW);\n\t\tcreateCollisionLedgeData(5, 2, MODEL_EDGE_S, Direction.SOUTH);\n\t\tcreateCollisionData(6, 2, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(4, 3, MODEL_INSIDE_CORNER_SE);\n\t\tcreateCollisionData(5, 3, MODEL_INSIDE_CORNER_SW);\n\t\tcreateCollisionData(4, 4, MODEL_INSIDE_CORNER_NE);\n\t\tcreateCollisionData(5, 4, MODEL_INSIDE_CORNER_NW);\n\n\t\tcreateCollisionData(6, 3, MODEL_EDGE_W);\n\t\tcreateCollisionData(7, 3, MODEL_EDGE_E);\n\t\tcreateCollisionData(6, 4, MODEL_CORNER_SW);\n\t\tcreateCollisionData(7, 4, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(7, 0, MODEL_CORNER_NW);\n\t\tcreateCollisionLedgeData(8, 0, MODEL_EDGE_N, Direction.NORTH);\n\t\tcreateCollisionData(9, 0, MODEL_CORNER_NE);\n\t\tcreateCollisionLedgeData(7, 1, MODEL_EDGE_W, Direction.WEST);\n\t\tcreateCollisionLedgeData(9, 1, MODEL_EDGE_E, Direction.EAST);\n\t\tcreateCollisionData(7, 2, MODEL_CORNER_SW);\n\t\tcreateCollisionLedgeData(8, 2, MODEL_EDGE_S, Direction.SOUTH);\n\t\tcreateCollisionData(9, 2, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(8, 3, MODEL_INSIDE_CORNER_SE);\n\t\tcreateCollisionData(9, 3, MODEL_INSIDE_CORNER_SW);\n\t\tcreateCollisionData(8, 4, MODEL_INSIDE_CORNER_NE);\n\t\tcreateCollisionData(9, 4, MODEL_INSIDE_CORNER_NW);\n\n\t\tcreateCollisionData(8, 5, MODEL_EDGE_W);\n\t\tcreateCollisionData(9, 5, MODEL_EDGE_E);\n\t\tcreateCollisionData(8, 6, MODEL_CORNER_SW);\n\t\tcreateCollisionData(9, 6, MODEL_CORNER_SE);\n\n\t\tcreateCollisionLedgeData(8, 7, MODEL_EDGE_S, Direction.SOUTH);\n\n\n\t\t// Doorways/Entrances.\n\t\tcreateCollisionData(10, 7, MODEL_EDGE_N);\n\t\tcreateCollisionData(11, 7, MODEL_EDGE_N);\n\t\tcreateCollisionData(11, 8, MODEL_EDGE_N);\n\t\tcreateCollisionData(6, 25, MODEL_EDGE_N);\n\t\tcreateCollisionData(3, 33, MODEL_EDGE_N);\n\n\n\t\t// Bridges.\n\t\tcreateCollisionData(5, 33, MODEL_BRIDGE_H_TOP);\n\t\tcreateCollisionData(5, 34, MODEL_BRIDGE_H_BOTTOM);\n\t\tcreateCollisionData(6, 33, MODEL_BRIDGE_H);\n\t\tcreateCollisionData(6, 34, MODEL_BRIDGE_V_LEFT);\n\t\tcreateCollisionData(7, 34, MODEL_BRIDGE_V_RIGHT);\n\t\tcreateCollisionData(7, 33, MODEL_BRIDGE_V);\n\n\n\t\t// Waterfalls.\n\t\ttd = createCollisionLedgeData(0, 25, MODEL_BLOCK, Direction.SOUTH);\n\t\ttd.setAnimation(5, 13, 4, 0.07);\n\t\ttd = createCollisionLedgeData(0, 26, MODEL_BLOCK, Direction.SOUTH);\n\t\ttd.setAnimation(5, 14, 4, 0.07);\n\t}", "public void setTemplateButtons() {\r\n\t\tbtnSetBirth.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetBirth) {\r\n\t\t\t\t\tlblTemplateBirthday.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplateBirthday = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnSetAnniv.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetAnniv) {\r\n\t\t\t\t\tlblTemplateAnniv.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplateAnniv = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnSetPromo.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetPromo) {\r\n\t\t\t\t\tlblPromoTemplate.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplatePromo = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\r\n\t}", "public void setTemplateID(TemplateID templateID) {\n\t\tthis.templateID = templateID;\n\t}", "public void setTemplateCode(String templateCode) {\n this.templateCode = templateCode;\n }", "public void setSheetNumberForGermplasm(Integer sheetNumber);", "public void setTemplateName(java.lang.Object templateName) {\n this.templateName = templateName;\n }", "public void setTemplate(JdbcTemplate template) {\n\t\tthis.template = template;\n\t}", "private void saveTemplate()\r\n {\r\n\t String template = keyField.getText();\r\n\r\n\t int lenI = values.length, lenJ, lenK;\r\n\t String[][][] newValues = new String[lenI][][];\r\n\t for (int i=0; i<lenI; i++)\r\n\t {\r\n\t\t lenJ = values[i].length;\r\n\t\t newValues[i] = new String[lenJ][];\r\n\t\t for (int j=0; j<lenJ; j++)\r\n\t\t {\r\n\t\t\t lenK = values[i][j].length;\r\n\t\t\t newValues[i][j] = new String[lenK];\r\n\t\t\t for (int k=0; k<lenK; k++)\r\n\t\t\t\t values[i][j][k] = values[i][j][k];\r\n\t\t }\r\n\t }\r\n\t \r\n\t if (template.length()==0)\r\n\t {\r\n\t\t label.setText(\"Please enter a valid template name\");\r\n\t\t return;\r\n\t }\r\n\t \r\n\t // Update or store to the list of templates.\r\n for (int i=0; i<newValues.length; i++)\r\n \t for (int j=0; j<newValues[i].length; j++)\r\n\t\t\t newValues[i][j] = getComponentArray(components[i][j]);\r\n \r\n \t if (!definitionBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.D_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.D_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n \t if (!categoryBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.C_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.C_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n \t if (!exampleBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.E_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.E_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n\r\n templates.setTemplate(template, newValues);\r\n\r\n if (!model.contains(template))\r\n\t {\r\n\t int size = templateKeys.length;\r\n\t String[] newTemplates = new String[templateKeys.length + 1];\r\n\t if (templateKeys.length != 0)\r\n\t \t System.arraycopy(templateKeys, 0, newTemplates, 0, size);\r\n\t \r\n\t newTemplates[size] = template;\r\n\t templateKeys = newTemplates;\r\n\t model.add(size, templateKeys[size]);\r\n\t list.setSelectedIndex(size);\r\n\t }\r\n label.setText(\"Display format \" + template + \" saved\");\r\n }", "public void setSheetName(String name){\n this.sheetName = name;\n }", "public Template getValueTemplate() {\n\t\treturn valueTemplate;\n\t}", "public void setSheetIndex(int sheetIndex) {\r\n this.sheetIndex = sheetIndex;\r\n }", "@Override\n public void setTplPath(String arg0) {\n\n }", "@Test\n public void updateTemplateTest() throws IdfyException, Exception {\n UUID id = UUID.randomUUID();\n UpdatePdfTemplate model = new UpdatePdfTemplate.Builder().build();\n PdfTemplate response = api.updateTemplate(id, model);\n assertNotNull(response);\n }", "public native Template set(String html, boolean compile) /*-{\r\n\t\tvar template = [email protected]::getJsObj()();\r\n\t\ttemplate.set(html, compile);\r\n\t\treturn this;\r\n\t}-*/;", "private void setTemplateFile() throws IOException, BusinessException, ObjectNotFoundException, JackrabbitException,\n CertitoolsAuthorizationException, BadElementException {\n super.setFolder(folder);\n if (fileTemplate1 != null) {\n String folderPath;\n if (insertFolderFlag) {\n folderPath = folderId + \"/folders/\" + folder.getName();\n } else {\n folderPath = PlanUtils.getParentPath(folderId) + \"/folders/\" + folder.getName();\n }\n\n Template1Diagram template1Diagram = new Template1Diagram(new Resource(\"/\" + fileTemplate1.getFileName(),\n fileTemplate1.getFileName(),\n fileTemplate1.getContentType(), fileTemplate1.getInputStream(),\n \"\" + fileTemplate1.getSize(), true),\n PlanUtils.convertResourceToHTML(folderPath, getContext().getRequest().getContextPath(),\n getModuleTypeFromEnum()));\n if (replaceImageMap == null) {\n replaceImageMap = Boolean.FALSE;\n }\n if (!insertFolderFlag && !replaceImageMap) {\n\n Folder previousVersion =\n planService.findFolder(folderId, true, getUserInSession(), getModuleTypeFromEnum());\n try {\n TemplateWithImage previousTemplate = (TemplateWithImage) previousVersion.getTemplate();\n String htmlContent = template.getImageMap();\n Image newImage = TemplateWithImageUtils.getImage(fileTemplate1.getInputStream());\n Image oldImage = TemplateWithImageUtils.getImage(previousTemplate.getResource().getData());\n\n String unescapedHtml = StringEscapeUtils.unescapeHtml(htmlContent);\n\n String htmlResultContent = TemplateWithImageUtils.resizeImageMap(unescapedHtml, oldImage, newImage);\n\n if(htmlResultContent != null){\n template1Diagram.setImageMap(htmlResultContent);\n }\n } catch (ClassCastException ex) {\n //Do nothing\n }\n }\n super.setTemplateToFolder(template1Diagram);\n\n } else {\n Folder dbFolder = planService.findFolder(folderId, false, getUserInSession(), getModuleTypeFromEnum());\n //User does not changed template\n if (dbFolder.getTemplate().getName().equals(Template.Type.TEMPLATE_DIAGRAM.getName())) {\n Template1Diagram dbTemplate1Diagram = (Template1Diagram) dbFolder.getTemplate();\n //set old resource and update image Map\n super.setTemplateToFolder(\n new Template1Diagram(dbTemplate1Diagram.getResource(), template.getImageMap()));\n } else {\n //User changed template to this one, and do not upload image, so create empty template\n super.setTemplateToFolder(new Template1Diagram());\n }\n }\n }", "public abstract void setDisabTempl(int disabTempl);", "public void setTemplateName(String templateName) {\r\n\t\tthis.templateName = templateName;\r\n\t}", "public void setSheetName(int arg0, String arg1) {\n\n\t}", "public void applyTemplate(JasperDesign design, Template template)\n\t{\n\t}", "public final ElemTemplate getTemplate() {\n/* 220 */ return this.m_template;\n/* */ }", "public Object putSheetOverlay(String sheetName, String beanPath, Object value) {\n Sheet sheet = getOrCreateSheet(sheetName); \n Object prevVal = sheet.getMap().put(beanPath, value);\n try {\n sheet.prime(); \n } catch (TypeMismatchException tme) {\n // revert to presumably non-damaging value\n sheet.getMap().put(beanPath, prevVal);\n throw tme;\n }\n return prevVal; \n }", "public void setTemplateid(Integer templateid) {\n this.templateid = templateid;\n }", "public void setTemplatesPage(org.semanticwb.model.WebPage value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swpres_templatesPage, value.getSemanticObject());\r\n }else\r\n {\r\n removeTemplatesPage();\r\n }\r\n }", "final public void setTemplateSource(String templateSource)\n {\n setProperty(TEMPLATE_SOURCE_KEY, (templateSource));\n }", "default Object assignmentBefore(Sheet sheet, Row row, Cell cell, ExcelField excelField, Field field, int index, int colIndex, boolean isHead, Object value) {\n return value;\n }", "public void setCellValue(int rowNum,int cellNum,String cellValue,String excelFilepath) throws IOException {\n\t\t sheet.getRow(rowNum).createCell(cellNum).setCellValue(cellValue);\n\t\t FileOutputStream outputStream=new FileOutputStream(excelFilepath);\n\t\t workbook.write(outputStream);\n\t\t \n\n\t}", "public void setTemplateFilename(String templateFilename) {\n\t\tthis.templateFilename = StringUtil.replaceExtension(templateFilename, \"html\");\n\t}", "public void setCurrentTimesheet(Timesheet currentTimesheet) {\n\t\tthis.currentTimesheet = currentTimesheet;\n\t}", "public int getSheetNumber(){\n return sheetNumber;\n }", "public void setTemplateStore(TemplateStore store) {\n \t\tfTemplateStore= store;\n \t}", "public void setTemplateName(String templateName) {\n this.templateName = templateName;\n }", "public static void setExcelFileSheet(String sheetName) throws IOException {\n\t testDataExcelPath = currentDir+\"\\\\src\\\\example\\\\trademeSellAndBuy\\\\testData\\\\\";\n\t // Open the Excel file\n FileInputStream excelFile = new FileInputStream(new File(testDataExcelPath + testDataExcelFileName));\n excelWBook = new XSSFWorkbook(excelFile);\n excelWSheet = (XSSFSheet) excelWBook.getSheet(sheetName);\n }", "public void setValueAt(Object value, int row, int column) {\r\n switch(column){\r\n case FILENAME:\r\n ((CoverFooterItemType)data.get(row)).setFileName(value.toString());\r\n break;\r\n \r\n case PATH:\r\n ((CoverFooterItemType)data.get(row)).setFilePath(value.toString());\r\n break;\r\n \r\n case PAGES:\r\n ((CoverFooterItemType)data.get(row)).setNumPages(value.toString());\r\n break;\r\n \r\n case PAGESELECTION:\r\n ((CoverFooterItemType)data.get(row)).setPageSelection(value.toString());\r\n break;\r\n \r\n } \r\n }", "public void createCell(XSSFWorkbook xssfWorkbook, XSSFRow row,CellStyle cellStyle, String cellValue, int cellNum) {\n if (StringUtils.isNotBlank(cellValue)){\n XSSFCell cell = row.createCell(cellNum);\n cell.setCellValue(cellValue);\n cell.setCellStyle(cellStyle);\n }\n }", "public Builder setTemplateId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n templateId_ = value;\n onChanged();\n return this;\n }", "public static void setCellData(String value, int RowNum, int ColNum) throws IOException {\n\t row = excelWSheet.getRow(RowNum);\n\t cell =row.getCell(ColNum);\n\t if (cell == null) {\n\t \tcell = row.createCell(ColNum);\n\t \tcell.setCellValue(value);\n\t }else {\n\t \tcell.setCellValue(value);\n\t }\n\t // Constant variables Test Data path and Test Data file name\n\t FileOutputStream fileOut = new FileOutputStream(testDataExcelPath + testDataExcelFileName);\n excelWBook.write(fileOut);\n fileOut.flush();\n fileOut.close();\n \n }", "void setTemp(String name, Object value);", "private void loadTemplate()\r\n {\r\n String key = list.getSelectedValue();\r\n if (key==null) return;\r\n \r\n String[][][] template = templates.getTemplate(key);\r\n clearComponents();\r\n \r\n \t definitionBox.setSelected(template[FormatData.t.D_HDR.ordinal()].length != 0);\r\n \t categoryBox.setSelected(template[FormatData.t.C_HDR.ordinal()].length != 0);\r\n \t exampleBox.setSelected(template[FormatData.t.E_HDR.ordinal()].length != 0);\r\n \r\n keyField.setText(key);\r\n int len; \r\n for (int i=0; i<template.length; i++)\r\n { \r\n \t len = (template[i].length < components[i].length) ? template[i].length : components[i].length;\r\n \t for (int j=0; j<len; j++)\r\n\t\t\t setComponentArray(components[i][j], template[i][j]);\r\n }\r\n }", "void xsetValue(org.apache.xmlbeans.XmlString value);", "public abstract void setCellValue(int cellValue, int row, int col);", "public static void setExcelFile(String filePath, String shName)\n\t{\n\t\t//open excel file\n\t\ttry {\n\t\t\tlogger.info(\"creating file inputstream object and setting up file path and sheet\");\n\t\t\tFileInputStream fis = new FileInputStream(filePath);\n\t\t\t\n\t\t\tlogger.debug(\"creating new object for workbook\");\n\t\t\t\n\t\t\txlWBook = new XSSFWorkbook(fis); \n\t\t\t\n\t\t\tlogger.debug(\"get sheet from workbook object\");\n\t\t\txlSheet = xlWBook.getSheet(shName);\n\t\t\tlogger.info(\"created xl sheet object\");\n\t\t\t\t\t\t\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t\n\t\t\tlogger.error(\"Function - setExcelFile: file not found\", e);\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\tlogger.error(\"Function - setExcelFile: IO exception occured\", e);\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t}", "public void setContent(T content);", "public void setTitlePopup(String t) {\n/* 147 */ getCOSObject().setString(COSName.T, t);\n/* */ }", "public String getTemplateCode() {\n return templateCode;\n }", "public void setTemplateIdArray(int i, com.walgreens.rxit.ch.cda.II templateId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.II target = null;\n target = (com.walgreens.rxit.ch.cda.II)get_store().find_element_user(TEMPLATEID$4, i);\n if (target == null)\n {\n throw new IndexOutOfBoundsException();\n }\n target.set(templateId);\n }\n }", "private static String setValue(HSSFSheet sheet, String cellContent, String value){\n\n int rowNum = 0; \n int colNum = 0; \n for(Row row : sheet) {\n for(Cell cell : row) {\n// boolean bul =cell.getStringCellValue().trim().equalsIgnoreCase(cellContent.trim());\n// System.out.println(bul);\n\n if(cell.getStringCellValue().trim().equalsIgnoreCase(cellContent.trim())){\n\n rowNum = row.getRowNum();\n colNum = cell.getColumnIndex();\n HSSFRow nRow= sheet.getRow(1);\n HSSFCell nCell = nRow.getCell(colNum);\n if(nCell.getCellType() == HSSFCell.CELL_TYPE_STRING)\n {\n nCell.setCellValue(value);\n// value = (nCell.getStringCellValue() == null) ? \"\" : nCell.getStringCellValue();\n }\n else if(nCell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC)\n {\n// value = (String) (((Double)nCell.getNumericCellValue() == null) ? \"\" : nCell.getNumericCellValue());\n }\n else if(nCell.getCellType() == HSSFCell.CELL_TYPE_BLANK)\n {\n// value = \"\";\n } \n break;\n }\n }\n break;\n } \n return value; \n }", "String setValue();", "public void createTemp(String TemplateType){\r\n ts.create(TemplateType);\r\n }", "public abstract void setCell(int row, int column, T item);", "public String getSheetName(){\n return sheetName;\n }", "public void setCell(Cell cell)\n {\n myCell = cell;\n }", "@Test\n public void fieldTemplate() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n // We can set a template name using by the fields. This property is used when the \"doc.AttachedTemplate\" is empty.\n // If this property is empty the default template file name \"Normal.dotm\" is used.\n doc.getFieldOptions().setTemplateName(\"\");\n\n FieldTemplate field = (FieldTemplate) builder.insertField(FieldType.FIELD_TEMPLATE, false);\n Assert.assertEquals(field.getFieldCode(), \" TEMPLATE \");\n\n builder.writeln();\n field = (FieldTemplate) builder.insertField(FieldType.FIELD_TEMPLATE, false);\n field.setIncludeFullPath(true);\n\n Assert.assertEquals(field.getFieldCode(), \" TEMPLATE \\\\p\");\n\n doc.updateFields();\n doc.save(getArtifactsDir() + \"Field.TEMPLATE.docx\");\n //ExEnd\n\n doc = new Document(getArtifactsDir() + \"Field.TEMPLATE.docx\");\n\n field = (FieldTemplate) doc.getRange().getFields().get(0);\n Assert.assertEquals(\" TEMPLATE \", field.getFieldCode());\n Assert.assertEquals(\"Normal.dotm\", field.getResult());\n\n field = (FieldTemplate) doc.getRange().getFields().get(1);\n Assert.assertEquals(\" TEMPLATE \\\\p\", field.getFieldCode());\n Assert.assertEquals(\"Normal.dotm\", field.getResult());\n }", "protected Template editTemplate(Template template, boolean edit, boolean isNameModifiable) {\n \t\tEditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, edit, isNameModifiable, fContextTypeRegistry);\n \t\tif (dialog.open() == Window.OK) {\n \t\t\treturn dialog.getTemplate();\n \t\t}\n \t\treturn null;\n \t}", "public ResolvedTemplate(Template template){\n\t\tthis.template = template;\n\t\tthis.postParseReplacement = \"\";\n\t\tcheckPreParseReplacement();\n\t}", "public void addToTemplates() {\n mTemplateId = mPreferenceManager.getTemplateId();\n if (isConverted) {\n if (mPreferenceManager.getTemplateId().equals(ConstantsManager.CONVERTER_TEMPLATE_ID_DEFAULT)) {\n mTemplateId = mDatabaseManager.getTemplateNewId();\n mPreferenceManager.setTemplateId(mTemplateId);\n saveTemplate(mToastCreated);\n } else {\n showDialog();\n }\n } else {\n mBaseActivity.showToast(mToastFailure);\n }\n }", "public void setSheetSelected(int posSheet) {\n try {\n workbook.setActiveSheet(posSheet);\n } catch (IllegalArgumentException ex) {\n workbook.setActiveSheet(0);\n }\n }", "public void setBalanceSheet(String balanceSheet) {\n\n this.balanceSheet = balanceSheet;\n }", "@DISPID(14) //= 0xe. The runtime will prefer the VTID if present\n @VTID(21)\n void templateID(\n int pVal);", "public static XSSFSheet setExcelFile() throws Exception {\n\n XSSFSheet ExcelWSheet;\n XSSFWorkbook ExcelWBook;\n XSSFRow Row;\n String Path;\n String SheetName;\n\n try {\n // Open the Excel file\n Path = fetchMyProperties(\"spreadsheet_path\");\n SheetName= fetchMyProperties(\"sheet_name\");\n FileInputStream ExcelFile = new FileInputStream(Path);\n\n // Access the required test data sheet\n ExcelWBook = new XSSFWorkbook(ExcelFile);\n ExcelWSheet = ExcelWBook.getSheet(SheetName);\n\n } catch (Exception e){\n throw (e);\n }\n return ExcelWSheet;\n }", "public ShiftTemplate(Integer shiftId) {\n this.shiftId = shiftId;\n }", "void xsetValue(org.apache.xmlbeans.XmlInt value);", "public static void setCoulmnData( String xlFilePath, String xlFileName, String xlSheetName, int rowNum , int colNum , String cellValue) throws IOException {\n\t\tFile file = new File( xlFilePath + \"\\\\\" + xlFileName);\n\t\t\n\t\t// create an Obj of FileInputStream class to read the excel file\n\t\tFileInputStream inputStream = new FileInputStream( file);\n\t\t\n\t\tWorkbook myworkbook = null;\n\t\t\n\t\t// find the file name extension by spilitting the file at . and finding only the extension\n\t\tString fileNameExtension = xlFileName.substring( xlFileName.indexOf('.'));\n\t\t\n\t\tif( fileNameExtension.equals(\".xlsx\")) {\n\t\t\t\n\t\t\tmyworkbook = new XSSFWorkbook(inputStream);\n\t\t\t\n\t\t}\n\t\telse if( fileNameExtension.equals(\".xls\")) {\n\t\t\tmyworkbook = new HSSFWorkbook( inputStream);\n\t\t}\n\t\t\n\t\tSheet mySheet = myworkbook.getSheet(xlSheetName);\n\t\t\n\t\tint rowsCount = mySheet.getLastRowNum() - mySheet.getFirstRowNum();\n\t\n\t\tRow row = null;\n\t\tif( rowNum > rowsCount) {\n\t\t\trow = mySheet.createRow(rowNum);\n\t\t}\n\t\telse {\n\t\t\trow = mySheet.getRow(rowNum);\n\t\t}\n\t\t\n\t\tCell cell = row.createCell(rowsCount);\n\t\tcell.setCellValue(cellValue);\n\n\t\t\n\t\t// create an Obj of OutputFileStream class to write data to file\n\t\tFileOutputStream outputStream = new FileOutputStream( file);\n\t\t\n\t\t// write workbook to the file\n\t\tmyworkbook.write(outputStream);\n\t\t\n\t\tmyworkbook.close();\n\n\t\t// close input Stream\n\t\tinputStream.close();\n\n\t\t// close the output stream\n\t\toutputStream.close();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public void setSheetNameForGermplasm(String sheetName);", "@Override\n protected Sheet createSheet() {\n Sheet sheet = Sheet.createDefault();\n // Create a set of properties\n Sheet.Set set = Sheet.createPropertiesSet();\n\n set.put(getNameProperty());\n set.put(getMajorProperty());\n set.put(getMinorProperty());\n set.put(getPatchProperty());\n set.put(getDescriptionProperty());\n set.put( getGitProperty());\n set.put( getBranchProperty());\n\n // Add the set of properties to the sheet\n sheet.put(set);\n\n return sheet;\n }", "public void setActiveSheet(int arg0) {\n\n\t}", "public void setSheetOrder(int sheetOrder) {\n this.sheetOrder = sheetOrder;\n }", "String getTemplate();", "public final void setOptionSetup_QuestionTemplate(com.mendix.systemwideinterfaces.core.IContext context, questionnairev2.proxies.QuestionTemplate optionsetup_questiontemplate)\r\n\t{\r\n\t\tif (optionsetup_questiontemplate == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.OptionSetup_QuestionTemplate.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.OptionSetup_QuestionTemplate.toString(), optionsetup_questiontemplate.getMendixObject().getId());\r\n\t}", "public Template getTemplate() {\n \t\t\treturn fNewTemplate;\n \t\t}", "@Override\n public void updateBeanDetails(TimeSheet t)\n {\n \n }", "public void saveTemplate(String toastText) {\n SimpleDateFormat simpleDateFormatY = new SimpleDateFormat(\"yyyy\");\n SimpleDateFormat simpleDateFormatM = new SimpleDateFormat(\"MM\");\n SimpleDateFormat simpleDateFormatD = new SimpleDateFormat(\"dd\");\n SimpleDateFormat simpleDateFormatH = new SimpleDateFormat(\"HH\");\n SimpleDateFormat simpleDateFormatMin = new SimpleDateFormat(\"mm\");\n SimpleDateFormat simpleDateFormatS = new SimpleDateFormat(\"ss\");\n String year = simpleDateFormatY.format(System.currentTimeMillis());\n String month = simpleDateFormatM.format(System.currentTimeMillis());\n String day = simpleDateFormatD.format(System.currentTimeMillis());\n String hour = simpleDateFormatH.format(System.currentTimeMillis());\n String minute = simpleDateFormatMin.format(System.currentTimeMillis());\n String second = simpleDateFormatS.format(System.currentTimeMillis());\n mDatabaseManager.addDataInTemplateTable(\n new TemplateEntity(mTemplateId, mOrganizationId, mCurrencyShortForm,\n mStartValue, mDirection, mAction, year + \"-\" + month + \"-\" + day + \" \" + hour + \":\" + minute + \";\" + second)\n );\n mBaseActivity.showToast(toastText);\n isSaved = true;\n switch (mRootParameter) {\n case ConstantsManager.CONVERTER_OPEN_FROM_TEMPLATES:\n case ConstantsManager.CONVERTER_OPEN_FROM_CURRENCY:\n case ConstantsManager.CONVERTER_OPEN_FROM_ORGANIZATION:\n getActivity().setResult(ConstantsManager.CONVERTER_ACTIVITY_RESULT_CODE_CHANGED);\n if (isFinish) {\n getActivity().finish();\n }\n break;\n }\n }", "public abstract void mo32008e(TemplateInfo templateInfo);", "public String getTemplateName()\n {\n return MY_TEMPLATE;\n }" ]
[ "0.7448289", "0.65273577", "0.5894144", "0.588137", "0.5870661", "0.57219917", "0.5707585", "0.5685162", "0.5550099", "0.54945195", "0.5492603", "0.5468995", "0.54521614", "0.5443343", "0.5432349", "0.5400631", "0.5373398", "0.53134525", "0.5304442", "0.5270659", "0.5239045", "0.5231296", "0.52197194", "0.516051", "0.5151461", "0.51176643", "0.5088672", "0.5069633", "0.5025559", "0.50199807", "0.49689525", "0.49673772", "0.49058467", "0.48750308", "0.48588592", "0.48487034", "0.48467594", "0.48409995", "0.48362795", "0.48318133", "0.48204863", "0.48203513", "0.4819603", "0.48140433", "0.47919932", "0.47856408", "0.47851473", "0.47817078", "0.47782016", "0.47689533", "0.47493443", "0.47443262", "0.47436744", "0.47397754", "0.47392106", "0.4713086", "0.47094607", "0.47051015", "0.46986407", "0.4673685", "0.46623147", "0.46505618", "0.46472877", "0.46420392", "0.4613601", "0.46103042", "0.4604863", "0.4598928", "0.45922214", "0.45892236", "0.45825407", "0.4574036", "0.45676354", "0.4561464", "0.4544142", "0.4538959", "0.45338073", "0.45321107", "0.4526153", "0.45242476", "0.45032617", "0.44979388", "0.44939464", "0.4492975", "0.44903156", "0.4472833", "0.44669032", "0.44656205", "0.44621602", "0.44510388", "0.44445962", "0.4443818", "0.44422704", "0.4441324", "0.44375777", "0.44331002", "0.44303167", "0.4430247", "0.44298524", "0.44213524" ]
0.72866887
1
Set value of MxSheet_Template
public final void setMxSheet_Template(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxTemplate mxsheet_template) { if (mxsheet_template == null) getMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), null); else getMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), mxsheet_template.getMendixObject().getId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_Template(xlsreport.proxies.MxTemplate mxsheet_template)\r\n\t{\r\n\t\tsetMxSheet_Template(getContext(), mxsheet_template);\r\n\t}", "public void setTemplate(Template template)\n/* */ {\n/* 62 */ this.template = template;\n/* */ }", "private void setTemplate(MazeTemplate mt)\n {\n if (mt == mCurrentTemplate)\n return;\n\n mCurrentTemplate = mt;\n if (mCurrentTemplate == null)\n {\n mMazeView.setEditable(true);\n }\n else\n {\n mMazeView.setEditable(false);\n mt.reset();\n }\n mMazeView.setTemplate(mt);\n }", "public void setTemplate(MetaData mdTemplate) throws IOException;", "void setTemplate(ITemplateKey key, Template template);", "public abstract void setTemplId(Integer templId);", "public void setTemplate( byte[] value)\n {\n m_Template = value;\n }", "public abstract void setTemplCd(String templCd);", "@Accessor(qualifier = \"exportTemplate\", type = Accessor.Type.SETTER)\n\tpublic void setExportTemplate(final HeaderLibraryModel value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(EXPORTTEMPLATE, value);\n\t}", "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 }", "@Override\n public void setBean(TimeSheet t)\n {\n \n }", "public native Template set(String html) /*-{\r\n\t\tvar template = [email protected]::getJsObj()();\r\n\t\ttemplate.set(html);\r\n\t\treturn this;\r\n\t}-*/;", "public void setTemplateId(int tmp) {\n this.templateId = tmp;\n }", "private MessageProperty setTemplateVar(String key, String value){\n\t\tMessageProperty property = new MessageProperty();\n\t\tproperty.setPropertyName(key);\n\t\tproperty.setPropertyValue(appendCDATA(value));\n\t\treturn property;\n\t}", "public void creatTemplate(Sheet sheet, String title) {\n\n String label1 = \"TẬP ĐOÀN VIỄN THÔNG QUÂN ĐỘI\";\n String label2 = \"TỔNG CÔNG TY VIỄN THÔNG VIETTEL\";\n String label3 = \"CỘNG HOÀ XÃ HỘI CHỦ NGHĨA VIỆT NAM\";\n String label4 = \"Độc Lập - Tự Do - Hạnh Phúc\";\n\n createCellObject(sheet, 0, 0, label1, getCsSubTitle());\n createCellObject(sheet, 0, 1, label2, getCsCenterNoboderBoldweight());\n createCellObject(sheet, 5, 0, label3, getCsSubTitle());\n createCellObject(sheet, 5, 1, label4, getCsCenterNoboderBoldweight());\n createCellObject(sheet, 1, 4, title, getCsTitle());\n\n ExcelWriterUtils.mergeCells(sheet, 0, 0, 0, 2);\n ExcelWriterUtils.mergeCells(sheet, 1, 1, 0, 2);\n ExcelWriterUtils.mergeCells(sheet, 0, 0, 5, 8);\n ExcelWriterUtils.mergeCells(sheet, 1, 1, 5, 8);\n ExcelWriterUtils.mergeCells(sheet, 4, 4, 1, 6);\n\n setRowHeight(sheet, 4, 630);\n }", "public void setSheetNumber(int number){\n this.sheetNumber = number;\n }", "public void setTemplateId(String tmp) {\n this.setTemplateId(Integer.parseInt(tmp));\n }", "public void setTemplateFileName( String templateFileName )\n {\n _strTemplateFileName = templateFileName;\n }", "public void setTemplate(ProducerTemplate template) {\n this.template = template;\n }", "public abstract void setTemplDesc(String templDesc);", "public static void assignTemplateName(String templateName) {\n trialWizardPreferences.put(CURRENT_TEMPLATE, templateName);\n }", "public void setGraphicTemplateToUse(String template) throws\n\t\tInvalidGraphicTemplateException\n\t{\n\t\ttry\n\t\t{\n\t\t\tClass userPropClass = MedSummaryUserProperties.class;\n\n\t\t\tpCFactory.setPageCreatorToUse(template); // identifier\n\n\t\t\tpageView.setPageCreator(pCFactory.createPageCreator()); // triggers refresh\n\n\t\t\tmVDH.setUserStringPreference(LAST_GRAPHIC_TEMPLATE_USED_PROPERTY, template, userPropClass);\n\t\t}\n\t\tcatch (InvalidPageCreatorException e)\n\t\t{\n\t\t\tthrow new InvalidGraphicTemplateException(e.getMessage());\n\t\t}\n\t}", "public void setTemplate(HibernateTemplate template) {\n\t\tthis.template = template;\n\t}", "public void setDebuggerTemplate(final DebuggerTemplate template) throws CouldntSaveDataException {\n try {\n m_module.getConfiguration().setDebuggerTemplate(template == null ? null : template.getNative());\n } catch (final com.google.security.zynamics.binnavi.Database.Exceptions.CouldntSaveDataException e) {\n throw new CouldntSaveDataException(e);\n }\n }", "private void setTemplateHandler(TemplateHandler3D templateHandler) throws CDKException {\n\t\tif (templateHandler == null) throw new NullPointerException(\"The given template handler is null!\");\n\t\t\n\t\tthis.templateHandler = templateHandler;\n\t}", "public void setSheetId(long value) {\r\n this.sheetId = value;\r\n }", "public void setTitle(String titleTemplate);", "public MapSheetTemplate(String sheetName) {\n\t\tsuper(sheetName);\n\t\ttileType = 0;\n\n\t\tfor (int x = 0; x < size.x; x++) {\n\t\t\tfor (int y = 0; y < size.y; y++) {\n\t\t\t\tdata[x][y] = new TileDataOLD(x, y);\n\t\t\t}\n\t\t}\n\t\tTileDataOLD td;\n\n\t\tloadData();\n\n\t\tcreateAnimationData(1, 20, 1, 11, 4, 0.07); // Flower\n\t\t// createAnimationData(2, 26, 5, 0, 4, 0.07); // Water\n\t\t// createAnimationData(2, 27, 5, 1, 4, 0.07); // Puddle\n\t\t// createAnimationData(2, 25, 5, 15, 4, 0.07); // Ocean Water\n\n\t\t// Terrain.\n\t\tcreateLedgeData(1, 3, Direction.SOUTH);\n\t\tcreateLedgeData(1, 4, Direction.SOUTH);\n\n\t\tcreateCollisionData(4, 0, MODEL_CORNER_NW);\n\t\tcreateCollisionLedgeData(5, 0, MODEL_EDGE_N, Direction.NORTH);\n\t\tcreateCollisionData(6, 0, MODEL_CORNER_NE);\n\t\tcreateCollisionLedgeData(4, 1, MODEL_EDGE_W, Direction.WEST);\n\t\tcreateCollisionLedgeData(6, 1, MODEL_EDGE_E, Direction.EAST);\n\t\tcreateCollisionData(4, 2, MODEL_CORNER_SW);\n\t\tcreateCollisionLedgeData(5, 2, MODEL_EDGE_S, Direction.SOUTH);\n\t\tcreateCollisionData(6, 2, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(4, 3, MODEL_INSIDE_CORNER_SE);\n\t\tcreateCollisionData(5, 3, MODEL_INSIDE_CORNER_SW);\n\t\tcreateCollisionData(4, 4, MODEL_INSIDE_CORNER_NE);\n\t\tcreateCollisionData(5, 4, MODEL_INSIDE_CORNER_NW);\n\n\t\tcreateCollisionData(6, 3, MODEL_EDGE_W);\n\t\tcreateCollisionData(7, 3, MODEL_EDGE_E);\n\t\tcreateCollisionData(6, 4, MODEL_CORNER_SW);\n\t\tcreateCollisionData(7, 4, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(7, 0, MODEL_CORNER_NW);\n\t\tcreateCollisionLedgeData(8, 0, MODEL_EDGE_N, Direction.NORTH);\n\t\tcreateCollisionData(9, 0, MODEL_CORNER_NE);\n\t\tcreateCollisionLedgeData(7, 1, MODEL_EDGE_W, Direction.WEST);\n\t\tcreateCollisionLedgeData(9, 1, MODEL_EDGE_E, Direction.EAST);\n\t\tcreateCollisionData(7, 2, MODEL_CORNER_SW);\n\t\tcreateCollisionLedgeData(8, 2, MODEL_EDGE_S, Direction.SOUTH);\n\t\tcreateCollisionData(9, 2, MODEL_CORNER_SE);\n\n\t\tcreateCollisionData(8, 3, MODEL_INSIDE_CORNER_SE);\n\t\tcreateCollisionData(9, 3, MODEL_INSIDE_CORNER_SW);\n\t\tcreateCollisionData(8, 4, MODEL_INSIDE_CORNER_NE);\n\t\tcreateCollisionData(9, 4, MODEL_INSIDE_CORNER_NW);\n\n\t\tcreateCollisionData(8, 5, MODEL_EDGE_W);\n\t\tcreateCollisionData(9, 5, MODEL_EDGE_E);\n\t\tcreateCollisionData(8, 6, MODEL_CORNER_SW);\n\t\tcreateCollisionData(9, 6, MODEL_CORNER_SE);\n\n\t\tcreateCollisionLedgeData(8, 7, MODEL_EDGE_S, Direction.SOUTH);\n\n\n\t\t// Doorways/Entrances.\n\t\tcreateCollisionData(10, 7, MODEL_EDGE_N);\n\t\tcreateCollisionData(11, 7, MODEL_EDGE_N);\n\t\tcreateCollisionData(11, 8, MODEL_EDGE_N);\n\t\tcreateCollisionData(6, 25, MODEL_EDGE_N);\n\t\tcreateCollisionData(3, 33, MODEL_EDGE_N);\n\n\n\t\t// Bridges.\n\t\tcreateCollisionData(5, 33, MODEL_BRIDGE_H_TOP);\n\t\tcreateCollisionData(5, 34, MODEL_BRIDGE_H_BOTTOM);\n\t\tcreateCollisionData(6, 33, MODEL_BRIDGE_H);\n\t\tcreateCollisionData(6, 34, MODEL_BRIDGE_V_LEFT);\n\t\tcreateCollisionData(7, 34, MODEL_BRIDGE_V_RIGHT);\n\t\tcreateCollisionData(7, 33, MODEL_BRIDGE_V);\n\n\n\t\t// Waterfalls.\n\t\ttd = createCollisionLedgeData(0, 25, MODEL_BLOCK, Direction.SOUTH);\n\t\ttd.setAnimation(5, 13, 4, 0.07);\n\t\ttd = createCollisionLedgeData(0, 26, MODEL_BLOCK, Direction.SOUTH);\n\t\ttd.setAnimation(5, 14, 4, 0.07);\n\t}", "public void setTemplateButtons() {\r\n\t\tbtnSetBirth.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetBirth) {\r\n\t\t\t\t\tlblTemplateBirthday.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplateBirthday = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnSetAnniv.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetAnniv) {\r\n\t\t\t\t\tlblTemplateAnniv.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplateAnniv = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tbtnSetPromo.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tif (e.getSource() == btnSetPromo) {\r\n\t\t\t\t\tlblPromoTemplate.setText(\"Using Template: \" + comboEmails.getSelectedItem());\r\n\t\t\t\t\ttemplatePromo = (String) comboEmails.getSelectedItem();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\r\n\t}", "public void setTemplateID(TemplateID templateID) {\n\t\tthis.templateID = templateID;\n\t}", "public void setTemplateCode(String templateCode) {\n this.templateCode = templateCode;\n }", "public void setSheetNumberForGermplasm(Integer sheetNumber);", "public void setTemplateName(java.lang.Object templateName) {\n this.templateName = templateName;\n }", "public void setTemplate(JdbcTemplate template) {\n\t\tthis.template = template;\n\t}", "private void saveTemplate()\r\n {\r\n\t String template = keyField.getText();\r\n\r\n\t int lenI = values.length, lenJ, lenK;\r\n\t String[][][] newValues = new String[lenI][][];\r\n\t for (int i=0; i<lenI; i++)\r\n\t {\r\n\t\t lenJ = values[i].length;\r\n\t\t newValues[i] = new String[lenJ][];\r\n\t\t for (int j=0; j<lenJ; j++)\r\n\t\t {\r\n\t\t\t lenK = values[i][j].length;\r\n\t\t\t newValues[i][j] = new String[lenK];\r\n\t\t\t for (int k=0; k<lenK; k++)\r\n\t\t\t\t values[i][j][k] = values[i][j][k];\r\n\t\t }\r\n\t }\r\n\t \r\n\t if (template.length()==0)\r\n\t {\r\n\t\t label.setText(\"Please enter a valid template name\");\r\n\t\t return;\r\n\t }\r\n\t \r\n\t // Update or store to the list of templates.\r\n for (int i=0; i<newValues.length; i++)\r\n \t for (int j=0; j<newValues[i].length; j++)\r\n\t\t\t newValues[i][j] = getComponentArray(components[i][j]);\r\n \r\n \t if (!definitionBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.D_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.D_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n \t if (!categoryBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.C_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.C_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n \t if (!exampleBox.isSelected())\r\n \t {\r\n \t\t newValues[FormatData.t.E_HDR.ordinal()] \r\n \t\t\t\t = newValues[FormatData.t.E_FLD.ordinal()] \r\n \t\t\t\t\t\t = new String[0][0];\r\n \t }\r\n\r\n templates.setTemplate(template, newValues);\r\n\r\n if (!model.contains(template))\r\n\t {\r\n\t int size = templateKeys.length;\r\n\t String[] newTemplates = new String[templateKeys.length + 1];\r\n\t if (templateKeys.length != 0)\r\n\t \t System.arraycopy(templateKeys, 0, newTemplates, 0, size);\r\n\t \r\n\t newTemplates[size] = template;\r\n\t templateKeys = newTemplates;\r\n\t model.add(size, templateKeys[size]);\r\n\t list.setSelectedIndex(size);\r\n\t }\r\n label.setText(\"Display format \" + template + \" saved\");\r\n }", "public void setSheetName(String name){\n this.sheetName = name;\n }", "public Template getValueTemplate() {\n\t\treturn valueTemplate;\n\t}", "public void setSheetIndex(int sheetIndex) {\r\n this.sheetIndex = sheetIndex;\r\n }", "@Override\n public void setTplPath(String arg0) {\n\n }", "@Test\n public void updateTemplateTest() throws IdfyException, Exception {\n UUID id = UUID.randomUUID();\n UpdatePdfTemplate model = new UpdatePdfTemplate.Builder().build();\n PdfTemplate response = api.updateTemplate(id, model);\n assertNotNull(response);\n }", "public native Template set(String html, boolean compile) /*-{\r\n\t\tvar template = [email protected]::getJsObj()();\r\n\t\ttemplate.set(html, compile);\r\n\t\treturn this;\r\n\t}-*/;", "private void setTemplateFile() throws IOException, BusinessException, ObjectNotFoundException, JackrabbitException,\n CertitoolsAuthorizationException, BadElementException {\n super.setFolder(folder);\n if (fileTemplate1 != null) {\n String folderPath;\n if (insertFolderFlag) {\n folderPath = folderId + \"/folders/\" + folder.getName();\n } else {\n folderPath = PlanUtils.getParentPath(folderId) + \"/folders/\" + folder.getName();\n }\n\n Template1Diagram template1Diagram = new Template1Diagram(new Resource(\"/\" + fileTemplate1.getFileName(),\n fileTemplate1.getFileName(),\n fileTemplate1.getContentType(), fileTemplate1.getInputStream(),\n \"\" + fileTemplate1.getSize(), true),\n PlanUtils.convertResourceToHTML(folderPath, getContext().getRequest().getContextPath(),\n getModuleTypeFromEnum()));\n if (replaceImageMap == null) {\n replaceImageMap = Boolean.FALSE;\n }\n if (!insertFolderFlag && !replaceImageMap) {\n\n Folder previousVersion =\n planService.findFolder(folderId, true, getUserInSession(), getModuleTypeFromEnum());\n try {\n TemplateWithImage previousTemplate = (TemplateWithImage) previousVersion.getTemplate();\n String htmlContent = template.getImageMap();\n Image newImage = TemplateWithImageUtils.getImage(fileTemplate1.getInputStream());\n Image oldImage = TemplateWithImageUtils.getImage(previousTemplate.getResource().getData());\n\n String unescapedHtml = StringEscapeUtils.unescapeHtml(htmlContent);\n\n String htmlResultContent = TemplateWithImageUtils.resizeImageMap(unescapedHtml, oldImage, newImage);\n\n if(htmlResultContent != null){\n template1Diagram.setImageMap(htmlResultContent);\n }\n } catch (ClassCastException ex) {\n //Do nothing\n }\n }\n super.setTemplateToFolder(template1Diagram);\n\n } else {\n Folder dbFolder = planService.findFolder(folderId, false, getUserInSession(), getModuleTypeFromEnum());\n //User does not changed template\n if (dbFolder.getTemplate().getName().equals(Template.Type.TEMPLATE_DIAGRAM.getName())) {\n Template1Diagram dbTemplate1Diagram = (Template1Diagram) dbFolder.getTemplate();\n //set old resource and update image Map\n super.setTemplateToFolder(\n new Template1Diagram(dbTemplate1Diagram.getResource(), template.getImageMap()));\n } else {\n //User changed template to this one, and do not upload image, so create empty template\n super.setTemplateToFolder(new Template1Diagram());\n }\n }\n }", "public abstract void setDisabTempl(int disabTempl);", "public void setTemplateName(String templateName) {\r\n\t\tthis.templateName = templateName;\r\n\t}", "public void setSheetName(int arg0, String arg1) {\n\n\t}", "public void applyTemplate(JasperDesign design, Template template)\n\t{\n\t}", "public final ElemTemplate getTemplate() {\n/* 220 */ return this.m_template;\n/* */ }", "public Object putSheetOverlay(String sheetName, String beanPath, Object value) {\n Sheet sheet = getOrCreateSheet(sheetName); \n Object prevVal = sheet.getMap().put(beanPath, value);\n try {\n sheet.prime(); \n } catch (TypeMismatchException tme) {\n // revert to presumably non-damaging value\n sheet.getMap().put(beanPath, prevVal);\n throw tme;\n }\n return prevVal; \n }", "public void setTemplateid(Integer templateid) {\n this.templateid = templateid;\n }", "public void setTemplatesPage(org.semanticwb.model.WebPage value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swpres_templatesPage, value.getSemanticObject());\r\n }else\r\n {\r\n removeTemplatesPage();\r\n }\r\n }", "final public void setTemplateSource(String templateSource)\n {\n setProperty(TEMPLATE_SOURCE_KEY, (templateSource));\n }", "default Object assignmentBefore(Sheet sheet, Row row, Cell cell, ExcelField excelField, Field field, int index, int colIndex, boolean isHead, Object value) {\n return value;\n }", "public void setCellValue(int rowNum,int cellNum,String cellValue,String excelFilepath) throws IOException {\n\t\t sheet.getRow(rowNum).createCell(cellNum).setCellValue(cellValue);\n\t\t FileOutputStream outputStream=new FileOutputStream(excelFilepath);\n\t\t workbook.write(outputStream);\n\t\t \n\n\t}", "public void setTemplateFilename(String templateFilename) {\n\t\tthis.templateFilename = StringUtil.replaceExtension(templateFilename, \"html\");\n\t}", "public void setCurrentTimesheet(Timesheet currentTimesheet) {\n\t\tthis.currentTimesheet = currentTimesheet;\n\t}", "public int getSheetNumber(){\n return sheetNumber;\n }", "public void setTemplateStore(TemplateStore store) {\n \t\tfTemplateStore= store;\n \t}", "public void setTemplateName(String templateName) {\n this.templateName = templateName;\n }", "public static void setExcelFileSheet(String sheetName) throws IOException {\n\t testDataExcelPath = currentDir+\"\\\\src\\\\example\\\\trademeSellAndBuy\\\\testData\\\\\";\n\t // Open the Excel file\n FileInputStream excelFile = new FileInputStream(new File(testDataExcelPath + testDataExcelFileName));\n excelWBook = new XSSFWorkbook(excelFile);\n excelWSheet = (XSSFSheet) excelWBook.getSheet(sheetName);\n }", "public void setValueAt(Object value, int row, int column) {\r\n switch(column){\r\n case FILENAME:\r\n ((CoverFooterItemType)data.get(row)).setFileName(value.toString());\r\n break;\r\n \r\n case PATH:\r\n ((CoverFooterItemType)data.get(row)).setFilePath(value.toString());\r\n break;\r\n \r\n case PAGES:\r\n ((CoverFooterItemType)data.get(row)).setNumPages(value.toString());\r\n break;\r\n \r\n case PAGESELECTION:\r\n ((CoverFooterItemType)data.get(row)).setPageSelection(value.toString());\r\n break;\r\n \r\n } \r\n }", "public void createCell(XSSFWorkbook xssfWorkbook, XSSFRow row,CellStyle cellStyle, String cellValue, int cellNum) {\n if (StringUtils.isNotBlank(cellValue)){\n XSSFCell cell = row.createCell(cellNum);\n cell.setCellValue(cellValue);\n cell.setCellStyle(cellStyle);\n }\n }", "public Builder setTemplateId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n templateId_ = value;\n onChanged();\n return this;\n }", "public static void setCellData(String value, int RowNum, int ColNum) throws IOException {\n\t row = excelWSheet.getRow(RowNum);\n\t cell =row.getCell(ColNum);\n\t if (cell == null) {\n\t \tcell = row.createCell(ColNum);\n\t \tcell.setCellValue(value);\n\t }else {\n\t \tcell.setCellValue(value);\n\t }\n\t // Constant variables Test Data path and Test Data file name\n\t FileOutputStream fileOut = new FileOutputStream(testDataExcelPath + testDataExcelFileName);\n excelWBook.write(fileOut);\n fileOut.flush();\n fileOut.close();\n \n }", "void setTemp(String name, Object value);", "private void loadTemplate()\r\n {\r\n String key = list.getSelectedValue();\r\n if (key==null) return;\r\n \r\n String[][][] template = templates.getTemplate(key);\r\n clearComponents();\r\n \r\n \t definitionBox.setSelected(template[FormatData.t.D_HDR.ordinal()].length != 0);\r\n \t categoryBox.setSelected(template[FormatData.t.C_HDR.ordinal()].length != 0);\r\n \t exampleBox.setSelected(template[FormatData.t.E_HDR.ordinal()].length != 0);\r\n \r\n keyField.setText(key);\r\n int len; \r\n for (int i=0; i<template.length; i++)\r\n { \r\n \t len = (template[i].length < components[i].length) ? template[i].length : components[i].length;\r\n \t for (int j=0; j<len; j++)\r\n\t\t\t setComponentArray(components[i][j], template[i][j]);\r\n }\r\n }", "void xsetValue(org.apache.xmlbeans.XmlString value);", "public abstract void setCellValue(int cellValue, int row, int col);", "public static void setExcelFile(String filePath, String shName)\n\t{\n\t\t//open excel file\n\t\ttry {\n\t\t\tlogger.info(\"creating file inputstream object and setting up file path and sheet\");\n\t\t\tFileInputStream fis = new FileInputStream(filePath);\n\t\t\t\n\t\t\tlogger.debug(\"creating new object for workbook\");\n\t\t\t\n\t\t\txlWBook = new XSSFWorkbook(fis); \n\t\t\t\n\t\t\tlogger.debug(\"get sheet from workbook object\");\n\t\t\txlSheet = xlWBook.getSheet(shName);\n\t\t\tlogger.info(\"created xl sheet object\");\n\t\t\t\t\t\t\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t\n\t\t\tlogger.error(\"Function - setExcelFile: file not found\", e);\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\tlogger.error(\"Function - setExcelFile: IO exception occured\", e);\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t}", "public void setContent(T content);", "public void setTitlePopup(String t) {\n/* 147 */ getCOSObject().setString(COSName.T, t);\n/* */ }", "public String getTemplateCode() {\n return templateCode;\n }", "public void setTemplateIdArray(int i, com.walgreens.rxit.ch.cda.II templateId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.walgreens.rxit.ch.cda.II target = null;\n target = (com.walgreens.rxit.ch.cda.II)get_store().find_element_user(TEMPLATEID$4, i);\n if (target == null)\n {\n throw new IndexOutOfBoundsException();\n }\n target.set(templateId);\n }\n }", "private static String setValue(HSSFSheet sheet, String cellContent, String value){\n\n int rowNum = 0; \n int colNum = 0; \n for(Row row : sheet) {\n for(Cell cell : row) {\n// boolean bul =cell.getStringCellValue().trim().equalsIgnoreCase(cellContent.trim());\n// System.out.println(bul);\n\n if(cell.getStringCellValue().trim().equalsIgnoreCase(cellContent.trim())){\n\n rowNum = row.getRowNum();\n colNum = cell.getColumnIndex();\n HSSFRow nRow= sheet.getRow(1);\n HSSFCell nCell = nRow.getCell(colNum);\n if(nCell.getCellType() == HSSFCell.CELL_TYPE_STRING)\n {\n nCell.setCellValue(value);\n// value = (nCell.getStringCellValue() == null) ? \"\" : nCell.getStringCellValue();\n }\n else if(nCell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC)\n {\n// value = (String) (((Double)nCell.getNumericCellValue() == null) ? \"\" : nCell.getNumericCellValue());\n }\n else if(nCell.getCellType() == HSSFCell.CELL_TYPE_BLANK)\n {\n// value = \"\";\n } \n break;\n }\n }\n break;\n } \n return value; \n }", "String setValue();", "public void createTemp(String TemplateType){\r\n ts.create(TemplateType);\r\n }", "public abstract void setCell(int row, int column, T item);", "public String getSheetName(){\n return sheetName;\n }", "public void setCell(Cell cell)\n {\n myCell = cell;\n }", "@Test\n public void fieldTemplate() throws Exception {\n Document doc = new Document();\n DocumentBuilder builder = new DocumentBuilder(doc);\n\n // We can set a template name using by the fields. This property is used when the \"doc.AttachedTemplate\" is empty.\n // If this property is empty the default template file name \"Normal.dotm\" is used.\n doc.getFieldOptions().setTemplateName(\"\");\n\n FieldTemplate field = (FieldTemplate) builder.insertField(FieldType.FIELD_TEMPLATE, false);\n Assert.assertEquals(field.getFieldCode(), \" TEMPLATE \");\n\n builder.writeln();\n field = (FieldTemplate) builder.insertField(FieldType.FIELD_TEMPLATE, false);\n field.setIncludeFullPath(true);\n\n Assert.assertEquals(field.getFieldCode(), \" TEMPLATE \\\\p\");\n\n doc.updateFields();\n doc.save(getArtifactsDir() + \"Field.TEMPLATE.docx\");\n //ExEnd\n\n doc = new Document(getArtifactsDir() + \"Field.TEMPLATE.docx\");\n\n field = (FieldTemplate) doc.getRange().getFields().get(0);\n Assert.assertEquals(\" TEMPLATE \", field.getFieldCode());\n Assert.assertEquals(\"Normal.dotm\", field.getResult());\n\n field = (FieldTemplate) doc.getRange().getFields().get(1);\n Assert.assertEquals(\" TEMPLATE \\\\p\", field.getFieldCode());\n Assert.assertEquals(\"Normal.dotm\", field.getResult());\n }", "protected Template editTemplate(Template template, boolean edit, boolean isNameModifiable) {\n \t\tEditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, edit, isNameModifiable, fContextTypeRegistry);\n \t\tif (dialog.open() == Window.OK) {\n \t\t\treturn dialog.getTemplate();\n \t\t}\n \t\treturn null;\n \t}", "public ResolvedTemplate(Template template){\n\t\tthis.template = template;\n\t\tthis.postParseReplacement = \"\";\n\t\tcheckPreParseReplacement();\n\t}", "public void addToTemplates() {\n mTemplateId = mPreferenceManager.getTemplateId();\n if (isConverted) {\n if (mPreferenceManager.getTemplateId().equals(ConstantsManager.CONVERTER_TEMPLATE_ID_DEFAULT)) {\n mTemplateId = mDatabaseManager.getTemplateNewId();\n mPreferenceManager.setTemplateId(mTemplateId);\n saveTemplate(mToastCreated);\n } else {\n showDialog();\n }\n } else {\n mBaseActivity.showToast(mToastFailure);\n }\n }", "public void setSheetSelected(int posSheet) {\n try {\n workbook.setActiveSheet(posSheet);\n } catch (IllegalArgumentException ex) {\n workbook.setActiveSheet(0);\n }\n }", "public void setBalanceSheet(String balanceSheet) {\n\n this.balanceSheet = balanceSheet;\n }", "@DISPID(14) //= 0xe. The runtime will prefer the VTID if present\n @VTID(21)\n void templateID(\n int pVal);", "public static XSSFSheet setExcelFile() throws Exception {\n\n XSSFSheet ExcelWSheet;\n XSSFWorkbook ExcelWBook;\n XSSFRow Row;\n String Path;\n String SheetName;\n\n try {\n // Open the Excel file\n Path = fetchMyProperties(\"spreadsheet_path\");\n SheetName= fetchMyProperties(\"sheet_name\");\n FileInputStream ExcelFile = new FileInputStream(Path);\n\n // Access the required test data sheet\n ExcelWBook = new XSSFWorkbook(ExcelFile);\n ExcelWSheet = ExcelWBook.getSheet(SheetName);\n\n } catch (Exception e){\n throw (e);\n }\n return ExcelWSheet;\n }", "public ShiftTemplate(Integer shiftId) {\n this.shiftId = shiftId;\n }", "void xsetValue(org.apache.xmlbeans.XmlInt value);", "public static void setCoulmnData( String xlFilePath, String xlFileName, String xlSheetName, int rowNum , int colNum , String cellValue) throws IOException {\n\t\tFile file = new File( xlFilePath + \"\\\\\" + xlFileName);\n\t\t\n\t\t// create an Obj of FileInputStream class to read the excel file\n\t\tFileInputStream inputStream = new FileInputStream( file);\n\t\t\n\t\tWorkbook myworkbook = null;\n\t\t\n\t\t// find the file name extension by spilitting the file at . and finding only the extension\n\t\tString fileNameExtension = xlFileName.substring( xlFileName.indexOf('.'));\n\t\t\n\t\tif( fileNameExtension.equals(\".xlsx\")) {\n\t\t\t\n\t\t\tmyworkbook = new XSSFWorkbook(inputStream);\n\t\t\t\n\t\t}\n\t\telse if( fileNameExtension.equals(\".xls\")) {\n\t\t\tmyworkbook = new HSSFWorkbook( inputStream);\n\t\t}\n\t\t\n\t\tSheet mySheet = myworkbook.getSheet(xlSheetName);\n\t\t\n\t\tint rowsCount = mySheet.getLastRowNum() - mySheet.getFirstRowNum();\n\t\n\t\tRow row = null;\n\t\tif( rowNum > rowsCount) {\n\t\t\trow = mySheet.createRow(rowNum);\n\t\t}\n\t\telse {\n\t\t\trow = mySheet.getRow(rowNum);\n\t\t}\n\t\t\n\t\tCell cell = row.createCell(rowsCount);\n\t\tcell.setCellValue(cellValue);\n\n\t\t\n\t\t// create an Obj of OutputFileStream class to write data to file\n\t\tFileOutputStream outputStream = new FileOutputStream( file);\n\t\t\n\t\t// write workbook to the file\n\t\tmyworkbook.write(outputStream);\n\t\t\n\t\tmyworkbook.close();\n\n\t\t// close input Stream\n\t\tinputStream.close();\n\n\t\t// close the output stream\n\t\toutputStream.close();\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "public void setSheetNameForGermplasm(String sheetName);", "@Override\n protected Sheet createSheet() {\n Sheet sheet = Sheet.createDefault();\n // Create a set of properties\n Sheet.Set set = Sheet.createPropertiesSet();\n\n set.put(getNameProperty());\n set.put(getMajorProperty());\n set.put(getMinorProperty());\n set.put(getPatchProperty());\n set.put(getDescriptionProperty());\n set.put( getGitProperty());\n set.put( getBranchProperty());\n\n // Add the set of properties to the sheet\n sheet.put(set);\n\n return sheet;\n }", "public void setActiveSheet(int arg0) {\n\n\t}", "public void setSheetOrder(int sheetOrder) {\n this.sheetOrder = sheetOrder;\n }", "String getTemplate();", "public final void setOptionSetup_QuestionTemplate(com.mendix.systemwideinterfaces.core.IContext context, questionnairev2.proxies.QuestionTemplate optionsetup_questiontemplate)\r\n\t{\r\n\t\tif (optionsetup_questiontemplate == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.OptionSetup_QuestionTemplate.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.OptionSetup_QuestionTemplate.toString(), optionsetup_questiontemplate.getMendixObject().getId());\r\n\t}", "public Template getTemplate() {\n \t\t\treturn fNewTemplate;\n \t\t}", "@Override\n public void updateBeanDetails(TimeSheet t)\n {\n \n }", "public void saveTemplate(String toastText) {\n SimpleDateFormat simpleDateFormatY = new SimpleDateFormat(\"yyyy\");\n SimpleDateFormat simpleDateFormatM = new SimpleDateFormat(\"MM\");\n SimpleDateFormat simpleDateFormatD = new SimpleDateFormat(\"dd\");\n SimpleDateFormat simpleDateFormatH = new SimpleDateFormat(\"HH\");\n SimpleDateFormat simpleDateFormatMin = new SimpleDateFormat(\"mm\");\n SimpleDateFormat simpleDateFormatS = new SimpleDateFormat(\"ss\");\n String year = simpleDateFormatY.format(System.currentTimeMillis());\n String month = simpleDateFormatM.format(System.currentTimeMillis());\n String day = simpleDateFormatD.format(System.currentTimeMillis());\n String hour = simpleDateFormatH.format(System.currentTimeMillis());\n String minute = simpleDateFormatMin.format(System.currentTimeMillis());\n String second = simpleDateFormatS.format(System.currentTimeMillis());\n mDatabaseManager.addDataInTemplateTable(\n new TemplateEntity(mTemplateId, mOrganizationId, mCurrencyShortForm,\n mStartValue, mDirection, mAction, year + \"-\" + month + \"-\" + day + \" \" + hour + \":\" + minute + \";\" + second)\n );\n mBaseActivity.showToast(toastText);\n isSaved = true;\n switch (mRootParameter) {\n case ConstantsManager.CONVERTER_OPEN_FROM_TEMPLATES:\n case ConstantsManager.CONVERTER_OPEN_FROM_CURRENCY:\n case ConstantsManager.CONVERTER_OPEN_FROM_ORGANIZATION:\n getActivity().setResult(ConstantsManager.CONVERTER_ACTIVITY_RESULT_CODE_CHANGED);\n if (isFinish) {\n getActivity().finish();\n }\n break;\n }\n }", "public abstract void mo32008e(TemplateInfo templateInfo);", "public String getTemplateName()\n {\n return MY_TEMPLATE;\n }" ]
[ "0.72866887", "0.65273577", "0.5894144", "0.588137", "0.5870661", "0.57219917", "0.5707585", "0.5685162", "0.5550099", "0.54945195", "0.5492603", "0.5468995", "0.54521614", "0.5443343", "0.5432349", "0.5400631", "0.5373398", "0.53134525", "0.5304442", "0.5270659", "0.5239045", "0.5231296", "0.52197194", "0.516051", "0.5151461", "0.51176643", "0.5088672", "0.5069633", "0.5025559", "0.50199807", "0.49689525", "0.49673772", "0.49058467", "0.48750308", "0.48588592", "0.48487034", "0.48467594", "0.48409995", "0.48362795", "0.48318133", "0.48204863", "0.48203513", "0.4819603", "0.48140433", "0.47919932", "0.47856408", "0.47851473", "0.47817078", "0.47782016", "0.47689533", "0.47493443", "0.47443262", "0.47436744", "0.47397754", "0.47392106", "0.4713086", "0.47094607", "0.47051015", "0.46986407", "0.4673685", "0.46623147", "0.46505618", "0.46472877", "0.46420392", "0.4613601", "0.46103042", "0.4604863", "0.4598928", "0.45922214", "0.45892236", "0.45825407", "0.4574036", "0.45676354", "0.4561464", "0.4544142", "0.4538959", "0.45338073", "0.45321107", "0.4526153", "0.45242476", "0.45032617", "0.44979388", "0.44939464", "0.4492975", "0.44903156", "0.4472833", "0.44669032", "0.44656205", "0.44621602", "0.44510388", "0.44445962", "0.4443818", "0.44422704", "0.4441324", "0.44375777", "0.44331002", "0.44303167", "0.4430247", "0.44298524", "0.44213524" ]
0.7448289
0
Set value of MxSheet_DefaultStyle
public final void setMxSheet_DefaultStyle(xlsreport.proxies.MxCellStyle mxsheet_defaultstyle) { setMxSheet_DefaultStyle(getContext(), mxsheet_defaultstyle); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_DefaultStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tif (mxsheet_defaultstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), mxsheet_defaultstyle.getMendixObject().getId());\r\n\t}", "public void setDefaultStyleString(String defaultStyleString) {\n/* 564 */ getCOSObject().setString(COSName.DS, defaultStyleString);\n/* */ }", "private void defaultStyle() {\n\t\t//idField.setStyle(\"\");\n\t\tproductNameField.setStyle(\"\");\n\t\tinvField.setStyle(\"\");\n\t\tpriceField.setStyle(\"\");\n\t\tmaxField.setStyle(\"\");\n\t\tminField.setStyle(\"\");\n\t}", "private void setStyleToDefault() {\n // enable syntax highlighting\n commandTextField.enableSyntaxHighlighting();\n }", "public void setDefault(VisualStyle style, Object c) {\n \t\tif ((style == null) || (c == null))\n \t\t\treturn;\n \n \t\tif (isNodeProp()) {\n \t\t\tNodeAppearanceCalculator nodeCalc = style.getNodeAppearanceCalculator();\n \t\t\tNodeAppearance na = nodeCalc.getDefaultAppearance();\n \t\t\tna.set(this, c);\n \t\t\tnodeCalc.setDefaultAppearance(na);\n \t\t} else {\n \t\t\tEdgeAppearanceCalculator edgeCalc = style.getEdgeAppearanceCalculator();\n \t\t\tEdgeAppearance ea = edgeCalc.getDefaultAppearance();\n \t\t\tea.set(this, c);\n \t\t\tedgeCalc.setDefaultAppearance(ea);\n \t\t}\n \t}", "void setStyle(String style);", "public void setFillStyle(STYLE style);", "private void changeUIdefaults() {\n\t\tUIManager.put(\"TaskPaneContainer.useGradient\", Boolean.FALSE);\n\t\tUIManager.put(\"TaskPaneContainer.background\",\n\t\t\t\tColors.LightGray.color(0.5f));\n\n\t\t// setting taskpane defaults\n\t\tUIManager.put(\"TaskPane.font\", new FontUIResource(new Font(\"Verdana\",\n\t\t\t\tFont.BOLD, 16)));\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientStart\",\n\t\t\t\tColors.White.color());\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientEnd\",\n\t\t\t\tColors.LightBlue.color());\n\t}", "public static Style getDefault() { return Style.SHAPE; }", "public boolean isNewIsDefaultStyle()\r\n {\r\n return myNewIsDefaultStyle;\r\n }", "public void setStyleName(java.lang.String styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLENAME$32);\n }\n target.setStringValue(styleName);\n }\n }", "@StyleDefaults(ELEMENT_ID)\n public static void initializeDefaultStyles(Styles styles, Attributes attrs) {\n styles.getSelector(meid, null).set(\"setReadfieldPreferredWidth\", 50, false);\n styles.getSelector(meid, null).set(\"setHeadlineHAlignment\", HAlignment.Center, false);\n styles.getSelector(meid, null).set(\"setReadfieldimagewidth\", 0f, false);\n styles.getSelector(meid, null).set(\"setReadfieldimageheight\", 0f, false);\n }", "protected void SetDefault() {\r\n\t\tBrickFinder.getDefault().setDefault();\t\t\r\n\t}", "public void setBackgroundToDefault(){\n\t\tcurrentBackgroundImage = defaultBackgroundImage;\n\t\tbackgroundPanel.changeBackground(defaultBackgroundImage);\n\t}", "public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }", "@attribute(value = \"\", required = false, defaultValue=\"NONE\")\r\n\tpublic void setStyle(String style) {\r\n\t\t// dummy function for comment\r\n\t}", "public final synchronized void setStyle(int style){\n this.style = style;\n\n if (isLoggedIn()){\n sendCommand(\"$set style \"+style);\n filterLine(\"Style \"+style+\" set.\");\n }\n }", "public synchronized void resetStyle() {\n \t\tstyleInitialized = false;\n \t}", "public void setActiveSheet(int arg0) {\n\n\t}", "public void setStartPointEndingStyle(String style) {\n/* 713 */ String actualStyle = (style == null) ? \"None\" : style;\n/* 714 */ COSBase base = getCOSObject().getDictionaryObject(COSName.LE);\n/* */ \n/* 716 */ if (!(base instanceof COSArray) || ((COSArray)base).size() == 0) {\n/* */ \n/* 718 */ COSArray array = new COSArray();\n/* 719 */ array.add((COSBase)COSName.getPDFName(actualStyle));\n/* 720 */ array.add((COSBase)COSName.getPDFName(\"None\"));\n/* 721 */ getCOSObject().setItem(COSName.LE, (COSBase)array);\n/* */ }\n/* */ else {\n/* */ \n/* 725 */ COSArray array = (COSArray)base;\n/* 726 */ array.setName(0, actualStyle);\n/* */ } \n/* */ }", "public Object getDefault(VisualStyle style) {\n \t\tif (style == null)\n \t\t\treturn null;\n \n \t\tAppearance a = null;\n \n \t\tif (isNodeProp())\n \t\t\ta = style.getNodeAppearanceCalculator().getDefaultAppearance();\n \t\telse\n \t\t\ta = style.getEdgeAppearanceCalculator().getDefaultAppearance();\n \n \t\treturn a.get(this);\n \t}", "void onStyleModify() {\n\t\tif (mergedStyleSheet != null) {\n\t\t\tmergedStyleSheet = null;\n\t\t\tsheets.setNeedsUpdate(true);\n\t\t} else if (sheets != null) {\n\t\t\tsheets.setNeedsUpdate(true);\n\t\t}\n\t}", "void setDefaultPreference(String preferenceName, String value) throws OntimizeJEERuntimeException;", "@FXML\n\tprivate void setDarkStyle() {\n\t\tapplication.getScene().getStylesheets().remove(urlDefaultTheme);\n\n\t\t// Add the new theme\n\t\tapplication.getScene().getStylesheets().add(urlDarkTheme);\n\t}", "public void setStyle(String st){\n style = st;\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void xsetStyleName(org.apache.xmlbeans.XmlString styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(STYLENAME$32);\n }\n target.set(styleName);\n }\n }", "public SheetTheme getTheme() {\n return SheetTheme.WHITE;\n }", "public void setDefaultStylesheet() {\n\n\t\tsetAttribute(\"stylesheet\", \"node { \"\n\t\t\t//\t+ \"size: 10px;\"\n\t\t\t\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"fill-mode: dyn-plain; \"\n\t\t\t//\t+ \"stroke-mode: plain;\"\n\t\t\t//\t+ \"stroke-color: black;\"\n\t\t\t\t+ \"stroke-mode: plain;\"\n\t\t\t\t+ \"stroke-width: 1px;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"} \"\n\t\t\t\t+ \"node.enzyme {\"\n\t\t\t\t+ \"shape: box;\"\n\t\t\t//\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"fill-color: #DEE;\"\n\t\t\t\t+ \"} \"\n\t\t\t\t+ \"node.compound { \"\n\t\t\t//\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"shape: circle;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"}\");\n\t}", "private void applyCurrentTheme() {\n TempestatibusApplicationSettings tempestatibusApplicationSettings = getTempestatibusApplicationSettings();\n tempestatibusApplicationSettings.createSharedPreferenceContext(this);\n String theme = tempestatibusApplicationSettings.getAppThemePreference();\n mRefreshImageView.setBackgroundResource(TempestatibusApplicationSettings.getRefreshId());\n mDegreeImageView.setBackgroundResource(TempestatibusApplicationSettings.getLargeDegreeId(theme));\n mDewValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mApparentTemperatureValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mSettingsImageView.setBackgroundResource(TempestatibusApplicationSettings.getSettingsIconId());\n mHourglassIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getHourglassId());\n mSaveIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSaveIconId());\n mSearchIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSearchIconId());\n }", "public void setStyleId(java.lang.String styleId)\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(STYLEID$30);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLEID$30);\n }\n target.setStringValue(styleId);\n }\n }", "public void xsetStyleId(org.openxmlformats.schemas.drawingml.x2006.main.STGuid styleId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.STGuid target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().find_attribute_user(STYLEID$30);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().add_attribute_user(STYLEID$30);\n }\n target.set(styleId);\n }\n }", "public void setStyle(String style) {\n this.style = style;\n }", "public String getDefaultAppearance() {\n/* 530 */ return getCOSObject().getString(COSName.DA);\n/* */ }", "protected void installDefaults() {\n\t\tColor bg = this.controlPanel.getBackground();\n\t\tif (bg == null || bg instanceof UIResource) {\n\t\t\tthis.controlPanel.setBackground(FlamingoUtilities.getColor(\n\t\t\t\t\tColor.lightGray, \"ControlPanel.background\",\n\t\t\t\t\t\"Panel.background\"));\n\t\t}\n\n\t\tBorder b = this.controlPanel.getBorder();\n\t\tif (b == null || b instanceof UIResource) {\n\t\t\tBorder toSet = UIManager.getBorder(\"ControlPanel.border\");\n\t\t\tif (toSet == null)\n\t\t\t\tnew BorderUIResource.EmptyBorderUIResource(1, 2, 1, 2);\n\t\t\tthis.controlPanel.setBorder(toSet);\n\t\t}\n\t\t\n\t\tFont font = this.controlPanel.getFont();\n if (font == null || font instanceof UIResource) {\n Font toSet = UIManager.getFont(\"Panel.font\");\n this.controlPanel.setFont(toSet);\n }\n\t}", "protected void installDefaults()\n {\n String prefix = getPropertyPrefix();\n Font f = editor.getFont();\n if ((f == null) || (f instanceof UIResource)) {\n editor.setFont(UIManager.getFont(prefix + \".font\"));\n }\n\n Color bg = editor.getBackground();\n if ((bg == null) || (bg instanceof UIResource)) {\n editor.setBackground(UIManager.getColor(prefix + \".background\"));\n }\n\n Color fg = editor.getForeground();\n if ((fg == null) || (fg instanceof UIResource)) {\n editor.setForeground(UIManager.getColor(prefix + \".foreground\"));\n }\n\n Color color = editor.getCaretColor();\n if ((color == null) || (color instanceof UIResource)) {\n editor.setCaretColor(UIManager.getColor(prefix + \".caretForeground\"));\n }\n\n Color s = editor.getSelectionColor();\n if ((s == null) || (s instanceof UIResource)) {\n editor.setSelectionColor(UIManager.getColor(prefix + \".selectionBackground\"));\n }\n\n Color sfg = editor.getSelectedTextColor();\n if ((sfg == null) || (sfg instanceof UIResource)) {\n editor.setSelectedTextColor(UIManager.getColor(prefix + \".selectionForeground\"));\n }\n\n Color dfg = editor.getDisabledTextColor();\n if ((dfg == null) || (dfg instanceof UIResource)) {\n editor.setDisabledTextColor(UIManager.getColor(prefix + \".inactiveForeground\"));\n }\n\n Border b = editor.getBorder();\n if ((b == null) || (b instanceof UIResource)) {\n editor.setBorder(UIManager.getBorder(prefix + \".border\"));\n }\n\n Insets margin = editor.getMargin();\n if (margin == null || margin instanceof UIResource) {\n editor.setMargin(UIManager.getInsets(prefix + \".margin\"));\n }\n\n updateCursor();\n }", "@Override\n public void initStyle() {\n\t// NOTE THAT EACH CLASS SHOULD CORRESPOND TO\n\t// A STYLE CLASS SPECIFIED IN THIS APPLICATION'S\n\t// CSS FILE\n \n // FOR CHANGING THE ITEMS INSIDE THE EDIT TOOLBAR\n editToolbarPane.getStyleClass().add(CLASS_EDITTOOLBAR_PANE);\n \n mapNameLabel.getStyleClass().add(CLASS_MAPNAME_LABEL);\n mapName.getStyleClass().add(CLASS_MAPNAME_TEXTFIELD);\n backgroundColorLabel.getStyleClass().add(CLASS_LABEL);\n borderColorLabel.getStyleClass().add(CLASS_LABEL);\n borderThicknessLabel.getStyleClass().add(CLASS_LABEL);\n zoomLabel.getStyleClass().add(CLASS_MAPNAME_LABEL);\n borderThicknessSlider.getStyleClass().add(CLASS_BORDER_SLIDER);\n mapZoomingSlider.getStyleClass().add(CLASS_ZOOM_SLIDER);\n buttonBox.getStyleClass().add(CLASS_PADDING);\n // FIRST THE WORKSPACE PANE\n workspace.getStyleClass().add(CLASS_BORDERED_PANE);\n }", "public String getDefaultStyleString() {\n/* 552 */ return getCOSObject().getString(COSName.DS);\n/* */ }", "public void reset() {\n _styles.clear();\n _styles.add(TextStyle.DEFAULT);\n }", "public void setCurrentStyleName(String name)\n\t{\n\t\tif (name != null)\n\t\t{\n\t\t\tthis.guiController.getCurrentStyle().setName(name);\n\t\t\tthis.styleComboBox.repaint();\n\t\t}\n\t}", "@Override\n\tpublic void setSelectedStyleSheetSet(String name) {\n\t\tif (name == null || (name.length() > 0 && !getStyleSheetSets().contains(name))) {\n\t\t\treturn;\n\t\t}\n\t\tIterator<LinkStyleDefiner> links = linkedStyle.iterator();\n\t\twhile (links.hasNext()) {\n\t\t\tString title;\n\t\t\tCSSStyleSheet sheet = links.next().getSheet();\n\t\t\tif (sheet != null && (title = sheet.getTitle()) != null && title.length() != 0) {\n\t\t\t\tif (title.equalsIgnoreCase(name)) {\n\t\t\t\t\tsheet.setDisabled(false);\n\t\t\t\t\tlastStyleSheetSet = name;\n\t\t\t\t} else {\n\t\t\t\t\tsheet.setDisabled(true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void applyCurrentStyle()\n\t{\n\t\tthis.getCurrentStyleTree().saveCurrentStyle();\n\t\tthis.guiController.rebuildStyle();\n\n\t\tThreadService.executeOnEDT(new Runnable()\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void run()\n\t\t\t{\n\t\t\t\tgetCurrentStyleTree().repaint();\n\t\t\t}\n\t\t});\n\t}", "public abstract String getDefaultStylesheet ();", "private void setCellStyle( CellStyle style, int rowIx, int colIx )\n {\n \tcells[colIx][rowIx].setCellStyle( style );\n }", "private void setAppearance(String className) {\n DweezilUIManager.setLookAndFeel(className, new Component[]{MainFrame.getInstance(), StatusWindow.getInstance(),\n PrefsSettingsPanel.this.getParent().getParent()});\n\n }", "public final void setMxSheet_HeaderStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tif (mxsheet_headerstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), mxsheet_headerstyle.getMendixObject().getId());\r\n\t}", "@Override\n\tabstract public void setDefaultHTMLUserAgentSheet();", "public mxStyleSheet getFillStyle()\n\t{\n\t\treturn fillStyle;\n\t}", "public void setCurrentStyle(StyleEditorTree styleTree)\n\t{\n\t\tif (styleTree == null)\n\t\t\tthrow new IllegalArgumentException(\"StyleEditorTree is null.\");\n\n\t\tthis.guiController.setStyle(styleTree.getStyle());\n\t}", "public Encoding setStyle(String value) {\n\t\tstyle = value;\n\t\treturn this;\n\t}", "protected void installDefaults() {\n this.controlPanel.setBackground(null);\n\n Font font = this.controlPanel.getFont();\n if (font == null || font instanceof UIResource) {\n Font toSet = RadianceThemingCortex.GlobalScope.getFontPolicy().getFontSet().\n getControlFont();\n this.controlPanel.setFont(toSet);\n }\n }", "private Style createDefaultStyle() {\n Rule rule = createRule(LINE_COLOUR, FILL_COLOUR); //utilizamos las definiciones anteriores\n\n FeatureTypeStyle fts = sf.createFeatureTypeStyle();\n fts.rules().add(rule);\n\n Style style = sf.createStyle();\n style.featureTypeStyles().add(fts);\n return style;\n}", "private void applyInitialLook() {\r\n\t\tthis.control.setFont(this.initialFont);\r\n\t\tthis.control.setBackground(this.initialBackgroundColor);\r\n\t\tthis.control.setForeground(this.initialForegroundColor);\r\n\t}", "protected void setToDefault(){\n\n\t}", "protected Stylesheet stylesheet () {\n return SimpleStyles.newSheet();\n }", "public void changeToStandard(){\n drawAttributeManager.toggleStandardView();\n getContentPane().setBackground(DrawAttribute.whiteblue);\n canvas.repaint();\n }", "public final void setMxSheet_HeaderStyle(xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tsetMxSheet_HeaderStyle(getContext(), mxsheet_headerstyle);\r\n\t}", "private void applyStyle() {\n\t\tmenu.getStyleClass().add(menuColor);\n\t}", "protected void onSetDefaultColor() {\r\n\tsetClusterColor(null);\r\n\t}", "void set(String group, String name, String style);", "public void styleforZero() {\r\n\t\t\r\n\t\tsuper.styleforZero();\r\n\t\t\r\n\t}", "private void restoreStyle() {\n if(this.backedup) {\n this.backedup = false;\n\n this.currentFillColor = this.lastFillColor;\n DOM.setStyleAttribute(fill.getElement(), \"backgroundColor\",currentFillColor.toCss(false));\n this.fillOpacity.setValue(this.lastFillOpacity);\n this.currentFillColor.setAlpha(this.fillOpacity.getValue());\n\n this.currentStrokeColor = this.lastStrokeColor;\n DOM.setStyleAttribute(stroke.getElement(), \"backgroundColor\",currentStrokeColor.toCss(false));\n this.strokeOpacity.setValue(this.lastStrokeOpacity);\n this.currentStrokeColor.setAlpha(this.strokeOpacity.getValue());\n\n this.currentStrokeSize.setValue(this.lastStrokeSize);\n }\n }", "public void setBoardStyle(BoardStyle style) {\n\t\tboardStyle = style;\n\t}", "public abstract BossBar setStyle(BossStyle style);", "public DefaultTheme() {\r\n //sets up alpha values for a nicer look\r\n p1.a = 0.85f;\r\n p2.a = 0.85f;\r\n p3.a = 0.85f;\r\n\r\n s1.a = 0.85f;\r\n s2.a = 0.85f;\r\n s3.a = 0.85f;\r\n }", "public void setStyle(Style style) {\n\t\tmFont = style.font;\n\t\tmFontHeight = mFont.getHeight();\n\t\tmFontColor = style.getFontColor();\n\t\tmTimeStrLen = mFont.stringWidth((Util.TIME_FMT == 24) ? \"00:00 -\" : \"00:00MM -\") + SPACING;\n\t}", "abstract protected AbstractCSSStyleSheet getUserNormalStyleSheet();", "@Override\n\tpublic void setRowStyle(CellStyle arg0) {\n\t\t\n\t}", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public SimpleStyle() {\n\t\t// set default values\n\t\tthis.foregroundColor = -1;\n\t\t// others are null: VM DONE\n\t}", "public String getDefaultAppearanceString()\r\n {\r\n return ((COSString)option.getObject( 1 ) ).getString();\r\n }", "public void resetToDefaults() {\r\n setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n setDateFormatSymbols(new DateFormatSymbols());\r\n setShowControls(true);\r\n setControlsPosition(JCalendar.TOP);\r\n setControlsStep(10);\r\n setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n setWeekDayDisplayType(JCalendar.ONE);\r\n setShowHorizontalLines(false);\r\n setShowVerticalLines(false);\r\n setChangingFirstDayOfWeekAllowed(true);\r\n setTooltipDateFormat(new SimpleDateFormat(\"MMMM dd, yyyy\"));\r\n }", "@DISPID(0)\n @PropGet\n @DefaultMethod\n excel.Window get_Default(\n java.lang.Object index);", "private void setBorder(CellStyle style, BorderStyle borderStyle) {\n\t\tstyle.setBorderBottom(borderStyle);\n\t\tstyle.setBorderTop(borderStyle);\n\t\tstyle.setBorderLeft(borderStyle);\n\t\tstyle.setBorderRight(borderStyle);\n\t}", "Object getInitialOverride(QName styleName, VerifierContext context);", "public void setStylePanel(StylePanel stylePanel);", "public String getStyleSheetId() {\n return styleSheetId;\n }", "public void setStrokeStyle(STYLE style);", "public void setCellStyle( CellStyle style )\n {\n for (Cell[] colCells : cells) {\n for (Cell cell : colCells) {\n cell.setCellStyle(style);\n }\n }\n }", "public void setSheetSelected(int posSheet) {\n try {\n workbook.setActiveSheet(posSheet);\n } catch (IllegalArgumentException ex) {\n workbook.setActiveSheet(0);\n }\n }", "public void setDefaultColors(String value) \n {\n setValue(Boolean.valueOf(value), PROP_DEFAULT_COLORS);\n }", "@Override\n public void setFillStyle(Style style) {\n Object nativeFillStyle = graphicsEnvironmentImpl.setFillStyle(canvas, style, style.getCached());\n style.cache(nativeFillStyle);\n }", "public void modify( CellStyle style );", "private WidgetConfiguration setStyling(Item item, WidgetConfiguration defaultConfig) {\n\t\tWidgetConfiguration newConfig = new WidgetConfiguration(\n\t\t\t\tdefaultConfig.getFont(), defaultConfig.getColor(), new Dimension(defaultConfig.getWidth(), defaultConfig.getHeight()));\n\n\t\t//go through all properties, visit and set found formatting\n\t\tfor (StyleProperty prop : item.getProperties()) {\n\t\t\tprop.accept(new StyleVisitor<Void, Void>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(Height h, Void ctx2) {\n\t\t\t\t\tnewConfig.setHeight(h.getHeightVal());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(Width w, Void ctx2) {\n\t\t\t\t\tnewConfig.setWidth(w.getWidthVal());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontName fn, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontName(fn.getName());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontSize fs, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontSize(fs.getSize());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontColor fc, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontColor(fc.getColor());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t},\n\t\t\tnull);\n\t\t}\n\t\t//return new configuration to style the question\n\t\treturn newConfig;\n\t}", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "private void setWindowDefaultSize(UserPrefs prefs) {\n primaryStage.setHeight(prefs.getGuiSettings().getWindowHeight());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"165\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setWidth(prefs.getGuiSettings().getWindowWidth());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"166\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n if (prefs.getGuiSettings().getWindowCoordinates() != null) {\n primaryStage.setX(prefs.getGuiSettings().getWindowCoordinates().getX());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"168\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setY(prefs.getGuiSettings().getWindowCoordinates().getY());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"169\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }\n\t\tTemplateClass.instrum(\"LineNumber: \",\"167\", \"Type: \",\"org.eclipse.jdt.core.dom.IfStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }", "final public void setStyleClass(String styleClass)\n {\n setProperty(STYLE_CLASS_KEY, (styleClass));\n }", "protected void uninstallDefaults() {\n LookAndFeel.uninstallBorder(this.controlPanel);\n }", "protected void uninstallDefaults() {\n\t\tLookAndFeel.uninstallBorder(this.controlPanel);\n\t}", "public final void setDefaultCardBackground(int i) {\n this.binding.coolapkCardView.setDefaultBackgroundColor(Integer.valueOf(i));\n this.binding.coolapkCardView.setRoundCardStyle();\n }", "protected void setStyleName(FlexTable flexTable) {\n\n\t\tint index = flexTable.getRowCount() - 1;\n\n\t\tif (index == 0) {\n\n\t\t\tString cellStyleName = CSS_HEADING;\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, cellStyleName);\n\t\t\t}\n\t\t} else {\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tif (i != count - 1) {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_CONTENT);\n\t\t\t\t} else {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_MENU);\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t}", "public void setTheme(){\r\n\r\n for (int i = 0; i < 3; i++) {\r\n\r\n buttons[i].setBackground(theme.getButtonTheme()[0][0]);\r\n buttons[i].setForeground(theme.getButtonTheme()[0][1]);\r\n\r\n if(i < 2) {\r\n\r\n panels[i].setBackground(theme.getBackGroundTheme()[0]);\r\n\r\n }\r\n\r\n }\r\n\r\n menuBars[0].setBackground(theme.getInsomniaTheme()[0]);\r\n\r\n menus[0].setForeground(theme.getInsomniaTheme()[1]);\r\n\r\n buttons[0].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_list_30px.png\"));\r\n\r\n buttons[1].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_sort_down_10px.png\"));\r\n\r\n buttons[2].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_sort_down_&&_plus_25px.png\"));\r\n\r\n menus[2].getItem(0).setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_joyent_15px.png\"));\r\n menus[2].getItem(1).setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_doctors_folder_15px.png\"));\r\n\r\n filter.setBackground(theme.getTextFieldTheme()[0][0]);\r\n filter.setForeground(theme.getTextFieldTheme()[0][1]);\r\n\r\n }", "public void setStyleName(String styleName) {\r\n setAttribute(\"styleName\", styleName, true);\r\n }", "public void setStyleNew(String value) {\n setAttributeInternal(STYLENEW, value);\n }", "public void setDwStyle(org.sirius.client.win32.core.types.Dword dwStyle) {\n this.dwStyle = dwStyle;\n }", "private void configDefaultDrawable() {\n drawableResId().open = R.drawable.sms_add_btn;\n drawableResId().close = R.drawable.sms_close_btn;\n drawableResId().gotoEmotion = R.drawable.sms_kaomoji_btn;\n drawableResId().keyboard = R.drawable.sms_keyboard;\n drawableResId().voiceNormal = R.drawable.sms_voice_btn;\n drawableResId().voicePressed = R.drawable.sms_voice_btn_p;\n }", "public void updateStyle()\n {\n this.textOutput.setForeground(new Color(null, ShellPreference.OUTPUT_COLOR_INPUT.getRGB()));\n this.textOutput.setBackground(new Color(null, ShellPreference.OUTPUT_BACKGROUND.getRGB()));\n this.textOutput.setFont(new Font(null, ShellPreference.OUTPUT_FONT.getFontData()));\n this.colorOuput = new Color(null, ShellPreference.OUTPUT_COLOR_OUTPUT.getRGB());\n this.colorError = new Color(null, ShellPreference.OUTPUT_COLOR_ERROR.getRGB());\n\n this.textInput.setForeground(new Color(null, ShellPreference.INPUT_COLOR.getRGB()));\n this.textInput.setBackground(new Color(null, ShellPreference.INPUT_BACKGROUND.getRGB()));\n this.textInput.setFont(new Font(null, ShellPreference.INPUT_FONT.getFontData()));\n\n this.historyMax = ShellPreference.MAX_HISTORY.getInt();\n }" ]
[ "0.7756094", "0.65042835", "0.6482155", "0.63193417", "0.62738764", "0.600416", "0.5919735", "0.5836966", "0.5830472", "0.5809767", "0.57648534", "0.5733956", "0.5684771", "0.5684297", "0.5681066", "0.5589287", "0.5586344", "0.5540512", "0.55224717", "0.5519254", "0.5517799", "0.5515196", "0.5511409", "0.55007344", "0.5492604", "0.5485118", "0.5485118", "0.5482142", "0.5428776", "0.54043776", "0.54034287", "0.5401324", "0.53882855", "0.5377381", "0.53684086", "0.536626", "0.5342219", "0.5338979", "0.53361183", "0.5334438", "0.5328585", "0.53259206", "0.5321538", "0.5319816", "0.5307271", "0.5305695", "0.5304352", "0.5292792", "0.52920586", "0.52380246", "0.5233844", "0.5230972", "0.5215271", "0.52130437", "0.5212111", "0.5201319", "0.5197434", "0.5189592", "0.5180866", "0.51773214", "0.5165952", "0.51247734", "0.51211065", "0.511818", "0.5111626", "0.51082814", "0.5108138", "0.5107075", "0.50911933", "0.5088081", "0.5088081", "0.5088081", "0.5087739", "0.5069698", "0.50692725", "0.5057711", "0.5049106", "0.5040991", "0.5040323", "0.50376886", "0.503758", "0.50316846", "0.50266683", "0.5023237", "0.5020496", "0.5019864", "0.50180393", "0.5015881", "0.5013444", "0.5013069", "0.5012788", "0.5000949", "0.499996", "0.49901253", "0.4989685", "0.49878892", "0.49872857", "0.49782518", "0.49635008", "0.49600375" ]
0.7799817
0
Set value of MxSheet_DefaultStyle
public final void setMxSheet_DefaultStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_defaultstyle) { if (mxsheet_defaultstyle == null) getMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), null); else getMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), mxsheet_defaultstyle.getMendixObject().getId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_DefaultStyle(xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tsetMxSheet_DefaultStyle(getContext(), mxsheet_defaultstyle);\r\n\t}", "public void setDefaultStyleString(String defaultStyleString) {\n/* 564 */ getCOSObject().setString(COSName.DS, defaultStyleString);\n/* */ }", "private void defaultStyle() {\n\t\t//idField.setStyle(\"\");\n\t\tproductNameField.setStyle(\"\");\n\t\tinvField.setStyle(\"\");\n\t\tpriceField.setStyle(\"\");\n\t\tmaxField.setStyle(\"\");\n\t\tminField.setStyle(\"\");\n\t}", "private void setStyleToDefault() {\n // enable syntax highlighting\n commandTextField.enableSyntaxHighlighting();\n }", "public void setDefault(VisualStyle style, Object c) {\n \t\tif ((style == null) || (c == null))\n \t\t\treturn;\n \n \t\tif (isNodeProp()) {\n \t\t\tNodeAppearanceCalculator nodeCalc = style.getNodeAppearanceCalculator();\n \t\t\tNodeAppearance na = nodeCalc.getDefaultAppearance();\n \t\t\tna.set(this, c);\n \t\t\tnodeCalc.setDefaultAppearance(na);\n \t\t} else {\n \t\t\tEdgeAppearanceCalculator edgeCalc = style.getEdgeAppearanceCalculator();\n \t\t\tEdgeAppearance ea = edgeCalc.getDefaultAppearance();\n \t\t\tea.set(this, c);\n \t\t\tedgeCalc.setDefaultAppearance(ea);\n \t\t}\n \t}", "void setStyle(String style);", "public void setFillStyle(STYLE style);", "private void changeUIdefaults() {\n\t\tUIManager.put(\"TaskPaneContainer.useGradient\", Boolean.FALSE);\n\t\tUIManager.put(\"TaskPaneContainer.background\",\n\t\t\t\tColors.LightGray.color(0.5f));\n\n\t\t// setting taskpane defaults\n\t\tUIManager.put(\"TaskPane.font\", new FontUIResource(new Font(\"Verdana\",\n\t\t\t\tFont.BOLD, 16)));\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientStart\",\n\t\t\t\tColors.White.color());\n\t\tUIManager.put(\"TaskPane.titleBackgroundGradientEnd\",\n\t\t\t\tColors.LightBlue.color());\n\t}", "public static Style getDefault() { return Style.SHAPE; }", "public boolean isNewIsDefaultStyle()\r\n {\r\n return myNewIsDefaultStyle;\r\n }", "public void setStyleName(java.lang.String styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLENAME$32);\n }\n target.setStringValue(styleName);\n }\n }", "@StyleDefaults(ELEMENT_ID)\n public static void initializeDefaultStyles(Styles styles, Attributes attrs) {\n styles.getSelector(meid, null).set(\"setReadfieldPreferredWidth\", 50, false);\n styles.getSelector(meid, null).set(\"setHeadlineHAlignment\", HAlignment.Center, false);\n styles.getSelector(meid, null).set(\"setReadfieldimagewidth\", 0f, false);\n styles.getSelector(meid, null).set(\"setReadfieldimageheight\", 0f, false);\n }", "protected void SetDefault() {\r\n\t\tBrickFinder.getDefault().setDefault();\t\t\r\n\t}", "public void setBackgroundToDefault(){\n\t\tcurrentBackgroundImage = defaultBackgroundImage;\n\t\tbackgroundPanel.changeBackground(defaultBackgroundImage);\n\t}", "public void setDefaultAppearance(String daValue) {\n/* 540 */ getCOSObject().setString(COSName.DA, daValue);\n/* */ }", "@attribute(value = \"\", required = false, defaultValue=\"NONE\")\r\n\tpublic void setStyle(String style) {\r\n\t\t// dummy function for comment\r\n\t}", "public final synchronized void setStyle(int style){\n this.style = style;\n\n if (isLoggedIn()){\n sendCommand(\"$set style \"+style);\n filterLine(\"Style \"+style+\" set.\");\n }\n }", "public synchronized void resetStyle() {\n \t\tstyleInitialized = false;\n \t}", "public void setActiveSheet(int arg0) {\n\n\t}", "public Object getDefault(VisualStyle style) {\n \t\tif (style == null)\n \t\t\treturn null;\n \n \t\tAppearance a = null;\n \n \t\tif (isNodeProp())\n \t\t\ta = style.getNodeAppearanceCalculator().getDefaultAppearance();\n \t\telse\n \t\t\ta = style.getEdgeAppearanceCalculator().getDefaultAppearance();\n \n \t\treturn a.get(this);\n \t}", "public void setStartPointEndingStyle(String style) {\n/* 713 */ String actualStyle = (style == null) ? \"None\" : style;\n/* 714 */ COSBase base = getCOSObject().getDictionaryObject(COSName.LE);\n/* */ \n/* 716 */ if (!(base instanceof COSArray) || ((COSArray)base).size() == 0) {\n/* */ \n/* 718 */ COSArray array = new COSArray();\n/* 719 */ array.add((COSBase)COSName.getPDFName(actualStyle));\n/* 720 */ array.add((COSBase)COSName.getPDFName(\"None\"));\n/* 721 */ getCOSObject().setItem(COSName.LE, (COSBase)array);\n/* */ }\n/* */ else {\n/* */ \n/* 725 */ COSArray array = (COSArray)base;\n/* 726 */ array.setName(0, actualStyle);\n/* */ } \n/* */ }", "void onStyleModify() {\n\t\tif (mergedStyleSheet != null) {\n\t\t\tmergedStyleSheet = null;\n\t\t\tsheets.setNeedsUpdate(true);\n\t\t} else if (sheets != null) {\n\t\t\tsheets.setNeedsUpdate(true);\n\t\t}\n\t}", "void setDefaultPreference(String preferenceName, String value) throws OntimizeJEERuntimeException;", "@FXML\n\tprivate void setDarkStyle() {\n\t\tapplication.getScene().getStylesheets().remove(urlDefaultTheme);\n\n\t\t// Add the new theme\n\t\tapplication.getScene().getStylesheets().add(urlDarkTheme);\n\t}", "public void setStyle(String st){\n style = st;\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void xsetStyleName(org.apache.xmlbeans.XmlString styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(STYLENAME$32);\n }\n target.set(styleName);\n }\n }", "public SheetTheme getTheme() {\n return SheetTheme.WHITE;\n }", "public void setDefaultStylesheet() {\n\n\t\tsetAttribute(\"stylesheet\", \"node { \"\n\t\t\t//\t+ \"size: 10px;\"\n\t\t\t\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"fill-mode: dyn-plain; \"\n\t\t\t//\t+ \"stroke-mode: plain;\"\n\t\t\t//\t+ \"stroke-color: black;\"\n\t\t\t\t+ \"stroke-mode: plain;\"\n\t\t\t\t+ \"stroke-width: 1px;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"} \"\n\t\t\t\t+ \"node.enzyme {\"\n\t\t\t\t+ \"shape: box;\"\n\t\t\t//\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"fill-color: #DEE;\"\n\t\t\t\t+ \"} \"\n\t\t\t\t+ \"node.compound { \"\n\t\t\t//\t+ \"size: 10px, 10px;\"\n\t\t\t\t+ \"shape: circle;\"\n\t\t\t\t+ \"text-alignment: under;\"\n\t\t\t\t+ \"}\");\n\t}", "private void applyCurrentTheme() {\n TempestatibusApplicationSettings tempestatibusApplicationSettings = getTempestatibusApplicationSettings();\n tempestatibusApplicationSettings.createSharedPreferenceContext(this);\n String theme = tempestatibusApplicationSettings.getAppThemePreference();\n mRefreshImageView.setBackgroundResource(TempestatibusApplicationSettings.getRefreshId());\n mDegreeImageView.setBackgroundResource(TempestatibusApplicationSettings.getLargeDegreeId(theme));\n mDewValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mApparentTemperatureValueSmallDegree.setBackgroundResource(TempestatibusApplicationSettings.getSmallDegreeId(theme));\n mSettingsImageView.setBackgroundResource(TempestatibusApplicationSettings.getSettingsIconId());\n mHourglassIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getHourglassId());\n mSaveIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSaveIconId());\n mSearchIconImageView.setBackgroundResource(TempestatibusApplicationSettings.getSearchIconId());\n }", "public void setStyleId(java.lang.String styleId)\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(STYLEID$30);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLEID$30);\n }\n target.setStringValue(styleId);\n }\n }", "public void xsetStyleId(org.openxmlformats.schemas.drawingml.x2006.main.STGuid styleId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.STGuid target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().find_attribute_user(STYLEID$30);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().add_attribute_user(STYLEID$30);\n }\n target.set(styleId);\n }\n }", "public void setStyle(String style) {\n this.style = style;\n }", "public String getDefaultAppearance() {\n/* 530 */ return getCOSObject().getString(COSName.DA);\n/* */ }", "protected void installDefaults() {\n\t\tColor bg = this.controlPanel.getBackground();\n\t\tif (bg == null || bg instanceof UIResource) {\n\t\t\tthis.controlPanel.setBackground(FlamingoUtilities.getColor(\n\t\t\t\t\tColor.lightGray, \"ControlPanel.background\",\n\t\t\t\t\t\"Panel.background\"));\n\t\t}\n\n\t\tBorder b = this.controlPanel.getBorder();\n\t\tif (b == null || b instanceof UIResource) {\n\t\t\tBorder toSet = UIManager.getBorder(\"ControlPanel.border\");\n\t\t\tif (toSet == null)\n\t\t\t\tnew BorderUIResource.EmptyBorderUIResource(1, 2, 1, 2);\n\t\t\tthis.controlPanel.setBorder(toSet);\n\t\t}\n\t\t\n\t\tFont font = this.controlPanel.getFont();\n if (font == null || font instanceof UIResource) {\n Font toSet = UIManager.getFont(\"Panel.font\");\n this.controlPanel.setFont(toSet);\n }\n\t}", "protected void installDefaults()\n {\n String prefix = getPropertyPrefix();\n Font f = editor.getFont();\n if ((f == null) || (f instanceof UIResource)) {\n editor.setFont(UIManager.getFont(prefix + \".font\"));\n }\n\n Color bg = editor.getBackground();\n if ((bg == null) || (bg instanceof UIResource)) {\n editor.setBackground(UIManager.getColor(prefix + \".background\"));\n }\n\n Color fg = editor.getForeground();\n if ((fg == null) || (fg instanceof UIResource)) {\n editor.setForeground(UIManager.getColor(prefix + \".foreground\"));\n }\n\n Color color = editor.getCaretColor();\n if ((color == null) || (color instanceof UIResource)) {\n editor.setCaretColor(UIManager.getColor(prefix + \".caretForeground\"));\n }\n\n Color s = editor.getSelectionColor();\n if ((s == null) || (s instanceof UIResource)) {\n editor.setSelectionColor(UIManager.getColor(prefix + \".selectionBackground\"));\n }\n\n Color sfg = editor.getSelectedTextColor();\n if ((sfg == null) || (sfg instanceof UIResource)) {\n editor.setSelectedTextColor(UIManager.getColor(prefix + \".selectionForeground\"));\n }\n\n Color dfg = editor.getDisabledTextColor();\n if ((dfg == null) || (dfg instanceof UIResource)) {\n editor.setDisabledTextColor(UIManager.getColor(prefix + \".inactiveForeground\"));\n }\n\n Border b = editor.getBorder();\n if ((b == null) || (b instanceof UIResource)) {\n editor.setBorder(UIManager.getBorder(prefix + \".border\"));\n }\n\n Insets margin = editor.getMargin();\n if (margin == null || margin instanceof UIResource) {\n editor.setMargin(UIManager.getInsets(prefix + \".margin\"));\n }\n\n updateCursor();\n }", "@Override\n public void initStyle() {\n\t// NOTE THAT EACH CLASS SHOULD CORRESPOND TO\n\t// A STYLE CLASS SPECIFIED IN THIS APPLICATION'S\n\t// CSS FILE\n \n // FOR CHANGING THE ITEMS INSIDE THE EDIT TOOLBAR\n editToolbarPane.getStyleClass().add(CLASS_EDITTOOLBAR_PANE);\n \n mapNameLabel.getStyleClass().add(CLASS_MAPNAME_LABEL);\n mapName.getStyleClass().add(CLASS_MAPNAME_TEXTFIELD);\n backgroundColorLabel.getStyleClass().add(CLASS_LABEL);\n borderColorLabel.getStyleClass().add(CLASS_LABEL);\n borderThicknessLabel.getStyleClass().add(CLASS_LABEL);\n zoomLabel.getStyleClass().add(CLASS_MAPNAME_LABEL);\n borderThicknessSlider.getStyleClass().add(CLASS_BORDER_SLIDER);\n mapZoomingSlider.getStyleClass().add(CLASS_ZOOM_SLIDER);\n buttonBox.getStyleClass().add(CLASS_PADDING);\n // FIRST THE WORKSPACE PANE\n workspace.getStyleClass().add(CLASS_BORDERED_PANE);\n }", "public String getDefaultStyleString() {\n/* 552 */ return getCOSObject().getString(COSName.DS);\n/* */ }", "public void reset() {\n _styles.clear();\n _styles.add(TextStyle.DEFAULT);\n }", "public void setCurrentStyleName(String name)\n\t{\n\t\tif (name != null)\n\t\t{\n\t\t\tthis.guiController.getCurrentStyle().setName(name);\n\t\t\tthis.styleComboBox.repaint();\n\t\t}\n\t}", "@Override\n\tpublic void setSelectedStyleSheetSet(String name) {\n\t\tif (name == null || (name.length() > 0 && !getStyleSheetSets().contains(name))) {\n\t\t\treturn;\n\t\t}\n\t\tIterator<LinkStyleDefiner> links = linkedStyle.iterator();\n\t\twhile (links.hasNext()) {\n\t\t\tString title;\n\t\t\tCSSStyleSheet sheet = links.next().getSheet();\n\t\t\tif (sheet != null && (title = sheet.getTitle()) != null && title.length() != 0) {\n\t\t\t\tif (title.equalsIgnoreCase(name)) {\n\t\t\t\t\tsheet.setDisabled(false);\n\t\t\t\t\tlastStyleSheetSet = name;\n\t\t\t\t} else {\n\t\t\t\t\tsheet.setDisabled(true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public abstract String getDefaultStylesheet ();", "public void applyCurrentStyle()\n\t{\n\t\tthis.getCurrentStyleTree().saveCurrentStyle();\n\t\tthis.guiController.rebuildStyle();\n\n\t\tThreadService.executeOnEDT(new Runnable()\n\t\t{\n\t\t\t@Override\n\t\t\tpublic void run()\n\t\t\t{\n\t\t\t\tgetCurrentStyleTree().repaint();\n\t\t\t}\n\t\t});\n\t}", "private void setCellStyle( CellStyle style, int rowIx, int colIx )\n {\n \tcells[colIx][rowIx].setCellStyle( style );\n }", "private void setAppearance(String className) {\n DweezilUIManager.setLookAndFeel(className, new Component[]{MainFrame.getInstance(), StatusWindow.getInstance(),\n PrefsSettingsPanel.this.getParent().getParent()});\n\n }", "public final void setMxSheet_HeaderStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tif (mxsheet_headerstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), mxsheet_headerstyle.getMendixObject().getId());\r\n\t}", "public mxStyleSheet getFillStyle()\n\t{\n\t\treturn fillStyle;\n\t}", "@Override\n\tabstract public void setDefaultHTMLUserAgentSheet();", "public void setCurrentStyle(StyleEditorTree styleTree)\n\t{\n\t\tif (styleTree == null)\n\t\t\tthrow new IllegalArgumentException(\"StyleEditorTree is null.\");\n\n\t\tthis.guiController.setStyle(styleTree.getStyle());\n\t}", "public Encoding setStyle(String value) {\n\t\tstyle = value;\n\t\treturn this;\n\t}", "protected void installDefaults() {\n this.controlPanel.setBackground(null);\n\n Font font = this.controlPanel.getFont();\n if (font == null || font instanceof UIResource) {\n Font toSet = RadianceThemingCortex.GlobalScope.getFontPolicy().getFontSet().\n getControlFont();\n this.controlPanel.setFont(toSet);\n }\n }", "private Style createDefaultStyle() {\n Rule rule = createRule(LINE_COLOUR, FILL_COLOUR); //utilizamos las definiciones anteriores\n\n FeatureTypeStyle fts = sf.createFeatureTypeStyle();\n fts.rules().add(rule);\n\n Style style = sf.createStyle();\n style.featureTypeStyles().add(fts);\n return style;\n}", "private void applyInitialLook() {\r\n\t\tthis.control.setFont(this.initialFont);\r\n\t\tthis.control.setBackground(this.initialBackgroundColor);\r\n\t\tthis.control.setForeground(this.initialForegroundColor);\r\n\t}", "protected void setToDefault(){\n\n\t}", "protected Stylesheet stylesheet () {\n return SimpleStyles.newSheet();\n }", "public void changeToStandard(){\n drawAttributeManager.toggleStandardView();\n getContentPane().setBackground(DrawAttribute.whiteblue);\n canvas.repaint();\n }", "public final void setMxSheet_HeaderStyle(xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tsetMxSheet_HeaderStyle(getContext(), mxsheet_headerstyle);\r\n\t}", "private void applyStyle() {\n\t\tmenu.getStyleClass().add(menuColor);\n\t}", "protected void onSetDefaultColor() {\r\n\tsetClusterColor(null);\r\n\t}", "void set(String group, String name, String style);", "public void styleforZero() {\r\n\t\t\r\n\t\tsuper.styleforZero();\r\n\t\t\r\n\t}", "private void restoreStyle() {\n if(this.backedup) {\n this.backedup = false;\n\n this.currentFillColor = this.lastFillColor;\n DOM.setStyleAttribute(fill.getElement(), \"backgroundColor\",currentFillColor.toCss(false));\n this.fillOpacity.setValue(this.lastFillOpacity);\n this.currentFillColor.setAlpha(this.fillOpacity.getValue());\n\n this.currentStrokeColor = this.lastStrokeColor;\n DOM.setStyleAttribute(stroke.getElement(), \"backgroundColor\",currentStrokeColor.toCss(false));\n this.strokeOpacity.setValue(this.lastStrokeOpacity);\n this.currentStrokeColor.setAlpha(this.strokeOpacity.getValue());\n\n this.currentStrokeSize.setValue(this.lastStrokeSize);\n }\n }", "public void setBoardStyle(BoardStyle style) {\n\t\tboardStyle = style;\n\t}", "public abstract BossBar setStyle(BossStyle style);", "public DefaultTheme() {\r\n //sets up alpha values for a nicer look\r\n p1.a = 0.85f;\r\n p2.a = 0.85f;\r\n p3.a = 0.85f;\r\n\r\n s1.a = 0.85f;\r\n s2.a = 0.85f;\r\n s3.a = 0.85f;\r\n }", "abstract protected AbstractCSSStyleSheet getUserNormalStyleSheet();", "public void setStyle(Style style) {\n\t\tmFont = style.font;\n\t\tmFontHeight = mFont.getHeight();\n\t\tmFontColor = style.getFontColor();\n\t\tmTimeStrLen = mFont.stringWidth((Util.TIME_FMT == 24) ? \"00:00 -\" : \"00:00MM -\") + SPACING;\n\t}", "@Override\n\tpublic void setRowStyle(CellStyle arg0) {\n\t\t\n\t}", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public void setStyle(String style) {\n this.style = style == null ? null : style.trim();\n }", "public SimpleStyle() {\n\t\t// set default values\n\t\tthis.foregroundColor = -1;\n\t\t// others are null: VM DONE\n\t}", "public String getDefaultAppearanceString()\r\n {\r\n return ((COSString)option.getObject( 1 ) ).getString();\r\n }", "public void resetToDefaults() {\r\n setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n setDateFormatSymbols(new DateFormatSymbols());\r\n setShowControls(true);\r\n setControlsPosition(JCalendar.TOP);\r\n setControlsStep(10);\r\n setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\r\n setWeekDayDisplayType(JCalendar.ONE);\r\n setShowHorizontalLines(false);\r\n setShowVerticalLines(false);\r\n setChangingFirstDayOfWeekAllowed(true);\r\n setTooltipDateFormat(new SimpleDateFormat(\"MMMM dd, yyyy\"));\r\n }", "@DISPID(0)\n @PropGet\n @DefaultMethod\n excel.Window get_Default(\n java.lang.Object index);", "private void setBorder(CellStyle style, BorderStyle borderStyle) {\n\t\tstyle.setBorderBottom(borderStyle);\n\t\tstyle.setBorderTop(borderStyle);\n\t\tstyle.setBorderLeft(borderStyle);\n\t\tstyle.setBorderRight(borderStyle);\n\t}", "Object getInitialOverride(QName styleName, VerifierContext context);", "public String getStyleSheetId() {\n return styleSheetId;\n }", "public void setStylePanel(StylePanel stylePanel);", "public void setStrokeStyle(STYLE style);", "public void setCellStyle( CellStyle style )\n {\n for (Cell[] colCells : cells) {\n for (Cell cell : colCells) {\n cell.setCellStyle(style);\n }\n }\n }", "public void setSheetSelected(int posSheet) {\n try {\n workbook.setActiveSheet(posSheet);\n } catch (IllegalArgumentException ex) {\n workbook.setActiveSheet(0);\n }\n }", "public void setDefaultColors(String value) \n {\n setValue(Boolean.valueOf(value), PROP_DEFAULT_COLORS);\n }", "@Override\n public void setFillStyle(Style style) {\n Object nativeFillStyle = graphicsEnvironmentImpl.setFillStyle(canvas, style, style.getCached());\n style.cache(nativeFillStyle);\n }", "public void modify( CellStyle style );", "private WidgetConfiguration setStyling(Item item, WidgetConfiguration defaultConfig) {\n\t\tWidgetConfiguration newConfig = new WidgetConfiguration(\n\t\t\t\tdefaultConfig.getFont(), defaultConfig.getColor(), new Dimension(defaultConfig.getWidth(), defaultConfig.getHeight()));\n\n\t\t//go through all properties, visit and set found formatting\n\t\tfor (StyleProperty prop : item.getProperties()) {\n\t\t\tprop.accept(new StyleVisitor<Void, Void>() {\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(Height h, Void ctx2) {\n\t\t\t\t\tnewConfig.setHeight(h.getHeightVal());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(Width w, Void ctx2) {\n\t\t\t\t\tnewConfig.setWidth(w.getWidthVal());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontName fn, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontName(fn.getName());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontSize fs, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontSize(fs.getSize());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic Void visit(FontColor fc, Void ctx2) {\n\t\t\t\t\tnewConfig.setFontColor(fc.getColor());\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t},\n\t\t\tnull);\n\t\t}\n\t\t//return new configuration to style the question\n\t\treturn newConfig;\n\t}", "public void initialSetting(AttributeSet attributeSet, int defStyleAttr){\n paint_brush.setAntiAlias(true);\n\n //Setting the color for the Paint Brush\n paint_brush.setColor(Color.BLACK);\n\n //Setting the corner display for the drawings done by the User\n //The corners will be seen circular in display\n paint_brush.setStrokeJoin(Paint.Join.ROUND);\n\n //Setting the style of the stroke of the paint brush\n paint_brush.setStyle(Paint.Style.STROKE);\n\n //Setting the width of the stroke of the paint brush\n paint_brush.setStrokeWidth(8f);\n }", "private void setWindowDefaultSize(UserPrefs prefs) {\n primaryStage.setHeight(prefs.getGuiSettings().getWindowHeight());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"165\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setWidth(prefs.getGuiSettings().getWindowWidth());\n\t\tTemplateClass.instrum(\"LineNumber: \",\"166\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n if (prefs.getGuiSettings().getWindowCoordinates() != null) {\n primaryStage.setX(prefs.getGuiSettings().getWindowCoordinates().getX());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"168\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n primaryStage.setY(prefs.getGuiSettings().getWindowCoordinates().getY());\n\t\t\tTemplateClass.instrum(\"LineNumber: \",\"169\", \"Type: \",\"org.eclipse.jdt.core.dom.ExpressionStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }\n\t\tTemplateClass.instrum(\"LineNumber: \",\"167\", \"Type: \",\"org.eclipse.jdt.core.dom.IfStatement\", \"Method: \",\"setWindowDefaultSize\", \"Class: \",\"MainWindow\");\n }", "protected void uninstallDefaults() {\n LookAndFeel.uninstallBorder(this.controlPanel);\n }", "final public void setStyleClass(String styleClass)\n {\n setProperty(STYLE_CLASS_KEY, (styleClass));\n }", "protected void uninstallDefaults() {\n\t\tLookAndFeel.uninstallBorder(this.controlPanel);\n\t}", "public final void setDefaultCardBackground(int i) {\n this.binding.coolapkCardView.setDefaultBackgroundColor(Integer.valueOf(i));\n this.binding.coolapkCardView.setRoundCardStyle();\n }", "protected void setStyleName(FlexTable flexTable) {\n\n\t\tint index = flexTable.getRowCount() - 1;\n\n\t\tif (index == 0) {\n\n\t\t\tString cellStyleName = CSS_HEADING;\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, cellStyleName);\n\t\t\t}\n\t\t} else {\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tif (i != count - 1) {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_CONTENT);\n\t\t\t\t} else {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_MENU);\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t}", "public void setTheme(){\r\n\r\n for (int i = 0; i < 3; i++) {\r\n\r\n buttons[i].setBackground(theme.getButtonTheme()[0][0]);\r\n buttons[i].setForeground(theme.getButtonTheme()[0][1]);\r\n\r\n if(i < 2) {\r\n\r\n panels[i].setBackground(theme.getBackGroundTheme()[0]);\r\n\r\n }\r\n\r\n }\r\n\r\n menuBars[0].setBackground(theme.getInsomniaTheme()[0]);\r\n\r\n menus[0].setForeground(theme.getInsomniaTheme()[1]);\r\n\r\n buttons[0].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_list_30px.png\"));\r\n\r\n buttons[1].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_sort_down_10px.png\"));\r\n\r\n buttons[2].setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_sort_down_&&_plus_25px.png\"));\r\n\r\n menus[2].getItem(0).setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_joyent_15px.png\"));\r\n menus[2].getItem(1).setIcon(new ImageIcon(theme.getAddressIcons()+\"icons8_doctors_folder_15px.png\"));\r\n\r\n filter.setBackground(theme.getTextFieldTheme()[0][0]);\r\n filter.setForeground(theme.getTextFieldTheme()[0][1]);\r\n\r\n }", "public void setStyleName(String styleName) {\r\n setAttribute(\"styleName\", styleName, true);\r\n }", "public void setStyleNew(String value) {\n setAttributeInternal(STYLENEW, value);\n }", "public void setDwStyle(org.sirius.client.win32.core.types.Dword dwStyle) {\n this.dwStyle = dwStyle;\n }", "private void configDefaultDrawable() {\n drawableResId().open = R.drawable.sms_add_btn;\n drawableResId().close = R.drawable.sms_close_btn;\n drawableResId().gotoEmotion = R.drawable.sms_kaomoji_btn;\n drawableResId().keyboard = R.drawable.sms_keyboard;\n drawableResId().voiceNormal = R.drawable.sms_voice_btn;\n drawableResId().voicePressed = R.drawable.sms_voice_btn_p;\n }", "public int getStyle() {\n\treturn style;\n }" ]
[ "0.7799737", "0.6503379", "0.64826685", "0.63179487", "0.62733024", "0.6001577", "0.59192413", "0.58369476", "0.5832311", "0.5811711", "0.5762747", "0.5734189", "0.5684975", "0.5684078", "0.5680517", "0.5587763", "0.558381", "0.5541258", "0.5523274", "0.55202585", "0.5519316", "0.5515609", "0.5510686", "0.5499524", "0.5491109", "0.54838294", "0.54838294", "0.54815793", "0.5430434", "0.54033834", "0.54027885", "0.5399243", "0.5388174", "0.5376179", "0.537135", "0.5365546", "0.5340621", "0.5339819", "0.5338137", "0.5334505", "0.53261465", "0.5325275", "0.53211933", "0.5320021", "0.5307111", "0.530557", "0.53034425", "0.52945185", "0.5293241", "0.5234908", "0.52308106", "0.52305245", "0.52160066", "0.5212638", "0.5211808", "0.52031595", "0.51976705", "0.5188712", "0.5180239", "0.5176765", "0.5163122", "0.5125153", "0.5122692", "0.5117167", "0.5110563", "0.5108128", "0.51080894", "0.51064", "0.5090707", "0.50868344", "0.50868344", "0.50868344", "0.50866836", "0.5071923", "0.5069923", "0.50613284", "0.5047775", "0.5041982", "0.5039147", "0.5039107", "0.50364935", "0.50310224", "0.50275475", "0.5021412", "0.5019758", "0.5018757", "0.5017012", "0.5016372", "0.50139135", "0.50128466", "0.5010092", "0.50011003", "0.49999967", "0.49892375", "0.49889785", "0.49858811", "0.49848756", "0.4978162", "0.4964249", "0.4961171" ]
0.77560997
1
Set value of MxSheet_HeaderStyle
public final void setMxSheet_HeaderStyle(xlsreport.proxies.MxCellStyle mxsheet_headerstyle) { setMxSheet_HeaderStyle(getContext(), mxsheet_headerstyle); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_HeaderStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tif (mxsheet_headerstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), mxsheet_headerstyle.getMendixObject().getId());\r\n\t}", "@Override\n\tpublic CellStyle getHeaderStyle(int index) {\n\t\treturn headerStyle;\n\t}", "void xsetHeader(org.apache.xmlbeans.XmlString header);", "public void setHeader(JMSControl.HeaderType type,Object value);", "@Override\n\tpublic CellStyle getHeaderStyle(int index) {\n\t\tif (index == 0) {\n\t\t\treturn titleStyle;\n\t\t}\n\t\tif (headerStyle == null) {\n\t\t\treturn headerStyle;\n\t\t}\n\t\treturn headerStyle;\n\t}", "private void setBottomSheetHeader(View child) {\n if (child instanceof BottomSheetBehaviorView) {\n View view = child.findViewWithTag(BottomSheetHeaderView.TAG);\n if (view != null && view instanceof BottomSheetHeaderView) {\n BottomSheetBehaviorView b = (BottomSheetBehaviorView) child;\n RNBottomSheetBehavior behavior = b.behavior;\n headerView = (BottomSheetHeaderView) view;\n headerView.registerFields();\n headerView.toggle(behavior.getState() == RNBottomSheetBehavior.STATE_COLLAPSED);\n behavior.setHeader(headerView);\n }\n }\n }", "private void createHeaders(WritableSheet sheet)\r\n\t\t\tthrows WriteException {\n\t\taddHeader(sheet, 0, 0, reportProperties.getProperty(\"header1\"));\r\n\t\taddHeader(sheet, 1, 0, reportProperties.getProperty(\"header2\"));\r\n\t\taddHeader(sheet, 2, 0, reportProperties.getProperty(\"header3\"));\r\n\t\taddHeader(sheet, 3, 0, reportProperties.getProperty(\"header4\"));\r\n\t\t\r\n\r\n\t}", "private static StyleBuilder getHeaderStyle(ExportData metaData){\n \n /*pour la police des entàtes de HARVESTING*/\n if(metaData.getTitle().equals(ITitle.HARVESTING)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de SERVICING*/\n if(metaData.getTitle().equals(ITitle.SERVICING)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de FERTILIZATION*/\n if(metaData.getTitle().equals(ITitle.FERTILIZATION)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de CONTROL_PHYTO*/\n if(metaData.getTitle().equals(ITitle.CONTROL_PHYTO)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }else{\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n }\n \n }", "void setHeader(String headerName, String headerValue);", "protected void setStyleName(FlexTable flexTable) {\n\n\t\tint index = flexTable.getRowCount() - 1;\n\n\t\tif (index == 0) {\n\n\t\t\tString cellStyleName = CSS_HEADING;\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, cellStyleName);\n\t\t\t}\n\t\t} else {\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tif (i != count - 1) {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_CONTENT);\n\t\t\t\t} else {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_MENU);\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t}", "private static void addCustomHeadingStyle(XWPFDocument docxDocument, String strStyleId, int headingLevel) {\n\n CTStyle ctStyle = CTStyle.Factory.newInstance();\n ctStyle.setStyleId(strStyleId);\n\n CTString styleName = CTString.Factory.newInstance();\n styleName.setVal(strStyleId);\n ctStyle.setName(styleName);\n\n CTDecimalNumber indentNumber = CTDecimalNumber.Factory.newInstance();\n indentNumber.setVal(BigInteger.valueOf(headingLevel));\n\n // lower number > style is more prominent in the formats bar\n ctStyle.setUiPriority(indentNumber);\n\n CTOnOff onoffnull = CTOnOff.Factory.newInstance();\n ctStyle.setUnhideWhenUsed(onoffnull);\n\n // style shows up in the formats bar\n ctStyle.setQFormat(onoffnull);\n\n // style defines a heading of the given level\n CTPPr ppr = CTPPr.Factory.newInstance();\n ppr.setOutlineLvl(indentNumber);\n ctStyle.setPPr(ppr);\n\n XWPFStyle style = new XWPFStyle(ctStyle);\n\n // is a null op if already defined\n XWPFStyles styles = docxDocument.createStyles();\n\n style.setType(STStyleType.PARAGRAPH);\n styles.addStyle(style);\n\n }", "@Override\n\tpublic void setRowStyle(CellStyle arg0) {\n\t\t\n\t}", "private void addHeaderForSummary(Workbook p_workBook, Sheet p_sheet)\n {\n int col = 0;\n int row = SUMMARY_HEADER_ROW;\n Row summaryHeaderRow = getRow(p_sheet, row);\n\n Cell cell_A = getCell(summaryHeaderRow, col);\n cell_A.setCellValue(m_bundle.getString(\"lb_company\"));\n cell_A.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_B = getCell(summaryHeaderRow, col);\n cell_B.setCellValue(m_bundle.getString(\"lb_job_id\"));\n cell_B.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_C = getCell(summaryHeaderRow, col);\n cell_C.setCellValue(m_bundle.getString(\"lb_job_name\"));\n cell_C.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 30 * 256);\n col++;\n\n Cell cell_D = getCell(summaryHeaderRow, col);\n cell_D.setCellValue(m_bundle.getString(\"lb_language\"));\n cell_D.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_E = getCell(summaryHeaderRow, col);\n cell_E.setCellValue(m_bundle.getString(\"lb_workflow_state\"));\n cell_E.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_F = getCell(summaryHeaderRow, col);\n cell_F.setCellValue(m_bundle.getString(\"lb_mt_word_count\"));\n cell_F.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n if (usePerplexity)\n {\n Cell cell = getCell(summaryHeaderRow, col);\n cell.setCellValue(m_bundle.getString(\"lb_perplexity_wordcount\"));\n cell.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n }\n\n Cell cell_G = getCell(summaryHeaderRow, col);\n cell_G.setCellValue(m_bundle.getString(\"lb_total_word_count\"));\n cell_G.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_H = getCell(summaryHeaderRow, col);\n cell_H.setCellValue(m_bundle.getString(\"lb_average_edit_distance\"));\n cell_H.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 30 * 256);\n col++;\n\n Cell cell_I = getCell(summaryHeaderRow, col);\n cell_I.setCellValue(m_bundle.getString(\"lb_translation_error_rate\"));\n cell_I.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_J = getCell(summaryHeaderRow, col);\n cell_J.setCellValue(m_bundle.getString(\"lb_engine_name\"));\n cell_J.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n }", "public void setHeader() {\n tvHeader.setText(getResources().getString(R.string.text_skill));\n tvDots.setVisibility(View.INVISIBLE);\n }", "void setStockHeader(stockFilePT102.StockHeaderDocument.StockHeader stockHeader);", "public void setHeaderView(int headerResId) {\r\n\t\tthis.headerResId = headerResId;\r\n\t}", "public void setRowHeaderView(Component paramComponent) {\n/* 1074 */ if (getRowHeader() == null) {\n/* 1075 */ setRowHeader(createViewport());\n/* */ }\n/* 1077 */ getRowHeader().setView(paramComponent);\n/* */ }", "void setStyle(String style);", "public ResourceClient setHeaderOverride( String theName, String theValue ) {\r\n\t\t// this implementation may seem heavy-weight BUT it should be called very\r\n\t\t// rarely and when it does it cannot interfere with any existing calls \r\n\t\t// that may be using/iterating over the collection\r\n\t\tPreconditions.checkArgument( !Strings.isNullOrEmpty( theName ), \"need a header name\" );\r\n\r\n\t\ttheName = \"override.header.\" + theName; // tales does this by having 'override.header.' prepended to the header name\r\n\t\tsynchronized( this.overrideLock ) {\r\n\t\t\tMap<String,String > newOverrides = new HashMap<String, String>( this.headerOverrides );\r\n\t\t\tif( theValue == null ) {\r\n\t\t\t\tnewOverrides.remove( theName );\r\n\t\t\t} else {\r\n\t\t\t\tnewOverrides.put( theName, theValue );\r\n\t\t\t}\r\n\t\t\tthis.headerOverrides = newOverrides;\r\n\t\t\tthis.externalHeaderOverrides = Collections.unmodifiableMap( newOverrides );\r\n\t\t}\r\n\t\treturn this;\r\n\t}", "public static void setHeaderText(Text headerText) {\n headerText.setFont(Font.font(\"Verdana\", FontWeight.EXTRA_BOLD, 30));\n }", "private void setHeaders(List<String> a){\n\t\tFont hfont = wb.createFont();\n\t\thfont.setBold(true);\n\t\tCellStyle cs = wb.createCellStyle();\n\t\tcs.setFont(hfont);\n\n\t\tRow r=s.createRow(rowcount++);\n\t\tCell c;\n\t\tint colcount=1;\n\n\t\tc = r.createCell(0);\n\t\tc.setCellStyle(cs);\n\t\tc.setCellValue(\"Group\");\n\n\t\tfor(String e :a){\n\t\t\tif(!isSel(e))\n\t\t\t\tcontinue;\n\t\t\tc = r.createCell(colcount++);\n\t\t\tc.setCellStyle(cs);\n\t\t\tc.setCellValue(e);\n\t\t}\n\t}", "public void setStyleName(java.lang.String styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLENAME$32);\n }\n target.setStringValue(styleName);\n }\n }", "@Override\n public void setHeaderIndices() {\n }", "protected void updateHeader() {\n\t}", "private void resetHeaderSmoothly() {\n if (null != mViewHandler) {\n isChanging = true;\n Message message = new Message();\n message.what = ViewHandler.SMOOTH_CHANGE_START;\n message.arg1 = ViewHandler.SMOOTH_TYPE_HEADER;\n mViewHandler.sendMessage(message);\n } else\n resetHeaderState();\n }", "public void setHeaderId(Number value) {\n setAttributeInternal(HEADERID, value);\n }", "public void setHeaderId(Number value) {\n setAttributeInternal(HEADERID, value);\n }", "void setHeader(java.lang.String header);", "private void setCellStyle( CellStyle style, int rowIx, int colIx )\n {\n \tcells[colIx][rowIx].setCellStyle( style );\n }", "public final void setMxSheet_DefaultStyle(xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tsetMxSheet_DefaultStyle(getContext(), mxsheet_defaultstyle);\r\n\t}", "void setHeader(HttpServletResponse response, String name, String value);", "@Override\n public void setHeader(String arg0, String arg1) {\n\n }", "public final void setTableHeader() {\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.date\"));\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.percent.solved\"));\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.log.type\"));\n }", "public void setHeading(final SessionContext ctx, final SSLHeadingWidgetComponent value)\r\n\t{\r\n\t\tsetProperty(ctx, HEADING,value);\r\n\t}", "private void initRowHeaders() {\n TableColumn aColumn = jTable1.getColumnModel().getColumn(0);\n TableCellRenderer aRenderer = jTable1.getTableHeader().getDefaultRenderer();\n if (aRenderer == null) {\n System.out.println(\" Aouch !\");\n aColumn = jTable1.getColumnModel().getColumn(0);\n aRenderer = aColumn.getHeaderRenderer();\n if (aRenderer == null) {\n System.out.println(\" Aouch Aouch !\");\n // System.exit(3);\n exitForm(null);\n }\n }\n Component aComponent = aRenderer.getTableCellRendererComponent(jTable1, aColumn.getHeaderValue(), false, false, -1, 0);\n aFont = aComponent.getFont();\n aBackground = aComponent.getBackground();\n aForeground = aComponent.getForeground();\n\n border = (Border) UIManager.getDefaults().get(\"TableHeader.cellBorder\");\n insets = border.getBorderInsets(jTable1.getTableHeader());\n metrics = jTable1.getFontMetrics(aFont);\n }", "public void setupHistoTableHeader() {\r\n\t\tif (this.histoTableTabItem != null && !this.histoTableTabItem.isDisposed()) this.histoTableTabItem.setHeader();\r\n\t}", "@Override\n\tpublic void setIntHeader(String name, int value) {\n\t}", "private static void addHeading(Sheet sheet) throws IOException {\r\n sheet.ensureRowCount(4);\r\n sheet.ensureColumnCount(10);\r\n sheet.getCellAt(\"A1\").setValue(\"income\");\r\n sheet.getCellAt(\"A2\").setValue(\"expense\");\r\n sheet.getCellAt(\"A3\").setValue(\"sum\");\r\n sheet.getCellAt(\"B1\").setValue(0.0);\r\n sheet.getCellAt(\"B2\").setValue(0.0);\r\n sheet.getCellAt(\"B3\").setValue(0.0);\r\n sheet.getCellAt(\"A4\").setValue(\"id\");\r\n sheet.getCellAt(\"B4\").setValue(\"amount\");\r\n sheet.getCellAt(\"C4\").setValue(\"date\");\r\n sheet.getCellAt(\"D4\").setValue(\"info\");\r\n }", "private void treatmentHeaderDecorator() throws ConfigurationException {\n\t\tif (stylesMap.get(CellStyleHandler.CELL_DECORATOR_HEADER) == null) {\n\t\t\tstylesMap.put(CellStyleHandler.CELL_DECORATOR_HEADER,\n\t\t\t\t\tcellDecoratorMap.containsKey(CellStyleHandler.CELL_DECORATOR_HEADER)\n\t\t\t\t\t\t\t? CellStyleHandler.initializeCellStyleByCellDecorator(workbook,\n\t\t\t\t\t\t\t\t\tcellDecoratorMap.get(CellStyleHandler.CELL_DECORATOR_HEADER))\n\t\t\t\t\t\t\t: CellStyleHandler.initializeHeaderCellDecorator(workbook));\n\t\t\tcellDecoratorMap.remove(cellDecoratorMap.containsKey(CellStyleHandler.CELL_DECORATOR_HEADER));\n\t\t}\n\t}", "public int getHeaderStyleIndex() {\n return headerStyleIndex >= 0 ? headerStyleIndex : (headerStyleIndex = styles != null && headerStyle != null ? styles.of(headerStyle) : -1);\n }", "void set(String group, String name, String style);", "void setPageHeader(PageHeader pageHeader);", "void setPageHeader(PageHeader pageHeader);", "private void manageHeaderView() {\n PickupBoyDashboard.getInstance().manageHeaderVisibitlity(false);\n HeaderViewManager.getInstance().InitializeHeaderView(null, view, manageHeaderClick());\n HeaderViewManager.getInstance().setHeading(true, mActivity.getResources().getString(R.string.bokings));\n HeaderViewManager.getInstance().setLeftSideHeaderView(true, R.drawable.left_arrow);\n HeaderViewManager.getInstance().setRightSideHeaderView(false, R.drawable.left_arrow);\n HeaderViewManager.getInstance().setLogoView(false);\n HeaderViewManager.getInstance().setProgressLoader(false, false);\n\n }", "public final void setMxSheet_DefaultStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tif (mxsheet_defaultstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), mxsheet_defaultstyle.getMendixObject().getId());\r\n\t}", "public void setHeader(boolean isHeader) {\n this.isHeader = isHeader;\n }", "public void modify( CellStyle style );", "public void setHeader(String name, String value) throws MessagingException {\n/* 402 */ throw new IllegalWriteException(\"POP3 messages are read-only\");\n/* */ }", "@Override\n public void setHeader(String name, String value) {\n this._getHttpServletResponse().setHeader(name, value);\n }", "public void setHeader(String header) {\n\t\tthis.header = header;\n\t\tthis.handleConfig(\"header\", header);\n\t}", "public void setupDataTableHeader() {\r\n\t\tif (this.dataTableTabItem != null && !this.dataTableTabItem.isDisposed()) this.dataTableTabItem.setHeader();\r\n\t}", "final public void setStyleClass(String styleClass)\n {\n setProperty(STYLE_CLASS_KEY, (styleClass));\n }", "private static Map<String, CellStyle> createStyles(Workbook wb) {\r\n Map<String, CellStyle> styles = new HashMap<>();\r\n DataFormat df = wb.createDataFormat();\r\n\r\n Font font1 = wb.createFont();\r\n\r\n CellStyle style;\r\n Font headerFont = wb.createFont();\r\n headerFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setFont(headerFont);\r\n styles.put(\"header\", style);\r\n\r\n style = wb.createCellStyle();\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(false);\r\n styles.put(\"cell_centered\", style);\r\n\r\n style = wb.createCellStyle();\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(true);\r\n styles.put(\"cell_centered_locked\", style);\r\n// style = createBorderedStyle(wb);\r\n// style.setAlignment(CellStyle.ALIGN_CENTER);\r\n// style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n// style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n// style.setFont(headerFont);\r\n// style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n// styles.put(\"header_date\", style);\r\n font1.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font1);\r\n styles.put(\"cell_b\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(false);\r\n styles.put(\"cell_b_centered\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(true);\r\n styles.put(\"cell_b_centered_locked\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_b_date\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_g\", style);\r\n\r\n Font font2 = wb.createFont();\r\n font2.setColor(IndexedColors.BLUE.getIndex());\r\n font2.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font2);\r\n styles.put(\"cell_bb\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_bg\", style);\r\n\r\n Font font3 = wb.createFont();\r\n font3.setFontHeightInPoints((short) 14);\r\n font3.setColor(IndexedColors.DARK_BLUE.getIndex());\r\n font3.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font3);\r\n style.setWrapText(true);\r\n styles.put(\"cell_h\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setWrapText(true);\r\n styles.put(\"cell_normal\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setWrapText(true);\r\n styles.put(\"cell_normal_centered\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setWrapText(true);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_normal_date\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setIndention((short) 1);\r\n style.setWrapText(true);\r\n styles.put(\"cell_indented\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setFillForegroundColor(IndexedColors.BLUE.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n styles.put(\"cell_blue\", style);\r\n\r\n return styles;\r\n }", "@Override\n public void setIntHeader(String name, int value) {\n this._getHttpServletResponse().setIntHeader(name, value);\n }", "@Override\n public void setIntHeader(String arg0, int arg1) {\n\n }", "public MultisortTableHeaderCellRenderer() {\r\n this(0.5F);\r\n }", "public void xsetStyleName(org.apache.xmlbeans.XmlString styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(STYLENAME$32);\n }\n target.set(styleName);\n }\n }", "public ExcelSimpleWriter<?> header(List<String> titles) {\n this.titles = titles;\n return this;\n }", "public final synchronized void setStyle(int style){\n this.style = style;\n\n if (isLoggedIn()){\n sendCommand(\"$set style \"+style);\n filterLine(\"Style \"+style+\" set.\");\n }\n }", "public static HSSFCellStyle getHeaderStyle(final HSSFWorkbook workbook){\n\t\tHSSFCellStyle style=workbook.createCellStyle();\n\t\tFont font=workbook.createFont();\n\t\tfont.setFontHeightInPoints((short)12);\n\t\tfont.setFontName(HSSFFont.FONT_ARIAL);\n\t\tfont.setBoldweight(Font.BOLDWEIGHT_BOLD);\n\t\tstyle.setFont(font);\n\t\treturn style;\n\t}", "@Override\r\n\tpublic String getStyleName() {\r\n\t\treturn _hSplit.getStyleName();\r\n\t}", "@attribute(value = \"\", required = false, defaultValue = \"default value is false\")\r\n\tpublic void setHeader(Boolean isHeader) {\r\n\t\tthis.header = isHeader;\r\n\t}", "void setHeaderMargin(double headermargin);", "public void set_table_header( TableColumnModel cm )\n {\n if (getColumnCount() > get_edit_column())\n {\n cm.getColumn( get_edit_column() ).setMinWidth(60);\n cm.getColumn( get_edit_column() ).setMaxWidth(60);\n\n if (getColumnCount() > get_del_column() )\n {\n cm.getColumn( get_del_column() ).setMinWidth(60);\n cm.getColumn( get_del_column() ).setMaxWidth(60);\n }\n }\n }", "public void setBand1H(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle band1H)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(BAND1H$4, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(BAND1H$4);\n }\n target.set(band1H);\n }\n }", "private void validatedHeader() {\n\t\tif(loginView != null){\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + T.get(\"LABEL_GUEST_USER\"));\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(loginView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tbuildHeader(greeting ,null, languageSelector, themeSelector);\n\t\t}\n\t\telse if(registerView != null){\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + T.get(\"LABEL_GUEST_USER\"));\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(registerView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tbuildHeader(greeting ,null, languageSelector, themeSelector);\n\t\t}\n\t\telse if(mainView != null){\n\t\t\tString username = UI.getCurrent().getSession().getAttribute(T.system(\"SESSION_NAME\")).toString();\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + username);\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(mainView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tLogoutButton logout = new LogoutButton();\n\t\t\tbuildHeader(greeting ,logout, languageSelector, themeSelector);\n\t\t}\n\t\tsetStyleName(T.system(\"STYLE_VIEW_TOP_BAR\"));\n\t}", "void setHeaderRowCount(int count);", "public static void writeExcelHeader(XSSFSheet sheet, String[] title, int[] cloumnWidth) {\n\t\tfor (int i = 0; i < title.length; i++) {\n\t\t\tsetCell(sheet, title[i], 0, i);\n\t\t}\n\n\t\tfor (int i = 0; i < cloumnWidth.length; i++) {\n\t\t\tsheet.setColumnWidth(i, cloumnWidth[i]);\n\t\t}\n\t}", "public void setHeaderView(LinearLayout headerView) {\r\n\t\tthis.headerView = headerView;\r\n\t}", "public void configurePinnedHeader(View header, int position, int alpha) {\n\t\t PinnedHeaderCache cache = (PinnedHeaderCache) header.getTag();\n\t\n\t\t if (cache == null) {\n\t\t cache = new PinnedHeaderCache();\n\t\t cache.titleView = (TextView) header.findViewById(R.id.header_text);\n\t\t cache.textColor = cache.titleView.getTextColors();\n\t\t cache.background = header.getBackground();\n\t\t header.setTag(cache);\n\t\t }\n\t\t\n\t\t int section = getSectionForPosition(position);\n\t\t \n\t\t if (section != -1) {\n\t\t\t String title = (String) mIndexer.getSections()[section];\n\t\t\t cache.titleView.setText(title);\n\t\t\t\n\t\t\t if (alpha == 255) {\n\t\t\t // Opaque: use the default background, and the original text color\n\t\t\t header.setBackgroundDrawable(cache.background);\n\t\t\t cache.titleView.setTextColor(cache.textColor);\n\t\t\t } else {\n\t\t\t // Faded: use a solid color approximation of the background, and\n\t\t\t // a translucent text color\n\t\t\t \tfinal int diffAlpha = 255 - alpha;\n\t\t\t \tfinal int red = Color.red(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffRed = 255 - red;\n\t\t\t \tfinal int green = Color.green(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffGreen = 255 - green;\n\t\t\t \tfinal int blue = Color.blue(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffBlue = 255 - blue;\n\t\t\t header.setBackgroundColor(Color.rgb(\n\t\t\t \t\tred + (diffRed * diffAlpha / 255),\n\t\t\t \t\tgreen + (diffGreen * diffAlpha / 255),\n\t\t\t \t\tblue + (diffBlue * diffAlpha / 255)));\n\t\t\t\n\t\t\t int textColor = cache.textColor.getDefaultColor();\n\t\t\t cache.titleView.setTextColor(Color.argb(alpha,\n\t\t\t Color.red(textColor), Color.green(textColor), Color.blue(textColor)));\n\t\t\t }\n\t\t }\n\t\t}", "@Override\n public void addStyleName(String style) {\n super.addStyleName(style);\n }", "public abstract BossBar setStyle(BossStyle style);", "public void setHeader(String headerName, String headerValue)\n\t{\n\t\tList<String> values = new ArrayList<>();\n\t\tvalues.add(headerValue);\n\t\t\n\t\tthis.headers.put(headerName.toLowerCase(), values);\n\t\tthis.originalCasing.put(headerName.toLowerCase(), headerName);\n\t}", "public static void header(String s) {\n\t\t// header2.set(s);\n\t}", "public void setStyleId(java.lang.String styleId)\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(STYLEID$30);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLEID$30);\n }\n target.setStringValue(styleId);\n }\n }", "public void set(String headerName, String headerValue)\r\n/* 353: */ {\r\n/* 354:526 */ List<String> headerValues = new LinkedList();\r\n/* 355:527 */ headerValues.add(headerValue);\r\n/* 356:528 */ this.headers.put(headerName, headerValues);\r\n/* 357: */ }", "public void setHeader(String key, String value) {\n\t\tmHeaderParams.put(key, value);\n\t}", "private static Map<String, CellStyle> createStyles(Workbook wb) {\n Map<String, CellStyle> styles = new HashMap<>();\n\n CellStyle style;\n Font headerFont = wb.createFont();\n headerFont.setBold(true);\n style = createBorderedStyle(wb);\n style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\n style.setFillPattern(FillPatternType.SOLID_FOREGROUND);\n style.setVerticalAlignment(VerticalAlignment.TOP);\n style.setWrapText(true);\n style.setFont(headerFont);\n styles.put(\"header\", style);\n\n style = createBorderedStyle(wb);\n style.setVerticalAlignment(VerticalAlignment.TOP);\n style.setWrapText(true);\n styles.put(\"body\", style);\n\n return styles;\n }", "public abstract void setMimeHeader(String name, String value);", "public void setFirstRow(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle firstRow)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(FIRSTROW$22, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(FIRSTROW$22);\n }\n target.set(firstRow);\n }\n }", "protected final void setHeading(final int heading) {\n if (heading < 1 || heading > 6) {\n throw new IllegalArgumentException(\n \"Heading parameter must be between 1 and 6 (inclusive\");\n }\n if (heading < 5)\n setBold(true);\n setFontSize((int) (getFontSize() * HEADING_MULT[heading]));\n }", "public void setSheetOrder(String arg0, int arg1) {\n\n\t}", "public void writeHeader(int shptype, SHPEnvelope mbr) throws IOException {\n\n byte[] header = new byte[ShapeConst.SHAPE_FILE_HEADER_LENGTH];\n\n ByteUtils.writeBEInt(header, 0, ShapeConst.SHAPE_FILE_CODE);\n ByteUtils.writeBEInt(header, 24, filelength);\n ByteUtils.writeLEInt(header, 28, ShapeConst.SHAPE_FILE_VERSION);\n ByteUtils.writeLEInt(header, 32, shptype);\n ShapeUtils.writeBox(header, 36, mbr);\n\n raf.seek(0);\n raf.write(header, 0, ShapeConst.SHAPE_FILE_HEADER_LENGTH);\n }", "private static Map<String, CellStyle> createStyles(Workbook wb)\r\n\t{\r\n\t\tMap<String, CellStyle> styles = new HashMap<String, CellStyle>();\r\n\t\tDataFormat df = wb.createDataFormat();\r\n\r\n\t\tFont titleFont = wb.createFont();\r\n\t\ttitleFont.setFontHeightInPoints((short) 18);\r\n\t\ttitleFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n\t\ttitleFont.setColor(IndexedColors.DARK_BLUE.getIndex());\r\n\t\tCellStyle titleStyle = wb.createCellStyle();\r\n\t\ttitleStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\ttitleStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\ttitleStyle.setFont(titleFont);\r\n\t\tborderCell(titleStyle, CellStyle.BORDER_THICK, IndexedColors.BLUE.getIndex());\r\n\t\tstyles.put(TITLE_STYLE_NAME, titleStyle);\r\n\r\n\t\tFont headerFont = wb.createFont();\r\n\t\theaderFont.setFontHeightInPoints((short) 11);\r\n\t\theaderFont.setColor(IndexedColors.WHITE.getIndex());\r\n\t\tCellStyle headerStyle = wb.createCellStyle();\r\n\t\theaderStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\theaderStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\theaderStyle.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t\theaderStyle.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t\theaderStyle.setFont(headerFont);\r\n\t\theaderStyle.setWrapText(true);\r\n\t\tstyles.put(HEADER_STYLE_NAME, headerStyle);\r\n\r\n\t\tCellStyle plainCellStyle = wb.createCellStyle();\r\n\t\tplainCellStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\tborderCell(plainCellStyle, CellStyle.BORDER_THIN, IndexedColors.BLACK.getIndex());\r\n\t\tstyles.put(PLAIN_CELL_STYLE_NAME, plainCellStyle);\r\n\r\n\t\tCellStyle dateCellStyle = wb.createCellStyle();\r\n\t\tdateCellStyle.cloneStyleFrom(plainCellStyle);\r\n\t\tdateCellStyle.setDataFormat(df.getFormat(\"yyyy-mm-dd\"));\r\n\t\tstyles.put(DATE_CELL_STYLE_NAME, dateCellStyle);\r\n\r\n\t\tCellStyle integerFormulaStyle = wb.createCellStyle();\r\n\t\tintegerFormulaStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\tintegerFormulaStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\tintegerFormulaStyle.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n\t\tintegerFormulaStyle.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t\tborderCell(integerFormulaStyle, CellStyle.BORDER_DOTTED, IndexedColors.GREY_80_PERCENT.getIndex());\r\n\t\tintegerFormulaStyle.setDataFormat(df.getFormat(\"0\"));\r\n\t\tintegerFormulaStyle.setWrapText(true);\r\n\t\tstyles.put(INTEGER_FORMULA_STYLE_NAME, integerFormulaStyle);\r\n\r\n\t\tCellStyle floatFormulaStyle = wb.createCellStyle();\r\n\t\tfloatFormulaStyle.cloneStyleFrom(integerFormulaStyle);\r\n\t\tfloatFormulaStyle.setDataFormat(df.getFormat(\"0.00\"));\r\n\t\tstyles.put(FLOAT_FORMULA_STYLE_NAME, floatFormulaStyle);\r\n\r\n\t\tCellStyle percentageFormulaStyle = wb.createCellStyle();\r\n\t\tpercentageFormulaStyle.cloneStyleFrom(integerFormulaStyle);\r\n\t\tpercentageFormulaStyle.setDataFormat(df.getFormat(\"0.00 %\"));\r\n//\t\tpercentageFormulaStyle.setDataFormat((short) 9); // See BuiltinFormats\r\n\t\tshort colorIndex = IndexedColors.INDIGO.getIndex();\r\n\t\tColor customColor = defineColor(wb, colorIndex, 0x88, 0xFF, 0x55);\r\n\t\tif (percentageFormulaStyle instanceof XSSFCellStyle)\r\n\t\t{\r\n\t\t\t((XSSFCellStyle) percentageFormulaStyle).setFillForegroundColor((XSSFColor) customColor);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tpercentageFormulaStyle.setFillForegroundColor(colorIndex);\r\n\t\t}\r\n\t\tstyles.put(PERCENTAGE_FORMULA_STYLE_NAME, percentageFormulaStyle);\r\n\r\n\t\treturn styles;\r\n\t}", "public void setHeaderText(String headerText) {\n this.headerText = headerText;\n }", "public void setStyle(String st){\n style = st;\n }", "void setHeaderAccessibility(String firstName, String am, String shot);", "public void xsetStyleId(org.openxmlformats.schemas.drawingml.x2006.main.STGuid styleId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.STGuid target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().find_attribute_user(STYLEID$30);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().add_attribute_user(STYLEID$30);\n }\n target.set(styleId);\n }\n }", "public void setHeader(final Header header) {\n mHeader=header;\n updateFields();\n }", "public void setColumnHeaderView(Component paramComponent) {\n/* 1143 */ if (getColumnHeader() == null) {\n/* 1144 */ setColumnHeader(createViewport());\n/* */ }\n/* 1146 */ getColumnHeader().setView(paramComponent);\n/* */ }", "private static Map<String, CellStyle> createStyles(Workbook wbl) {\r\n\r\n\tMap<String, CellStyle> styles = new HashMap<String, CellStyle>();\r\n\ttry {\r\n\t CellStyle style;\r\n\t Font titleFont = wbl.createFont();\r\n\t titleFont.setFontHeightInPoints((short) 18);\r\n\t titleFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFont(titleFont);\r\n\t styles.put(\"title\", style);\r\n\r\n\t Font monthFont = wbl.createFont();\r\n\t monthFont.setFontHeightInPoints((short) 11);\r\n\t monthFont.setColor(IndexedColors.WHITE.getIndex());\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t style.setFont(monthFont);\r\n\t style.setWrapText(true);\r\n\t style.setRightBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t styles.put(\"header\", style);\r\n\t \r\n\t //MandatoryColumn to admission process\r\n\t Font mandatoryColumnFont = wbl.createFont();\r\n\t mandatoryColumnFont.setFontHeightInPoints((short) 11);\r\n\t mandatoryColumnFont.setColor(IndexedColors.RED.getIndex());\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t style.setFont(mandatoryColumnFont);\r\n\t style.setWrapText(true);\r\n\t style.setRightBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t styles.put(\"headers\", style);\r\n\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"cell\", style);\r\n\r\n\t style = wbl.createCellStyle();\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"string\", style);\r\n\r\n\t CreationHelper createHelper = wbl.getCreationHelper();\r\n\t style = wbl.createCellStyle();\r\n\t style.setDataFormat(createHelper.createDataFormat().getFormat(\"dd-MMM-yyyy\"));\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"date\", style);\r\n\r\n\t} catch (Exception ex) {\r\n\t ex.printStackTrace();\r\n\t JRExceptionClient jre = new JRExceptionClient();jre.sendException(ex);jre = null;\r\n\t}\r\n\r\n\treturn styles;\r\n }", "public final native void setHeading(int heading) /*-{\n this.setHeading(heading);\n }-*/;", "public void setHeaderFlag(boolean flag) {\n configuration.put(ConfigTag.HEADER, flag);\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void updateHeader() {\n if (this.mBarState == 1) {\n updateHeaderKeyguardAlpha();\n }\n updateQsExpansion();\n }", "void setHeader(@NonNull String name, @Nullable String value) {\n if (value == null) {\n removeHeader(name);\n } else {\n headers.put(name, value);\n }\n }", "private void createHeader(int propertyCode) {\r\n switch (propertyCode) {\r\n case 0:\r\n _header = \"\";\r\n break;\r\n case 1:\r\n _header = \"#directed\";\r\n break;\r\n case 2:\r\n _header = \"#attributed\";\r\n break;\r\n case 3:\r\n _header = \"#weighted\";\r\n break;\r\n case 4:\r\n _header = \"#directed #attributed\";\r\n break;\r\n case 5:\r\n _header = \"#directed #weighted\";\r\n break;\r\n case 6:\r\n _header = \"#directed #attributed #weighted\";\r\n break;\r\n case 7:\r\n _header = \"#attributed #weighted\";\r\n break;\r\n }\r\n }", "public void setStyleName(String styleName) {\r\n setAttribute(\"styleName\", styleName, true);\r\n }", "public static HSSFFont getHeaderFont(HSSFWorkbook workbook) {\n HSSFFont font = workbook.createFont();\n font.setFontName(FONT_NAME);\n font.setBoldweight((short) 100);\n font.setFontHeight((short) 250);\n // font.setColor(HSSFColor.BLACK.index);\n font.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);\n return font;\n }" ]
[ "0.7793274", "0.63232696", "0.6077391", "0.606673", "0.60348743", "0.6017238", "0.59341836", "0.58456475", "0.58260715", "0.57549655", "0.5720881", "0.57161707", "0.55753946", "0.5565171", "0.5522906", "0.5521905", "0.55083185", "0.5492161", "0.5456839", "0.5434662", "0.5415895", "0.53703064", "0.5363441", "0.53581345", "0.53550714", "0.53360647", "0.53360647", "0.53349274", "0.5323603", "0.5285439", "0.5279573", "0.5266489", "0.5265797", "0.5261399", "0.5241413", "0.5239062", "0.5235772", "0.5231681", "0.52307886", "0.52279174", "0.52017814", "0.51937467", "0.51937467", "0.5187775", "0.51856166", "0.5181716", "0.516721", "0.51620704", "0.5151517", "0.5140645", "0.5139597", "0.5124838", "0.51031476", "0.50897723", "0.5079874", "0.5078019", "0.50780106", "0.50772774", "0.507598", "0.507482", "0.5066856", "0.5065457", "0.50612843", "0.5048271", "0.50408983", "0.50342387", "0.50266474", "0.5023587", "0.50227475", "0.50171757", "0.5012308", "0.5010925", "0.50107664", "0.5010452", "0.5008067", "0.49939954", "0.4991916", "0.49867216", "0.49791253", "0.49764672", "0.4968849", "0.4966939", "0.49591267", "0.49563375", "0.49548373", "0.49473155", "0.49443942", "0.49443215", "0.49439415", "0.49406436", "0.49391744", "0.49332374", "0.49243614", "0.49237233", "0.49237233", "0.49131048", "0.49115565", "0.49050015", "0.489511", "0.48759687" ]
0.78651345
0
Set value of MxSheet_HeaderStyle
public final void setMxSheet_HeaderStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_headerstyle) { if (mxsheet_headerstyle == null) getMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), null); else getMendixObject().setValue(context, MemberNames.MxSheet_HeaderStyle.toString(), mxsheet_headerstyle.getMendixObject().getId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_HeaderStyle(xlsreport.proxies.MxCellStyle mxsheet_headerstyle)\r\n\t{\r\n\t\tsetMxSheet_HeaderStyle(getContext(), mxsheet_headerstyle);\r\n\t}", "@Override\n\tpublic CellStyle getHeaderStyle(int index) {\n\t\treturn headerStyle;\n\t}", "void xsetHeader(org.apache.xmlbeans.XmlString header);", "public void setHeader(JMSControl.HeaderType type,Object value);", "@Override\n\tpublic CellStyle getHeaderStyle(int index) {\n\t\tif (index == 0) {\n\t\t\treturn titleStyle;\n\t\t}\n\t\tif (headerStyle == null) {\n\t\t\treturn headerStyle;\n\t\t}\n\t\treturn headerStyle;\n\t}", "private void setBottomSheetHeader(View child) {\n if (child instanceof BottomSheetBehaviorView) {\n View view = child.findViewWithTag(BottomSheetHeaderView.TAG);\n if (view != null && view instanceof BottomSheetHeaderView) {\n BottomSheetBehaviorView b = (BottomSheetBehaviorView) child;\n RNBottomSheetBehavior behavior = b.behavior;\n headerView = (BottomSheetHeaderView) view;\n headerView.registerFields();\n headerView.toggle(behavior.getState() == RNBottomSheetBehavior.STATE_COLLAPSED);\n behavior.setHeader(headerView);\n }\n }\n }", "private void createHeaders(WritableSheet sheet)\r\n\t\t\tthrows WriteException {\n\t\taddHeader(sheet, 0, 0, reportProperties.getProperty(\"header1\"));\r\n\t\taddHeader(sheet, 1, 0, reportProperties.getProperty(\"header2\"));\r\n\t\taddHeader(sheet, 2, 0, reportProperties.getProperty(\"header3\"));\r\n\t\taddHeader(sheet, 3, 0, reportProperties.getProperty(\"header4\"));\r\n\t\t\r\n\r\n\t}", "private static StyleBuilder getHeaderStyle(ExportData metaData){\n \n /*pour la police des entàtes de HARVESTING*/\n if(metaData.getTitle().equals(ITitle.HARVESTING)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de SERVICING*/\n if(metaData.getTitle().equals(ITitle.SERVICING)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de FERTILIZATION*/\n if(metaData.getTitle().equals(ITitle.FERTILIZATION)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }/*pour la police des entetes de CONTROL_PHYTO*/\n if(metaData.getTitle().equals(ITitle.CONTROL_PHYTO)){\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setFontSize(7)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n\n }else{\n return stl.style().setBorder(stl.pen1Point().setLineColor(Color.BLACK))\n .setPadding(5)\n .setHorizontalAlignment(HorizontalAlignment.CENTER)\n .setVerticalAlignment(VerticalAlignment.MIDDLE)\n .setForegroundColor(Color.WHITE)\n .setBackgroundColor(new Color(60, 91, 31))\n .bold(); \n }\n \n }", "void setHeader(String headerName, String headerValue);", "protected void setStyleName(FlexTable flexTable) {\n\n\t\tint index = flexTable.getRowCount() - 1;\n\n\t\tif (index == 0) {\n\n\t\t\tString cellStyleName = CSS_HEADING;\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, cellStyleName);\n\t\t\t}\n\t\t} else {\n\n\t\t\tint count = flexTable.getCellCount(index);\n\n\t\t\tfor (int i = 0; i < count; i++) {\n\t\t\t\tif (i != count - 1) {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_CONTENT);\n\t\t\t\t} else {\n\t\t\t\t\tflexTable.getCellFormatter().addStyleName(index, i, CSS_MENU);\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\t\n\t}", "private static void addCustomHeadingStyle(XWPFDocument docxDocument, String strStyleId, int headingLevel) {\n\n CTStyle ctStyle = CTStyle.Factory.newInstance();\n ctStyle.setStyleId(strStyleId);\n\n CTString styleName = CTString.Factory.newInstance();\n styleName.setVal(strStyleId);\n ctStyle.setName(styleName);\n\n CTDecimalNumber indentNumber = CTDecimalNumber.Factory.newInstance();\n indentNumber.setVal(BigInteger.valueOf(headingLevel));\n\n // lower number > style is more prominent in the formats bar\n ctStyle.setUiPriority(indentNumber);\n\n CTOnOff onoffnull = CTOnOff.Factory.newInstance();\n ctStyle.setUnhideWhenUsed(onoffnull);\n\n // style shows up in the formats bar\n ctStyle.setQFormat(onoffnull);\n\n // style defines a heading of the given level\n CTPPr ppr = CTPPr.Factory.newInstance();\n ppr.setOutlineLvl(indentNumber);\n ctStyle.setPPr(ppr);\n\n XWPFStyle style = new XWPFStyle(ctStyle);\n\n // is a null op if already defined\n XWPFStyles styles = docxDocument.createStyles();\n\n style.setType(STStyleType.PARAGRAPH);\n styles.addStyle(style);\n\n }", "@Override\n\tpublic void setRowStyle(CellStyle arg0) {\n\t\t\n\t}", "private void addHeaderForSummary(Workbook p_workBook, Sheet p_sheet)\n {\n int col = 0;\n int row = SUMMARY_HEADER_ROW;\n Row summaryHeaderRow = getRow(p_sheet, row);\n\n Cell cell_A = getCell(summaryHeaderRow, col);\n cell_A.setCellValue(m_bundle.getString(\"lb_company\"));\n cell_A.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_B = getCell(summaryHeaderRow, col);\n cell_B.setCellValue(m_bundle.getString(\"lb_job_id\"));\n cell_B.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_C = getCell(summaryHeaderRow, col);\n cell_C.setCellValue(m_bundle.getString(\"lb_job_name\"));\n cell_C.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 30 * 256);\n col++;\n\n Cell cell_D = getCell(summaryHeaderRow, col);\n cell_D.setCellValue(m_bundle.getString(\"lb_language\"));\n cell_D.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_E = getCell(summaryHeaderRow, col);\n cell_E.setCellValue(m_bundle.getString(\"lb_workflow_state\"));\n cell_E.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_F = getCell(summaryHeaderRow, col);\n cell_F.setCellValue(m_bundle.getString(\"lb_mt_word_count\"));\n cell_F.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n if (usePerplexity)\n {\n Cell cell = getCell(summaryHeaderRow, col);\n cell.setCellValue(m_bundle.getString(\"lb_perplexity_wordcount\"));\n cell.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n }\n\n Cell cell_G = getCell(summaryHeaderRow, col);\n cell_G.setCellValue(m_bundle.getString(\"lb_total_word_count\"));\n cell_G.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_H = getCell(summaryHeaderRow, col);\n cell_H.setCellValue(m_bundle.getString(\"lb_average_edit_distance\"));\n cell_H.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 30 * 256);\n col++;\n\n Cell cell_I = getCell(summaryHeaderRow, col);\n cell_I.setCellValue(m_bundle.getString(\"lb_translation_error_rate\"));\n cell_I.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n\n Cell cell_J = getCell(summaryHeaderRow, col);\n cell_J.setCellValue(m_bundle.getString(\"lb_engine_name\"));\n cell_J.setCellStyle(m_style.getHeaderStyle());\n p_sheet.setColumnWidth(col, 20 * 256);\n col++;\n }", "public void setHeader() {\n tvHeader.setText(getResources().getString(R.string.text_skill));\n tvDots.setVisibility(View.INVISIBLE);\n }", "void setStockHeader(stockFilePT102.StockHeaderDocument.StockHeader stockHeader);", "public void setHeaderView(int headerResId) {\r\n\t\tthis.headerResId = headerResId;\r\n\t}", "public void setRowHeaderView(Component paramComponent) {\n/* 1074 */ if (getRowHeader() == null) {\n/* 1075 */ setRowHeader(createViewport());\n/* */ }\n/* 1077 */ getRowHeader().setView(paramComponent);\n/* */ }", "void setStyle(String style);", "public ResourceClient setHeaderOverride( String theName, String theValue ) {\r\n\t\t// this implementation may seem heavy-weight BUT it should be called very\r\n\t\t// rarely and when it does it cannot interfere with any existing calls \r\n\t\t// that may be using/iterating over the collection\r\n\t\tPreconditions.checkArgument( !Strings.isNullOrEmpty( theName ), \"need a header name\" );\r\n\r\n\t\ttheName = \"override.header.\" + theName; // tales does this by having 'override.header.' prepended to the header name\r\n\t\tsynchronized( this.overrideLock ) {\r\n\t\t\tMap<String,String > newOverrides = new HashMap<String, String>( this.headerOverrides );\r\n\t\t\tif( theValue == null ) {\r\n\t\t\t\tnewOverrides.remove( theName );\r\n\t\t\t} else {\r\n\t\t\t\tnewOverrides.put( theName, theValue );\r\n\t\t\t}\r\n\t\t\tthis.headerOverrides = newOverrides;\r\n\t\t\tthis.externalHeaderOverrides = Collections.unmodifiableMap( newOverrides );\r\n\t\t}\r\n\t\treturn this;\r\n\t}", "public static void setHeaderText(Text headerText) {\n headerText.setFont(Font.font(\"Verdana\", FontWeight.EXTRA_BOLD, 30));\n }", "private void setHeaders(List<String> a){\n\t\tFont hfont = wb.createFont();\n\t\thfont.setBold(true);\n\t\tCellStyle cs = wb.createCellStyle();\n\t\tcs.setFont(hfont);\n\n\t\tRow r=s.createRow(rowcount++);\n\t\tCell c;\n\t\tint colcount=1;\n\n\t\tc = r.createCell(0);\n\t\tc.setCellStyle(cs);\n\t\tc.setCellValue(\"Group\");\n\n\t\tfor(String e :a){\n\t\t\tif(!isSel(e))\n\t\t\t\tcontinue;\n\t\t\tc = r.createCell(colcount++);\n\t\t\tc.setCellStyle(cs);\n\t\t\tc.setCellValue(e);\n\t\t}\n\t}", "public void setStyleName(java.lang.String styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLENAME$32);\n }\n target.setStringValue(styleName);\n }\n }", "@Override\n public void setHeaderIndices() {\n }", "protected void updateHeader() {\n\t}", "private void resetHeaderSmoothly() {\n if (null != mViewHandler) {\n isChanging = true;\n Message message = new Message();\n message.what = ViewHandler.SMOOTH_CHANGE_START;\n message.arg1 = ViewHandler.SMOOTH_TYPE_HEADER;\n mViewHandler.sendMessage(message);\n } else\n resetHeaderState();\n }", "public void setHeaderId(Number value) {\n setAttributeInternal(HEADERID, value);\n }", "public void setHeaderId(Number value) {\n setAttributeInternal(HEADERID, value);\n }", "void setHeader(java.lang.String header);", "private void setCellStyle( CellStyle style, int rowIx, int colIx )\n {\n \tcells[colIx][rowIx].setCellStyle( style );\n }", "public final void setMxSheet_DefaultStyle(xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tsetMxSheet_DefaultStyle(getContext(), mxsheet_defaultstyle);\r\n\t}", "void setHeader(HttpServletResponse response, String name, String value);", "@Override\n public void setHeader(String arg0, String arg1) {\n\n }", "public final void setTableHeader() {\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.date\"));\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.percent.solved\"));\n this.addColumn(java.util.ResourceBundle.\n getBundle(\"swt/client/module/game/resources/GameLogTableModel\").\n getString(\"column.log.type\"));\n }", "public void setHeading(final SessionContext ctx, final SSLHeadingWidgetComponent value)\r\n\t{\r\n\t\tsetProperty(ctx, HEADING,value);\r\n\t}", "private void initRowHeaders() {\n TableColumn aColumn = jTable1.getColumnModel().getColumn(0);\n TableCellRenderer aRenderer = jTable1.getTableHeader().getDefaultRenderer();\n if (aRenderer == null) {\n System.out.println(\" Aouch !\");\n aColumn = jTable1.getColumnModel().getColumn(0);\n aRenderer = aColumn.getHeaderRenderer();\n if (aRenderer == null) {\n System.out.println(\" Aouch Aouch !\");\n // System.exit(3);\n exitForm(null);\n }\n }\n Component aComponent = aRenderer.getTableCellRendererComponent(jTable1, aColumn.getHeaderValue(), false, false, -1, 0);\n aFont = aComponent.getFont();\n aBackground = aComponent.getBackground();\n aForeground = aComponent.getForeground();\n\n border = (Border) UIManager.getDefaults().get(\"TableHeader.cellBorder\");\n insets = border.getBorderInsets(jTable1.getTableHeader());\n metrics = jTable1.getFontMetrics(aFont);\n }", "public void setupHistoTableHeader() {\r\n\t\tif (this.histoTableTabItem != null && !this.histoTableTabItem.isDisposed()) this.histoTableTabItem.setHeader();\r\n\t}", "@Override\n\tpublic void setIntHeader(String name, int value) {\n\t}", "private static void addHeading(Sheet sheet) throws IOException {\r\n sheet.ensureRowCount(4);\r\n sheet.ensureColumnCount(10);\r\n sheet.getCellAt(\"A1\").setValue(\"income\");\r\n sheet.getCellAt(\"A2\").setValue(\"expense\");\r\n sheet.getCellAt(\"A3\").setValue(\"sum\");\r\n sheet.getCellAt(\"B1\").setValue(0.0);\r\n sheet.getCellAt(\"B2\").setValue(0.0);\r\n sheet.getCellAt(\"B3\").setValue(0.0);\r\n sheet.getCellAt(\"A4\").setValue(\"id\");\r\n sheet.getCellAt(\"B4\").setValue(\"amount\");\r\n sheet.getCellAt(\"C4\").setValue(\"date\");\r\n sheet.getCellAt(\"D4\").setValue(\"info\");\r\n }", "private void treatmentHeaderDecorator() throws ConfigurationException {\n\t\tif (stylesMap.get(CellStyleHandler.CELL_DECORATOR_HEADER) == null) {\n\t\t\tstylesMap.put(CellStyleHandler.CELL_DECORATOR_HEADER,\n\t\t\t\t\tcellDecoratorMap.containsKey(CellStyleHandler.CELL_DECORATOR_HEADER)\n\t\t\t\t\t\t\t? CellStyleHandler.initializeCellStyleByCellDecorator(workbook,\n\t\t\t\t\t\t\t\t\tcellDecoratorMap.get(CellStyleHandler.CELL_DECORATOR_HEADER))\n\t\t\t\t\t\t\t: CellStyleHandler.initializeHeaderCellDecorator(workbook));\n\t\t\tcellDecoratorMap.remove(cellDecoratorMap.containsKey(CellStyleHandler.CELL_DECORATOR_HEADER));\n\t\t}\n\t}", "public int getHeaderStyleIndex() {\n return headerStyleIndex >= 0 ? headerStyleIndex : (headerStyleIndex = styles != null && headerStyle != null ? styles.of(headerStyle) : -1);\n }", "void set(String group, String name, String style);", "void setPageHeader(PageHeader pageHeader);", "void setPageHeader(PageHeader pageHeader);", "private void manageHeaderView() {\n PickupBoyDashboard.getInstance().manageHeaderVisibitlity(false);\n HeaderViewManager.getInstance().InitializeHeaderView(null, view, manageHeaderClick());\n HeaderViewManager.getInstance().setHeading(true, mActivity.getResources().getString(R.string.bokings));\n HeaderViewManager.getInstance().setLeftSideHeaderView(true, R.drawable.left_arrow);\n HeaderViewManager.getInstance().setRightSideHeaderView(false, R.drawable.left_arrow);\n HeaderViewManager.getInstance().setLogoView(false);\n HeaderViewManager.getInstance().setProgressLoader(false, false);\n\n }", "public final void setMxSheet_DefaultStyle(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxCellStyle mxsheet_defaultstyle)\r\n\t{\r\n\t\tif (mxsheet_defaultstyle == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_DefaultStyle.toString(), mxsheet_defaultstyle.getMendixObject().getId());\r\n\t}", "public void setHeader(boolean isHeader) {\n this.isHeader = isHeader;\n }", "public void modify( CellStyle style );", "public void setHeader(String name, String value) throws MessagingException {\n/* 402 */ throw new IllegalWriteException(\"POP3 messages are read-only\");\n/* */ }", "@Override\n public void setHeader(String name, String value) {\n this._getHttpServletResponse().setHeader(name, value);\n }", "public void setHeader(String header) {\n\t\tthis.header = header;\n\t\tthis.handleConfig(\"header\", header);\n\t}", "public void setupDataTableHeader() {\r\n\t\tif (this.dataTableTabItem != null && !this.dataTableTabItem.isDisposed()) this.dataTableTabItem.setHeader();\r\n\t}", "final public void setStyleClass(String styleClass)\n {\n setProperty(STYLE_CLASS_KEY, (styleClass));\n }", "private static Map<String, CellStyle> createStyles(Workbook wb) {\r\n Map<String, CellStyle> styles = new HashMap<>();\r\n DataFormat df = wb.createDataFormat();\r\n\r\n Font font1 = wb.createFont();\r\n\r\n CellStyle style;\r\n Font headerFont = wb.createFont();\r\n headerFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setFont(headerFont);\r\n styles.put(\"header\", style);\r\n\r\n style = wb.createCellStyle();\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(false);\r\n styles.put(\"cell_centered\", style);\r\n\r\n style = wb.createCellStyle();\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(true);\r\n styles.put(\"cell_centered_locked\", style);\r\n// style = createBorderedStyle(wb);\r\n// style.setAlignment(CellStyle.ALIGN_CENTER);\r\n// style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n// style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n// style.setFont(headerFont);\r\n// style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n// styles.put(\"header_date\", style);\r\n font1.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font1);\r\n styles.put(\"cell_b\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(false);\r\n styles.put(\"cell_b_centered\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setFont(font1);\r\n style.setLocked(true);\r\n styles.put(\"cell_b_centered_locked\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_b_date\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_g\", style);\r\n\r\n Font font2 = wb.createFont();\r\n font2.setColor(IndexedColors.BLUE.getIndex());\r\n font2.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font2);\r\n styles.put(\"cell_bb\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setFont(font1);\r\n style.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_bg\", style);\r\n\r\n Font font3 = wb.createFont();\r\n font3.setFontHeightInPoints((short) 14);\r\n font3.setColor(IndexedColors.DARK_BLUE.getIndex());\r\n font3.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setFont(font3);\r\n style.setWrapText(true);\r\n styles.put(\"cell_h\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setWrapText(true);\r\n styles.put(\"cell_normal\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_CENTER);\r\n style.setWrapText(true);\r\n styles.put(\"cell_normal_centered\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_RIGHT);\r\n style.setWrapText(true);\r\n style.setDataFormat(df.getFormat(\"d-mmm\"));\r\n styles.put(\"cell_normal_date\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setAlignment(CellStyle.ALIGN_LEFT);\r\n style.setIndention((short) 1);\r\n style.setWrapText(true);\r\n styles.put(\"cell_indented\", style);\r\n\r\n style = createBorderedStyle(wb);\r\n style.setFillForegroundColor(IndexedColors.BLUE.getIndex());\r\n style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n styles.put(\"cell_blue\", style);\r\n\r\n return styles;\r\n }", "@Override\n public void setIntHeader(String name, int value) {\n this._getHttpServletResponse().setIntHeader(name, value);\n }", "@Override\n public void setIntHeader(String arg0, int arg1) {\n\n }", "public MultisortTableHeaderCellRenderer() {\r\n this(0.5F);\r\n }", "public void xsetStyleName(org.apache.xmlbeans.XmlString styleName)\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(STYLENAME$32);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(STYLENAME$32);\n }\n target.set(styleName);\n }\n }", "public ExcelSimpleWriter<?> header(List<String> titles) {\n this.titles = titles;\n return this;\n }", "public final synchronized void setStyle(int style){\n this.style = style;\n\n if (isLoggedIn()){\n sendCommand(\"$set style \"+style);\n filterLine(\"Style \"+style+\" set.\");\n }\n }", "public static HSSFCellStyle getHeaderStyle(final HSSFWorkbook workbook){\n\t\tHSSFCellStyle style=workbook.createCellStyle();\n\t\tFont font=workbook.createFont();\n\t\tfont.setFontHeightInPoints((short)12);\n\t\tfont.setFontName(HSSFFont.FONT_ARIAL);\n\t\tfont.setBoldweight(Font.BOLDWEIGHT_BOLD);\n\t\tstyle.setFont(font);\n\t\treturn style;\n\t}", "@Override\r\n\tpublic String getStyleName() {\r\n\t\treturn _hSplit.getStyleName();\r\n\t}", "@attribute(value = \"\", required = false, defaultValue = \"default value is false\")\r\n\tpublic void setHeader(Boolean isHeader) {\r\n\t\tthis.header = isHeader;\r\n\t}", "void setHeaderMargin(double headermargin);", "public void set_table_header( TableColumnModel cm )\n {\n if (getColumnCount() > get_edit_column())\n {\n cm.getColumn( get_edit_column() ).setMinWidth(60);\n cm.getColumn( get_edit_column() ).setMaxWidth(60);\n\n if (getColumnCount() > get_del_column() )\n {\n cm.getColumn( get_del_column() ).setMinWidth(60);\n cm.getColumn( get_del_column() ).setMaxWidth(60);\n }\n }\n }", "public void setBand1H(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle band1H)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(BAND1H$4, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(BAND1H$4);\n }\n target.set(band1H);\n }\n }", "private void validatedHeader() {\n\t\tif(loginView != null){\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + T.get(\"LABEL_GUEST_USER\"));\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(loginView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tbuildHeader(greeting ,null, languageSelector, themeSelector);\n\t\t}\n\t\telse if(registerView != null){\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + T.get(\"LABEL_GUEST_USER\"));\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(registerView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tbuildHeader(greeting ,null, languageSelector, themeSelector);\n\t\t}\n\t\telse if(mainView != null){\n\t\t\tString username = UI.getCurrent().getSession().getAttribute(T.system(\"SESSION_NAME\")).toString();\n\t\t\tLabel greeting = new Label(T.get(\"LABEL_TOP_BAR_GREETING\") + username);\n\t\t\tLanguageSelector languageSelector = new LanguageSelector(mainView);\n\t\t\tThemeSelector themeSelector = new ThemeSelector();\n\t\t\tLogoutButton logout = new LogoutButton();\n\t\t\tbuildHeader(greeting ,logout, languageSelector, themeSelector);\n\t\t}\n\t\tsetStyleName(T.system(\"STYLE_VIEW_TOP_BAR\"));\n\t}", "void setHeaderRowCount(int count);", "public static void writeExcelHeader(XSSFSheet sheet, String[] title, int[] cloumnWidth) {\n\t\tfor (int i = 0; i < title.length; i++) {\n\t\t\tsetCell(sheet, title[i], 0, i);\n\t\t}\n\n\t\tfor (int i = 0; i < cloumnWidth.length; i++) {\n\t\t\tsheet.setColumnWidth(i, cloumnWidth[i]);\n\t\t}\n\t}", "public void setHeaderView(LinearLayout headerView) {\r\n\t\tthis.headerView = headerView;\r\n\t}", "public void configurePinnedHeader(View header, int position, int alpha) {\n\t\t PinnedHeaderCache cache = (PinnedHeaderCache) header.getTag();\n\t\n\t\t if (cache == null) {\n\t\t cache = new PinnedHeaderCache();\n\t\t cache.titleView = (TextView) header.findViewById(R.id.header_text);\n\t\t cache.textColor = cache.titleView.getTextColors();\n\t\t cache.background = header.getBackground();\n\t\t header.setTag(cache);\n\t\t }\n\t\t\n\t\t int section = getSectionForPosition(position);\n\t\t \n\t\t if (section != -1) {\n\t\t\t String title = (String) mIndexer.getSections()[section];\n\t\t\t cache.titleView.setText(title);\n\t\t\t\n\t\t\t if (alpha == 255) {\n\t\t\t // Opaque: use the default background, and the original text color\n\t\t\t header.setBackgroundDrawable(cache.background);\n\t\t\t cache.titleView.setTextColor(cache.textColor);\n\t\t\t } else {\n\t\t\t // Faded: use a solid color approximation of the background, and\n\t\t\t // a translucent text color\n\t\t\t \tfinal int diffAlpha = 255 - alpha;\n\t\t\t \tfinal int red = Color.red(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffRed = 255 - red;\n\t\t\t \tfinal int green = Color.green(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffGreen = 255 - green;\n\t\t\t \tfinal int blue = Color.blue(mPinnedHeaderBackgroundColor);\n\t\t\t \tfinal int diffBlue = 255 - blue;\n\t\t\t header.setBackgroundColor(Color.rgb(\n\t\t\t \t\tred + (diffRed * diffAlpha / 255),\n\t\t\t \t\tgreen + (diffGreen * diffAlpha / 255),\n\t\t\t \t\tblue + (diffBlue * diffAlpha / 255)));\n\t\t\t\n\t\t\t int textColor = cache.textColor.getDefaultColor();\n\t\t\t cache.titleView.setTextColor(Color.argb(alpha,\n\t\t\t Color.red(textColor), Color.green(textColor), Color.blue(textColor)));\n\t\t\t }\n\t\t }\n\t\t}", "@Override\n public void addStyleName(String style) {\n super.addStyleName(style);\n }", "public abstract BossBar setStyle(BossStyle style);", "public void setHeader(String headerName, String headerValue)\n\t{\n\t\tList<String> values = new ArrayList<>();\n\t\tvalues.add(headerValue);\n\t\t\n\t\tthis.headers.put(headerName.toLowerCase(), values);\n\t\tthis.originalCasing.put(headerName.toLowerCase(), headerName);\n\t}", "public static void header(String s) {\n\t\t// header2.set(s);\n\t}", "public void setStyleId(java.lang.String styleId)\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(STYLEID$30);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STYLEID$30);\n }\n target.setStringValue(styleId);\n }\n }", "public void set(String headerName, String headerValue)\r\n/* 353: */ {\r\n/* 354:526 */ List<String> headerValues = new LinkedList();\r\n/* 355:527 */ headerValues.add(headerValue);\r\n/* 356:528 */ this.headers.put(headerName, headerValues);\r\n/* 357: */ }", "public void setHeader(String key, String value) {\n\t\tmHeaderParams.put(key, value);\n\t}", "private static Map<String, CellStyle> createStyles(Workbook wb) {\n Map<String, CellStyle> styles = new HashMap<>();\n\n CellStyle style;\n Font headerFont = wb.createFont();\n headerFont.setBold(true);\n style = createBorderedStyle(wb);\n style.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\n style.setFillPattern(FillPatternType.SOLID_FOREGROUND);\n style.setVerticalAlignment(VerticalAlignment.TOP);\n style.setWrapText(true);\n style.setFont(headerFont);\n styles.put(\"header\", style);\n\n style = createBorderedStyle(wb);\n style.setVerticalAlignment(VerticalAlignment.TOP);\n style.setWrapText(true);\n styles.put(\"body\", style);\n\n return styles;\n }", "public abstract void setMimeHeader(String name, String value);", "public void setFirstRow(org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle firstRow)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().find_element_user(FIRSTROW$22, 0);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTablePartStyle)get_store().add_element_user(FIRSTROW$22);\n }\n target.set(firstRow);\n }\n }", "protected final void setHeading(final int heading) {\n if (heading < 1 || heading > 6) {\n throw new IllegalArgumentException(\n \"Heading parameter must be between 1 and 6 (inclusive\");\n }\n if (heading < 5)\n setBold(true);\n setFontSize((int) (getFontSize() * HEADING_MULT[heading]));\n }", "public void setSheetOrder(String arg0, int arg1) {\n\n\t}", "public void writeHeader(int shptype, SHPEnvelope mbr) throws IOException {\n\n byte[] header = new byte[ShapeConst.SHAPE_FILE_HEADER_LENGTH];\n\n ByteUtils.writeBEInt(header, 0, ShapeConst.SHAPE_FILE_CODE);\n ByteUtils.writeBEInt(header, 24, filelength);\n ByteUtils.writeLEInt(header, 28, ShapeConst.SHAPE_FILE_VERSION);\n ByteUtils.writeLEInt(header, 32, shptype);\n ShapeUtils.writeBox(header, 36, mbr);\n\n raf.seek(0);\n raf.write(header, 0, ShapeConst.SHAPE_FILE_HEADER_LENGTH);\n }", "private static Map<String, CellStyle> createStyles(Workbook wb)\r\n\t{\r\n\t\tMap<String, CellStyle> styles = new HashMap<String, CellStyle>();\r\n\t\tDataFormat df = wb.createDataFormat();\r\n\r\n\t\tFont titleFont = wb.createFont();\r\n\t\ttitleFont.setFontHeightInPoints((short) 18);\r\n\t\ttitleFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n\t\ttitleFont.setColor(IndexedColors.DARK_BLUE.getIndex());\r\n\t\tCellStyle titleStyle = wb.createCellStyle();\r\n\t\ttitleStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\ttitleStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\ttitleStyle.setFont(titleFont);\r\n\t\tborderCell(titleStyle, CellStyle.BORDER_THICK, IndexedColors.BLUE.getIndex());\r\n\t\tstyles.put(TITLE_STYLE_NAME, titleStyle);\r\n\r\n\t\tFont headerFont = wb.createFont();\r\n\t\theaderFont.setFontHeightInPoints((short) 11);\r\n\t\theaderFont.setColor(IndexedColors.WHITE.getIndex());\r\n\t\tCellStyle headerStyle = wb.createCellStyle();\r\n\t\theaderStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\theaderStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\theaderStyle.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t\theaderStyle.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t\theaderStyle.setFont(headerFont);\r\n\t\theaderStyle.setWrapText(true);\r\n\t\tstyles.put(HEADER_STYLE_NAME, headerStyle);\r\n\r\n\t\tCellStyle plainCellStyle = wb.createCellStyle();\r\n\t\tplainCellStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\tborderCell(plainCellStyle, CellStyle.BORDER_THIN, IndexedColors.BLACK.getIndex());\r\n\t\tstyles.put(PLAIN_CELL_STYLE_NAME, plainCellStyle);\r\n\r\n\t\tCellStyle dateCellStyle = wb.createCellStyle();\r\n\t\tdateCellStyle.cloneStyleFrom(plainCellStyle);\r\n\t\tdateCellStyle.setDataFormat(df.getFormat(\"yyyy-mm-dd\"));\r\n\t\tstyles.put(DATE_CELL_STYLE_NAME, dateCellStyle);\r\n\r\n\t\tCellStyle integerFormulaStyle = wb.createCellStyle();\r\n\t\tintegerFormulaStyle.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t\tintegerFormulaStyle.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t\tintegerFormulaStyle.setFillForegroundColor(IndexedColors.LIGHT_CORNFLOWER_BLUE.getIndex());\r\n\t\tintegerFormulaStyle.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t\tborderCell(integerFormulaStyle, CellStyle.BORDER_DOTTED, IndexedColors.GREY_80_PERCENT.getIndex());\r\n\t\tintegerFormulaStyle.setDataFormat(df.getFormat(\"0\"));\r\n\t\tintegerFormulaStyle.setWrapText(true);\r\n\t\tstyles.put(INTEGER_FORMULA_STYLE_NAME, integerFormulaStyle);\r\n\r\n\t\tCellStyle floatFormulaStyle = wb.createCellStyle();\r\n\t\tfloatFormulaStyle.cloneStyleFrom(integerFormulaStyle);\r\n\t\tfloatFormulaStyle.setDataFormat(df.getFormat(\"0.00\"));\r\n\t\tstyles.put(FLOAT_FORMULA_STYLE_NAME, floatFormulaStyle);\r\n\r\n\t\tCellStyle percentageFormulaStyle = wb.createCellStyle();\r\n\t\tpercentageFormulaStyle.cloneStyleFrom(integerFormulaStyle);\r\n\t\tpercentageFormulaStyle.setDataFormat(df.getFormat(\"0.00 %\"));\r\n//\t\tpercentageFormulaStyle.setDataFormat((short) 9); // See BuiltinFormats\r\n\t\tshort colorIndex = IndexedColors.INDIGO.getIndex();\r\n\t\tColor customColor = defineColor(wb, colorIndex, 0x88, 0xFF, 0x55);\r\n\t\tif (percentageFormulaStyle instanceof XSSFCellStyle)\r\n\t\t{\r\n\t\t\t((XSSFCellStyle) percentageFormulaStyle).setFillForegroundColor((XSSFColor) customColor);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tpercentageFormulaStyle.setFillForegroundColor(colorIndex);\r\n\t\t}\r\n\t\tstyles.put(PERCENTAGE_FORMULA_STYLE_NAME, percentageFormulaStyle);\r\n\r\n\t\treturn styles;\r\n\t}", "public void setHeaderText(String headerText) {\n this.headerText = headerText;\n }", "public void setStyle(String st){\n style = st;\n }", "void setHeaderAccessibility(String firstName, String am, String shot);", "public void xsetStyleId(org.openxmlformats.schemas.drawingml.x2006.main.STGuid styleId)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.openxmlformats.schemas.drawingml.x2006.main.STGuid target = null;\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().find_attribute_user(STYLEID$30);\n if (target == null)\n {\n target = (org.openxmlformats.schemas.drawingml.x2006.main.STGuid)get_store().add_attribute_user(STYLEID$30);\n }\n target.set(styleId);\n }\n }", "public void setHeader(final Header header) {\n mHeader=header;\n updateFields();\n }", "public void setColumnHeaderView(Component paramComponent) {\n/* 1143 */ if (getColumnHeader() == null) {\n/* 1144 */ setColumnHeader(createViewport());\n/* */ }\n/* 1146 */ getColumnHeader().setView(paramComponent);\n/* */ }", "private static Map<String, CellStyle> createStyles(Workbook wbl) {\r\n\r\n\tMap<String, CellStyle> styles = new HashMap<String, CellStyle>();\r\n\ttry {\r\n\t CellStyle style;\r\n\t Font titleFont = wbl.createFont();\r\n\t titleFont.setFontHeightInPoints((short) 18);\r\n\t titleFont.setBoldweight(Font.BOLDWEIGHT_BOLD);\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFont(titleFont);\r\n\t styles.put(\"title\", style);\r\n\r\n\t Font monthFont = wbl.createFont();\r\n\t monthFont.setFontHeightInPoints((short) 11);\r\n\t monthFont.setColor(IndexedColors.WHITE.getIndex());\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t style.setFont(monthFont);\r\n\t style.setWrapText(true);\r\n\t style.setRightBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t styles.put(\"header\", style);\r\n\t \r\n\t //MandatoryColumn to admission process\r\n\t Font mandatoryColumnFont = wbl.createFont();\r\n\t mandatoryColumnFont.setFontHeightInPoints((short) 11);\r\n\t mandatoryColumnFont.setColor(IndexedColors.RED.getIndex());\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);\r\n\t style.setFillForegroundColor(IndexedColors.GREY_50_PERCENT.getIndex());\r\n\t style.setFillPattern(CellStyle.SOLID_FOREGROUND);\r\n\t style.setFont(mandatoryColumnFont);\r\n\t style.setWrapText(true);\r\n\t style.setRightBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.WHITE.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t styles.put(\"headers\", style);\r\n\r\n\t style = wbl.createCellStyle();\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"cell\", style);\r\n\r\n\t style = wbl.createCellStyle();\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"string\", style);\r\n\r\n\t CreationHelper createHelper = wbl.getCreationHelper();\r\n\t style = wbl.createCellStyle();\r\n\t style.setDataFormat(createHelper.createDataFormat().getFormat(\"dd-MMM-yyyy\"));\r\n\t style.setAlignment(CellStyle.ALIGN_CENTER);\r\n\t style.setWrapText(true);\r\n\t style.setBorderRight(CellStyle.BORDER_THIN);\r\n\t style.setRightBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderLeft(CellStyle.BORDER_THIN);\r\n\t style.setLeftBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderTop(CellStyle.BORDER_THIN);\r\n\t style.setTopBorderColor(IndexedColors.BLACK.getIndex());\r\n\t style.setBorderBottom(CellStyle.BORDER_THIN);\r\n\t style.setBottomBorderColor(IndexedColors.BLACK.getIndex());\r\n\t styles.put(\"date\", style);\r\n\r\n\t} catch (Exception ex) {\r\n\t ex.printStackTrace();\r\n\t JRExceptionClient jre = new JRExceptionClient();jre.sendException(ex);jre = null;\r\n\t}\r\n\r\n\treturn styles;\r\n }", "public final native void setHeading(int heading) /*-{\n this.setHeading(heading);\n }-*/;", "public void setHeaderFlag(boolean flag) {\n configuration.put(ConfigTag.HEADER, flag);\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void setStyle(String style) {\r\n this.style = style;\r\n }", "public void updateHeader() {\n if (this.mBarState == 1) {\n updateHeaderKeyguardAlpha();\n }\n updateQsExpansion();\n }", "void setHeader(@NonNull String name, @Nullable String value) {\n if (value == null) {\n removeHeader(name);\n } else {\n headers.put(name, value);\n }\n }", "private void createHeader(int propertyCode) {\r\n switch (propertyCode) {\r\n case 0:\r\n _header = \"\";\r\n break;\r\n case 1:\r\n _header = \"#directed\";\r\n break;\r\n case 2:\r\n _header = \"#attributed\";\r\n break;\r\n case 3:\r\n _header = \"#weighted\";\r\n break;\r\n case 4:\r\n _header = \"#directed #attributed\";\r\n break;\r\n case 5:\r\n _header = \"#directed #weighted\";\r\n break;\r\n case 6:\r\n _header = \"#directed #attributed #weighted\";\r\n break;\r\n case 7:\r\n _header = \"#attributed #weighted\";\r\n break;\r\n }\r\n }", "public void setStyleName(String styleName) {\r\n setAttribute(\"styleName\", styleName, true);\r\n }", "public static HSSFFont getHeaderFont(HSSFWorkbook workbook) {\n HSSFFont font = workbook.createFont();\n font.setFontName(FONT_NAME);\n font.setBoldweight((short) 100);\n font.setFontHeight((short) 250);\n // font.setColor(HSSFColor.BLACK.index);\n font.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);\n return font;\n }" ]
[ "0.78651345", "0.63232696", "0.6077391", "0.606673", "0.60348743", "0.6017238", "0.59341836", "0.58456475", "0.58260715", "0.57549655", "0.5720881", "0.57161707", "0.55753946", "0.5565171", "0.5522906", "0.5521905", "0.55083185", "0.5492161", "0.5456839", "0.5434662", "0.5415895", "0.53703064", "0.5363441", "0.53581345", "0.53550714", "0.53360647", "0.53360647", "0.53349274", "0.5323603", "0.5285439", "0.5279573", "0.5266489", "0.5265797", "0.5261399", "0.5241413", "0.5239062", "0.5235772", "0.5231681", "0.52307886", "0.52279174", "0.52017814", "0.51937467", "0.51937467", "0.5187775", "0.51856166", "0.5181716", "0.516721", "0.51620704", "0.5151517", "0.5140645", "0.5139597", "0.5124838", "0.51031476", "0.50897723", "0.5079874", "0.5078019", "0.50780106", "0.50772774", "0.507598", "0.507482", "0.5066856", "0.5065457", "0.50612843", "0.5048271", "0.50408983", "0.50342387", "0.50266474", "0.5023587", "0.50227475", "0.50171757", "0.5012308", "0.5010925", "0.50107664", "0.5010452", "0.5008067", "0.49939954", "0.4991916", "0.49867216", "0.49791253", "0.49764672", "0.4968849", "0.4966939", "0.49591267", "0.49563375", "0.49548373", "0.49473155", "0.49443942", "0.49443215", "0.49439415", "0.49406436", "0.49391744", "0.49332374", "0.49243614", "0.49237233", "0.49237233", "0.49131048", "0.49115565", "0.49050015", "0.489511", "0.48759687" ]
0.7793274
1
Set value of MxSheet_RowObject
public final void setMxSheet_RowObject(mxmodelreflection.proxies.MxObjectType mxsheet_rowobject) { setMxSheet_RowObject(getContext(), mxsheet_rowobject); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_RowObject(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tif (mxsheet_rowobject == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), mxsheet_rowobject.getMendixObject().getId());\r\n\t}", "public void setRow(int value) {\n this.row = value;\n }", "protected abstract E modifyRow(E rowObject);", "public void setRow(int row) {\n\t\t\tif (row > 0)\n\t\t\t\tthis.row = row;\n\t\t}", "public void updateRowObject(E rowObject) {\n dataTable.updateRow(rowObject);\n fireModify(rowObject);\n }", "public void setValueAt(Object obj, int row, int column) {\n Object[] rowValues = this.records.get(row);\n rowValues[column] = obj;\n fireTableDataChanged();\n }", "private void setRowInfo(int rowIndex, T rowValue) {\n this.rowIndex = rowIndex;\n this.rowValueKey = cellTable.getValueKey(rowValue);\n this.subrowIndex = 0; // Reset the subrow.\n }", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row; \n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }", "public void setValueOf( final Object value, final R row, final C columnEnum ) {}", "public void setRow(int r) {\n\t\tthis.row = r;\n\t}", "void setElement(int row, String field, Object value);", "public void setRowNo(Integer rowNo) {\n this.rowNo = rowNo;\n }", "public void setRow(int newRow) {\n this.row = newRow;\n }", "public void set( int row, int column, T obj ) throws ArrayIndexOutOfBoundsException {\n\n\t\tString S = C + \": set(): \";\n\t\tcheckBounds( row, column, S );\n\t\tdata[row * numCols + column] = obj;\n\n\t}", "public void setRow(int row) {\n setRowAndColumn(row, column);\n }", "@Override\n public void setValueAt(Object obj, int row, int col) {\n if (isCellEditable(row,col)){\n Feature f = fc.get(row);\n LifeStageAttributesInterface atts = (LifeStageAttributesInterface) f.getAttribute(1);\n if (debug) logger.info(\"SetValue for row \"+atts.getCSV());\n atts.setValue(keys.get(col), obj);\n fireTableCellUpdated(row, col);\n }\n }", "public void setEditRow(int row) {\n this.editRow = row;\n }", "public void setSelectedRow(String s) {\n\t\tuRow = s;\n\t}", "default Object assignmentBefore(Sheet sheet, Row row, Cell cell, ExcelField excelField, Field field, int index, int colIndex, boolean isHead, Object value) {\n return value;\n }", "void setObject(int index, Object value) throws SQLException;", "public void setTableRowBean(TableRowBean tableRowBean) {\n rowBean = tableRowBean;\n }", "public void setPositionRow(int value){this.positionRow = value;}", "public void setRow(Board board, int[] row, int rowNum) {\n for (int i = 0; i < 9; i++) {\n board.setNum(i, rowNum, row[i]);\n }\n }", "public void setRow(int i) {\n\t\tif (row != Integer.MIN_VALUE) explicitRow = true; \n\t\trow = i;\t\t\n\t}", "public void setRowData(com.vmware.vim.sms.RowData[] rowData) {\n\t\tthis.rowData = rowData;\n\t}", "public void setValueAt(Object value, int row, int col) {\n if (rows != null && row >=0 && row < rows.size()) {\n ExtendedAttributeRow singleRow = (ExtendedAttributeRow) rows.get(row);\n if (singleRow != null) {\n switch (col) {\n case iColName:\n singleRow.setName((String) value); \n break;\n case iColDefaultValue:\n singleRow.setDefaultValue((String) value); \n break;\n case iColSearchable:\n singleRow.setSearchable((String) value);\n break;\n case iColRequired:\n singleRow.setRequired((String) value);\n break;\n default:\n return;\n }\n }\n fireTableCellUpdated(row, col);\n }\n }", "public void setValueAt(Object object, int rowIndex, int columnIndex) {\n if (columnIndex == 0) {\n try {\n boolean tmp = (Boolean) object;\n data.get(rowIndex).setSelected(tmp);\n } catch (Exception e) {\n System.err.println(\"DataTableModel set value: \" + e);\n }\n } else if (columnIndex == getColumnCount() - 1) {\n try {\n data.get(rowIndex).setState((FileState) object);\n } catch (Exception e) {\n System.err.println(\"DataTableModel set value: \" + e);\n }\n }\n\n }", "public void setObject(XSerial obj);", "public static void setRowNumber(int pRowNumber) {\r\n\t\trowNumber = pRowNumber;\r\n\t}", "public void setrowStatus(Integer value){\n\t}", "public void setObject(Object element, int row, int column) {\n\t\tcolumns[column].setRow(element, subset[row]);\n\t}", "public void setRowIndex(int rowIndex) {\r\n\t\tthis.rowIndex = rowIndex;\r\n\t}", "protected void viewRow(E rowObject) {\n }", "@Override\n\tpublic void setRowId(int parameterIndex, RowId x) throws SQLException {\n\t\t\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void setRowNumber(int rowNumber) {\n this.rowNumber = rowNumber;\n }", "public final void setStartRow(java.lang.Integer startrow)\r\n\t{\r\n\t\tsetStartRow(getContext(), startrow);\r\n\t}", "void setExcelFileRows(List<Row> excelFileRows) throws ExcelFileException;", "public void setHighlightrow(String highlightRowIn)\n {\n if (highlightRowIn == null || highlightRowIn.equals(\"\"))\n {\n highlightRow = -1;\n }\n else\n {\n try\n {\n highlightRow = Integer.parseInt(highlightRowIn);\n }\n catch(NumberFormatException nfe)\n {\n highlightRow = -1;\n }\n }\n }", "public void setValueAt(Object value, int row, int col) {\n if (rows != null && row >=0 && row < rows.size()) {\n PredefinedAttributeRow singleRow = (PredefinedAttributeRow) rows.get(row);\n if (singleRow != null) {\n switch (col) {\n case iColName:\n singleRow.setName((String) value); \n break;\n case iColIncluded:\n singleRow.setIncluded((String) value); \n break;\n case iColRequired:\n singleRow.setRequired((String) value); \n default:\n return;\n }\n }\n fireTableCellUpdated(row, col);\n }\n }", "public void writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session) throws DescriptorException {\n if (this.isReadOnly()) {\n return;\n }\n\n Object attributeValue = this.getAttributeValueFromObject(object);\n if (attributeValue == null) {\n row.put(this.getField(), null);\n return;\n }\n\n ContainerPolicy cp = this.getContainerPolicy();\n\n Vector nestedRows = new Vector(cp.sizeFor(attributeValue));\n for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) {\n Object element = cp.next(iter, session);\n // convert the value - if necessary\n if (hasConverter()) {\n element = getConverter().convertObjectValueToDataValue(element, session);\n }\n nestedRows.addElement(buildCompositeRow(element, session, row));\n }\n\n Object fieldValue = null;\n if (!nestedRows.isEmpty()) {\n fieldValue = this.getReferenceDescriptor().buildFieldValueFromNestedRows(nestedRows, getStructureName(), session);\n }\n row.put(this.getField(), fieldValue);\n }", "public void setRowSet(JDBCRowSet rowSet) {\r\n this.rowSet = rowSet;\r\n }", "private void setRowValues(int row, int column) {\n\n String[] values = new String[fields.size()];\n for (int i = 0; i < fields.size(); ++i) {\n values[i] = recordNotifier.getValueAt(row, i);\n }\n recordForm.setValues(values);\n \n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public final void setRow(int row, float x, float y, float z) {\n\tif (row == 0) {\n\t m00 = x;\n\t m01 = y;\n\t m02 = z;\n\t} else if (row == 1) {\n\t m10 = x;\n\t m11 = y;\n\t m12 = z;\n\t} else if (row == 2) {\n\t m20 = x;\n\t m21 = y;\n\t m22 = z;\n\t} else {\n\t throw new ArrayIndexOutOfBoundsException(\"row must be 0 to 2 and is \" + row);\n\t}\n }", "void setObjectValue(Object dataObject);", "RowValue createRowValue();", "void setRowSelection(int index, String value) {\r\n int val;\r\n try {\r\n val = ( (Integer) nameToIndexMap.get(value)).intValue();\r\n }\r\n catch (Exception e) {\r\n return;\r\n }\r\n ySelections[index] = val;\r\n\r\n // now, for all the plots in this row, update the objectives\r\n for (int i = 0; i < 2; i++) {\r\n plots[index][i].setObjectives(xSelections[i], val);\r\n /////////////////////////////////\r\n plots[index][i].redraw();\r\n /////////////////////////////////\r\n }\r\n fireTableDataChanged();\r\n }", "@OfMethod({\"setRowId(java.lang.String,java.sql.RowId)\",\"setRowId(int,java.sql.RowId)\"})\n public void testSetRowId() throws Exception {\n String parameterName = getParameterName();\n int parameterIndex = getParameterIndex();\n RowId x = null;\n CallableStatement instance = newClosedCall();\n\n try {\n instance.setRowId(parameterName, x);\n fail(\"Allowed set row id by parameter name after close\");\n } catch (SQLException ex) {\n checkException(ex);\n }\n\n try {\n instance.setRowId(parameterIndex, x);\n fail(\"Allowed set row id by parameter index after close\");\n } catch (SQLException ex) {\n checkException(ex);\n }\n }", "public void setRowKey(Object key)\n {\n if (key == null)\n {\n setRowIndex(-1);\n return;\n }\n\n if (getRowKey() != null && getRowKey().equals(key))\n return;\n \n for (int i = 0; i < getRowCount(); i++)\n {\n setRowIndex(i);\n Object prop = getRowKey();\n if (key.equals(prop))\n {\n return;\n }\n }\n\n // if we didn't find an element with a matching key,\n // then don't make any rows current\n setRowIndex(-1);\n }", "public Row setPosition(int rowNumber) {\n this.rowNumber = rowNumber;\n this.nextRowSet = false;\n return this;\n }", "public void setCurrentRow(int rowNumber) throws SQLException {\n/* 163 */ notSupported();\n/* */ }", "public native void selectRow(int row) /*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\tjso.selectRow(row);\n }-*/;", "public void setTimesheetRowList(List<TimesheetRow> timesheetrowlist) {\n\t\tthis.timesheetRowList = timesheetrowlist;\n\t}", "public final void setStartRow(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer startrow)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.StartRow.toString(), startrow);\r\n\t}", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public void setRowDataWrapper(final IWrapper < Object, RowData > theRowDataWrapper) {\r\n this.rowDataWrapper = theRowDataWrapper;\r\n }", "@Override\n public void setValueAt(Object aValue, int aRow, int aColumn) {\n model.setValueAt(aValue, aRow, aColumn); \n }", "void fill(Row row) {\n if (row == null) return;\n for (Column column : getColumns()) {\n String name = column.getName();\n Object value = row.get(name);\n Classes.setFieldValue(this, name, value);\n }\n }", "protected boolean internalSetValueAt(Object aValue, int row, int column) {\n\t\t\n\t\tInspectableProperty property = properties[row][column];\n\n\t\tint propertiesNamesColumnIndex = nameToPropertiesColumnIndex(propertiesNamesColumn);\n\t\t// If a name change, the whole table is going to be refreshed.\n\t\tif (column == propertiesNamesColumnIndex) {\n\t\t\tproperties[row][column].setValue(aValue.toString());\n\t\t\treturn false;\n\t\t\t// TASK:NONMODALSPR\n\t\t\t//nameToPropertiesRowIndex.remove(property.getValue());\n\t\t}\n\t\t/* Check if the property is a creator property that creates a new property on the inspectable object.\n\t\t */\n\t\tif (property instanceof CreatorProperty) {\n\t\t\tCreatorProperty creatorProperty = (CreatorProperty)property; \n\n\t\t\tcreatorProperty.setName(propertiesColumnNames[column]);\n\t\t\tcreatorProperty.setValue(aValue.toString());\n\t\t\t\n\t\t\tproperty = creatorProperty.getCreatedProperty();\n\t\t\t// If a new property has been created, replace it.\n\t\t\tif (property != null) { \n\t\t\t properties[row][column] = property;\n\t\t\t}\n\t\t} else {\n\t\t\tproperties[row][column].setValue(aValue.toString());\n\t\t}\n\t\t\n\t\t// TASK:NONMODALSPR\n\t\t/*\n\t\tif (column == propertiesNamesColumnIndex) {\n \t\t\tnameToPropertiesRowIndex.put(properties[row][column].getValue(), new Integer(row));\n\t\t}\n\t\t*/\n\t\treturn true;\n\t}", "protected Object getCellObjectValue() {\n\t\treturn value;\n\t}", "public void writeFromObjectIntoRowForUpdate(WriteObjectQuery writeQuery, AbstractRecord row) throws DescriptorException {\n AbstractSession session = writeQuery.getSession();\n\n //Helper.toDo(\"bjv: need to figure out how to handle read-only elements...\");\n if (session.isClassReadOnly(this.getReferenceClass())) {\n return;\n }\n\n if (session.isUnitOfWork()) {\n if (this.compareObjects(writeQuery.getObject(), writeQuery.getBackupClone(), session)) {\n return;// nothing has changed - don't put anything in the row\n }\n }\n this.writeFromObjectIntoRow(writeQuery.getObject(), row, session);\n }", "public abstract void setCellValue(int cellValue, int row, int col);", "private void setTable(int row)\n {\n table.setValueAt(idText.getText(), row, 0);\n table.setValueAt(nameText.getText(), row, 1);\n }", "public void setValueAt(Object aValue, int row, int column)\n {\n\n }", "public void set(int propID, Object obj) throws SL_Exception\n {\n switch(propID)\n {\n case PRESQL_ID:\n setPreSQL((String)obj);\n return;\n case POSTSQL_ID:\n setPostSQL((String)obj);\n return;\n case ROWOFFSET_ID:\n setRowOffSet((java.lang.Integer)obj);\n return;\n case ROWLIMIT_ID:\n setRowLimit((java.lang.Integer)obj);\n return;\n default:\n super.set(propID, obj);\n return;\n }\n\n }", "public void setValueAt(Object value, int row, int col) {\n\t\tList rowList = data.get(row);\n\t\t\n\t\t// make this row long enough\n\t\tif (col>=rowList.size()) {\n\t\t\twhile (col>=rowList.size()) rowList.add(null);\n\t\t}\n\n\t\t// install the data\n\t\trowList.set(col, value);\n\t\t\n\t\t// notify model listeners of cell change\n\t\tfireTableCellUpdated(row, col);\n\t}", "@Test\n public void testWriteRowCells() {\n XSSFWorkbook workbook = new XSSFWorkbook();\n XSSFSheet sheet = workbook.createSheet();\n XSSFRow row = sheet.createRow(0);\n List<Object> cellContents = new ArrayList<Object>();\n cellContents.add(new String(\"abc\"));\n cellContents.add(new Long(\"1\")); \n MaterialRequestHelper.writeRowCells(cellContents, row);\n assertEquals(row.getPhysicalNumberOfCells(), 2);\n assertEquals(row.getCell(0).getCellType(),XSSFCell.CELL_TYPE_STRING);\n assertEquals(row.getCell(1).getCellType(),XSSFCell.CELL_TYPE_NUMERIC);\n assertEquals(row.getCell(0).getStringCellValue(),\"abc\");\n assertEquals(row.getCell(1).getNumericCellValue(),1,0); \n }", "public final void setRow(int row, Vector3f v) {\n\tif (row == 0) {\n\t m00 = v.x;\n\t m01 = v.y;\n\t m02 = v.z;\n\t} else if (row == 1) {\n\t m10 = v.x;\n\t m11 = v.y;\n\t m12 = v.z;\n\t} else if (row == 2) {\n\t m20 = v.x;\n\t m21 = v.y;\n\t m22 = v.z;\n\t} else {\n\t throw new ArrayIndexOutOfBoundsException(\"row must be 0 to 2 and is \" + row);\n\t}\n }", "public void setValueAt(Object aValue, int row, int col)\n\t{\n\t\t// invalid row\n\t\tif (row < 0 || row >= m_data.rows.size())\n\t\t\tthrow new IllegalArgumentException(\"Row invalid\");\n\t\tif (col < 0 || col >= m_data.cols.size())\n\t\t\tthrow new IllegalArgumentException(\"Column invalid\");\n\t\tif (!isCellEditable(row, col)){\n\t\t\tthrow new IllegalArgumentException(\"Cell is read only\");\n\t\t\t\n\t\t}\n\t\t\t//\n\t\tArrayList<Object> myRow = m_data.rows.get(row);\n\t\t// invalid row\n\t\tif (myRow == null)\n\t\t\tthrow new java.lang.IllegalArgumentException(\"Row not initialized\");\n\t\t// not enough columns - add nulls\n\t\tif (col >= myRow.size())\n\t\t\twhile (myRow.size() < m_data.cols.size())\n\t\t\t\tmyRow.add(null);\n\t\t// setValue\n\t\tmyRow.set(col, aValue);\n\t}", "public void set(XObject object) {\r\n if(object == null)\r\n throw new IllegalArgumentException(\"XObject was null.\");\r\n name = object.getName();\r\n id = object.getId();\r\n parent = object.getParent();\r\n }", "void setObject(int index, Object value, int sqlType)\n throws SQLException;", "public void setRowNumber(int rowNumber) {\n\t\tthis.rowNumber = rowNumber;\n\t}", "public SpriteSheetSplitter setOrigRow(int origRow) {\n this.origRow = origRow;\n return this;\n }", "public void setValueAt(Object value, int row, int col) {\n if(row < getRowCount()){\n if (DEBUG) {\n System.out.println(\"Setting value at \" + row + \",\" + col\n + \" to \" + value\n + \" (an instance of \"\n + value.getClass() + \")\");\n }\n String[] r = data.get(row);\n r[col] = (String) value;\n fireTableCellUpdated(row, col);\n\n if (DEBUG) {\n System.out.println(\"New value of data:\");\n printDebugData();\n }\n }\n }", "public Integer getRowId() {\n return rowId;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public Row createRow(Sheet sheet, int r) {\n Row row = sheet.createRow(r);\n return row;\n }", "public void setCell(Object value, int col, int row) {\n ((DefaultTableModel) getModel()).setValueAt(value, row, col);\n }", "public void setValueAt(Object value, int row, int column){\n dataEntries[row][column] = value;\n }", "public void setHSSFCell(Object cellObject, Object value, Class<?> objectType, ISheetSession<?, ?> session) {\n\t\tHSSFCell cell = (HSSFCell) cellObject;\n\t\tcell.setCellValue((Calendar)value);\n\t}", "public void setRowLimit(com.microsoft.schemas.sharepoint.soap.UpdateViewRowLimit rowLimit) {\r\n this.rowLimit = rowLimit;\r\n }" ]
[ "0.7993332", "0.645822", "0.6432763", "0.63355386", "0.63347894", "0.631881", "0.6317462", "0.62802863", "0.62802863", "0.62794167", "0.6272915", "0.6272915", "0.62615716", "0.6243487", "0.61219734", "0.61030716", "0.604272", "0.5987479", "0.5926127", "0.5871294", "0.5837393", "0.58174723", "0.5754795", "0.5718802", "0.5697657", "0.5691085", "0.56821144", "0.5637062", "0.5616744", "0.55855936", "0.5566554", "0.5536708", "0.5514459", "0.5485464", "0.5479843", "0.547096", "0.54388607", "0.54102266", "0.5403168", "0.54024327", "0.54024327", "0.5387131", "0.538598", "0.53820676", "0.5379619", "0.53768545", "0.5375895", "0.5372976", "0.53615916", "0.5361246", "0.5361246", "0.5361246", "0.5361246", "0.5361246", "0.5357249", "0.53505033", "0.5347299", "0.53470033", "0.5335696", "0.53211015", "0.5284467", "0.52814704", "0.52735186", "0.5271858", "0.52683467", "0.52664447", "0.52664447", "0.52664447", "0.52664447", "0.52664447", "0.5249686", "0.5249007", "0.52471966", "0.5240456", "0.5230906", "0.5228082", "0.52267367", "0.52252877", "0.5225034", "0.52190983", "0.521592", "0.52083176", "0.52050495", "0.52001756", "0.5198935", "0.5194971", "0.51850843", "0.51804185", "0.51785374", "0.51629514", "0.51597375", "0.51597375", "0.51597375", "0.51597375", "0.51597375", "0.5158931", "0.51566494", "0.51558197", "0.51494545", "0.5148196" ]
0.81014323
0
Set value of MxSheet_RowObject
public final void setMxSheet_RowObject(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectType mxsheet_rowobject) { if (mxsheet_rowobject == null) getMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), null); else getMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), mxsheet_rowobject.getMendixObject().getId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_RowObject(mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tsetMxSheet_RowObject(getContext(), mxsheet_rowobject);\r\n\t}", "public void setRow(int value) {\n this.row = value;\n }", "protected abstract E modifyRow(E rowObject);", "public void setRow(int row) {\n\t\t\tif (row > 0)\n\t\t\t\tthis.row = row;\n\t\t}", "public void updateRowObject(E rowObject) {\n dataTable.updateRow(rowObject);\n fireModify(rowObject);\n }", "public void setValueAt(Object obj, int row, int column) {\n Object[] rowValues = this.records.get(row);\n rowValues[column] = obj;\n fireTableDataChanged();\n }", "private void setRowInfo(int rowIndex, T rowValue) {\n this.rowIndex = rowIndex;\n this.rowValueKey = cellTable.getValueKey(rowValue);\n this.subrowIndex = 0; // Reset the subrow.\n }", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row)\n\t{\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row; \n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }", "public void setValueOf( final Object value, final R row, final C columnEnum ) {}", "public void setRow(int r) {\n\t\tthis.row = r;\n\t}", "void setElement(int row, String field, Object value);", "public void setRowNo(Integer rowNo) {\n this.rowNo = rowNo;\n }", "public void setRow(int newRow) {\n this.row = newRow;\n }", "public void set( int row, int column, T obj ) throws ArrayIndexOutOfBoundsException {\n\n\t\tString S = C + \": set(): \";\n\t\tcheckBounds( row, column, S );\n\t\tdata[row * numCols + column] = obj;\n\n\t}", "public void setRow(int row) {\n setRowAndColumn(row, column);\n }", "@Override\n public void setValueAt(Object obj, int row, int col) {\n if (isCellEditable(row,col)){\n Feature f = fc.get(row);\n LifeStageAttributesInterface atts = (LifeStageAttributesInterface) f.getAttribute(1);\n if (debug) logger.info(\"SetValue for row \"+atts.getCSV());\n atts.setValue(keys.get(col), obj);\n fireTableCellUpdated(row, col);\n }\n }", "public void setEditRow(int row) {\n this.editRow = row;\n }", "public void setSelectedRow(String s) {\n\t\tuRow = s;\n\t}", "default Object assignmentBefore(Sheet sheet, Row row, Cell cell, ExcelField excelField, Field field, int index, int colIndex, boolean isHead, Object value) {\n return value;\n }", "void setObject(int index, Object value) throws SQLException;", "public void setTableRowBean(TableRowBean tableRowBean) {\n rowBean = tableRowBean;\n }", "public void setPositionRow(int value){this.positionRow = value;}", "public void setRow(Board board, int[] row, int rowNum) {\n for (int i = 0; i < 9; i++) {\n board.setNum(i, rowNum, row[i]);\n }\n }", "public void setRow(int i) {\n\t\tif (row != Integer.MIN_VALUE) explicitRow = true; \n\t\trow = i;\t\t\n\t}", "public void setRowData(com.vmware.vim.sms.RowData[] rowData) {\n\t\tthis.rowData = rowData;\n\t}", "public void setValueAt(Object value, int row, int col) {\n if (rows != null && row >=0 && row < rows.size()) {\n ExtendedAttributeRow singleRow = (ExtendedAttributeRow) rows.get(row);\n if (singleRow != null) {\n switch (col) {\n case iColName:\n singleRow.setName((String) value); \n break;\n case iColDefaultValue:\n singleRow.setDefaultValue((String) value); \n break;\n case iColSearchable:\n singleRow.setSearchable((String) value);\n break;\n case iColRequired:\n singleRow.setRequired((String) value);\n break;\n default:\n return;\n }\n }\n fireTableCellUpdated(row, col);\n }\n }", "public void setValueAt(Object object, int rowIndex, int columnIndex) {\n if (columnIndex == 0) {\n try {\n boolean tmp = (Boolean) object;\n data.get(rowIndex).setSelected(tmp);\n } catch (Exception e) {\n System.err.println(\"DataTableModel set value: \" + e);\n }\n } else if (columnIndex == getColumnCount() - 1) {\n try {\n data.get(rowIndex).setState((FileState) object);\n } catch (Exception e) {\n System.err.println(\"DataTableModel set value: \" + e);\n }\n }\n\n }", "public void setObject(XSerial obj);", "public static void setRowNumber(int pRowNumber) {\r\n\t\trowNumber = pRowNumber;\r\n\t}", "public void setrowStatus(Integer value){\n\t}", "public void setObject(Object element, int row, int column) {\n\t\tcolumns[column].setRow(element, subset[row]);\n\t}", "public void setRowIndex(int rowIndex) {\r\n\t\tthis.rowIndex = rowIndex;\r\n\t}", "protected void viewRow(E rowObject) {\n }", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "public void setRowNumber(int number){\r\n\t\trowNumber = number;\r\n\t}", "@Override\n\tpublic void setRowId(int parameterIndex, RowId x) throws SQLException {\n\t\t\n\t}", "public void setRowNumber(int rowNumber) {\n this.rowNumber = rowNumber;\n }", "public final void setStartRow(java.lang.Integer startrow)\r\n\t{\r\n\t\tsetStartRow(getContext(), startrow);\r\n\t}", "void setExcelFileRows(List<Row> excelFileRows) throws ExcelFileException;", "public void setHighlightrow(String highlightRowIn)\n {\n if (highlightRowIn == null || highlightRowIn.equals(\"\"))\n {\n highlightRow = -1;\n }\n else\n {\n try\n {\n highlightRow = Integer.parseInt(highlightRowIn);\n }\n catch(NumberFormatException nfe)\n {\n highlightRow = -1;\n }\n }\n }", "public void writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session) throws DescriptorException {\n if (this.isReadOnly()) {\n return;\n }\n\n Object attributeValue = this.getAttributeValueFromObject(object);\n if (attributeValue == null) {\n row.put(this.getField(), null);\n return;\n }\n\n ContainerPolicy cp = this.getContainerPolicy();\n\n Vector nestedRows = new Vector(cp.sizeFor(attributeValue));\n for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) {\n Object element = cp.next(iter, session);\n // convert the value - if necessary\n if (hasConverter()) {\n element = getConverter().convertObjectValueToDataValue(element, session);\n }\n nestedRows.addElement(buildCompositeRow(element, session, row));\n }\n\n Object fieldValue = null;\n if (!nestedRows.isEmpty()) {\n fieldValue = this.getReferenceDescriptor().buildFieldValueFromNestedRows(nestedRows, getStructureName(), session);\n }\n row.put(this.getField(), fieldValue);\n }", "public void setValueAt(Object value, int row, int col) {\n if (rows != null && row >=0 && row < rows.size()) {\n PredefinedAttributeRow singleRow = (PredefinedAttributeRow) rows.get(row);\n if (singleRow != null) {\n switch (col) {\n case iColName:\n singleRow.setName((String) value); \n break;\n case iColIncluded:\n singleRow.setIncluded((String) value); \n break;\n case iColRequired:\n singleRow.setRequired((String) value); \n default:\n return;\n }\n }\n fireTableCellUpdated(row, col);\n }\n }", "public void setRowSet(JDBCRowSet rowSet) {\r\n this.rowSet = rowSet;\r\n }", "private void setRowValues(int row, int column) {\n\n String[] values = new String[fields.size()];\n for (int i = 0; i < fields.size(); ++i) {\n values[i] = recordNotifier.getValueAt(row, i);\n }\n recordForm.setValues(values);\n \n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public Builder setRowId(int value) {\n \n rowId_ = value;\n onChanged();\n return this;\n }", "public final void setRow(int row, float x, float y, float z) {\n\tif (row == 0) {\n\t m00 = x;\n\t m01 = y;\n\t m02 = z;\n\t} else if (row == 1) {\n\t m10 = x;\n\t m11 = y;\n\t m12 = z;\n\t} else if (row == 2) {\n\t m20 = x;\n\t m21 = y;\n\t m22 = z;\n\t} else {\n\t throw new ArrayIndexOutOfBoundsException(\"row must be 0 to 2 and is \" + row);\n\t}\n }", "void setObjectValue(Object dataObject);", "RowValue createRowValue();", "void setRowSelection(int index, String value) {\r\n int val;\r\n try {\r\n val = ( (Integer) nameToIndexMap.get(value)).intValue();\r\n }\r\n catch (Exception e) {\r\n return;\r\n }\r\n ySelections[index] = val;\r\n\r\n // now, for all the plots in this row, update the objectives\r\n for (int i = 0; i < 2; i++) {\r\n plots[index][i].setObjectives(xSelections[i], val);\r\n /////////////////////////////////\r\n plots[index][i].redraw();\r\n /////////////////////////////////\r\n }\r\n fireTableDataChanged();\r\n }", "@OfMethod({\"setRowId(java.lang.String,java.sql.RowId)\",\"setRowId(int,java.sql.RowId)\"})\n public void testSetRowId() throws Exception {\n String parameterName = getParameterName();\n int parameterIndex = getParameterIndex();\n RowId x = null;\n CallableStatement instance = newClosedCall();\n\n try {\n instance.setRowId(parameterName, x);\n fail(\"Allowed set row id by parameter name after close\");\n } catch (SQLException ex) {\n checkException(ex);\n }\n\n try {\n instance.setRowId(parameterIndex, x);\n fail(\"Allowed set row id by parameter index after close\");\n } catch (SQLException ex) {\n checkException(ex);\n }\n }", "public void setRowKey(Object key)\n {\n if (key == null)\n {\n setRowIndex(-1);\n return;\n }\n\n if (getRowKey() != null && getRowKey().equals(key))\n return;\n \n for (int i = 0; i < getRowCount(); i++)\n {\n setRowIndex(i);\n Object prop = getRowKey();\n if (key.equals(prop))\n {\n return;\n }\n }\n\n // if we didn't find an element with a matching key,\n // then don't make any rows current\n setRowIndex(-1);\n }", "public Row setPosition(int rowNumber) {\n this.rowNumber = rowNumber;\n this.nextRowSet = false;\n return this;\n }", "public void setCurrentRow(int rowNumber) throws SQLException {\n/* 163 */ notSupported();\n/* */ }", "public native void selectRow(int row) /*-{\n\t\tvar jso = [email protected]::getJsObj()();\n\t\tjso.selectRow(row);\n }-*/;", "public void setTimesheetRowList(List<TimesheetRow> timesheetrowlist) {\n\t\tthis.timesheetRowList = timesheetrowlist;\n\t}", "public final void setStartRow(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer startrow)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.StartRow.toString(), startrow);\r\n\t}", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public void setRowDataWrapper(final IWrapper < Object, RowData > theRowDataWrapper) {\r\n this.rowDataWrapper = theRowDataWrapper;\r\n }", "void fill(Row row) {\n if (row == null) return;\n for (Column column : getColumns()) {\n String name = column.getName();\n Object value = row.get(name);\n Classes.setFieldValue(this, name, value);\n }\n }", "@Override\n public void setValueAt(Object aValue, int aRow, int aColumn) {\n model.setValueAt(aValue, aRow, aColumn); \n }", "protected boolean internalSetValueAt(Object aValue, int row, int column) {\n\t\t\n\t\tInspectableProperty property = properties[row][column];\n\n\t\tint propertiesNamesColumnIndex = nameToPropertiesColumnIndex(propertiesNamesColumn);\n\t\t// If a name change, the whole table is going to be refreshed.\n\t\tif (column == propertiesNamesColumnIndex) {\n\t\t\tproperties[row][column].setValue(aValue.toString());\n\t\t\treturn false;\n\t\t\t// TASK:NONMODALSPR\n\t\t\t//nameToPropertiesRowIndex.remove(property.getValue());\n\t\t}\n\t\t/* Check if the property is a creator property that creates a new property on the inspectable object.\n\t\t */\n\t\tif (property instanceof CreatorProperty) {\n\t\t\tCreatorProperty creatorProperty = (CreatorProperty)property; \n\n\t\t\tcreatorProperty.setName(propertiesColumnNames[column]);\n\t\t\tcreatorProperty.setValue(aValue.toString());\n\t\t\t\n\t\t\tproperty = creatorProperty.getCreatedProperty();\n\t\t\t// If a new property has been created, replace it.\n\t\t\tif (property != null) { \n\t\t\t properties[row][column] = property;\n\t\t\t}\n\t\t} else {\n\t\t\tproperties[row][column].setValue(aValue.toString());\n\t\t}\n\t\t\n\t\t// TASK:NONMODALSPR\n\t\t/*\n\t\tif (column == propertiesNamesColumnIndex) {\n \t\t\tnameToPropertiesRowIndex.put(properties[row][column].getValue(), new Integer(row));\n\t\t}\n\t\t*/\n\t\treturn true;\n\t}", "protected Object getCellObjectValue() {\n\t\treturn value;\n\t}", "public void writeFromObjectIntoRowForUpdate(WriteObjectQuery writeQuery, AbstractRecord row) throws DescriptorException {\n AbstractSession session = writeQuery.getSession();\n\n //Helper.toDo(\"bjv: need to figure out how to handle read-only elements...\");\n if (session.isClassReadOnly(this.getReferenceClass())) {\n return;\n }\n\n if (session.isUnitOfWork()) {\n if (this.compareObjects(writeQuery.getObject(), writeQuery.getBackupClone(), session)) {\n return;// nothing has changed - don't put anything in the row\n }\n }\n this.writeFromObjectIntoRow(writeQuery.getObject(), row, session);\n }", "private void setTable(int row)\n {\n table.setValueAt(idText.getText(), row, 0);\n table.setValueAt(nameText.getText(), row, 1);\n }", "public abstract void setCellValue(int cellValue, int row, int col);", "public void setValueAt(Object aValue, int row, int column)\n {\n\n }", "public void set(int propID, Object obj) throws SL_Exception\n {\n switch(propID)\n {\n case PRESQL_ID:\n setPreSQL((String)obj);\n return;\n case POSTSQL_ID:\n setPostSQL((String)obj);\n return;\n case ROWOFFSET_ID:\n setRowOffSet((java.lang.Integer)obj);\n return;\n case ROWLIMIT_ID:\n setRowLimit((java.lang.Integer)obj);\n return;\n default:\n super.set(propID, obj);\n return;\n }\n\n }", "public void setValueAt(Object value, int row, int col) {\n\t\tList rowList = data.get(row);\n\t\t\n\t\t// make this row long enough\n\t\tif (col>=rowList.size()) {\n\t\t\twhile (col>=rowList.size()) rowList.add(null);\n\t\t}\n\n\t\t// install the data\n\t\trowList.set(col, value);\n\t\t\n\t\t// notify model listeners of cell change\n\t\tfireTableCellUpdated(row, col);\n\t}", "@Test\n public void testWriteRowCells() {\n XSSFWorkbook workbook = new XSSFWorkbook();\n XSSFSheet sheet = workbook.createSheet();\n XSSFRow row = sheet.createRow(0);\n List<Object> cellContents = new ArrayList<Object>();\n cellContents.add(new String(\"abc\"));\n cellContents.add(new Long(\"1\")); \n MaterialRequestHelper.writeRowCells(cellContents, row);\n assertEquals(row.getPhysicalNumberOfCells(), 2);\n assertEquals(row.getCell(0).getCellType(),XSSFCell.CELL_TYPE_STRING);\n assertEquals(row.getCell(1).getCellType(),XSSFCell.CELL_TYPE_NUMERIC);\n assertEquals(row.getCell(0).getStringCellValue(),\"abc\");\n assertEquals(row.getCell(1).getNumericCellValue(),1,0); \n }", "public final void setRow(int row, Vector3f v) {\n\tif (row == 0) {\n\t m00 = v.x;\n\t m01 = v.y;\n\t m02 = v.z;\n\t} else if (row == 1) {\n\t m10 = v.x;\n\t m11 = v.y;\n\t m12 = v.z;\n\t} else if (row == 2) {\n\t m20 = v.x;\n\t m21 = v.y;\n\t m22 = v.z;\n\t} else {\n\t throw new ArrayIndexOutOfBoundsException(\"row must be 0 to 2 and is \" + row);\n\t}\n }", "public void set(XObject object) {\r\n if(object == null)\r\n throw new IllegalArgumentException(\"XObject was null.\");\r\n name = object.getName();\r\n id = object.getId();\r\n parent = object.getParent();\r\n }", "public void setValueAt(Object aValue, int row, int col)\n\t{\n\t\t// invalid row\n\t\tif (row < 0 || row >= m_data.rows.size())\n\t\t\tthrow new IllegalArgumentException(\"Row invalid\");\n\t\tif (col < 0 || col >= m_data.cols.size())\n\t\t\tthrow new IllegalArgumentException(\"Column invalid\");\n\t\tif (!isCellEditable(row, col)){\n\t\t\tthrow new IllegalArgumentException(\"Cell is read only\");\n\t\t\t\n\t\t}\n\t\t\t//\n\t\tArrayList<Object> myRow = m_data.rows.get(row);\n\t\t// invalid row\n\t\tif (myRow == null)\n\t\t\tthrow new java.lang.IllegalArgumentException(\"Row not initialized\");\n\t\t// not enough columns - add nulls\n\t\tif (col >= myRow.size())\n\t\t\twhile (myRow.size() < m_data.cols.size())\n\t\t\t\tmyRow.add(null);\n\t\t// setValue\n\t\tmyRow.set(col, aValue);\n\t}", "void setObject(int index, Object value, int sqlType)\n throws SQLException;", "public void setRowNumber(int rowNumber) {\n\t\tthis.rowNumber = rowNumber;\n\t}", "public SpriteSheetSplitter setOrigRow(int origRow) {\n this.origRow = origRow;\n return this;\n }", "public void setValueAt(Object value, int row, int col) {\n if(row < getRowCount()){\n if (DEBUG) {\n System.out.println(\"Setting value at \" + row + \",\" + col\n + \" to \" + value\n + \" (an instance of \"\n + value.getClass() + \")\");\n }\n String[] r = data.get(row);\n r[col] = (String) value;\n fireTableCellUpdated(row, col);\n\n if (DEBUG) {\n System.out.println(\"New value of data:\");\n printDebugData();\n }\n }\n }", "public Integer getRowId() {\n return rowId;\n }", "public Row createRow(Sheet sheet, int r) {\n Row row = sheet.createRow(r);\n return row;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public int getRowId() {\n return rowId_;\n }", "public void setCell(Object value, int col, int row) {\n ((DefaultTableModel) getModel()).setValueAt(value, row, col);\n }", "public void setValueAt(Object value, int row, int column){\n dataEntries[row][column] = value;\n }", "public void setHSSFCell(Object cellObject, Object value, Class<?> objectType, ISheetSession<?, ?> session) {\n\t\tHSSFCell cell = (HSSFCell) cellObject;\n\t\tcell.setCellValue((Calendar)value);\n\t}", "public void setRowLimit(com.microsoft.schemas.sharepoint.soap.UpdateViewRowLimit rowLimit) {\r\n this.rowLimit = rowLimit;\r\n }" ]
[ "0.810284", "0.64581573", "0.64346695", "0.6335463", "0.63351244", "0.6317684", "0.63170797", "0.62803847", "0.62803847", "0.6279466", "0.62729883", "0.62729883", "0.6261099", "0.6242427", "0.612234", "0.6102789", "0.60424566", "0.59881884", "0.5925387", "0.58713794", "0.5836058", "0.58181113", "0.5754739", "0.5718961", "0.5697122", "0.56923187", "0.56821537", "0.5637103", "0.5617162", "0.558612", "0.556571", "0.55357033", "0.55145097", "0.54851604", "0.54801196", "0.54707", "0.5438652", "0.54117274", "0.5403076", "0.5403076", "0.54029894", "0.5387701", "0.5386986", "0.53841764", "0.5379829", "0.53766876", "0.53762364", "0.53740305", "0.53614044", "0.5360726", "0.5360726", "0.5360726", "0.5360726", "0.5360726", "0.5358286", "0.53492194", "0.5348381", "0.5347378", "0.53364795", "0.5322503", "0.52850336", "0.5282271", "0.5274411", "0.527337", "0.52692103", "0.52670807", "0.52670807", "0.52670807", "0.52670807", "0.52670807", "0.5250278", "0.5247707", "0.5247653", "0.5239596", "0.5230064", "0.5228788", "0.5225631", "0.52250826", "0.522352", "0.52193004", "0.52145755", "0.5209699", "0.5205428", "0.5198558", "0.51984835", "0.519447", "0.51855665", "0.5180935", "0.51769286", "0.51635826", "0.5160844", "0.51603377", "0.51603377", "0.51603377", "0.51603377", "0.51603377", "0.51554674", "0.5153697", "0.51485634", "0.51482147" ]
0.79944557
1
Set value of MxSheet_MxObjectReference
public final void setMxSheet_MxObjectReference(mxmodelreflection.proxies.MxObjectReference mxsheet_mxobjectreference) { setMxSheet_MxObjectReference(getContext(), mxsheet_mxobjectreference); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_MxObjectReference(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectReference mxsheet_mxobjectreference)\r\n\t{\r\n\t\tif (mxsheet_mxobjectreference == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_MxObjectReference.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_MxObjectReference.toString(), mxsheet_mxobjectreference.getMendixObject().getId());\r\n\t}", "public void setObject(XSerial obj);", "public void set(XObject object) {\r\n if(object == null)\r\n throw new IllegalArgumentException(\"XObject was null.\");\r\n name = object.getName();\r\n id = object.getId();\r\n parent = object.getParent();\r\n }", "public void elSetReference(Object bean);", "public abstract void setContentObject(Object object);", "public void xsetReference(org.apache.xmlbeans.XmlQName reference)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlQName target = null;\n target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(REFERENCE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(REFERENCE$0);\n }\n target.set(reference);\n }\n }", "public\tvoid setobject(object obj) {\r\n\t\t oop.value=obj.value;\r\n\t\t oop.size=obj.size;\r\n\t\t \r\n\t}", "public void setReference(javax.xml.namespace.QName reference)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFERENCE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFERENCE$0);\n }\n target.setQNameValue(reference);\n }\n }", "public void setValue(Object obj) throws AspException\n {\n throw new AspException(\"Modification of read-only variable\");\n }", "public final void setMxSheet_RowObject(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tif (mxsheet_rowobject == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), mxsheet_rowobject.getMendixObject().getId());\r\n\t}", "public void elSetValue(Object bean, Object value, boolean populate, boolean reference);", "public final void setMxSheet_RowObject(mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tsetMxSheet_RowObject(getContext(), mxsheet_rowobject);\r\n\t}", "void xsetRef(org.apache.xmlbeans.XmlToken ref);", "void setObjectValue(Object dataObject);", "public void setObject(int i, T obj);", "public void setObj(com.vmware.converter.ManagedObjectReference obj) {\r\n this.obj = obj;\r\n }", "void setValue(Object object, Object value);", "public void set(final Object ref) {\n synchronized (lock) {\n if (set) { throw new IllegalStateException(\"Reference has already been set\"); }\n\n if ((!allowsNull()) && (ref == null)) { throw new IllegalArgumentException(\n \"This instance cannot hold a null reference value\"); }\n\n set = true;\n this.ref = ref;\n }\n }", "public void xsetRefID(org.apache.xmlbeans.XmlString refID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFID$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(REFID$4);\n }\n target.set(refID);\n }\n }", "public void setObjectReferenceImpl(ObjectReferenceImpl objectReferenceImpl) {\n this.objectReference = objectReferenceImpl;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "void setObject(String id, Object data);", "public void setObjectAtLocation(Point p, Object o);", "@Override\n public void setObject(Object arg0)\n {\n \n }", "public void setObjectId(gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId objectId)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId target = null;\r\n target = (gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId)get_store().find_element_user(OBJECTID$0, 0);\r\n if (target == null)\r\n {\r\n target = (gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId)get_store().add_element_user(OBJECTID$0);\r\n }\r\n target.set(objectId);\r\n }\r\n }", "public void setObject(ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value)\r\n {\r\n if (mmd != null)\r\n {\r\n setObject(ec, ps, exprIndex, value, null, mmd.getAbsoluteFieldNumber());\r\n }\r\n else\r\n {\r\n super.setObject(ec, ps, exprIndex, value);\r\n }\r\n }", "public void setReference(int pointer, Object object)\n {\n references.put(object, pointer);\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "public void setObj1 (String value) {\r\n Obj1 = value;\r\n }", "public static void setActorRef(Object actorRefObj) {\n actorRef = actorRefObj;\n }", "public void setObjet(Object messageObject) throws UtilsException;", "public void set(E obj) {\r\n throw new UnsupportedOperationException();\r\n }", "public void setObject(@NonNull T object) {\n index = object.getIndex();\n objectReference = new WeakReference<T>(object);\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setReference(Reference ref)\n {\n this.ref = ref;\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "public void setValue(Object object, Object value) throws IllegalArgumentException, IllegalAccessException, SecurityException, InvocationTargetException, NoSuchMethodException, InstantiationException{\n\t\tif(this.fielAncestor != null){\n\t\t\tobject = this.fielAncestor.getValueForSetValue(object);\n\t\t}\n\t\tsetValueObject(object, value);\n\t\t\n\t}", "void setRef(int index, Ref value) throws SQLException;", "public void setRefID(java.lang.String refID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFID$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFID$4);\n }\n target.setStringValue(refID);\n }\n }", "@Override\r\n protected void setValueFromId(EObject object, EReference eReference, String ids) {\r\n \r\n super.setValueFromId(object, eReference, ((QNameURIHandler) uriHandler)\r\n .convertQNameToUri(ids));\r\n }", "void setObject(int index, Object value) throws SQLException;", "public String setObject(String objName, Object objValue) {\r\n String resultMsg = new String(\"A \" + XML_TAG + \" cannot contain an Element (\"\r\n + objName + \").\");\r\n return resultMsg;\r\n }", "@Override\r\n public void setObject(String object) {\n }", "public abstract void setContent(Object o);", "private void setObjUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n objUser_ = value;\n \n }", "public void setObjectName(String objectName) { this.objectName=objectName; }", "public void setTargetObjectClass(ClassDefinitionDMO value) {\n DmcAttribute<?> attr = get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n ((DmcTypeClassDefinitionREFSV)attr).removeBackReferences();\n \n try{\n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }\n catch(DmcValueException ex){\n throw(new IllegalStateException(\"The type specific set() method shouldn't throw exceptions!\",ex));\n }\n }", "public void setReference (SoftReference ref)\r\n {\r\n _reference = ref;\r\n }", "public void setAxProperty(int dispatchPointer,\n int memid, Variant newValue) \n throws ActiveXException\n { \n Vector v = new Vector();\n v.addElement(newValue);\n axInvoke(dispatchPointer,memid,ActiveXDispatchable.AX_PROPERTYSET,true,v);\n }", "void setValue(org.python.Object obj) {\n org.python.types.Object object = (org.python.types.Object) obj;\n this.co_argcount = (org.python.types.Int) object.__getattribute__(\"co_argcount\");\n this.co_cellvars = (org.python.types.Tuple) object.__getattribute__(\"co_cellvars\");\n this.co_code = (org.python.types.Bytes) object.__getattribute__(\"co_code\");\n this.co_consts = (org.python.types.Tuple) object.__getattribute__(\"co_consts\");\n this.co_filename = (org.python.types.Str) object.__getattribute__(\"co_filename\");\n this.co_firstlineno = (org.python.types.Int) object.__getattribute__(\"co_firstlineno\");\n this.co_flags = (org.python.types.Int) object.__getattribute__(\"co_flags\");\n this.co_freevars = (org.python.types.Tuple) object.__getattribute__(\"co_freevars\");\n this.co_kwonlyargcount = (org.python.types.Int) object.__getattribute__(\"co_kwonlyargcount\");\n this.co_lnotab = (org.python.types.Bytes) object.__getattribute__(\"co_lnotab\");\n this.co_name = (org.python.types.Str) object.__getattribute__(\"co_name\");\n this.co_names = (org.python.types.Tuple) object.__getattribute__(\"co_names\");\n this.co_nlocals = (org.python.types.Int) object.__getattribute__(\"co_nlocals\");\n this.co_stacksize = (org.python.types.Int) object.__getattribute__(\"co_stacksize\");\n this.co_varnames = (org.python.types.Tuple) object.__getattribute__(\"co_varnames\");\n }", "@Override\n\tpublic void setRef(int parameterIndex, Ref x) throws SQLException {\n\t\t\n\t}", "public void set( Object obj ) throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOperationException( \"set(Object obj) Not implemented.\" );\n\t\t}", "IViewerBinding setContent(EObject object, EReference reference);", "private void setCrossRef(CrossRef crossRef) { this.crossRef = crossRef; }", "void writeReference(Object obj);", "public void assignEObject(EObject eobj) {\n\t\tthis.assignedEObject = eobj;\n\t}", "public T set(T obj);", "void setReference(String reference);", "public void setObject(Object aObject) {\r\n\t\tthis.object = aObject;\r\n\t}", "public void xsetOID(org.apache.xmlbeans.XmlString oid)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OID$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OID$12);\r\n }\r\n target.set(oid);\r\n }\r\n }", "public final void setOccurrence(final XMOccurrence o) {\n\t\t_occ.setOccurrence(o);\n\t}", "public T set(int i, T obj);", "private void setValueObject(Object object, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchMethodException{\n\t\tthis.methodSet.invoke(object, value);\n\t}", "public void assignRef(DMatrixRMaj x, DMatrixRMaj P) {\n\t\tif (x != null) {\n\t\t\tthis.x = x;\n\t\t}\n\n\t\tif (P != null) {\n\t\t\tthis.P = P;\n\t\t}\n\t}", "public void setHSSFCell(Object cellObject, Object value, Class<?> objectType, ISheetSession<?, ?> session) {\n\t\tHSSFCell cell = (HSSFCell) cellObject;\n\t\tcell.setCellValue((Calendar)value);\n\t}", "@Override\r\n public void setObject(ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value, DNStateManager ownerSM, int fieldNumber)\r\n {\r\n ApiAdapter api = ec.getApiAdapter();\r\n if (api.isPersistable(value))\r\n {\r\n // Assign a StateManager to the serialised object if none present\r\n DNStateManager embSM = ec.findStateManager(value);\r\n if (embSM == null || api.getExecutionContext(value) == null)\r\n {\r\n embSM = ec.getNucleusContext().getStateManagerFactory().newForEmbedded(ec, value, false, ownerSM, fieldNumber, PersistableObjectType.EMBEDDED_PC);\r\n }\r\n }\r\n\r\n DNStateManager sm = null;\r\n if (api.isPersistable(value))\r\n {\r\n // Find SM for serialised PC object\r\n sm = ec.findStateManager(value);\r\n }\r\n\r\n if (sm != null)\r\n {\r\n sm.setStoringPC();\r\n }\r\n getColumnMapping(0).setObject(ps, exprIndex[0], value);\r\n if (sm != null)\r\n {\r\n sm.unsetStoringPC();\r\n }\r\n }", "public void setElementAt(Object obj, int index);", "public void testSetObj() {\n System.out.println(\"setObj\");\n Object obj = null;\n int modo= 0;\n ObjectTempSwapWizard instance = new ObjectTempSwapWizard(modo);\n instance.setObj(obj);\n }", "public void setReference(String reference);", "void setObject(int index, Object value, int sqlType)\n throws SQLException;", "void setValue(Object value);", "private void setReference(String ref) {\n Set<String> allRefs = getAllReferenceNames();\n if (!allRefs.contains(ref) && allRefs.contains(\"chr\" + ref)) {\n ref = \"chr\" + ref;\n }\n currentReference = ref;\n Genome loadedGenome = GenomeController.getInstance().getGenome();\n setMaxRange(new Range(1, loadedGenome.getLength()));\n setRange(1, Math.min(1000, loadedGenome.getLength()));\n }", "private void setCrossReference (String aCrossReference)\n\t{\n\t\tcrossReference = aCrossReference;\n\t}", "public void setObj3 (String value) {\r\n Obj3 = value;\r\n }", "public void setItem (Object anObject)\r\n {\r\n // TODO: implement (?)\r\n }", "public final void setMxSheet_Template(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxTemplate mxsheet_template)\r\n\t{\r\n\t\tif (mxsheet_template == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), mxsheet_template.getMendixObject().getId());\r\n\t}", "@Override\n\tpublic void setNodeInfo(String path, Object obj) {\n\t\treentrantReadWriteLock.readLock().lock();\n\t\ttry {\n\t\t\tzookeeper.setData(path, SomeUtil.getByte(obj),\n\t\t\t\t\t-1);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"更新跟节点数据异常!\", e);\n\t\t} finally {\n\t\t\treentrantReadWriteLock.readLock().unlock();\n\t\t}\n\t}", "void setObject(int index, Object value, int sqlType, int scale)\n throws SQLException;", "@Override\n protected void _putObjectToActorInstance(String name, Object object) throws ScriptException {\n \n // see if the actor class has this field\n Field field = null;\n try {\n field = _actorObject.getClass().getField(name);\n } catch(Exception e) {\n // do nothing\n }\n \n if(field == null) {\n // actor class does not have the field so put as global \n String globalName = \"_yyy_\" + name;\n _engine.put(globalName, object);\n _engine.eval(object.getClass().getName() + \" \" + name + \" = \" + globalName);\n } else {\n try {\n // set the field in the actor instance.\n field.set(_actorObject, object);\n } catch (Exception e) {\n throw new ScriptException(\"Error setting port/parameter \" + name + \": \" + e.getMessage());\n }\n }\n }", "public void setObjHandle(Object objHandle) {\n\t\tthis.objHandle = objHandle;\n\t}", "public void xsetIdentifier(org.apache.xmlbeans.XmlAnyURI identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnyURI target = null;\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(IDENTIFIER$0);\n }\n target.set(identifier);\n }\n }", "void setPointOfReference(String url)\n throws IOException, SoapException;", "public void setProperty(String name,Object value);", "public void setTargetObjectClass(Object value) throws DmcValueException {\n DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n attr.removeBackReferences();\n \n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }", "public void setObject(T object)\n\t{\n\t\tthis.object = object;\n\t}", "void setRef(java.lang.String ref);", "public void setObjid(int newValue) {\n\tthis.objid = newValue;\n}", "public void xsetID(org.apache.xmlbeans.XmlID id)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlID target = null;\n target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$24);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$24);\n }\n target.set(id);\n }\n }", "public void setObjProcess(final T objProcess) {\n this.objProcess = objProcess;\n }", "public void setObject(Object value)\n {\n initialize();\n\n if (_invariant)\n throw createReadOnlyBindingException(this);\n\n try\n {\n if (_accessor != null)\n {\n _evaluator.write(_root, _accessor, value);\n }\n else if (EXPRESSION_EVALUATION_ENABLED && _evaluator.isCompileEnabled() && _accessor == null)\n {\n //_evaluator.compileExpression(_root, _parsedExpression, _expression);\n //_accessor = _parsedExpression.getAccessor();\n\n if (!_writeFailed)\n {\n // re-parse expression as compilation may be possible now that it potentially has a value\n try\n {\n _evaluator.compileExpression(_root, _parsedExpression, _expression);\n _accessor = _parsedExpression.getAccessor();\n }\n catch (Throwable t)\n {\n // ignore re-read failures as they aren't supposed to be happening now anyways\n // and a more user friendly version will be available if someone actually calls\n // getObject\n\n // if writing fails then we're probably screwed...so don't do it again\n if (value != null)\n _writeFailed = true;\n }\n }\n }\n else\n {\n _evaluator.writeCompiled(_root, _parsedExpression, value);\n }\n }\n catch (Throwable ex)\n {\n throw new BindingException(\n Tapestry.format(\n \"ExpressionBinding.unable-to-update-expression\",\n _expression,\n _root,\n value),\n this,\n ex);\n }\n }", "public emxPDFQueueBase_mxJPO(String objectId)\r\n {\r\n /*\r\n * Author : DJ\r\n * Date : 02/04/2003\r\n * Notes :\r\n * History :\r\n */\r\n this._objectId = objectId;\r\n }", "public void setOID(java.lang.String oid)\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_attribute_user(OID$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OID$12);\r\n }\r\n target.setStringValue(oid);\r\n }\r\n }", "public void setContentObj(String contentObj) {\n this.contentObj = contentObj;\n }", "public static boolean setDataMember(final FormDataObjIFace dataObject, final String fieldName, final FormDataObjIFace ref)\n {\n String methodName = \"\";\n try\n {\n methodName = \"set\" + StringUtils.capitalize(fieldName);\n //System.out.println(dataObject.getClass().getSimpleName()+\".\"+methodName+\"(\"+clazz.getSimpleName()+\")\");\n Method method = dataObject.getClass().getMethod(methodName, ref.getDataClass());\n if (method != null)\n {\n method.invoke(dataObject, ref);\n return true;\n }\n \n } catch (java.lang.NoSuchMethodException ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(DataModelObjBase.class, ex);\n log.error(\"Couldn't find method [\"+methodName+\"] on Class [\"+dataObject.getDataClass().getSimpleName()+\"] for arg[\"+ref.getDataClass()+\"]\");\n log.error(\"For Class \"+dataObject.getClass().getSimpleName());\n for (Method m : dataObject.getClass().getMethods())\n {\n String mName = m.getName();\n if (mName.startsWith(\"set\"))\n {\n log.error(mName + \" \" + mName.equals(methodName));\n }\n }\n ex.printStackTrace();\n \n } catch (Exception ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(DataModelObjBase.class, ex);\n ex.printStackTrace();\n\n }\n return false;\n }" ]
[ "0.754418", "0.68234915", "0.6248197", "0.6166214", "0.59485286", "0.577993", "0.57726383", "0.5733875", "0.57062954", "0.56841284", "0.5592047", "0.5567213", "0.5519511", "0.5513995", "0.5504888", "0.5493195", "0.5473565", "0.5465288", "0.54387707", "0.54296833", "0.539803", "0.539803", "0.539803", "0.539803", "0.539803", "0.539803", "0.53978807", "0.53931856", "0.53895175", "0.5371003", "0.5342874", "0.532384", "0.5289051", "0.5276116", "0.5269608", "0.52671236", "0.52567804", "0.5244347", "0.52436745", "0.5222749", "0.52125514", "0.52081984", "0.52031565", "0.51874936", "0.51611286", "0.51505226", "0.5139962", "0.5138271", "0.51327133", "0.51193714", "0.51112926", "0.5108306", "0.5097484", "0.50956166", "0.50940555", "0.50896496", "0.50865257", "0.5085555", "0.5083235", "0.50811356", "0.50700456", "0.50633365", "0.50617504", "0.5050859", "0.5048057", "0.5045208", "0.50380605", "0.5032484", "0.50296956", "0.50283027", "0.50191224", "0.501794", "0.50068665", "0.5000237", "0.49925992", "0.49903673", "0.49867582", "0.49611154", "0.49579898", "0.49579567", "0.49504226", "0.49454957", "0.493158", "0.49217302", "0.492049", "0.49113303", "0.49080887", "0.4897804", "0.4892181", "0.4876623", "0.48760355", "0.48753142", "0.4872781", "0.4854547", "0.4849687", "0.48449218", "0.483664", "0.48358962", "0.48323628", "0.48321876" ]
0.75410646
1
Set value of MxSheet_MxObjectReference
public final void setMxSheet_MxObjectReference(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectReference mxsheet_mxobjectreference) { if (mxsheet_mxobjectreference == null) getMendixObject().setValue(context, MemberNames.MxSheet_MxObjectReference.toString(), null); else getMendixObject().setValue(context, MemberNames.MxSheet_MxObjectReference.toString(), mxsheet_mxobjectreference.getMendixObject().getId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void setMxSheet_MxObjectReference(mxmodelreflection.proxies.MxObjectReference mxsheet_mxobjectreference)\r\n\t{\r\n\t\tsetMxSheet_MxObjectReference(getContext(), mxsheet_mxobjectreference);\r\n\t}", "public void setObject(XSerial obj);", "public void set(XObject object) {\r\n if(object == null)\r\n throw new IllegalArgumentException(\"XObject was null.\");\r\n name = object.getName();\r\n id = object.getId();\r\n parent = object.getParent();\r\n }", "public void elSetReference(Object bean);", "public abstract void setContentObject(Object object);", "public void xsetReference(org.apache.xmlbeans.XmlQName reference)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlQName target = null;\n target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(REFERENCE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(REFERENCE$0);\n }\n target.set(reference);\n }\n }", "public\tvoid setobject(object obj) {\r\n\t\t oop.value=obj.value;\r\n\t\t oop.size=obj.size;\r\n\t\t \r\n\t}", "public void setReference(javax.xml.namespace.QName reference)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFERENCE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFERENCE$0);\n }\n target.setQNameValue(reference);\n }\n }", "public void setValue(Object obj) throws AspException\n {\n throw new AspException(\"Modification of read-only variable\");\n }", "public final void setMxSheet_RowObject(com.mendix.systemwideinterfaces.core.IContext context, mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tif (mxsheet_rowobject == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_RowObject.toString(), mxsheet_rowobject.getMendixObject().getId());\r\n\t}", "public void elSetValue(Object bean, Object value, boolean populate, boolean reference);", "public final void setMxSheet_RowObject(mxmodelreflection.proxies.MxObjectType mxsheet_rowobject)\r\n\t{\r\n\t\tsetMxSheet_RowObject(getContext(), mxsheet_rowobject);\r\n\t}", "void xsetRef(org.apache.xmlbeans.XmlToken ref);", "void setObjectValue(Object dataObject);", "public void setObject(int i, T obj);", "public void setObj(com.vmware.converter.ManagedObjectReference obj) {\r\n this.obj = obj;\r\n }", "void setValue(Object object, Object value);", "public void set(final Object ref) {\n synchronized (lock) {\n if (set) { throw new IllegalStateException(\"Reference has already been set\"); }\n\n if ((!allowsNull()) && (ref == null)) { throw new IllegalArgumentException(\n \"This instance cannot hold a null reference value\"); }\n\n set = true;\n this.ref = ref;\n }\n }", "public void xsetRefID(org.apache.xmlbeans.XmlString refID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFID$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(REFID$4);\n }\n target.set(refID);\n }\n }", "public void setObjectReferenceImpl(ObjectReferenceImpl objectReferenceImpl) {\n this.objectReference = objectReferenceImpl;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "private void setObjId(int value) {\n \n objId_ = value;\n }", "void setObject(String id, Object data);", "public void setObjectAtLocation(Point p, Object o);", "@Override\n public void setObject(Object arg0)\n {\n \n }", "public void setObjectId(gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId objectId)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId target = null;\r\n target = (gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId)get_store().find_element_user(OBJECTID$0, 0);\r\n if (target == null)\r\n {\r\n target = (gov.nih.nlm.ncbi.www.ObjectIdDocument.ObjectId)get_store().add_element_user(OBJECTID$0);\r\n }\r\n target.set(objectId);\r\n }\r\n }", "public void setObject(ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value)\r\n {\r\n if (mmd != null)\r\n {\r\n setObject(ec, ps, exprIndex, value, null, mmd.getAbsoluteFieldNumber());\r\n }\r\n else\r\n {\r\n super.setObject(ec, ps, exprIndex, value);\r\n }\r\n }", "public void setReference(int pointer, Object object)\n {\n references.put(object, pointer);\n }", "@Override\n\tpublic void setValue(Object object) {\n\n\t}", "@Override\n\tpublic void setValue(Object object) {\n\t\t\n\t}", "public void setObj1 (String value) {\r\n Obj1 = value;\r\n }", "public static void setActorRef(Object actorRefObj) {\n actorRef = actorRefObj;\n }", "public void setObjet(Object messageObject) throws UtilsException;", "public void set(E obj) {\r\n throw new UnsupportedOperationException();\r\n }", "public void setObject(@NonNull T object) {\n index = object.getIndex();\n objectReference = new WeakReference<T>(object);\n }", "public void setValue(Object o){\n \tthis.value = o;\n }", "public void setReference(Reference ref)\n {\n this.ref = ref;\n }", "public void setOwner(RMParentShape anObj) { _owner = anObj; }", "public void setValue(Object object, Object value) throws IllegalArgumentException, IllegalAccessException, SecurityException, InvocationTargetException, NoSuchMethodException, InstantiationException{\n\t\tif(this.fielAncestor != null){\n\t\t\tobject = this.fielAncestor.getValueForSetValue(object);\n\t\t}\n\t\tsetValueObject(object, value);\n\t\t\n\t}", "void setRef(int index, Ref value) throws SQLException;", "public void setRefID(java.lang.String refID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFID$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFID$4);\n }\n target.setStringValue(refID);\n }\n }", "@Override\r\n protected void setValueFromId(EObject object, EReference eReference, String ids) {\r\n \r\n super.setValueFromId(object, eReference, ((QNameURIHandler) uriHandler)\r\n .convertQNameToUri(ids));\r\n }", "void setObject(int index, Object value) throws SQLException;", "public String setObject(String objName, Object objValue) {\r\n String resultMsg = new String(\"A \" + XML_TAG + \" cannot contain an Element (\"\r\n + objName + \").\");\r\n return resultMsg;\r\n }", "@Override\r\n public void setObject(String object) {\n }", "public abstract void setContent(Object o);", "private void setObjUser(People value) {\n if (value == null) {\n throw new NullPointerException();\n }\n objUser_ = value;\n \n }", "public void setObjectName(String objectName) { this.objectName=objectName; }", "public void setTargetObjectClass(ClassDefinitionDMO value) {\n DmcAttribute<?> attr = get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n ((DmcTypeClassDefinitionREFSV)attr).removeBackReferences();\n \n try{\n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }\n catch(DmcValueException ex){\n throw(new IllegalStateException(\"The type specific set() method shouldn't throw exceptions!\",ex));\n }\n }", "public void setReference (SoftReference ref)\r\n {\r\n _reference = ref;\r\n }", "public void setAxProperty(int dispatchPointer,\n int memid, Variant newValue) \n throws ActiveXException\n { \n Vector v = new Vector();\n v.addElement(newValue);\n axInvoke(dispatchPointer,memid,ActiveXDispatchable.AX_PROPERTYSET,true,v);\n }", "void setValue(org.python.Object obj) {\n org.python.types.Object object = (org.python.types.Object) obj;\n this.co_argcount = (org.python.types.Int) object.__getattribute__(\"co_argcount\");\n this.co_cellvars = (org.python.types.Tuple) object.__getattribute__(\"co_cellvars\");\n this.co_code = (org.python.types.Bytes) object.__getattribute__(\"co_code\");\n this.co_consts = (org.python.types.Tuple) object.__getattribute__(\"co_consts\");\n this.co_filename = (org.python.types.Str) object.__getattribute__(\"co_filename\");\n this.co_firstlineno = (org.python.types.Int) object.__getattribute__(\"co_firstlineno\");\n this.co_flags = (org.python.types.Int) object.__getattribute__(\"co_flags\");\n this.co_freevars = (org.python.types.Tuple) object.__getattribute__(\"co_freevars\");\n this.co_kwonlyargcount = (org.python.types.Int) object.__getattribute__(\"co_kwonlyargcount\");\n this.co_lnotab = (org.python.types.Bytes) object.__getattribute__(\"co_lnotab\");\n this.co_name = (org.python.types.Str) object.__getattribute__(\"co_name\");\n this.co_names = (org.python.types.Tuple) object.__getattribute__(\"co_names\");\n this.co_nlocals = (org.python.types.Int) object.__getattribute__(\"co_nlocals\");\n this.co_stacksize = (org.python.types.Int) object.__getattribute__(\"co_stacksize\");\n this.co_varnames = (org.python.types.Tuple) object.__getattribute__(\"co_varnames\");\n }", "@Override\n\tpublic void setRef(int parameterIndex, Ref x) throws SQLException {\n\t\t\n\t}", "public void set( Object obj ) throws UnsupportedOperationException {\n\t\t\tthrow new UnsupportedOperationException( \"set(Object obj) Not implemented.\" );\n\t\t}", "IViewerBinding setContent(EObject object, EReference reference);", "private void setCrossRef(CrossRef crossRef) { this.crossRef = crossRef; }", "void writeReference(Object obj);", "public void assignEObject(EObject eobj) {\n\t\tthis.assignedEObject = eobj;\n\t}", "public T set(T obj);", "void setReference(String reference);", "public void setObject(Object aObject) {\r\n\t\tthis.object = aObject;\r\n\t}", "public void xsetOID(org.apache.xmlbeans.XmlString oid)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OID$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OID$12);\r\n }\r\n target.set(oid);\r\n }\r\n }", "public final void setOccurrence(final XMOccurrence o) {\n\t\t_occ.setOccurrence(o);\n\t}", "public T set(int i, T obj);", "private void setValueObject(Object object, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchMethodException{\n\t\tthis.methodSet.invoke(object, value);\n\t}", "public void assignRef(DMatrixRMaj x, DMatrixRMaj P) {\n\t\tif (x != null) {\n\t\t\tthis.x = x;\n\t\t}\n\n\t\tif (P != null) {\n\t\t\tthis.P = P;\n\t\t}\n\t}", "public void setHSSFCell(Object cellObject, Object value, Class<?> objectType, ISheetSession<?, ?> session) {\n\t\tHSSFCell cell = (HSSFCell) cellObject;\n\t\tcell.setCellValue((Calendar)value);\n\t}", "@Override\r\n public void setObject(ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value, DNStateManager ownerSM, int fieldNumber)\r\n {\r\n ApiAdapter api = ec.getApiAdapter();\r\n if (api.isPersistable(value))\r\n {\r\n // Assign a StateManager to the serialised object if none present\r\n DNStateManager embSM = ec.findStateManager(value);\r\n if (embSM == null || api.getExecutionContext(value) == null)\r\n {\r\n embSM = ec.getNucleusContext().getStateManagerFactory().newForEmbedded(ec, value, false, ownerSM, fieldNumber, PersistableObjectType.EMBEDDED_PC);\r\n }\r\n }\r\n\r\n DNStateManager sm = null;\r\n if (api.isPersistable(value))\r\n {\r\n // Find SM for serialised PC object\r\n sm = ec.findStateManager(value);\r\n }\r\n\r\n if (sm != null)\r\n {\r\n sm.setStoringPC();\r\n }\r\n getColumnMapping(0).setObject(ps, exprIndex[0], value);\r\n if (sm != null)\r\n {\r\n sm.unsetStoringPC();\r\n }\r\n }", "public void setElementAt(Object obj, int index);", "public void testSetObj() {\n System.out.println(\"setObj\");\n Object obj = null;\n int modo= 0;\n ObjectTempSwapWizard instance = new ObjectTempSwapWizard(modo);\n instance.setObj(obj);\n }", "public void setReference(String reference);", "void setObject(int index, Object value, int sqlType)\n throws SQLException;", "void setValue(Object value);", "private void setReference(String ref) {\n Set<String> allRefs = getAllReferenceNames();\n if (!allRefs.contains(ref) && allRefs.contains(\"chr\" + ref)) {\n ref = \"chr\" + ref;\n }\n currentReference = ref;\n Genome loadedGenome = GenomeController.getInstance().getGenome();\n setMaxRange(new Range(1, loadedGenome.getLength()));\n setRange(1, Math.min(1000, loadedGenome.getLength()));\n }", "private void setCrossReference (String aCrossReference)\n\t{\n\t\tcrossReference = aCrossReference;\n\t}", "public void setObj3 (String value) {\r\n Obj3 = value;\r\n }", "public void setItem (Object anObject)\r\n {\r\n // TODO: implement (?)\r\n }", "public final void setMxSheet_Template(com.mendix.systemwideinterfaces.core.IContext context, xlsreport.proxies.MxTemplate mxsheet_template)\r\n\t{\r\n\t\tif (mxsheet_template == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.MxSheet_Template.toString(), mxsheet_template.getMendixObject().getId());\r\n\t}", "@Override\n\tpublic void setNodeInfo(String path, Object obj) {\n\t\treentrantReadWriteLock.readLock().lock();\n\t\ttry {\n\t\t\tzookeeper.setData(path, SomeUtil.getByte(obj),\n\t\t\t\t\t-1);\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"更新跟节点数据异常!\", e);\n\t\t} finally {\n\t\t\treentrantReadWriteLock.readLock().unlock();\n\t\t}\n\t}", "void setObject(int index, Object value, int sqlType, int scale)\n throws SQLException;", "@Override\n protected void _putObjectToActorInstance(String name, Object object) throws ScriptException {\n \n // see if the actor class has this field\n Field field = null;\n try {\n field = _actorObject.getClass().getField(name);\n } catch(Exception e) {\n // do nothing\n }\n \n if(field == null) {\n // actor class does not have the field so put as global \n String globalName = \"_yyy_\" + name;\n _engine.put(globalName, object);\n _engine.eval(object.getClass().getName() + \" \" + name + \" = \" + globalName);\n } else {\n try {\n // set the field in the actor instance.\n field.set(_actorObject, object);\n } catch (Exception e) {\n throw new ScriptException(\"Error setting port/parameter \" + name + \": \" + e.getMessage());\n }\n }\n }", "public void setObjHandle(Object objHandle) {\n\t\tthis.objHandle = objHandle;\n\t}", "public void xsetIdentifier(org.apache.xmlbeans.XmlAnyURI identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlAnyURI target = null;\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(IDENTIFIER$0);\n }\n target.set(identifier);\n }\n }", "void setPointOfReference(String url)\n throws IOException, SoapException;", "public void setProperty(String name,Object value);", "public void setTargetObjectClass(Object value) throws DmcValueException {\n DmcTypeClassDefinitionREFSV attr = (DmcTypeClassDefinitionREFSV) get(DmpDMSAG.__targetObjectClass);\n if (attr == null)\n attr = new DmcTypeClassDefinitionREFSV(DmpDMSAG.__targetObjectClass);\n else\n attr.removeBackReferences();\n \n attr.set(value);\n set(DmpDMSAG.__targetObjectClass,attr);\n }", "public void setObject(T object)\n\t{\n\t\tthis.object = object;\n\t}", "void setRef(java.lang.String ref);", "public void setObjid(int newValue) {\n\tthis.objid = newValue;\n}", "public void xsetID(org.apache.xmlbeans.XmlID id)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlID target = null;\n target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$24);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$24);\n }\n target.set(id);\n }\n }", "public void setObjProcess(final T objProcess) {\n this.objProcess = objProcess;\n }", "public void setObject(Object value)\n {\n initialize();\n\n if (_invariant)\n throw createReadOnlyBindingException(this);\n\n try\n {\n if (_accessor != null)\n {\n _evaluator.write(_root, _accessor, value);\n }\n else if (EXPRESSION_EVALUATION_ENABLED && _evaluator.isCompileEnabled() && _accessor == null)\n {\n //_evaluator.compileExpression(_root, _parsedExpression, _expression);\n //_accessor = _parsedExpression.getAccessor();\n\n if (!_writeFailed)\n {\n // re-parse expression as compilation may be possible now that it potentially has a value\n try\n {\n _evaluator.compileExpression(_root, _parsedExpression, _expression);\n _accessor = _parsedExpression.getAccessor();\n }\n catch (Throwable t)\n {\n // ignore re-read failures as they aren't supposed to be happening now anyways\n // and a more user friendly version will be available if someone actually calls\n // getObject\n\n // if writing fails then we're probably screwed...so don't do it again\n if (value != null)\n _writeFailed = true;\n }\n }\n }\n else\n {\n _evaluator.writeCompiled(_root, _parsedExpression, value);\n }\n }\n catch (Throwable ex)\n {\n throw new BindingException(\n Tapestry.format(\n \"ExpressionBinding.unable-to-update-expression\",\n _expression,\n _root,\n value),\n this,\n ex);\n }\n }", "public emxPDFQueueBase_mxJPO(String objectId)\r\n {\r\n /*\r\n * Author : DJ\r\n * Date : 02/04/2003\r\n * Notes :\r\n * History :\r\n */\r\n this._objectId = objectId;\r\n }", "public void setOID(java.lang.String oid)\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_attribute_user(OID$12);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OID$12);\r\n }\r\n target.setStringValue(oid);\r\n }\r\n }", "public void setContentObj(String contentObj) {\n this.contentObj = contentObj;\n }", "public static boolean setDataMember(final FormDataObjIFace dataObject, final String fieldName, final FormDataObjIFace ref)\n {\n String methodName = \"\";\n try\n {\n methodName = \"set\" + StringUtils.capitalize(fieldName);\n //System.out.println(dataObject.getClass().getSimpleName()+\".\"+methodName+\"(\"+clazz.getSimpleName()+\")\");\n Method method = dataObject.getClass().getMethod(methodName, ref.getDataClass());\n if (method != null)\n {\n method.invoke(dataObject, ref);\n return true;\n }\n \n } catch (java.lang.NoSuchMethodException ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(DataModelObjBase.class, ex);\n log.error(\"Couldn't find method [\"+methodName+\"] on Class [\"+dataObject.getDataClass().getSimpleName()+\"] for arg[\"+ref.getDataClass()+\"]\");\n log.error(\"For Class \"+dataObject.getClass().getSimpleName());\n for (Method m : dataObject.getClass().getMethods())\n {\n String mName = m.getName();\n if (mName.startsWith(\"set\"))\n {\n log.error(mName + \" \" + mName.equals(methodName));\n }\n }\n ex.printStackTrace();\n \n } catch (Exception ex)\n {\n edu.ku.brc.af.core.UsageTracker.incrHandledUsageCount();\n edu.ku.brc.exceptions.ExceptionTracker.getInstance().capture(DataModelObjBase.class, ex);\n ex.printStackTrace();\n\n }\n return false;\n }" ]
[ "0.75410646", "0.68234915", "0.6248197", "0.6166214", "0.59485286", "0.577993", "0.57726383", "0.5733875", "0.57062954", "0.56841284", "0.5592047", "0.5567213", "0.5519511", "0.5513995", "0.5504888", "0.5493195", "0.5473565", "0.5465288", "0.54387707", "0.54296833", "0.539803", "0.539803", "0.539803", "0.539803", "0.539803", "0.539803", "0.53978807", "0.53931856", "0.53895175", "0.5371003", "0.5342874", "0.532384", "0.5289051", "0.5276116", "0.5269608", "0.52671236", "0.52567804", "0.5244347", "0.52436745", "0.5222749", "0.52125514", "0.52081984", "0.52031565", "0.51874936", "0.51611286", "0.51505226", "0.5139962", "0.5138271", "0.51327133", "0.51193714", "0.51112926", "0.5108306", "0.5097484", "0.50956166", "0.50940555", "0.50896496", "0.50865257", "0.5085555", "0.5083235", "0.50811356", "0.50700456", "0.50633365", "0.50617504", "0.5050859", "0.5048057", "0.5045208", "0.50380605", "0.5032484", "0.50296956", "0.50283027", "0.50191224", "0.501794", "0.50068665", "0.5000237", "0.49925992", "0.49903673", "0.49867582", "0.49611154", "0.49579898", "0.49579567", "0.49504226", "0.49454957", "0.493158", "0.49217302", "0.492049", "0.49113303", "0.49080887", "0.4897804", "0.4892181", "0.4876623", "0.48760355", "0.48753142", "0.4872781", "0.4854547", "0.4849687", "0.48449218", "0.483664", "0.48358962", "0.48323628", "0.48321876" ]
0.754418
0
/super.draw(g); g.setColor(getColor()); g.drawOval(getCenter().getX() getInnerRadius(), getCenter().getY() getInnerRadius(), getInnerRadius() 2, getInnerRadius() 2);
public void draw(Graphics g) { Graphics2D g2d = (Graphics2D) g.create(); g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); java.awt.Shape outer = new Ellipse2D.Double(getCenter().getX() - getRadius(), getCenter().getY() - getRadius(), getRadius()*2, getRadius()*2); java.awt.Shape inner = new Ellipse2D.Double(getCenter().getX() - innerRadius, getCenter().getY() - innerRadius, innerRadius*2, innerRadius*2); Area circle = new Area(outer); circle.subtract(new Area(inner)); g2d.setColor(getInnerColor()); g2d.fill(circle); g2d.setColor(getColor()); g2d.draw(circle); g2d.dispose(); if (isSelected()) { g.setColor(Color.BLUE); g.drawRect(this.getCenter().getX() - 3, this.getCenter().getY() - 3, 6, 6); g.drawRect(this.getCenter().getX() - getRadius() - 3, this.getCenter().getY() - 3, 6, 6); g.drawRect(this.getCenter().getX() + getRadius() - 3, this.getCenter().getY() - 3, 6, 6); g.drawRect(this.getCenter().getX() - 3, this.getCenter().getY() - getRadius() - 3, 6, 6); g.drawRect(this.getCenter().getX() - 3, this.getCenter().getY() + getRadius() - 3, 6, 6); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void draw(Graphics g) {\n\t\tg.setColor(this.color);\r\n\t\tg.fillOval((int)x, (int)y, side, side);\r\n\t\tg.setColor(this.color2);\r\n\t\tg.fillOval((int)x+5, (int)y+2, side/2, side/2);\r\n\t}", "@Override\n public void draw() {\n super.draw(); \n double radius = (this.getLevel() * 0.0001 + 0.025) * 2.5e10;\n double x = this.getR().cartesian(0) - Math.cos(rot) * radius;\n double y = this.getR().cartesian(1) - Math.sin(rot) * radius;\n StdDraw.setPenRadius(0.01);\n StdDraw.setPenColor(StdDraw.RED);\n StdDraw.point(x, y);\n \n }", "protected void paintComponent(Graphics g){\n g.drawOval(110,110,50,50);\n }", "@Override\n\tpublic void paintComponent(java.awt.Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tg.setColor(java.awt.Color.green);\n\t\tg.fillOval(x, y, 50, 50);\n\t\tg.setColor(java.awt.Color.black);\n\t\tg.drawOval(x, y, 50, 50);\n\t}", "@Override\n\tpublic void paintObject(Graphics g) {\n\t\tg.setColor(this.color);\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\tg2d.setStroke(new BasicStroke(3));\n\t\tg2d.drawOval(x, y, width, height);\n\t\tg2d.fillOval(x, y, width, height);\n\t}", "@Override\n public void draw() {\n drawAPI.drawCircle(radius, x, y); \n }", "@Override\n\tpublic void paint(Graphics2D g) {\n\t\tg.setColor(Color.WHITE);\n\t\tg.drawOval(this.x,this.y, width,height);\n\t\tg.fillOval(this.x,this.y, width,height);\n\t}", "public void drawOval(int x, int y, int width, int height);", "public void draw(Graphics g) {\n int x = super.getX();\n int y = super.getY();\n int d = (int)radius*2; //d = diameter\n g.setColor(Color.BLACK);\n g.drawOval(265/2,235,265,265);\n g.drawLine(265, 115, 265, 500);\n\n int [ ] x2 = {27, 500, 265}; //lets work on that line?\n int [ ] y2 = {500, 500, 115};\n g.setColor(Color.black);\n g.drawPolygon(x2, y2, 3);\n\n }", "protected void onDraw(Canvas canvas) {\r\n\r\n\r\n super.onDraw(canvas);\r\n Paint myPaint = new Paint();\r\n\r\n myPaint.setColor(Color.rgb(0, 0, 0));\r\n myPaint.setStrokeWidth(1);\r\n\r\n Paint myPaint2 = new Paint();\r\n myPaint2.setColor(Color.rgb(0, 0, 255));\r\n myPaint2.setStrokeWidth(1);\r\n\r\n canvas.drawOval(this.oval, myPaint2);\r\n canvas.drawCircle(this.x , this.y , this.radius, myPaint);\r\n\r\n }", "@Override\r\n public void paintComponent(Graphics g) {\r\n super.paintComponent(g); g.setColor(Color.ORANGE);\r\n if (drawCirc == 0) {\r\n \tg.fillOval(txtLft,txtTop,txtWidth,txtHeight);\r\n }\r\n }", "@Override\n public void paintComponent() {\n Graphics2D graphics = gameInstance.getGameGraphics();\n graphics.setColor(Color.ORANGE);\n\n final int diff = (PacmanGame.GRID_SIZE/2) - pointCircleRadius;\n graphics.fill(new Ellipse2D.Double(this.x + diff, this.y + diff, pointCircleRadius*2, pointCircleRadius*2));\n }", "@Override\n public void paintPedestrian(Graphics g) {\n g.setColor(Color.BLUE);\n g.fillOval(x, y, 10, 10);\n g.setColor(Color.BLACK);\n g.drawOval(x, y, 10, 10);\n }", "@Override public void draw(){\n // this take care of applying all styles (colors/stroke)\n super.draw();\n // draw our shape\n pg.ellipseMode(PGraphics.CORNER); // TODO: make configurable\n pg.ellipse(0,0,getSize().x,getSize().y);\n }", "@Override\r\n\tprotected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\r\n\t\tg.setColor(new Color(255, 0, 0));\r\n\t\tg.drawOval(mp1.getX(), mp1.getY(), 3*length, 3*length);\r\n\t\tg.setColor(new Color(0,0,255));\r\n\t\tg.drawOval(enenmy.getX(), enenmy.getY(), 3, 3);\r\n\t}", "@Override\n void draw()\n {\n \n System.out.println(\"Drawing Circle at\" + super.x +\"and\"+ super.y+\"!\");\n \n }", "public void paintComponent(Graphics g)\n {\n Graphics2D g2 = (Graphics2D) g;\n g2.setColor(Color.ORANGE);\n g2.fillOval(currentBallX,currentBallY,diameter,diameter);\n }", "@Override\n public void paintPedestrian(Graphics g) {\n\n g.setColor(Color.RED);\n g.fillOval(x, y, 10, 10);\n g.setColor(Color.BLACK);\n g.drawOval(x, y, 10, 10);\n }", "public void draw(Graphics g){\n g.setColor(c);\n if (this.fill){\n g.fillOval(x, y, width, height);\n }else{\n g.drawOval(x, y, width, height);\n }\n }", "public void draw(){\n if (! this.isFinished() ){\n UI.setColor(this.color);\n double left = this.xPos-this.radius;\n double top = GROUND-this.ht-this.radius;\n UI.fillOval(left, top, this.radius*2, this.radius*2);\n }\n }", "public void paint(Graphics2D g) {\n g.setColor(Color.ORANGE); // sets the color of the ball as orange\r\n g.fillOval(x, y, DIAMETER, DIAMETER); // fills the oval with specific diameter and position in the screen\r\n }", "@Override\n\tpublic void paintComponent(Graphics g) {\n\t\thoehe = this.getHeight();\n\t\tbreite = this.getWidth();\n\t\tif(radius<breite/4) {\n\t\t\tg.setColor(Color.RED);\n\t\t}else{\n\t\t\tif(radius<breite/2) {\n\t\t\t\tg.setColor(Color.YELLOW);\n\t\t\t}else{\n\t\t\t\tif(radius<breite*3/4) {\n\t\t\t\t\tg.setColor(Color.GREEN);\n\t\t\t\t}else{\n\t\t\t\t\tg.setColor(Color.BLUE);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tg.fillOval(breite/2-radius/2, hoehe/2-radius/2, radius, radius); // In der Mitte platziert.\n\t}", "@Override\r\n\tprotected void draw() {\n\t\tgoodCabbage = new Oval(center.x - CABBAGE_RADIUS, center.y\r\n\t\t\t\t- CABBAGE_RADIUS, 2 * CABBAGE_RADIUS, 2 * CABBAGE_RADIUS,\r\n\t\t\t\tColor.red, true);\r\n\t\twindow.add(goodCabbage);\r\n\t}", "@Override\r\n public void paintComponent(Graphics g) {\r\n // always clear the screen first!\r\n g.clearRect(0, 0, WIDTH, HEIGHT);\r\n\r\n // GAME DRAWING GOES HERE\r\n \r\n // use the custom colour variable\r\n g.setColor(Color.PINK);\r\n // create a \"background\"\r\n // x, y, width, height\r\n g.fillRect(0, 0, WIDTH, HEIGHT);\r\n \r\n // set the colour of the new oval as the colour of Omar\r\n g.setColor(omar);\r\n // draw anything that is an oval (circle included)\r\n // x, y, width, height\r\n g.fillOval(100, 75, 400, 800);\r\n // outline the oval\r\n g.setColor(Color.BLACK);\r\n g.drawOval(100, 75, 400, 800);\r\n \r\n // make a crown on the top of the head\r\n g.setColor(crown);\r\n \r\n // create triangles for the crown\r\n int[] crownA = {245, 265, 285};\r\n int[] crownB = {75, 25, 75};\r\n // array of X points, array of Y points, number of points\r\n g.fillPolygon(crownA, crownB, 3);\r\n \r\n int[] crownC = {280, 300, 320};\r\n int[] crownD = {75, 10, 75};\r\n g.fillPolygon(crownC, crownD, 3);\r\n \r\n int[] crownE = {315, 335, 355};\r\n int[] crownF = {75, 25, 75};\r\n g.fillPolygon(crownE, crownF, 3);\r\n \r\n // create the gems on the crown\r\n // Set colour as magenta\r\n g.setColor(Color.MAGENTA);\r\n int[] shimmerA = {258, 263, 268, 263};\r\n int[] shimmerB = {60, 50, 60, 70};\r\n g.fillPolygon(shimmerA, shimmerB, 4);\r\n \r\n int[] shimmerC = {295, 300, 305, 300};\r\n int[] shimmerD = {60, 50, 60, 70};\r\n g.fillPolygon(shimmerC, shimmerD, 4);\r\n \r\n int[] shimmerE = {330, 335, 340, 335};\r\n int[] shimmerF = {60, 50, 60, 70};\r\n g.fillPolygon(shimmerE, shimmerF, 4);\r\n \r\n // create the ears of the face\r\n // set colour back to Omar's skin tone\r\n g.setColor(omar);\r\n g.fillOval(65, 400, 100, 200);\r\n g.fillOval(440, 400, 100, 200);\r\n // outline the ears\r\n g.setColor(Color.BLACK);\r\n //x, y, width, length, starting degrees, added degrees to starting degrees\r\n g.drawArc(65, 400, 100, 200, 90, 180);\r\n g.drawArc(440, 400, 100, 200, 270, 180);\r\n // create the lines of where the ears end\r\n g.drawArc(85, 450, 50, 100, 90, 180);\r\n g.drawArc(465, 450, 50, 100, 270, 180);\r\n \r\n // set the colours of the eyes\r\n g.setColor(eye);\r\n // make the eyes of the face\r\n g.fillOval(200, 320, 50, 50);\r\n g.fillOval(340, 320, 50, 50);\r\n // set the shine in the eyes as white\r\n g.setColor(Color.WHITE);\r\n // create the circles\r\n g.fillOval(whiteRight, 330, 15, 15);\r\n g.fillOval(whiteLeft, 330, 15, 15);\r\n \r\n // set the colour of the eyebrows as red\r\n g.setColor(Color.RED);\r\n // draw a filled in rectangle\r\n // x, y, width, height\r\n g.fillRect(160, eyebrowMove, 100, 50);\r\n g.fillRect(330, eyebrowMove, 100, 50);\r\n // outline the eyebrows\r\n // set the colour as black\r\n g.setColor(Color.BLACK);\r\n g.drawRect(160, eyebrowMove, 100, 50);\r\n g.drawRect(330, eyebrowMove, 100, 50);\r\n \r\n //make the nose of the face\r\n //x, y, width, length, starting degrees, added degrees to starting degrees\r\n g.drawArc(210, 465, 75, 75, 90, 180);\r\n g.drawArc(310, 465, 75, 75, 270, 180);\r\n // make the centre bottom of the nose\r\n g.drawArc(235, 440, 125, 125, 180, 180);\r\n \r\n // draw the mouth\r\n g.fillArc(145, 450, 300, 350, 180, 180);\r\n // draw the upper lips\r\n g.setColor(lips);\r\n g.fillArc(144, 610, 154, 35, 0, 180);\r\n g.fillArc(295, 610, 150, 35, 0, 180);\r\n // outline his lips\r\n g.setColor(Color.BLACK);\r\n g.drawArc(144, 610, 154, 35, 0, 180);\r\n g.drawArc(295, 610, 150, 35, 0, 180);\r\n \r\n // draw the tongue\r\n // set the colour as red\r\n g.setColor(Color.RED);\r\n g.fillOval(200, tongue, 190, 100);\r\n g.setColor(Color.BLACK);\r\n g.drawOval(200, tongue, 190, 100);\r\n \r\n \r\n // create the mustache of the face\r\n g.setColor(Color.BLACK);\r\n g.fillOval(260, 572, 40, 40);\r\n g.fillOval(290, 572, 40, 40);\r\n // create triangles for the end of the mustache\r\n int[] triangleA = {270, 270, 200};\r\n int[] triangleB = {575, 610, mustache};\r\n // array of X points, array of Y points, number of points\r\n g.fillPolygon(triangleA, triangleB, 3);\r\n \r\n int[] triangleC = {310, 310, 390};\r\n int[] triangleD = {572, 612, mustache};\r\n // array of X points, array of Y points, number of points\r\n g.fillPolygon(triangleC, triangleD, 3);\r\n\t\t\r\n // GAME DRAWING ENDS HERE\r\n }", "public void draw(Graphics g) {\n g.setColor(COLOR);\n g.fillOval(x, y, WIDTH, HEIGHT);\n g.setColor(Color.BLUE);\n g.drawOval(x, y, WIDTH, HEIGHT);\n \n }", "@Override\n\tprotected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tGraphics2D g2 = (Graphics2D) g; \n\t\tg2.setColor(Color.lightGray);\n\t\tg2.fill(model.bg);\n\t\tg2.setColor(Color.darkGray);\n\t\tg2.fillPolygon(model.terrain);\n\t\tg2.setColor(Color.gray);\n\t\tfor (int i = 0; i < 20; i++) {\n\t\t\tg2.draw(model.circles.get(i));\n\t\t}\n\t\tif (model.curCircleSel != -1) {\n\t\t\tg2.setColor(Color.white);\n\t\t\tg2.setStroke(new BasicStroke(3));\n\t\t\tg2.draw(model.circles.get(model.curCircleSel));\n\t\t}\n\t\tg2.setColor(Color.RED);\n\t\tg2.fill(model.pad);\n\t\tif (curPadSel) {\n\t\t\tg2.setColor(Color.white);\n\t\t\tg2.setStroke(new BasicStroke(3));\n\t\t\tg2.draw(model.pad);\n\t\t}\n\t}", "private void drawDataPoint(Graphics g, int radius, int x, int y)\r\n/* 123: */ {\r\n/* 124: 99 */ g.fillOval(x - radius, y - radius, 2 * radius, 2 * radius);\r\n/* 125: */ }", "@Override\n public void paint(Graphics g) {\n\n g.setColor(Color.GRAY);\n g.fillRoundRect(x, 1000, 200, 30, 30, 30);\n g.setColor(Color.CYAN);\n g.fillOval(xcircle, ycircle, 30, 30);\n g.setColor(Color.ORANGE);\n g.setFont(new Font(\"Comic Sans MS\", Font.PLAIN, 40));\n g.drawString(\"Score : \" + Score, 1500, 100);\n }", "private void drawCircle(GraphicsContext gc, double x, double y) {\r\n GraphicsContext gc1 = myCanvas.getGraphicsContext2D();\r\n gc1.setFill(randomColor());\r\n gc1.fillOval(x - 20, y - 20, 40, 40);\r\n }", "@Override\n public void draw(){\n ellipse(mouseX, mouseY, 50, 50);\n }", "public void draw()\n {\n canvas.setForegroundColor(color);\n canvas.fillCircle(xPosition, yPosition, diameter);\n }", "@Override\r\n\tpublic void draw() {\n\t\tSystem.out.println(\"Circle Drawn\");\r\n\t}", "public void draw()\n {\n Rectangle hatbox = new Rectangle(x, y, 20, 20);\n hatbox.fill();\n Rectangle brim = new Rectangle(x-10, y+20, 40, 0);\n brim.draw();\n Ellipse circle = new Ellipse (x, y+20, 20, 20);\n circle.draw();\n Ellipse circle2 = new Ellipse (x-10, y+40, 40, 40);\n circle2.draw();\n Ellipse circle3 = new Ellipse (x-20, y+80, 60, 60);\n circle3.draw();\n \n }", "@Override\r\n\tpublic void paintComponent(Graphics g)\r\n {\r\n\t\tsuper.paintComponent(g);\r\n\t\tg.setColor(getForeground());\r\n\t\tg.fillOval(0,0, this.getWidth(),this.getHeight());\r\n }", "@Override\n public void paintComponent(Graphics g) {\n super.paintComponent(g);\n\n if (bdhcHandler != null) {\n int[] slopes = bdhcHandler.getSelectedPlate().getSlope();\n float angle = (float) Math.atan2(slopes[indexSlope1], slopes[indexSlope2]);\n\n Graphics2D g2 = (Graphics2D) g;\n g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n\n g.setColor(Color.magenta);\n final int angleRadius = (radius * 2) / 3;\n final int angleOffset = size / 2 - angleRadius;\n g2.setStroke(new BasicStroke(2));\n g.drawArc(angleOffset, angleOffset, 2 * angleRadius, 2 * angleRadius, 0, (int) (-(angle * 180) / Math.PI));\n\n g2.setStroke(new BasicStroke(2));\n if (frontView) {\n g.setColor(Color.red);\n g.drawLine(size / 2, size / 2, size, size / 2);\n g.setColor(Color.blue);\n g.drawLine(size / 2, size / 2, size / 2, 0);\n } else {\n g.setColor(Color.green);\n //g.drawLine(size / 2, size / 2, size, size / 2);\n g.drawLine(size / 2, size / 2, size, size / 2);\n g.setColor(Color.blue);\n g.drawLine(size / 2, size / 2, size / 2, 0);\n }\n\n int circleOffset = size / 2 - radius;\n g.setColor(Color.black);\n g2.setStroke(new BasicStroke(1));\n g.drawOval(circleOffset, circleOffset, radius * 2, radius * 2);\n\n int x = (int) (Math.cos(angle) * radius);\n int y = (int) (Math.sin(angle) * radius);\n int lineOffset = size / 2;\n g.setColor(Color.orange);\n g2.setStroke(new BasicStroke(3));\n g.drawLine(lineOffset - x, lineOffset - y, lineOffset + x, lineOffset + y);\n\n }\n\n }", "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"Inside draw of Circle ..Point is: \"+center.getX() +\",\"+center.getY());\n\t}", "public void Draw() {\n \tapp.fill(this.r,this.g,this.b);\n\t\tapp.ellipse(posX, posY, 80, 80);\n\n\t}", "protected void renderCircle(Graphics g, int x, int y, int diameter)\n {\n\tx -= diameter/2;\n\ty -= diameter/2;\n\t\n\tg.drawOval(x,y,diameter,diameter);\n\tig.drawOval(x,y,diameter,diameter);\n }", "public void draw(GraphicsContext gc) {\r\n gc.setStroke(Color.BLACK);\r\n gc.setFill(Color.BLUE);\r\n gc.setLineWidth(5.0);\r\n double r = radius / 2;\r\n gc.fillRect(x - r, y - r, radius * 2, radius * 2);\r\n gc.strokeRect(x - r, y - r, radius * 2, radius * 2);\r\n }", "public void paint( Graphics g ){\n g.drawOval(-4, -4, 8, 8);\n g.drawLine(-2, 2, 2,-2);\n g.drawLine(-2,-2, 2, 2);\n }", "public void draw(Graphics2D g2)\n {\n // put your code here\n Ellipse2D.Double top= new Ellipse2D.Double(xleft, ybottom, 25,50);\n Ellipse2D.Double bottom= new Ellipse2D.Double(xleft, ybottom+100, 25, 50);\n Rectangle2D.Double middle= new Rectangle2D.Double(xleft, ybottom+12.5, 25, 100);\n \n g2.setColor(Color.black);\n g2.draw(middle);\n g2.draw(top);\n g2.draw(bottom);\n g2.setColor(Color.white);\n g2.fill(top);\n g2.fill(middle);\n g2.fill(bottom);\n \n }", "public void draw(Graphics2D g2){\n g2.setColor(color);\n g2.fillOval(x,y, w, w);\n }", "@Override\r\n public void paintComponent(Graphics g)\r\n {\r\n super.paintComponent(g); // clears drawing area\r\n\r\n for(Point point : points)\r\n g.fillOval(point.x, point.y, 4, 4);\r\n }", "public void paint(Graphics g) \n\t{\n\t\tg.setColor(colour);\n\t\tg.fillOval(posX, posY, diam, diam);\n\t}", "@Override\r\n public void paintComponent(Graphics g)\r\n {\n Graphics2D g2 = (Graphics2D) g;\r\n \r\n Ellipse2D.Double ellipse = new Ellipse2D.Double(10, 50, 10, 10);\r\n \r\n g2.draw(ellipse);\r\n \r\n ellipse.x += 20;\r\n g2.draw(ellipse);\r\n \r\n ellipse.x += 20;\r\n g2.draw(ellipse);\r\n \r\n ellipse.x += 20;\r\n g2.draw(ellipse);\r\n }", "@Override\n\t\t\tpublic void drawExtra(Canvas canvas) {\n\t\t\t\tint radius = circleView.getRadius();\n\t\t\t\tfloat strokeWidth = radius/10;\n\t\t\t\toval.left = strokeWidth/2;\n\t\t\t\toval.right = radius*2 - strokeWidth/2;\n\t\t\t\toval.top = strokeWidth/2;\n\t\t\t\toval.bottom = radius*2 - strokeWidth/2;\n\t\t\t\tfloat angle = batteryLevel*360/100;\n\t\t\t\tpaint.setAntiAlias(true);\n\t\t\t\tpaint.setColor(Color.argb(0xee, 0xff, 0x99, 0x22));\n\t\t\t\tpaint.setStyle(Paint.Style.STROKE);\n\t\t\t\tpaint.setStrokeWidth(strokeWidth);\n\t\t\t\tcanvas.drawArc(oval, 0, angle, false, paint);\n\t\t\t}", "@Override\n\tpublic void paintComponent(Graphics g){\n\t\tsuper.paintComponent(g);\n\t\tanimateFace((int)circle.x, (int)circle.y, (int)circle2.x, (int)circle2.y);\n\t\tdrawFace(g);\n\t}", "@Override\r\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\r\n\t\tsetRedBorder(decoratedShape);\r\n\t}", "@Override\n\tprotected void paintComponent(Graphics g) {\n\t\tsuper.paintComponent(g);\n\t\tint size, x, y;\n\t\tif (this.getHeight() < this.getWidth()) {\n\t\t\tsize = (int) (this.getHeight() / 1.5);\n\t\t} else {\n\t\t\tsize = (int) (this.getWidth() / 1.5);\n\t\t}\n\t\tx = (int) ((this.getWidth() / 2.0) - size / 2.0);\n\t\ty = (int) ((this.getHeight() / 2.0) - size / 2.0);\n\t\tint eyesize = (int) (size / 8.0);\n\t\tint eyex = (int) (x + size * 0.3 - eyesize / 2.0);\n\t\tint eyey = (int) (y + size * 0.4 - eyesize / 2.0);\n\t\tint eyex2 = (int) (x + size * 0.7 - eyesize / 2.0);\n\t\tint[] xpoints = {x, x + size, (int) (x + size / 2.0)};\n\t\tint[] ypoints = {(int) (y + size / 5.0), (int) (y + size / 5.0),\n\t\t\t\t(int) (y - size / 10.0)};\n\t\tPolygon hat = new Polygon(xpoints, ypoints, 3);\n\t\t\n\t\tif (zustand >0) {\n\t\t\tg.setColor(Color.GREEN);\n\t\t\tg.fillOval(x, y, size, size);\n\t\t\tg.setColor(Color.BLACK);\n\t\t\tg.fillOval(eyex, eyey, eyesize, eyesize);\n\t\t\tg.fillOval(eyex2, eyey, eyesize, eyesize);\n\t\t\tg.fillPolygon(hat);\n\t\t\tg.fillArc((int) (x + size / 5.0), (int) (y + size * 0.5),\n\t\t\t\t\t(int) (size * 0.6), (int) (size * 0.4), 0, -180);\n\t\t} else if (zustand == 0) {\n\t\t\tg.setColor(Color.YELLOW);\n\t\t\tg.fillOval(x, y, size, size);\n\t\t\tg.setColor(Color.BLACK);\n\t\t\tg.fillOval(eyex, eyey, eyesize, eyesize);\n\t\t\tg.fillOval(eyex2, eyey, eyesize, eyesize);\n\t\t\tg.fillPolygon(hat);\n\t\t\tg.fillRect(eyex, (int) (y + size * 0.75), eyex2 + eyesize - eyex,\n\t\t\t\t\t(int) (eyesize / 2.0));\n\t\t} else {\n\t\t\tg.setColor(Color.RED);\n\t\t\tg.fillOval(x, y, size, size);\n\t\t\tg.setColor(Color.BLACK);\n\t\t\tg.fillOval(eyex, eyey, eyesize, eyesize);\n\t\t\tg.fillOval(eyex2, eyey, eyesize, eyesize);\n\t\t\tg.fillPolygon(hat);\n\t\t\tg.fillArc((int) (x + size / 5.0), (int) (y + size * 0.6),\n\t\t\t\t\t(int) (size * 0.6), (int) (size * 0.4), 0, 180);\n\t\t}\n\t}", "@Override\r\n\tpublic void paint(Graphics g) {\n\t\tGraphics2D g2d= (Graphics2D)g;//Cast the Graphics received in the paint method to Graphics2D\r\n\t\tg2d.setColor(Color.RED);//Set the color to red\r\n\t\tg2d.setStroke(new BasicStroke(5));//Set the width of the line to 5px \r\n\t\t//g2d.drawLine(0, 0, 500, 500);//Draw a line starting at point (0,0) and ending at point (500,500)\r\n\t\t//g2d.drawRect(100, 100, 300, 300);//Draw a rectangle with upper left corner at (100,100) and with width and height of 300px\r\n\t\tg2d.setColor(Color.GREEN);//Set the color to green\r\n\t\t//g2d.fillRect(100, 100, 300, 300);//Fill the rectangle\r\n\t\t\r\n\t\t//If we will draw the line first and then the rectangle, the rectangle will be on top of the line and hide part of it\r\n\t\t//g2d.drawOval(100, 100, 300, 300);//Draw circle\r\n\t\t//g2d.fillOval(100, 100, 300, 300);//Fill the circle\r\n\t\t\r\n\t\t//g2d.drawArc(100,100,200,200,0,180);//Draw half circle\r\n\t\r\n\t\t//g2d.drawArc(100,100,200,200,180,180);//Flip it\r\n\t\t//g2d.drawArc(100,100,200,200,0,270);//Draw 3/4 of a circle\r\n\t\t\r\n\t\t//int[] xPoints= {150,250,350};\r\n\t\t//int[] yPoints= {300,150,300};\r\n\t\t//g2d.drawPolygon(xPoints,yPoints,3);//Draw rectangle using polygon, specify x points and y points of the corners and number of corners,\r\n\t\t\t\t\t\t\t\t\t\t //we can specify more than 3 corners and create different shapes.\r\n\t\t\t\t\r\n\t\t//g2d.fillPolygon(xPoints,yPoints,3);//Fill the rectangle using polygon\r\n\t\tg2d.setColor(Color.BLACK);//Set the color to black\r\n\t\tg2d.setFont(new Font(\"Ink Free\", Font.BOLD,40));\r\n\t\tg2d.drawString(\"Hello world\", 100, 100);\r\n\t}", "public void draw(Graphics2D g2)\n {\n Random randomGenerator = new Random();\n Ellipse2D.Double object = new Ellipse2D.Double(xLeft, yTop, 50,50);\n g2.setPaint(stars);\n int randomNum = randomGenerator.nextInt(20) + 10;\n for(int i = 0; i < randomNum; i++)\n {\n int randomX = randomGenerator.nextInt(1200);\n int randomY = randomGenerator.nextInt(280);\n g2.fillArc(randomX, randomY, 5,5,0,360);\n }\n g2.setPaint(main);\n g2.fillArc(xLeft,yTop,75,75,0,360);\n g2.setPaint(secondary);\n g2.fillArc(xLeft + 45, yTop + 10,10,10, 0, 360);\n g2.fillArc(xLeft + 20, yTop + 15,15,15, 0, 360);\n g2.fillArc(xLeft + 55, yTop + 50,10,10, 0, 360);\n g2.fillArc(xLeft + 35, yTop + 45,12,12, 0, 360);\n }", "public void paint(Graphics g) {\n\n Graphics2D g2d = (Graphics2D)g;\n\n // Draw an oval that fills the window\n\n int x = 0;\n\n int y = 0;\n\n int w = getSize().width-1;\n\n int h = getSize().height-1;\n\n /**\n * The coordinate system of a graphics context is such that the origin is at the\n * northwest corner and x-axis increases toward the right while the y-axis increases\n * toward the bottom.\n */\n\n g2d.drawLine(x, y, w, h);\n\n // to draw a filled oval use : g2d.fillOval(x, y, w, h) instead\n\n g2d.drawOval(x, y, w, h);\n\n // to draw a filled rectangle use : g2d.fillRect(x, y, w, h) instead\n\n g2d.drawRect(x, y, w, h);\n\n // A start angle of 0 represents a 3 o'clock position, 90 represents a 12 o'clock position,\n\n // and -90 (or 270) represents a 6 o'clock position\n\n int startAngle = 45;\n\n int arcAngle = -60;\n\n // to draw a filled arc use : g2d.fillArc(x, y, w, h, startAngle, arcAngle) instead\n\n g2d.drawArc(x, y, w/2, h/2, startAngle, arcAngle);\n\n // to draw a filled round rectangle use : g2d.fillRoundRect(x, y, w, h, arcWidth, arcHeight) instead\n\n g2d.drawRoundRect(x, y, w, h, w/2, h/2);\n\n Polygon polygon = new Polygon();\n\n polygon.addPoint(w/4, h/2);\n\n polygon.addPoint(0, h/2);\n\n polygon.addPoint(w/4, 3*h/4);\n\n polygon.addPoint(w/2, 3*h/4);\n\n // Add more points...\n\n // to draw a filled round rectangle use : g2d.fillPolygon(polygon) instead\n\n g2d.drawPolygon(polygon);\n\n }", "public void drawBounding(Graphics2D g){\n\t\tg.setColor(Color.magenta);\n\t\tg.drawArc((int)center.getX(), (int)center.getY(), radius, radius, 0, 360);\n\t}", "public void paintComponent(Graphics g) {\n\n Graphics2D g2 = (Graphics2D) g;\n g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n\n Color bg = new Color(237,237,237,0);//getBackground();\n g2.setColor(new Color(bg.getRed(),bg.getGreen(),bg.getBlue()));\n g2.fillRoundRect(0,0, getWidth()-1, getHeight()-1, radius, radius);\n g2.setColor(new Color(164,164,164));\n g2.drawRoundRect(0,0, getWidth()-1, getHeight()-1, radius, radius);\n }", "public void paint (Graphics g) {\n g.fillArc (20, 30, 150, 130, 240, 90);\n }", "@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制圆形\");\n\t}", "@Override\n public void draw( Graphics g )\n {\n g.setFont(new Font(\"Times New Roman\", Font.BOLD, 20));\n g.setColor( Color.BLUE );\n g.fillOval( baseX, baseY, myWidth, myHeight );\n g.setColor( Color.BLACK );\n g.drawString( card, baseX + 7, baseY + 20 ); }", "public void drawCircle(Graphics g, int x, int y, int radius)\n\t{\n\t\tg.drawOval(x - radius, y - radius, 2 * radius, 2 * radius);\n\t}", "public void drawOn(DrawSurface surface){\r\n surface.setColor(color);\r\n surface.fillCircle((int)center.getX(),(int)center.getY(),radius);\r\n }", "public void draw(Graphics g, UMLClassModel umlClassModel) {\n super.draw(g, umlClassModel);\n g.setColor(Color.PINK);\n int x = umlClassModel.getxAxis() + 30;\n int y = umlClassModel.getyAxis();\n int z = y + 60;\n ArrayList<MethodDetails> methodDetails = umlClassModel.getMethodDetailsList();\n int radiusOfCircle = umlClassModel.getHeightOfComponent() - Constants.MARGIN;\n for (MethodDetails methodDetail : methodDetails) {\n if (methodDetail.isLoopCheck()) {\n g.fillOval(x, z, radiusOfCircle, radiusOfCircle);\n g.drawOval(x, z, radiusOfCircle, radiusOfCircle);\n\n }\n z = z + radiusOfCircle + Constants.MARGIN;\n }\n\n }", "@Override\n protected void buildGraphics() {\n GArc rightWing = new GArc(100, 100, -60, 120);\n rightWing.setColor(Color.magenta);\n rightWing.setFilled(true);\n rightWing.setFillColor(Color.magenta);\n // position in format (cx - r, cy - r) for arc\n getGraphics().add(rightWing, (-15 - 50), (0 - 50));\n\n GArc leftWing = new GArc(100, 100, 120, 120);\n leftWing.setColor(Color.magenta);\n leftWing.setFilled(true);\n leftWing.setFillColor(Color.magenta);\n getGraphics().add(leftWing, (-15 - 50), (0 - 50));\n\n GOval rightWingDot = new GOval(-3, -15, 30, 30);\n rightWingDot.setColor(Color.blue);\n rightWingDot.setFilled(true);\n rightWingDot.setFillColor(Color.blue);\n getGraphics().add(rightWingDot);\n\n GOval rightWingDot2 = new GOval(7, -5, 10, 10);\n rightWingDot2.setColor(Color.cyan);\n rightWingDot2.setFilled(true);\n rightWingDot2.setFillColor(Color.cyan);\n getGraphics().add(rightWingDot2);\n\n GLine rightWingLine = new GLine(-15, 0, 35, 0);\n rightWingLine.setColor(Color.green);\n getGraphics().add(rightWingLine);\n\n GOval leftWingDot = new GOval(-57, -15, 30, 30);\n leftWingDot.setColor(Color.blue);\n leftWingDot.setFilled(true);\n leftWingDot.setFillColor(Color.blue);\n getGraphics().add(leftWingDot);\n\n GOval leftWingDot2 = new GOval(-47, -5, 10, 10);\n leftWingDot2.setColor(Color.cyan);\n leftWingDot2.setFilled(true);\n leftWingDot2.setFillColor(Color.cyan);\n getGraphics().add(leftWingDot2);\n\n GLine leftWingLine = new GLine(-15, 0, -65, 0);\n leftWingLine.setColor(Color.green);\n getGraphics().add(leftWingLine);\n\n GOval body = new GOval(-20, -30, 10, 60);\n body.setColor(Color.black);\n body.setFilled(true);\n body.setFillColor(Color.black);\n getGraphics().add(body);\n\n GOval head = new GOval(-23, -43, 16, 16);\n head.setColor(Color.black);\n head.setFilled(true);\n head.setFillColor(Color.black);\n getGraphics().add(head);\n }", "public void draw(Graphics2D g2, int xPos, int yPos, int width, int height){\r\n int eyeD = width/10;\r\n if (this.isLeft){\r\n eye = new Arc2D.Double(xPos+width/4 ,yPos+height/3, eyeD, eyeD, 180, 180, Arc2D.PIE);\r\n eyeC = new Arc2D.Double(xPos+width/4-eyeD/2 ,yPos+height/3-eyeD/2, 2*eyeD, 2*eyeD, 180, 180, Arc2D.PIE);\r\n }\r\n else{\r\n eye = new Arc2D.Double(xPos+width*5/8 ,yPos+height/3, eyeD, eyeD, 180, 180, Arc2D.PIE);\r\n eyeC = new Arc2D.Double(xPos+width*5/8-eyeD/2 ,yPos+height/3-eyeD/2, 2*eyeD, 2*eyeD, 180, 180, Arc2D.PIE);\r\n }\r\n g2.setColor(color);\r\n g2.fill(eye);\r\n g2.setColor(Color.BLACK);\r\n g2.setStroke(new BasicStroke(2.0f));\r\n g2.draw(eye);\r\n g2.draw(eyeC);\r\n }", "@Override\n public void drawMarker(PGraphics pg, float x, float y)\n {\n pg.noFill();\n pg.rectMode(CENTER);\n pg.rect(x,y,this.radius*2,this.radius*2,10);\n }", "public void paintComponent(Graphics g) {\n\t int horz, vert; \r\n\t// The 'outer loop' \r\n\tfor ( vert = 0; vert < size; vert++ ) { \t\t\t\r\n\t // The 'inner loop' \t\t\t\r\n\t for( horz = 0; horz < size; horz++ ) {\r\n\t // Create a new Color object \t\t\t\t\r\n\t int icol = 256*horz*12 + (vert*12);\r\n\t Color c = new Color(icol); \r\n\t // Set the drawing colour.\r\n\t g.setColor(c);\r\n\t // Create a circle \r\n\t g.fillOval(horz*size,vert*size,size-1,size-1);\r\n\t } \t\t\r\n\t } \r\n }", "public void calling() {\n\t\tCircle tc = new Circle(new Coordinate(-73, 42), 0);\n\t\tif (PaintShapes.painting && logger.isDebugEnabled()) {\n\t\t\tPaintShapes.paint.color = PaintShapes.paint.redTranslucence;\n\t\t\tPaintShapes.paint.addCircle(tc);\n\t\t\tPaintShapes.paint.myRepaint();\n\t\t}\n\t\t\n//\t\tMap<Double, Coordinate>angle_coordinate=new HashMap<Double, Coordinate>();\n//\t\tLinkedList<double[]>coverangle=new LinkedList<double[]>();\n//\t\tMap<Double[], Coordinate[]>uncoverArc=new HashMap<Double[], Coordinate[]>();\n//\t\tdouble a1[]=new double[2];\n//\t\ta1[0]=80;\n//\t\ta1[1]=100;\n//\t\tangle_coordinate.put(a1[0], new Coordinate(1, 0));\n//\t\tangle_coordinate.put(a1[1], new Coordinate(0, 1));\n//\t\tcoverangle.add(a1);\n//\t\tdouble a2[]=new double[2];\n//\t\ta2[0]=0;\n//\t\ta2[1]=30;\n//\t\tangle_coordinate.put(a2[0], new Coordinate(2, 0));\n//\t\tangle_coordinate.put(a2[1], new Coordinate(0, 2));\n//\t\tcoverangle.add(a2);\n//\t\tdouble a3[]=new double[2];\n//\t\ta3[0]=330;\n//\t\ta3[1]=360;\n//\t\tangle_coordinate.put(a3[0], new Coordinate(3, 0));\n//\t\tangle_coordinate.put(a3[1], new Coordinate(7, 7));\n//\t\tcoverangle.add(a3);\n//\t\tdouble a4[]=new double[2];\n//\t\ta4[0]=20;\n//\t\ta4[1]=90;\n//\t\tangle_coordinate.put(a4[0], new Coordinate(4, 0));\n//\t\tangle_coordinate.put(a4[1], new Coordinate(0, 4));\n//\t\tcoverangle.add(a4);\n//\t\tdouble a5[]=new double[2];\n//\t\ta5[0]=180;\n//\t\ta5[1]=240;\n//\t\tangle_coordinate.put(a5[0], new Coordinate(5, 0));\n//\t\tangle_coordinate.put(a5[1], new Coordinate(0, 5));\n//\t\tcoverangle.add(a5);\n//\t\tdouble a6[]=new double[2];\n//\t\ta6[0]=270;\n//\t\ta6[1]=300;\n//\t\tangle_coordinate.put(a6[0], new Coordinate(6, 0));\n//\t\tangle_coordinate.put(a6[1], new Coordinate(0, 6));\n//\t\tcoverangle.add(a6);\n//\t\tdouble a7[]=new double[2];\n//\t\ta7[0]=360;\n//\t\ta7[1]=360;\n//\t\tangle_coordinate.put(a7[0], new Coordinate(7, 7));\n//\t\tangle_coordinate.put(a7[1], new Coordinate(7, 7));\n//\t\tcoverangle.add(a7);\n//\t\t// sort the cover arc\n//\t\tint minindex = 0;\n//\t\tfor (int j = 0; j < coverangle.size() - 1; j++) {\n//\t\t\tminindex = j;\n//\t\t\tfor (int k = j + 1; k < coverangle.size(); k++) {\n//\t\t\t\tif (coverangle.get(minindex)[0] > coverangle.get(k)[0]) {\n//\t\t\t\t\tminindex = k;\n//\t\t\t\t}\n//\t\t\t}\n//\t\t\tdouble tem[] = new double[2];\n//\t\t\ttem = coverangle.get(j);\n//\t\t\tcoverangle.set(j, coverangle.get(minindex));\n//\t\t\tcoverangle.set(minindex, tem);\n//\t\t}\n//\t\tfor(int ii=0;ii<coverangle.size();ii++){\n//\t\t\tdouble aa[]=coverangle.get(ii);\n//\t\t\tSystem.out.println(aa[0]+\" \"+aa[1]);\n//\t\t}\n//\t\tSystem.out.println(\"----------------------------\");\n//\t\t// find the uncover arc\n//\t\tint startposition = 0;\n//\t\twhile (startposition < coverangle.size() - 1) {\n//\t\t\tdouble coverArc[] = coverangle.get(startposition);\n//\t\t\tboolean stop = false;\n//\t\t\tint m = 0;\n//\t\t\tfor (m = startposition + 1; m < coverangle.size() && !stop; m++) {\n//\t\t\t\tdouble bb[] = coverangle.get(m);\n//\t\t\t\tif (bb[0] <= coverArc[1]) {\n//\t\t\t\t\tcoverArc[0] = Math.min(coverArc[0], bb[0]);\n//\t\t\t\t\tcoverArc[1] = Math.max(coverArc[1], bb[1]);\n//\t\t\t\t} else {\n//\t\t\t\t\tCoordinate uncover[]=new Coordinate[2];\n//\t\t\t\t\t//record the consistant uncover angle\n//\t\t\t\t\tDouble[] uncoverA=new Double[2];\n//\t\t\t\t\tuncoverA[0]=coverArc[1];\n//\t\t\t\t\tuncoverA[1]=bb[0];\n//\t\t\t\t\tIterator<Map.Entry<Double, Coordinate>> entries = angle_coordinate\n//\t\t\t\t\t\t\t.entrySet().iterator();\n//\t\t\t\t\twhile (entries.hasNext()) {\n//\t\t\t\t\t\tMap.Entry<Double, Coordinate> entry = entries.next();\n//\t\t\t\t\t\tif (entry.getKey() == coverArc[1])\n//\t\t\t\t\t\t\tuncover[0] = entry.getValue();\n//\t\t\t\t\t\telse if (entry.getKey() == bb[0])\n//\t\t\t\t\t\t\tuncover[1] = entry.getValue();\n//\t\t\t\t\t}\n//\t\t\t\t\tuncoverArc.put(uncoverA, uncover);\n//\t\t\t\t\tstartposition = m;\n//\t\t\t\t\tstop = true;\n//\t\t\t\t}\n//\t\t\t}\n//\t\t\tif(m==coverangle.size()){\n//\t\t\t\tstartposition=m;\n//\t\t\t}\n//\t\t}\n//\t\n//\t\tSystem.out.println(uncoverArc.entrySet().size());\n//\t\tint n=uncoverArc.entrySet().size();\n//\t\tint k=2;\n//\t\twhile(n>0){\n//\t\t\tIterator<Map.Entry<Double[],Coordinate[]>>it=uncoverArc.entrySet().iterator();\n//\t\t\tMap.Entry<Double[], Coordinate[]>newneighbor=it.next();\n//\t\t\tSystem.out.println(newneighbor.getKey()[0]+\" \"+newneighbor.getValue()[0]);\n//\t\t\tSystem.out.println(newneighbor.getKey()[1]+\" \"+newneighbor.getValue()[1]);\n//\t\t uncoverArc.remove(newneighbor.getKey());\n//\t\t \n//\t\tif(k==2){\n//\t\tDouble[] a8=new Double[2];\n//\t\ta8[0]=(double)450;\n//\t\ta8[1]=(double)500;\n//\t\tCoordinate a9[]=new Coordinate[2];\n//\t\ta9[0]=new Coordinate(9, 0);\n//\t\ta9[1]=new Coordinate(0, 9);\n//\t\tuncoverArc.put(a8, a9);\n//\t\tk++;\n//\t\t}\n//\t\tn=uncoverArc.entrySet().size();\n//\t\tSystem.out.println(\"new size=\"+uncoverArc.entrySet().size());\n//\t\t}\n//\t\t\t\n\t\t\t\n\t\t\n\t\t/***************new test*************************************/\n//\t\tCoordinate startPoint=new Coordinate(500, 500);\n//\t\tLinkedList<VQP>visitedcircle_Queue=new LinkedList<VQP>();\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(500, 500), 45));\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(589, 540), 67));\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(500, 550), 95));\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(439, 560), 124));\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(460, 478), 69));\n//\t\tvisitedcircle_Queue.add(new VQP(new Coordinate(580, 580), 70));\n//\t\tIterator<VQP>testiterator=visitedcircle_Queue.iterator();\n//\t\twhile(testiterator.hasNext()){\n//\t\t\tVQP m1=testiterator.next();\n//\t\t\tCircle tm=new Circle(m1.getCoordinate(), m1.getRadius());\n//\t\t\tif (PaintShapes.painting && logger.isDebugEnabled()) {\n//\t\t\t\tPaintShapes.paint.color = PaintShapes.paint.redTranslucence;\n//\t\t\t\tPaintShapes.paint.addCircle(tm);\n//\t\t\t\tPaintShapes.paint.myRepaint();\n//\t\t\t}\n//\t\t\t\n//\t\t}\n//\t\tdouble coverradius=calculateIncircle(startPoint, visitedcircle_Queue);\n//\t\tCircle incircle=new Circle(startPoint, coverradius);\n//\t\tif (PaintShapes.painting && logger.isDebugEnabled()) {\n//\t\t\tPaintShapes.paint.color = PaintShapes.paint.blueTranslucence;\n//\t\t\tPaintShapes.paint.addCircle(incircle);\n//\t\t\tPaintShapes.paint.myRepaint();\n//\t\t}\n//\t\t/***************end test*************************************/\n\t\tEnvelope envelope = new Envelope(-79.76259, -71.777491,\n\t\t\t\t40.477399, 45.015865);\n\t\tdouble area=envelope.getArea();\n\t\tdouble density=57584/area;\n\t\tSystem.out.println(\"density=\"+density);\n\t\tSystem.out.println(\"end calling!\");\n\t}", "public void drawCircle(Graphics g, int x, int y, int rad) {\n if (n == 5) {\n g.fillOval(x+25, y+25, rad, rad);\n }else if (n==6) {\n g.fillOval(x+18, y+18, rad, rad);\n }else {\n g.fillOval(x+14, y+14, rad, rad);\n }\n }", "public void draw(){\n\t\tSystem.out.println(\"You are drawing a CIRCLE\");\n\t}", "public String _setcirclecolor(int _nonvaluecolor,int _innercolor) throws Exception{\n_mcirclenonvaluecolor = _nonvaluecolor;\n //BA.debugLineNum = 61;BA.debugLine=\"mCircleFillColor = InnerColor\";\n_mcirclefillcolor = _innercolor;\n //BA.debugLineNum = 62;BA.debugLine=\"Draw\";\n_draw();\n //BA.debugLineNum = 63;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "private void DrawOval(GL gl, float x, float y, float size, float r, float g, float b) {\n\t\t// Degeneracy = do not want\n\t\tif (m_length == 0.0f || m_width == 0.0f) {\n\t\t\treturn;\n\t\t}\n\n\n\t\t////int mct = (int) (1 / this.GetPEngine().m_uniscale);\n\t\t////mct = (mct / 2) / 100 * 100;\n\t\tgl.glPushMatrix();\n\t\tfloat theta = (float) Math.toRadians(m_slope);\n\t\t// Draw our line:\n\t\tgl.glLineWidth(2.0f);\n\n\t\tif (Iteration != 0) {\n\t\t\tfor (int i = 0; i < Iteration; i++) {\n\n\n\t\t\t\tif ((m_slope >= 0 && m_slope <= 45) || (m_slope >= 315 && m_slope <= 360)) {\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (0 + i * 200) * ((float) Math.cos(theta)), 100 + y_Start * 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (-50 + i * 200) * ((float) Math.cos(theta)), 100 + y_Start * 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\n\t\t\t\t\tgl.glEnd();\n\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (-100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (-100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (-50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + -20 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (40 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 20 + (40 + i * 200) * ((float) Math.sin(theta)));\n\n\n\n\t\t\t\t\tgl.glEnd();\n\t\t\t\t} else if ((m_slope >= 135 && m_slope < 225)) {\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + 100 + (50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (-100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 - 100 + (-100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + (-50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 - 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\n\n\t\t\t\t\tgl.glEnd();\n\n\t\t\t\t} else if (m_slope > 45 && m_slope < 135) {\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + -100 + (100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + -100 + (50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (-50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\n\t\t\t\t\tgl.glEnd();\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 - 100 + (-100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 - 100 + (-50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 20 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + -20 + (40 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (40 + i * 200) * ((float) Math.sin(theta)));\n\n\n\n\t\t\t\t\tgl.glEnd();\n\t\t\t\t} else {\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (-100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (-50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 - 100 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 - 100 + (50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (50 + i * 200) * ((float) Math.sin(theta)));\n\n\t\t\t\t\tgl.glEnd();\n\t\t\t\t\tgl.glBegin(gl.GL_QUAD_STRIP);\n\t\t\t\t\t// Draw x- and y-axes:\n\t\t\t\t\tgl.glColor3f(0.0f, 0.0f, 0.0f);\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (100 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (100 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 100 + (50 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (50 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 - 20 + (0 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (0 + i * 200) * ((float) Math.sin(theta)));\n\t\t\t\t\tgl.glVertex2d(x_Start * 100 + 20 + (-40 + i * 200) * ((float) Math.cos(theta)), y_Start * 100 + (-40 + i * 200) * ((float) Math.sin(theta)));\n\n\n\n\t\t\t\t\tgl.glEnd();\n\n\t\t\t\t}\n\n\t\t\t\tgl.glPopMatrix();\n\t\t\t}\n\t\t}\n\t}", "public void draw(Graphics g) {\n g.setColor(Color.red);\r\n //g2d.rotate(Math.toRadians(degree), restX-X_SIZE/2 , restY-Y_SIZE/2 );\r\n g.fillOval(deltaX-xSize/2, deltaY-ySize/2, xSize, ySize);\r\n //g2d.setTransform(old);\r\n }", "public void draw(){\n if(isVisible) {\n double diameter = calcularLado(area);\n double side = 2*diameter;\n Canvas circle = Canvas.canvas;\n circle.draw(this, color, \n new Ellipse2D.Double(xPosition, yPosition, \n (int)diameter, side));\n }\n }", "public void drawTheImage(Graphics g)\r\n\t{\r\n\t\tg.setColor(Color.BLACK);\r\n\t\tg.fillOval(theX, theY, 10,10);\r\n\t\ttheX+=velX;\r\n\t\ttheY+=velY;\r\n\t}", "@Override\n public void paintComponent (Graphics g)\n {\n ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);\n g.setColor(BACKGROUND_COLOR);\n g.fillRect(0, 0, getHeight(), getHeight());\n g.setColor(color);\n g.fillOval(0, 0, 30, 30);\n }", "public abstract void drawHalfOval(AEColor colorToDraw, AERect aeRect, int openDirection);", "@Override\n\tprotected void drawSub(Canvas canvas) {\n\t\tpaint.setTextSize(30);\n\t\tcanvas.drawText(\"Logic View\", rx, 30, paint);\n\t\t\n\t\tcanvas.drawArc(oval, 0, sweepAngle, true, paint);\n\n\t}", "public abstract void drawFill();", "@Override\n protected void paintComponent(Graphics g) {\n\n Graphics2D g2d = (Graphics2D) g.create();\n g2d.setRenderingHint(\n RenderingHints.KEY_ANTIALIASING,\n RenderingHints.VALUE_ANTIALIAS_ON);\n g2d.setComposite(AlphaComposite.getInstance(\n AlphaComposite.SRC_OVER, opa));\n g2d.setColor(color);\n if (!round) {\n g2d.fillRect(0, 0, getWidth(), getHeight());\n } else {\n g2d.fillRoundRect(0, 0, getWidth(), getHeight(), corner, corner);\n }\n }", "public void draw() {\n\t\tSystem.out.println(getMessageSource().getMessage(\"greeting2\", null, null));\r\n\r\n\t\tSystem.out.println(getMessageSource().getMessage(\"drawing.circle\", null, null));\r\n\t\tSystem.out.println(\"Center's Coordinates: (\" + getCenter().getX() + \", \" + getCenter().getY() + \")\");\r\n\t\tSystem.out.println(getMessageSource().getMessage(\"drawing.center\",\r\n\t\t\t\tnew Object[] { getCenter().getX(), getCenter().getY() }, \"Default point coordinates msg\", null));\r\n\t}", "private void addCircle() {\n\t\tdouble r = getRadius();\n\t\tadd(new GOval(getWidth() / 2.0 - r, getHeight() / 2.0 - r, 2 * r, 2 * r));\n\t}", "@Override\n\tpublic void draw() {\n\t\tdecoratedShape.draw();\n\t}", "public void paintComponent(Graphics g, int xBeginMap, int yBeginMap, int xEndMap, int yEndMap,\n int xBeginSrc, int yBeginSrc, int xEndSrc, int yEndSrc)\n {\n if(isSelected==true) {\n g.setColor(new Color(0,255,0,125));\n Graphics2D g2d = (Graphics2D)g;\n Ellipse2D.Double circle = new Ellipse2D.Double(xBeginMap+15,yBeginMap+35, abs(xEndMap - xBeginMap)-30, abs(yEndMap - yBeginMap)-30);\n g2d.fill(circle);\n }\n g.drawImage(mainTexture,xBeginMap,yBeginMap,xEndMap,yEndMap,\n xBeginSrc,yBeginSrc,xEndSrc,yEndSrc,null);\n\n\n\n }", "public LED(int x, int y, int radius, int color, Graphics g)\n {\n // variablen instanzieren\n g2d = (Graphics2D) g;\n \n //LED instanzieren\n g.setColor(new Color(color));\n g.fillOval(x, y, radius, radius);\n }", "@Override\n\tpublic void paintLabel(Graphics g) {\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\tg2d.drawString(\"Oval\",x,y+65);\n\t}", "public void draw(Canvas canvas, boolean showFlockRadius)\n {\n if (showFlockRadius) {\n int xMid = (int)(getX() + imageWidth()/2);\n int yMid = (int)(getY() + imageHeight()/2);\n oval.set((int)(xMid - flockRadius),(int)(yMid - flockRadius),\n (int)(xMid + flockRadius),(int)(yMid + flockRadius));\n canvas.drawOval(oval,redPaint);\n }\n super.draw(canvas);\n }", "private void drawNormalOval(Canvas canvas) {\n canvas.save();\n for (int i = 0; i < mRectFPointList.size(); i++) {\n mNormalOvalPaint.setStyle(Paint.Style.STROKE);\n mNormalOvalPaint.setStrokeWidth(mNormalOvalStrokeWidth);\n if (isSelected(mRectFPointList.get(i))) {\n if (MATCH_STATUS_MATCH_FAILED == mMatchStatus) {\n mNormalOvalPaint.setColor(mNormalOvalStrokeErrorColor);\n } else {\n mNormalOvalPaint.setColor(mNormalOvalStrokeSelectColor);\n }\n } else {\n mNormalOvalPaint.setColor(mNormalOvalStrokeColor);\n }\n canvas.drawCircle(mRectFPointList.get(i).centerX(), mRectFPointList.get(i).centerY(),\n mNormalOvalRadius - mNormalOvalStrokeWidth / 2.0f, mNormalOvalPaint);\n\n mNormalOvalPaint.setStyle(Paint.Style.FILL);\n if (isSelected(mRectFPointList.get(i))) {\n if (MATCH_STATUS_MATCH_FAILED == mMatchStatus) {\n mNormalOvalPaint.setColor(mNormalOvalSolidErrorColor);\n } else {\n mNormalOvalPaint.setColor(mNormalOvalSolidSelectColor);\n }\n } else {\n mNormalOvalPaint.setColor(mNormalOvalSolidColor);\n }\n canvas.drawCircle(mRectFPointList.get(i).centerX(), mRectFPointList.get(i).centerY(),\n mNormalOvalRadius - mNormalOvalStrokeWidth, mNormalOvalPaint);\n }\n canvas.restore();\n }", "protected void renderFilledCircle(Graphics g, int x, int y, int diameter)\n {\n\tx -= diameter/2;\n\ty -= diameter/2;\n\t\n\tg.fillOval(x,y,diameter,diameter);\n\tig.fillOval(x,y,diameter,diameter);\n }", "private void drawCenter(Graphics2D g2d) {\n\t\tint width = size * 3/4;\n\t\tint offset = size / 8 + 5;\n\t\t\n\t\tRectangle2D bounds = new Rectangle2D.Double(offset, offset, width, width);\n\t\tArc2D center = new Arc2D.Double(bounds, 100, 350, Arc2D.PIE);\n\n\t\t// stroke\n\t\tg2d.setPaint(darkGrey);\n\t\tg2d.setStroke(new BasicStroke(5.0f));\n\t\tg2d.draw(center);\n\t\t\n\t\t// fill \n\t\tg2d.setPaint(white);\n\t\tg2d.fill(center);\n\t\t\n\t\t// fix for arc stroke\n\t\tEllipse2D circle = new Ellipse2D.Double(offset, offset, width, width);\n\t\tg2d.setPaint(white);\n\t\tg2d.fill(circle);\n\t}", "@Override\r\n public final void draw(final Circle s, final BufferedImage paper) {\n\r\n int xc = s.getX();\r\n int yc = s.getY();\r\n int r = s.getRaza();\r\n int x = 0, y = r;\r\n final int trei = 3;\r\n int doi = 2;\r\n int d = trei - doi * r;\r\n while (y >= x) {\r\n if (checkBorder(xc + x, yc + y, paper)) {\r\n paper.setRGB(xc + x, yc + y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - x, yc + y, paper)) {\r\n paper.setRGB(xc - x, yc + y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + x, yc - y, paper)) {\r\n paper.setRGB(xc + x, yc - y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - x, yc - y, paper)) {\r\n paper.setRGB(xc - x, yc - y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + y, yc + x, paper)) {\r\n paper.setRGB(xc + y, yc + x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + y, yc - x, paper)) {\r\n paper.setRGB(xc + y, yc - x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - y, yc + x, paper)) {\r\n paper.setRGB(xc - y, yc + x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - y, yc - x, paper)) {\r\n paper.setRGB(xc - y, yc - x, s.getBorderColor().getRGB());\r\n }\r\n\r\n x++;\r\n if (d > 0) {\r\n y--;\r\n final int patru = 4;\r\n final int zece = 10;\r\n d = d + patru * (x - y) + zece;\r\n } else {\r\n final int patru = 4;\r\n final int sase = 6;\r\n d = d + patru * x + sase;\r\n }\r\n if (checkBorder(xc + x, yc + y, paper)) {\r\n paper.setRGB(xc + x, yc + y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - x, yc + y, paper)) {\r\n paper.setRGB(xc - x, yc + y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + x, yc - y, paper)) {\r\n paper.setRGB(xc + x, yc - y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - x, yc - y, paper)) {\r\n paper.setRGB(xc - x, yc - y, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + y, yc + x, paper)) {\r\n paper.setRGB(xc + y, yc + x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc + y, yc - x, paper)) {\r\n paper.setRGB(xc + y, yc - x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - y, yc + x, paper)) {\r\n paper.setRGB(xc - y, yc + x, s.getBorderColor().getRGB());\r\n }\r\n if (checkBorder(xc - y, yc - x, paper)) {\r\n paper.setRGB(xc - y, yc - x, s.getBorderColor().getRGB());\r\n }\r\n\r\n }\r\n floodFill(xc, yc, s.getFillColor(), s.getBorderColor(), paper);\r\n }", "public void draw() {\n StdDraw.setPenColor(StdDraw.BLACK);\n StdDraw.setPenRadius(0.01);\n for (Point2D point : points) {\n StdDraw.point(point.x(), point.y());\n }\n StdDraw.setPenRadius();\n }", "@Override\n\t\t\tprotected void paintComponent(Graphics g) {\n\t\t\t\tsuper.paintComponent(g);\n\t\t\t\tfor (int i = 0; i < inc.length; i++) {\n\t\t\t\t\tg.setColor(new Color(220 - i * 50, 220 - i * 50, 220 - i * 50));\n\t\t\t\t\tg.fillOval(inc[i][0], inc[i][1], 30, 30);\n\t\t\t\t}\n\t\t\t\tg.setColor(Color.yellow);\n\t\t\t\tg.fillOval(x, h, 30, 30);\n\n\t\t\t\t// 장애물\n\t\t\t\tg.setColor(Color.red);\n\t\t\t\tg.fillRect(0, 480, 800, 20);\n\t\t\t\tg.fillRect(400, 200, 50, 300);\n\t\t\t\tg.fillRect(300, 350, 100, 30);\n\t\t\t\t//\n\t\t\t\tGraphics2D g2 = bi.createGraphics();\n//\t\t\t\tthis.paintAll(g2);\n\t\t\t}", "@Override\n\tpublic void paint(Graphics g) {\n\t\tGraphics2D g2d = (Graphics2D) g;\n\t\tg2d.setColor(Color.RED);\n\t\t\n\t\t // Compute Nodes\n\t\t float inc = (float) ((180*2.0)/size);\n\t\t int x[] = new int[size];\n\t\t int y[] = new int[size];\n\t\t float d= 0;\n\t\t d= 180 - inc/2;\n\t\t for (int i=0; i<size; i++){//$d=M_PI-$inc/2.0; $i<$k; $i++, $d+=$inc) {\n\t\t x[i] = (int) ((width/2) - (Math.sin(Math.toRadians(d))*(width/2)*(0.8)));\n\t\t y[i] = (int) (high - ((high/2) - (Math.cos(Math.toRadians(d)))*(high/2)*(0.8)));\n\t\t d+= inc;\n\t\t }\n\t\t for (int i=0; i<size; i++){\n\t\t g2d.fillOval(x[i], y[i], 2*rad, 2*rad);\n\t\t }\n\t\t \n\t\t \n\t\t for (int i=0; i<size; i++)\n\t\t\t for (int j=0; j<size; j++)\n\t\t\t {\n\t\t\t \t if (i != j && adj[i*size + j] == '1') {\n\t\t\t \t\t if(directed)\n\t\t\t \t\t {\n\t\t\t \t\t\t //Line2D lin = new Line2D.Float(x[i]+rad, y[i]+rad,x[j]+rad, y[j]+rad);\n\t\t\t\t \t \t//\tg2d.draw(lin);\n\t\t\t \t\t\t \n\t\t\t \t\t\t DrawArrow(g2d, x[i]+rad, y[i]+rad,x[j]+rad, y[j]+rad);\n\t\t\t \t\t\t \n\t\t\t \t\t }\n\t\t\t \t\t else\n\t\t\t \t\t {\n\t\t\t \t\t\t Line2D lin = new Line2D.Float(x[i]+rad, y[i]+rad,x[j]+rad, y[j]+rad);\n\t\t\t\t \t \t\tg2d.draw(lin);\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\t \n\t\t/*\n\t\tg2d.fillOval(0, 0, 30, 30);\n\t\tg2d.drawOval(0, 50, 30, 30);\t\t\n\t\tg2d.fillRect(50, 0, 30, 30);\n\t\tg2d.drawRect(50, 50, 30, 30);\n\n\t\tg2d.draw(new Ellipse2D.Double(0, 100, 30, 30));*/\n\t}", "public void draw(Graphics2D g2d, Color color) {\r\n\t\tColor colorBack = g2d.getColor();\r\n\t\tdouble originX=reinforce.getCenterX();\r\n\t\tdouble originY=reinforce.getCenterY();\r\n\t\tif(radius<radiusMax && !selfDes) {\r\n\t\t\tradius++;\r\n\t\t\treinforce= new Ellipse2D.Double(originX-scaleX*radius/2,originY-scaleY*radius/2,scaleX*radius,scaleY*radius);\r\n\t\t}else if(selfDes && dimUp) {\r\n\t\t\tzetaGotRein = false;\r\n\t\t\tbetaGotRein = false;\r\n\t\t\tradius = radius+1;\r\n\t\t\treinforce= new Ellipse2D.Double(originX-scaleX*radius/2,originY-scaleY*radius/2,scaleX*radius,scaleY*radius);\r\n\t\t\tif(radius>=radiusMax*2)dimUp = false;\r\n\t\t}else if(selfDes && !dimUp) {\r\n\t\t\tzetaGotRein = false;\r\n\t\t\tbetaGotRein = false;\r\n\t\t\tradius = radius-1;\r\n\t\t\treinforce= new Ellipse2D.Double(originX-scaleX*radius/2,originY-scaleY*radius/2,scaleX*radius,scaleY*radius);\r\n\t\t\tif(radius<=1) {\r\n\t\t\t\tdestroyed = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(sciMode) {\r\n\t\t\tg2d.setColor(color);\r\n\t\t\tg2d.draw(reinforce);\r\n\t\t}\r\n\t\tif(reinforce!=null) {\r\n\t\t\timgScale = radius/radiusMax;\r\n\t\t\tdouble coreX = reinforce.getCenterX();\r\n\t\t\tdouble coreY = reinforce.getCenterY();\r\n\t\t\tmat = new AffineTransform(modele);\r\n\t\t\tmat.translate(coreX-img.getWidth(null)/2, coreY-img.getHeight(null)/2);\r\n\t\t\tmat.translate((img.getWidth(null)*(1-imgScale))/2,(img.getHeight(null)*(1-imgScale))/2);\r\n\t\t\tmat.scale(imgScale,imgScale);\r\n\t\t\tif(selfDes && dimUp) {\r\n\t\t\t\timgRot = (imgRot+30)%360;\r\n\t\t\t}else {\r\n\t\t\t\timgRot = (imgRot+10)%360;\r\n\t\t\t}\r\n\t\t\tmat.rotate(Math.toRadians(imgRot),img.getWidth(null)/2,img.getHeight(null)/2);\r\n\t\t\tg2d.drawImage(img, mat, null);\t\r\n\t\t\tif(type == 1) {\r\n\t\t\t\tg2d.setColor(Color.YELLOW);\r\n\t\t\t}else if(type == 2) {\r\n\t\t\t\tg2d.setColor(Color.RED);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\t\r\n\t\tg2d.setColor(colorBack);\r\n\t}", "public void paint (Graphics g)\n {\n g.setColor(color);\n for(Point pellet : pellets)\n {\n g.fillOval(5+MunchGame.SEGMENT_SIZE*pellet.x+2,\n 15+MunchGame.SEGMENT_SIZE*pellet.y+2, \n MunchGame.SEGMENT_SIZE-4,\n MunchGame.SEGMENT_SIZE-4);\n }\n }", "private void drawCircle( Graphics2D g2, Point2D.Double point, Color colour, double radius, boolean fill )\r\n {\r\n double x = translateX( point.getX() ); // Adjusted with the view\r\n double y = translateY( point.getY() ); // Adjusted with the view\r\n \r\n double diam = radius * 2;\r\n \r\n Ellipse2D.Double circle = new Ellipse2D.Double( x-(diam/2), y-(diam/2), diam, diam );\r\n \r\n g2.setColor( colour );\r\n \r\n if( fill )\r\n g2.fill( circle );\r\n else\r\n g2.draw( circle );\r\n }", "public void draw(Graphics window)\r\n {\r\n window.setColor(color);\r\n window.fillRect(xPos, yPos, width, height);\r\n window.setColor(Color.green);\r\n window .fillOval(xPos-15, yPos-15, width-20, height-20);\r\n window .fillOval(xPos+35, yPos-15, width-20, height-20);\r\n\r\n }", "public void draw(Graphics2D g2)\n\t{\n\t\tEllipse2D.Double oval = new Ellipse2D.Double(x, y, width, height) ;\n\t\tg2.setColor(Color.yellow) ;\n\t\tg2.fill(oval) ;\n\t\tg2.setColor(Color.BLUE);\n\t\tg2.draw(boundingBox);\n\t}", "@Override\n\tpublic void buildHead() {\n\t\tg.drawOval(50, 20, 30, 30);\n\t}", "private void drawCenter(double x, double y) {\n\t\tdouble r = findCenterRadius(x, y);\n\t\tGPoint corner = findCenterCorner(r, x ,y);\n\t\tcenterCircle = new GOval(2*r,2*r);\n\t\tadd(centerCircle, corner);\n\t\t//GPoint center = new GPoint(corner.getX() - r, corner.getY() - r );\n\t}", "@Override\r\n\tpublic void paintComponent(Graphics g)\r\n\t{\r\n\t\t// Get the width and height of the component window\r\n\t\twidth = getWidth();\r\n\t\theight = getHeight();\t\t\t\t\r\n\t\t\r\n\t\tGraphics2D g2 = (Graphics2D) g;\r\n\t\tgenerateCircles();\r\n\t\tdrawCircles(g2);\r\n\t}", "@Override\n public void draw(GraphicsContext gc, int sides){}" ]
[ "0.7788311", "0.7747956", "0.7719235", "0.7711141", "0.7682414", "0.7578774", "0.7486463", "0.74373484", "0.7428806", "0.7408114", "0.73360014", "0.73277396", "0.7296949", "0.72894526", "0.7263352", "0.72458214", "0.72136104", "0.7199488", "0.71219164", "0.71045953", "0.71014553", "0.7091775", "0.7014816", "0.6996621", "0.6994961", "0.69745106", "0.6931827", "0.69046146", "0.6793817", "0.67848057", "0.67792", "0.677907", "0.6768593", "0.67629445", "0.67553747", "0.6749189", "0.67362183", "0.67231005", "0.6719647", "0.66914976", "0.6691261", "0.6682104", "0.6677722", "0.6672362", "0.6659407", "0.6648672", "0.66218996", "0.6617487", "0.6605302", "0.66010356", "0.65972", "0.656556", "0.65620524", "0.65523934", "0.65474796", "0.6540713", "0.6528693", "0.6520761", "0.65088415", "0.64994365", "0.6494696", "0.6492866", "0.6479973", "0.64710724", "0.64656645", "0.64562845", "0.64556205", "0.6455317", "0.64465696", "0.6434865", "0.6425453", "0.6424438", "0.6421799", "0.6412996", "0.6411886", "0.64101255", "0.64017177", "0.6400426", "0.6399838", "0.63977087", "0.6386266", "0.6380018", "0.6356643", "0.63559467", "0.634425", "0.63411283", "0.63381773", "0.63299423", "0.6326396", "0.6325688", "0.6312254", "0.62977964", "0.6297453", "0.62966627", "0.62913746", "0.6291245", "0.62715197", "0.6249174", "0.6249069", "0.62451804" ]
0.7207712
17
/ Map result to MedicalMalpracticePolicy
private void setMalpracticePolicy(RecordSet rs, PolicyHeader policyHeader, MedicalMalpracticePolicyType policy, List<FilterType> filterList, List<String> partyList, String viewName) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setMalpracticePolicy", new Object[]{policyHeader.toString(), rs.toString(" || ", " , ")}); } policy.setPolicyTermNumberId(policyHeader.getTermBaseRecordId()); policy.setPolicyId(policyHeader.getPolicyId()); policy.setPolicyNumberId(policyHeader.getPolicyNo()); List<InsuredType> insuredList = new ArrayList<InsuredType>(); List<MedicalMalpracticeCoverageType> coverageList = new ArrayList<MedicalMalpracticeCoverageType>(); List<MedicalMalpracticeCoverageType> grossCoverageList = new ArrayList<MedicalMalpracticeCoverageType>(); List<CreditSurchargeDeductibleType> componentList = new ArrayList<CreditSurchargeDeductibleType>(); for (Record record : rs.getRecordList()) { String riskId = PremiumFields.getRiskId(record); if (filterList.size() == 0 || isInsuredFiltered(filterList, riskId)) { if (RISK_TOTAL_TITLE.equals(PremiumFields.getComponentCode(record))) { setInsured(record, policyHeader, insuredList); } else if (COVERAGE_TOTAL_TITLE.equals(PremiumFields.getComponentCode(record))) { setCoverage(record, policyHeader, coverageList); } else if (GROSS_COVERAGE_CODE.equals(PremiumFields.getComponentCode(record))) { setGrossCoverage(record, grossCoverageList); } else if (!TRANSACTION_TOTAL_TITLE.equals(PremiumFields.getComponentCode(record))) { setComponent(record, policyHeader, componentList); } } if (TRANSACTION_TOTAL_TITLE.equals(PremiumFields.getComponentCode(record))) { if (filterList.size() == 0) { String writtenPremium = PremiumFields.getWrittenPremium(record); policy.setCurrentTermAmount(writtenPremium); } } if (!EXCLUDE_PARTY.equalsIgnoreCase(viewName)) { policyHeader = getRiskManager().loadRiskHeader(policyHeader, riskId); String entityId = policyHeader.getRiskHeader().getRiskEntityId(); if (!partyList.contains(entityId)) { partyList.add(entityId); } } } if (filterList.size() > 0) { policy.setCurrentTermAmount(""); } setPartyList(partyList, policyHeader, viewName); policy.getInsured().addAll(insuredList); setGrossTermAmount(grossCoverageList, coverageList); MedicalMalpracticeLineOfBusinessType lineOfBusinessType = new MedicalMalpracticeLineOfBusinessType(); lineOfBusinessType.getMedicalMalpracticeCoverage().addAll(coverageList); policy.setMedicalMalpracticeLineOfBusiness(lineOfBusinessType); policy.getCreditSurchargeDeductible().addAll(componentList); //Set transaction TransactionDetailType transaction = new TransactionDetailType(); transaction.setTransactionEffectiveDate(policyHeader.getLastTransactionInfo().getTransEffectiveFromDate()); TransactionCodeType transactionCode = new TransactionCodeType(); transactionCode.setValue(policyHeader.getLastTransactionInfo().getTransactionCode().getName()); transaction.setTransactionCode(transactionCode); transaction.setTransactionNumberId(policyHeader.getLastTransactionId()); String transactionStatusCode = ""; TransactionStatus transStatus = policyHeader.getLastTransactionInfo().getTransactionStatusCode(); if (TransactionStatus.INPROGRESS.equals(transStatus)){ transactionStatusCode = String.valueOf(RecordMode.WIP); }else if(TransactionStatus.COMPLETE.equals(transStatus)){ transactionStatusCode = String.valueOf(RecordMode.OFFICIAL); }else{ transactionStatusCode = String.valueOf(transStatus); } transaction.setTransactionStatusCode(new TransactionStatusCodeType()); transaction.getTransactionStatusCode().setValue(transactionStatusCode); policy.setTransactionDetail(transaction); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setMalpracticePolicy", policy); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PolicyMap getPolicyMap();", "PolicyDecision getDecision();", "private interface DPResultFactory\n {\n\n DecisionResult getInstance(ExtendedDecision combiningAlgResult, EvaluationContext individualDecisionEvaluationContext, Optional<EvaluationContext> mdpContext, UpdatableList<PepAction> basePepActions,\n ImmutableList<PrimaryPolicyMetadata> applicablePolicies);\n\n }", "public interface CheckRestrictionsResult {\n /**\n * Gets the fieldRestrictions property: The restrictions that will be placed on various fields in the resource by\n * policy.\n *\n * @return the fieldRestrictions value.\n */\n List<FieldRestrictions> fieldRestrictions();\n\n /**\n * Gets the contentEvaluationResult property: Evaluation results for the provided partial resource content.\n *\n * @return the contentEvaluationResult value.\n */\n CheckRestrictionsResultContentEvaluationResult contentEvaluationResult();\n\n /**\n * Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.CheckRestrictionsResultInner object.\n *\n * @return the inner object.\n */\n CheckRestrictionsResultInner innerModel();\n}", "private HashMap <String,String> analyzePrescription(ResponsePrescriptionBean[] psdetails) {\n\t\tSimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\tHashMap <String,String> resp = new HashMap <String,String>();\n\t\tresp.put(\"medication\", psdetails[0].getTreatment().getDetails().get(\"DisplayName\"));\n\t\tresp.put(\"dose\", psdetails[0].getDailydose());\n\t\tresp.put(\"treatment_group\", psdetails[0].getTreatment().getGroup().getTreatmentgroupabbreviation().toLowerCase());\n\t\t\n\t\tint response_time = 0;\n\t\tfloat amt_highdose = 0;\n\t\tfloat amt_lowdose = 0;\n\t\tint x_percent_of_usual_dose_range = 50;\n\t\tint y_percent_of_usual_response_time = 50;\n\t\tint grace = 0;\n\t\tint doa = 0;\n\t\tif (psdetails[0].getTreatment().getDetails() != null) {\n\t\t\tresp.put(\"display_name\", psdetails[0].getTreatment().getDetails().get(\"DisplayName\"));\n\t\t\tresp.put(\"chart_name\", psdetails[0].getTreatment().getDetails().get(\"GuidelineChartName\"));\n\t\t\tresp.put(\"treatmentid\", \"\"+psdetails[0].getTreatment().getTreatmentid());\n\t\t\tresp.put(\"unit\", psdetails[0].getTreatment().getDetails().get(\"Unit\"));\n\t\t\tresp.put(\"treatment_function\", psdetails[0].getTreatment().getDetails().get(\"DrugFunction\"));\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\") != null) {\n\t\t\t\tresp.put(\"long_acting_flag\", psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"ResponseTime\") != null) {\n\t\t\t\tresponse_time = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"ResponseTime\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\") != null && !psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\").equals(\"\")) {\n\t\t\t\tamt_highdose = Float.parseFloat(psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\") != null && !psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\").equals(\"\")) {\n\t\t\t\tamt_lowdose = Float.parseFloat(psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTPercentDoseRange\") != null) {\n\t\t\t\tx_percent_of_usual_dose_range = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTPercentDoseRange\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTPercentResponseTime\") != null) {\n\t\t\t\ty_percent_of_usual_response_time = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTPercentResponseTime\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTGracePeriod\") != null) {\n\t\t\t\tgrace = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTGracePeriod\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DurationOfAction\") != null) {\n\t\t\t\tdoa = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"DurationOfAction\"));\n\t\t\t}\n\t\t}\n\n\t\tint amt_req_duration = response_time * y_percent_of_usual_response_time / 100;\n\t\tfloat amt_req_dose = amt_lowdose + (amt_highdose - amt_lowdose) * x_percent_of_usual_dose_range / 100;\n\n\t\tlong dose_duration = 0;\n\t\tboolean same_dose = true;\n\t\tlong medication_duration = 0;\n\t\tlong amt_duration = 0;\n\t\tboolean amt_dose = false;\n\t\tif (amt_req_dose > 0) amt_dose = true;\n\t\tDate expdate = null;\n\t\tDate startdate = null;\n\t\tDate workingstartdate = null;\n\t\tfloat dose = 0;\n\t\ttry {\n\t\t\tworkingstartdate = df.parse(psdetails[0].getEntrydate());\n\t\t} catch (ParseException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t\t\n\t\tResponsePrescriptionBean working = new ResponsePrescriptionBean(psdetails[0]);\n\t\tresp.put(\"dose_start_date\", RecommendUtils.formatDateFromDB(workingstartdate));\n\t\tresp.put(\"medication_start_date\", RecommendUtils.formatDateFromDB(workingstartdate));\n\t\tdose_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\tmedication_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\tdose = Float.parseFloat(psdetails[0].getDailydose());\n\t\tif (amt_req_dose > 0 && dose >= amt_req_dose) {\n\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t}\n\t\tfor (int i=1; i<psdetails.length; i++) {\n\t\t\ttry {\n\t\t\t\tstartdate = df.parse(psdetails[i].getEntrydate());\n\t\t\t} catch (ParseException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\tcal.setTime(startdate);\n\t\t\tcal.add(Calendar.DATE, psdetails[i].getDuration()+doa+grace);\n\t\t\texpdate = cal.getTime();\n\t\t\tif (workingstartdate.before(expdate)) {\n\t\t\t\tworkingstartdate = startdate;\n\t\t\t\tresp.put(\"medication_start_date\", RecommendUtils.formatDateFromDB(startdate));\n\t\t\t\tmedication_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\tif (same_dose && working.getDailydose().equals(psdetails[i].getDailydose())) {\n\t\t\t\t\tresp.put(\"dose_start_date\", RecommendUtils.formatDateFromDB(startdate));\n\t\t\t\t\tdose_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t} else {\n\t\t\t\t\tsame_dose = false;\n\t\t\t\t}\n\t\t\t\tdose = Float.parseFloat(psdetails[i].getDailydose());\n\t\t\t\tif (amt_req_dose > 0 && dose >= amt_req_dose && amt_dose) {\n\t\t\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t} else {\n\t\t\t\t\tamt_dose = false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else { //There's a gap in this prescription, ignore earlier prescriptions of this drug.\n\t\t\t\tsame_dose = false;\n\t\t\t\ti = psdetails.length;\n\t\t\t}\n\t\t}\n\t\tresp.put(\"medication_duration\", \"\"+medication_duration);\n\t\tresp.put(\"medication_duration_weeks\", \"\"+((int)(medication_duration/7)));\n\t\tresp.put(\"dose_duration\", \"\"+dose_duration);\n\t\tresp.put(\"dose_duration_weeks\", \"\"+((int)(dose_duration/7)));\n\t\t\n\t\tif (psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\") != null && psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\").equals(\"1\")\n\t\t\t\t&& psdetails[0].getTreatment().getDetails().get(\"AdministrationMechanism\") != null && psdetails[0].getTreatment().getDetails().get(\"AdministrationMechanism\").equalsIgnoreCase(\"injection\")) {\n\t\t\tresp.put(\"adequate_medication_trial\", \"0\");\n\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\tif (amt_req_dose > 0 && medication_duration >= response_time) {\n\t\t\t\tif (analyzeLongActingAMTDoseDate(psdetails, new Date(), amt_req_dose)) {\n\t\t\t\t\tboolean amt = false;\n\t\t\t\t\tworkingstartdate = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tworkingstartdate = df.parse(psdetails[0].getEntrydate());\n\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i=1; i<psdetails.length; i++) {\n\t\t\t\t\t\t// for each administration of the treatment, we have to determine if the patient \n\t\t\t\t\t\t// was above the amt_req_dose level (within the grace period) before the administration.\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tstartdate = df.parse(psdetails[i].getEntrydate());\n\t\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\t\t\t\tcal.setTime(startdate);\n\t\t\t\t\t\tcal.add(Calendar.DATE, -1);\n\t\t\t\t\t\tif (analyzeLongActingAMTDoseDate(psdetails, cal.getTime(), amt_req_dose)) {\n\t\t\t\t\t\t\tworkingstartdate = startdate;\n\t\t\t\t\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t\t\t\tif (amt_duration >= amt_req_duration) {\n\t\t\t\t\t\t\t\tamt = true;\n\t\t\t\t\t\t\t\ti = psdetails.length;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (amt) {\n\t\t\t\t\t\tresp.put(\"adequate_medication_trial\", \"1\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (amt_req_dose > 0 && amt_duration >= amt_req_duration && medication_duration >= response_time) {\n\t\t\t\tresp.put(\"adequate_medication_trial\", \"1\");\n\t\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\t} else {\n\t\t\t\tresp.put(\"adequate_medication_trial\", \"0\");\n\t\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\t}\n\t\t}\n\t\tif (psdetails[0].getTreatment().getDetails().get(\"LabNamePattern\") != null) {\n\t\t\tresp.put(\"serum_level_low\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelLow\"));\n\t\t\tresp.put(\"serum_level_high\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelHigh\"));\n\t\t\tresp.put(\"response_time\", psdetails[0].getTreatment().getDetails().get(\"ResponseTime\"));\n\t\t\tresp.put(\"serum_level_unit\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelUnit\"));\n\t\t\tresp.put(\"lab_name\", psdetails[0].getTreatment().getDetails().get(\"LabNamePattern\"));\n\t\t\tresp.put(\"amt_response_time\", \"\"+amt_req_duration);\n\t\t}\n\t\treturn resp;\n\t}", "Policy _get_policy(int policy_type);", "public Skills getSkillPrediction();", "public void calculateProbabilities(){\n\t}", "public List<MapAdvice> getMapAdvices();", "public static void caso12(){\n\n FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso1.owl\",\"file:resources/caso1.repository\",fm);\n\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"pan\");\n\t\tif(map==null){\n\t\t\tSystem.out.println(\"El map es null\");\n\t\t}\n\t}", "private void evaluateProbabilities()\n\t{\n\t}", "String tomar_decisiones(String decision);", "public static void caso31(){\n\t FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso3.owl\",\"file:resources/caso3.repository\",fm);\n\t\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"response1\");\n\t\t\tif(map==null){\n\t\t\t\tSystem.out.println(\"El map es null\");\n\t\t\t}else{\n\t\t\t\tMapUtils.imprimirMap(map);\n\t\t\t}\n\t}", "public HashMap<List<Integer>, List<Integer>> obtainPolicy(double [] u){\n\t\tHashMap<List<Integer>, List<Integer>> optimalPolicy = new \n\t\t\t\tHashMap<List<Integer>, List<Integer>>();\n\t\tfor(List<Integer> s : states) {\n\t\t\tdouble max = Double.NEGATIVE_INFINITY;\n\t\t\tfor(int a : validActions.get(s)) {\n\t\t\t\tdouble sum = 0.0;\n\t\t\t\tfor(List<Integer> sDash : states) \n\t\t\t\t\tsum += transitionFunction(transitions, s, actions.get(a), \n\t\t\t\t\t\tsDash) * u[states.indexOf(sDash)];\n\t\t\t\tdouble val = getReward(s, actions.get(a)) + \n\t\t\t\t\t\tspec.getDiscountFactor() * sum;\n\t\t\t\tif(val > max) {\n\t\t\t\t\tmax = val;\n\t\t\t\t\toptimalPolicy.put(s, actions.get(a));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn optimalPolicy;\n\t}", "@Test\n public void testDecisionRule() {\n DataProvider provider = new DataProvider();\n provider.createDataDefinition();\n DataHandle handle = provider.getData().getHandle();\n \n RiskModelPopulationUniqueness model = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.2d)).getPopulationBasedUniquenessRisk();\n double populationUniqueness = model.getFractionOfUniqueTuplesDankar();\n double sampleUniqueness = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.1d)).getSampleBasedUniquenessRisk().getFractionOfUniqueRecords();\n \n // Risk before anonymization\n assertTrue(sampleUniqueness + \" / \" + populationUniqueness, compareUniqueness(populationUniqueness, 1.0d) == 0);\n assertTrue(sampleUniqueness + \" / \" + populationUniqueness, compareUniqueness(populationUniqueness, sampleUniqueness) <= 0);\n \n final ARXAnonymizer anonymizer = new ARXAnonymizer();\n final ARXConfiguration config = ARXConfiguration.create();\n config.addPrivacyModel(new KAnonymity(2));\n config.setSuppressionLimit(0d);\n \n ARXResult result = null;\n try {\n result = anonymizer.anonymize(provider.getData(), config);\n } catch (IOException e) {\n e.printStackTrace();\n }\n final DataHandle outHandle = result.getOutput(false);\n \n populationUniqueness = outHandle.getRiskEstimator(ARXPopulationModel.create(provider.getData().getHandle().getNumRows(), 0.1d)).getPopulationBasedUniquenessRisk().getFractionOfUniqueTuplesDankar();\n assertTrue(\"Is: \" + populationUniqueness, compareUniqueness(populationUniqueness, 0) == 0);\n }", "public void createLBPolicy2(){\n\n\t\tIterator<ASServer> itm = manager.getASServers().values().iterator();\n\t\t\n\t\twhile(itm.hasNext()){\n\t\t\t\n\t\t\tASServer as = itm.next();\n\t\t\tAppServerPolicy ap = as.currentPolicy;\n\t\t\tIterator<ObjectKey> ik = ap.policyMap.keySet().iterator();\n\t\t\t\n\t\t\twhile(ik.hasNext()){\n\t\t\t\t\n\t\t\t\tObjectKey ot = ik.next();\n\t\t\t\t\n\t\t\t\tif(ot instanceof ListKey){\n\t\t\t\t\tListKey tlk = (ListKey) ot;\n\t\t\t\t\tString t = tlk.key;\n\t\t\t\t\t//System.out.println(\"Checking for mapping of :\" + t);\n\t\t\t\t\t\n\t\t\t\t\tif(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(t) == null){\n\t\t\t\t\t\t//System.out.println(\"Mapping Map is NULL\");\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tArrayList<String> test = new ArrayList<String>(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(t));\n\t\t\t\t\t\n\t\t\t\t\tIterator<String> itemp = test.iterator();\n\t\t\t\t\t\n\t\t\t\t\twhile(itemp.hasNext()){\n\t\t\t\t\t\n\t\t\t\t\t\tString url = itemp.next();\n\t\t\t\t\t\t\n\t\t\t\t\t\tint[] sc = LBPCreatorMap.get(url);\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(sc == null){\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tsc = new int[NO_SERVERS];\n\t\t\t\t\t\t\tsc[as.serverNo]++;\n\t\t\t\t\t\t\tLBPCreatorMap.put(url, sc);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tsc[as.serverNo]++;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\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}\n\t\t\n\t\tIterator<String> iturl = LBPCreatorMap.keySet().iterator();\n\t\t\n\t\twhile(iturl.hasNext()){\n\t\t\t\n\t\t\tString url = iturl.next();\n\t\t\t\n\t\t\tint[] sc = LBPCreatorMap.get(url);\n\t\t\t\n\t\t\tint size = sc.length;\n\t\t\tint maxtemp=0;\n\t\t\tint maxindex=0;\n\t\t\tint val;\n\t\t\t\n\t\t\t\n\t\t\tfor(int i=0; i< size; i++){\n\t\t\t\t\n\t\t\t\tval = sc[i];\n\t\t\t\tif(val > maxtemp)\n\t\t\t\t{\n\t\t\t\t\tmaxtemp = val;\n\t\t\t\t\tmaxindex = i;\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\tString xyz = manager.getASServer(maxindex).serverId;\n\t\t\tthis.currentLBPolicy.mapUrlToServers(url, Analyser.resolveHost(xyz));\n\t\t\t\n\t\t\t\n//\t\t\tif(mLogger.isInfoEnabled()){\n//\t\t\t\tmLogger.log(Priority.INFO, \":\" + url + \": being assigned to: \" + xyz);\n//\t\t\t}\n\t\t\t\n\t\t\tInteger sId = LBDMap.get(xyz);\n\t\t\t\n\t\t\tif(sId == null){\n\t\t\t\tsId=new Integer(1);\n\t\t\t\tLBDMap.put(xyz, sId);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsId++;\n\t\t\t\tLBDMap.put(xyz, sId);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n//\t\tSystem.out.println(\"------------URL ServerCounter start---------------\");\n//\t\t\n//\t\tIterator<String> ilbp = LBPCreatorMap.keySet().iterator();\n//\t\t\n//\t\twhile(ilbp.hasNext()){\n//\t\t\t\n//\t\t\tString url = ilbp.next();\n//\t\t\tint[] pi = LBPCreatorMap.get(url);\n//\t\t\tSystem.out.println(\"url is:\" + url);\n//\t\t\tfor(int i=0; i< pi.length; i++){\n//\t\t\t\tSystem.out.print(\"Site:\"+ i + \":\" + pi[i]);\n//\t\t\t}\n//\t\t}\n//\t\t\n////\t\t//System.out.println(\"Number of entries corresponding to LBPolicy for localhost are: \" + currentLBPolicy.policyMap.values().size() );\n//\t\n//\t\tSystem.out.println(\"------------URL ServerCounter end-----------------\");\n\t\t\n\t\tSystem.out.println(\"------------LBPolicy start---------------\");\n//\t\tSystem.out.println(currentLBPolicy);\n//\t\t\n//\t\tSystem.out.println(\"Number of entries in LBPolicy are: \" + currentLBPolicy.policyMap.size() );\n\t\t\n\t\tIterator<String> itlb = LBDMap.keySet().iterator();\n\t\t\n\t\twhile(itlb.hasNext()){\n\t\t\tString serid = itlb.next();\n\t\t\t\n\t\t\tSystem.out.println(\"Server:\" + serid + \" has been allocated: \" + LBDMap.get(serid) + \" objects\");\n\t\t}\n\t\t\n//\t\n\t\tSystem.out.println(\"------------LBPolicy end-----------------\");\n\t\n\n\t\t\n\t}", "public PlayoutPolicyLastGoodResponse(ForwardDeadReckonPropnetStateMachine xiStateMachine)\n {\n stateMachine = xiStateMachine;\n bestResponseScores = new float[stateMachine.getFullPropNet().getMasterMoveList().length][stateMachine.getFullPropNet().getMasterMoveList().length];\n responseSampleSize = new float[stateMachine.getFullPropNet().getMasterMoveList().length][stateMachine.getFullPropNet().getMasterMoveList().length];\n opponentEquivalent = new int[stateMachine.getFullPropNet().getMasterMoveList().length];\n\n for(int i = 0; i < stateMachine.getFullPropNet().getMasterMoveList().length; i++)\n {\n opponentEquivalent[i] = -1;\n for(int j = 0; j < stateMachine.getFullPropNet().getMasterMoveList().length; j++)\n {\n if (i != j &&\n stateMachine.getFullPropNet().getMasterMoveList()[i] != null &&\n stateMachine.getFullPropNet().getMasterMoveList()[j] != null &&\n stateMachine.getFullPropNet().getMasterMoveList()[i].mMove.equals(stateMachine.getFullPropNet().getMasterMoveList()[j].mMove))\n {\n opponentEquivalent[i] = j;\n break;\n }\n }\n }\n\n ourRoleIndex = stateMachine.getRoleOrdering().getOurRawRoleIndex();\n ourRole = stateMachine.getRoleOrdering().getOurRole();\n }", "public String isProblemPolicy(Record inputRecord);", "public HashMap<String, Integer> setResults(ArrayList<HasCodeSmell> trueResults) { \n\t\t\tHashMap<String, Integer> mapValues = new HashMap<>();\n\t\t\tint falsepositive = 0;\n\t\t\tint falsenegative = 0;\n\t\t\tint truepositive = 0;\n\t\t\tint truenegative = 0;\n\t\t\tfor (HasCodeSmell indicator : result) {\n\t\t\t\tif(indicator.isMethod()) {\n\t\t\t\t\tfor (HasCodeSmell calculated : trueResults) {\n\t\t\t\t\t\t\tif (indicator.isEqual(calculated)) {\n\t\t\t\t\t\t\t\tif (calculator.isTruePositive(indicator, calculated)) truepositive++;\n\t\t\t\t\t\t\t\telse if (calculator.isFalsePositive(indicator, calculated)) falsepositive++;\n\t\t\t\t\t\t\t\telse if (calculator.isFalseNegative(indicator, calculated)) falsenegative++;\n\t\t\t\t\t\t\t\telse if (calculator.isTrueNegative(indicator, calculated)) truenegative++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tmapValues.put(QualityCalculator.FALSE_POSITIVE, falsepositive);\n\t\t\tmapValues.put(QualityCalculator.FALSE_NEGATIVE, falsenegative);\n\t\t\tmapValues.put(QualityCalculator.TRUE_POSITIVE, truepositive);\n\t\t\tmapValues.put(QualityCalculator.TRUE_NEGATIVE, truenegative);\n\t\t\treturn mapValues;\n\t\t}", "com.google.privacy.dlp.v2.CustomInfoType.DetectionRule getDetectionRules(int index);", "public static void caso32(){\n\t FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso3.owl\",\"file:resources/caso3.repository\",fm);\n\t\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"response2\");\n\t\t\tif(map==null){\n\t\t\t\tSystem.out.println(\"El map es null\");\n\t\t\t}else{\n\t\t\t\tMapUtils.imprimirMap(map);\n\t\t\t}\n\t}", "@Test\n public void TestCase2() {\n VariableMap variables = Variables\n .putValue(\"Role\", \"Executive\")\n .putValue(\"BusinessProcess\", \"Merit Increase\")\n .putValue(\"DelegationDateRange\", \"2019-04-31T00:00:00\");\n\n DmnDecisionTableResult result = dmnEngine.evaluateDecisionTable(decision, variables);\n\n // Need to establish rule ordering\n assertThat(result.collectEntries(\"result\"))\n .hasSize(1)\n .contains(\"John M\");\n }", "public abstract List<AbstractPolicy> getPolicies();", "protected void loadMediationPoliciesFromMigratedAPIToAPI(API api, String organization)\n throws APIManagementException {\n\n List<OperationPolicy> policiesList = (api.getApiPolicies() != null) ? api.getApiPolicies() : new ArrayList<>();\n // This method is used to handle the migration\n\n // Get all policies\n if (APIUtil.isSequenceDefined(api.getInSequence())) {\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(api.getInSequence(),\n APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null, organization, false);\n OperationPolicy inFlowPolicy = new OperationPolicy();\n inFlowPolicy.setPolicyName(api.getInSequence());\n inFlowPolicy.setDirection(APIConstants.OPERATION_SEQUENCE_TYPE_REQUEST);\n inFlowPolicy.setOrder(1);\n if (existingPolicy != null) {\n inFlowPolicy.setPolicyId(existingPolicy.getPolicyId());\n api.setInSequence(null);\n }\n policiesList.add(inFlowPolicy);\n }\n if (APIUtil.isSequenceDefined(api.getOutSequence())) {\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(api.getOutSequence(),\n APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null, organization, false);\n OperationPolicy outFlowPolicy = new OperationPolicy();\n outFlowPolicy.setPolicyName(api.getOutSequence());\n outFlowPolicy.setDirection(APIConstants.OPERATION_SEQUENCE_TYPE_RESPONSE);\n outFlowPolicy.setOrder(1);\n if (existingPolicy != null) {\n outFlowPolicy.setPolicyId(existingPolicy.getPolicyId());\n api.setOutSequence(null);\n }\n policiesList.add(outFlowPolicy);\n }\n if (APIUtil.isSequenceDefined(api.getFaultSequence())) {\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(api.getFaultSequence(),\n APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null, organization, false);\n OperationPolicy faultFlowPolicy = new OperationPolicy();\n faultFlowPolicy.setPolicyName(api.getFaultSequence());\n faultFlowPolicy.setDirection(APIConstants.OPERATION_SEQUENCE_TYPE_FAULT);\n faultFlowPolicy.setOrder(1);\n if (existingPolicy != null) {\n faultFlowPolicy.setPolicyId(existingPolicy.getPolicyId());\n api.setFaultSequence(null);\n }\n policiesList.add(faultFlowPolicy);\n }\n\n // Add as API level policies\n if (!policiesList.isEmpty()) {\n api.setApiPolicies(policiesList);\n }\n }", "@Test\n void adjectivesScoring() {\n NLPAnalyser np = new NLPAnalyser();\n List<CoreMap> sentences = np.nlpPipeline(\"RT This made my day; glad @JeremyKappell is standing up against #ROC’s disgusting mayor. \"\n + \"Former TV meteorologist Jeremy Kappell suing Mayor Lovely Warren\"\n + \"https://t.co/rJIV5SN9vB (Via NEWS 8 WROC)\");\n HashMap<String, Double> as = np.adjectivesScoring(sentences);\n for (String key : as.keySet()) {\n Double value = as.get(key);\n assertTrue(value >= 0 && value <= 4);\n }\n }", "public static void caso11(){\n\t\t\n FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso1.owl\",\"file:resources/caso1.repository\",fm);\n\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"response\");\n\t\tMapUtils.imprimirMap(map);\n\t}", "@Test\n public void TestCase1() {\n VariableMap variables = Variables\n .putValue(\"Role\", \"Executive\")\n .putValue(\"BusinessProcess\", \"PTO Request\")\n .putValue(\"DelegationDateRange\", \"2019-04-31T00:00:00\");\n\n DmnDecisionTableResult result = dmnEngine.evaluateDecisionTable(decision, variables);\n\n // Need to establish rule ordering\n assertThat(result.collectEntries(\"result\"))\n .hasSize(2)\n .contains(\"John M\")\n .contains(\"Kerry\");\n }", "Permeability getPermeability();", "public interface ListEvaluation extends Metric {\n /**\n * Adds generated list for a specific user for internal calculation\n * \n * @param user\n * A target {@link User} which normally comes from test data\n * @param list\n * Generate item list with related predicted rating for a given\n * {@link User}\n */\n void addRecommendations(User user, Map<Integer, Float> list);\n\n /**\n * Returns the calculated result\n * \n * @return The calculated result\n */\n float getEvaluationResult();\n \n /**\n * Set train data. Train data neede for some metrics such as popularity\n * @param trainData\n */\n void setTrainData(DataModel trainData);\n}", "public Scenario generate() {\n\n //generate random number of Passenger(all human)\n ArrayList liPsg = new ArrayList();\n int totalNumOfPsg = (int) (rd.nextDouble() * PassengerCountMax + PassengerCountMin); //at least one Psg\n for (int i = 0; i < totalNumOfPsg; i++) {\n liPsg.add(getRandomPerson());\n }\n //System.out.println(\"PassengerNum= \"+totalNumOfPsg);\n\n\n //generate random number of Pedestrians(with Max 5) & allocate person+animal randomly(human+animal)\n ArrayList liPdt = new ArrayList();\n int totalNumOfPdst = (int) (rd.nextDouble() * PedestrianCountMax + PedestrianCountMin);//at least one Pdg\n int NumOfPerson = (int) Math.round(rd.nextDouble() * totalNumOfPdst);//if only 1 pdt,along with randomDouble<0.5 , 0.4x*1 rounded=0, will only an animal\n //so if you are random being in pdt but pdt only an animal, you neither wont be in scenario, so your negative probability in scenario is higher.\n int NumOfAnimal = totalNumOfPdst - NumOfPerson;\n for (int i = 0; i < NumOfPerson; i++) {\n liPdt.add(getRandomPerson());\n }\n for (int i = 0; i < NumOfAnimal; i++) {\n liPdt.add(getRandomAnimal());\n }\n //System.out.println(\"PedestrianNum= \"+totalNumOfPdst+\" with \"+NumOfPerson+\" human and \"+NumOfAnimal+\" animals\");\n\n\n //allocating where you are, 0=you absence & do nothing, 1=you in car, 2=you on road !!!!yeah happy solving\n int allocate_of_user = (int) Math.round(rd.nextDouble() * 2);\n if (allocate_of_user == 1) {\n ((Person) liPsg.get(0)).setAsYou(true); //set the first psg is you. !!!!!important Cast Obj into Person!!!!\n } else if (allocate_of_user == 2) {\n for (int i = 0; i < liPdt.size(); i++) {\n if (liPdt.get(i) instanceof Person) {//check whether a person\n ((Person) liPdt.get(i)).setAsYou(true);\n break; // only set once than break rather than set all of people of pdt is you\n }\n }\n }\n\n //Scenario(ArrayList<Character> passengers, ArrayList<Character> pedestrians, boolean isLegalCrossing)\n S = new Scenario(liPsg, liPdt, rd.nextBoolean()); //isLegalCrossing = red or green light;\n return S;\n }", "public static void caso41(){\n FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso4.owl\",\"file:resources/caso4.repository\",fm);\n\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"response1\");\n\t\tif(map==null){\n\t\t\tSystem.out.println(\"El map es null\");\n\t\t}else{\n\t\t\tMapUtils.imprimirMap(map);\n\t\t}\n\t}", "protected void migrateMediationPoliciesOfAPI(API api, String organization, boolean updatePolicyMapping)\n throws APIManagementException {\n\n Map<String, String> clonedPoliciesMap = new HashMap<>();\n String apiUUID = api.getUuid();\n\n loadMediationPoliciesToAPI(api, organization);\n\n if (APIUtil.isSequenceDefined(api.getInSequence())) {\n Mediation inSequenceMediation = api.getInSequenceMediation();\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(\n inSequenceMediation.getName(), APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null,\n organization, false);\n String inFlowPolicyId;\n if (existingPolicy == null) {\n OperationPolicyData inSeqPolicyData =\n APIUtil.getPolicyDataForMediationFlow(api, APIConstants.OPERATION_SEQUENCE_TYPE_REQUEST,\n organization);\n inFlowPolicyId = addAPISpecificOperationPolicy(apiUUID, inSeqPolicyData, organization);\n } else {\n inFlowPolicyId = existingPolicy.getPolicyId();\n }\n clonedPoliciesMap.put(inSequenceMediation.getName(), inFlowPolicyId);\n api.setInSequence(null);\n api.setInSequenceMediation(null);\n }\n\n if (APIUtil.isSequenceDefined(api.getOutSequence())) {\n Mediation outSequenceMediation = api.getOutSequenceMediation();\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(\n outSequenceMediation.getName(), APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null,\n organization, false);\n String outFlowPolicyId;\n if (existingPolicy == null) {\n OperationPolicyData outSeqPolicyData =\n APIUtil.getPolicyDataForMediationFlow(api, APIConstants.OPERATION_SEQUENCE_TYPE_RESPONSE,\n organization);\n outFlowPolicyId = addAPISpecificOperationPolicy(apiUUID, outSeqPolicyData, organization);\n } else {\n outFlowPolicyId = existingPolicy.getPolicyId();\n }\n clonedPoliciesMap.put(outSequenceMediation.getName(), outFlowPolicyId);\n api.setOutSequence(null);\n api.setOutSequenceMediation(null);\n }\n\n if (APIUtil.isSequenceDefined(api.getFaultSequence())) {\n Mediation faultSequenceMediation = api.getFaultSequenceMediation();\n OperationPolicyData existingPolicy = getAPISpecificOperationPolicyByPolicyName(\n faultSequenceMediation.getName(), APIConstants.DEFAULT_POLICY_VERSION, api.getUuid(), null,\n organization, false);\n String faultFlowPolicyId;\n if (existingPolicy == null) {\n OperationPolicyData faultSeqPolicyData =\n APIUtil.getPolicyDataForMediationFlow(api, APIConstants.OPERATION_SEQUENCE_TYPE_FAULT,\n organization);\n faultFlowPolicyId = addAPISpecificOperationPolicy(apiUUID, faultSeqPolicyData, organization);\n } else {\n faultFlowPolicyId = existingPolicy.getPolicyId();\n }\n\n clonedPoliciesMap.put(faultSequenceMediation.getName(), faultFlowPolicyId);\n api.setFaultSequence(null);\n api.setFaultSequenceMediation(null);\n }\n\n setMigratedPolicyIdsToPolicies(api, clonedPoliciesMap, updatePolicyMapping);\n }", "private void fillPolicyMatrix(double[][] policyMatrix, int i, double[][] vResults, double vDenom) {\n\t\tint m = mExplicitMDP.getNumActions();\n\n\t\t// Interpret x_ia as the limiting probability under a stationary (deterministic) policy that the\n\t\t// system occupies state i and chooses action a when the initial state distribution is alpha.\n\n\t\tfor (int a = 0; a < m; a++) {\n\t\t\t// Exclude any v_ia value when action a is not applicable in state i\n\t\t\tif (mExplicitMDP.isActionApplicable(i, a)) {\n\t\t\t\t// pi_ia = x_ia / sum_a (x_ia) for recurrent states\n\t\t\t\t// OR\n\t\t\t\t// pi_ia = y_ia / sum_a (y_ia) for transient states\n\t\t\t\tpolicyMatrix[i][a] = vResults[i][a] / vDenom;\n\t\t\t}\n\t\t}\n\t}", "public static List<String> checkMedicineForm (Map<String,String> parameters){\n List<String> wrongFields=new ArrayList<>();\n for (Map.Entry<String,String> parameter:parameters.entrySet()){\n switch (parameter.getKey()){\n case ParameterMedicine.MEDICINE_NAME:\n if (!checkPatternAppropriateness(Patterns.MEDICINE_NAME,parameter.getValue())){\n wrongFields.add(ParameterMedicine.MEDICINE_NAME);\n }\n break;\n case ParameterMedicine.MEDICINE_DOSAGE:\n if (!checkPatternAppropriateness(Patterns.DOSAGE,parameter.getValue())){\n wrongFields.add(ParameterMedicine.MEDICINE_DOSAGE);\n }\n break;\n case ParameterMedicine.MEDICINE_PACKAGE:\n if (!checkPatternAppropriateness(Patterns.MEDICINE_PACKAGE,parameter.getValue())){\n wrongFields.add(ParameterMedicine.MEDICINE_PACKAGE);\n }\n break;\n case ParameterMedicine.PACK_QUANTITY:\n if (!checkPatternAppropriateness(Patterns.QUANTITY,parameter.getValue())){\n wrongFields.add(ParameterMedicine.PACK_QUANTITY);\n }\n break;\n case ParameterMedicine.IN_STORE_QUANTITY:\n if (!checkPatternAppropriateness(Patterns.QUANTITY,parameter.getValue())){\n wrongFields.add(ParameterMedicine.IN_STORE_QUANTITY);\n }\n break;\n case ParameterMedicine.PRICE:\n if (!checkPatternAppropriateness(Patterns.PRICE,parameter.getValue())){\n wrongFields.add(ParameterMedicine.PRICE);\n }\n break;\n }\n }\n return wrongFields;\n }", "public static void caso21(){\n\t\t\n FilterManager fm= new FilterManager(\"resources/stopWordsList.txt\",\"resources/useCaseWeight.properties\");\n\t\tQualityAttributeBelongable qualityAttributeBelongable = new OntologyManager(\"file:resources/caso2.owl\",\"file:resources/caso2.repository\",fm);\n\t\tMap<QualityAttributeInterface,Double> map = qualityAttributeBelongable.getWordPertenence(\"response2\");\n\t\tif(map==null){\n\t\t\tSystem.out.println(\"El map es null\");\n\t\t}else{\n\t\t\tMapUtils.imprimirMap(map);\n\t\t}\n\t}", "net.nyhm.protonet.example.proto.LoginProto.LoginResponse.Decision getDecision();", "@Test\n public void testDecisionRule2() throws IOException {\n \n Data data = getDataObject(\"./data/adult.csv\");\n DataHandle handle = data.getHandle();\n \n RiskModelPopulationUniqueness model = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.1d)).getPopulationBasedUniquenessRisk();\n double sampleUniqueness = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.1d)).getSampleBasedUniquenessRisk().getFractionOfUniqueRecords();\n double populationUniqueness = model.getFractionOfUniqueTuplesDankar();\n \n if (model.getPopulationUniquenessModel() == PopulationUniquenessModel.PITMAN) {\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, 0.27684993883653597) == 0);\n } else if (model.getPopulationUniquenessModel() == PopulationUniquenessModel.ZAYATZ) {\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, 0.3207402393466189) == 0);\n } else {\n fail(\"Unexpected convergence of SNB\");\n }\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, sampleUniqueness) <= 0);\n \n model = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.2d)).getPopulationBasedUniquenessRisk();\n populationUniqueness = model.getFractionOfUniqueTuplesDankar();\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, 0.3577099234829125d) == 0);\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, sampleUniqueness) <= 0);\n \n model = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 0.01d)).getPopulationBasedUniquenessRisk();\n populationUniqueness = model.getFractionOfUniqueTuplesDankar();\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, 0.1446083531167384) == 0);\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, sampleUniqueness) <= 0);\n \n model = handle.getRiskEstimator(ARXPopulationModel.create(handle.getNumRows(), 1d)).getPopulationBasedUniquenessRisk();\n populationUniqueness = model.getFractionOfUniqueTuplesDankar();\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, 0.5142895033485844) == 0);\n assertTrue(populationUniqueness + \"/\" + sampleUniqueness, compareUniqueness(populationUniqueness, sampleUniqueness) == 0);\n }", "public static double tryPolicy(Policy policy, Problem prob) {\n\t\tint totalUtility = 0;\n\t\tint totalMoves = 0;\n\t\tfor (int i = 0; i < ITERATIONS; i++) {\n\t\t\t// Random empty starting loc\n\t\t\tint row, col;\n\t\t\tdo {\n\t\t\t\trow = rng.nextInt(prob.map.size());\n\t\t\t\tcol = rng.nextInt(prob.map.get(0).size());\n\t\t\t} while (!prob.map.get(row).get(col).equals(\"-\"));\n\t\t\t// Run until pit, gold, or MAX_MOVES timeout \n\t\t\t// (in case policy recommends driving into wall repeatedly,\n\t\t\t// for example)\n\t\t\tfor (int moves = 0; moves < MAX_MOVES; moves++) {\n\t\t\t\ttotalMoves++;\n\t\t\t\tString policyRec = policy.bestActions[row][col];\n\t\t\t\t// Determine how far we go in that direction\n\t\t\t\tint displacement = 1;\n\t\t\t\tdouble totalProb = 0;\n\t\t\t\tdouble moveSample = rng.nextDouble();\n\t\t\t\tfor (int p = 0; p <= prob.moveProbs.length; p++) {\n\t\t\t\t\ttotalProb += prob.moveProbs[p];\n\t\t\t\t\tif (moveSample <= totalProb) {\n\t\t\t\t\t\tdisplacement = p+1;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tint new_row = row;\n\t\t\t\tint new_col = col;\n\t\t\t\tif (policyRec.equals(\"U\")) {\n\t\t\t\t\tnew_row -= displacement;\n\t\t\t\t\tif (new_row < 0) {\n\t\t\t\t\t\tnew_row = 0;\n\t\t\t\t\t}\n\t\t\t\t} else if (policyRec.equals(\"R\")) {\n\t\t\t\t\tnew_col += displacement;\n\t\t\t\t\tif (new_col >= prob.map.get(0).size()) {\n\t\t\t\t\t\tnew_col = prob.map.get(0).size()-1;\n\t\t\t\t\t}\n\t\t\t\t} else if (policyRec.equals(\"D\")) {\n\t\t\t\t\tnew_row += displacement;\n\t\t\t\t\tif (new_row >= prob.map.size()) {\n\t\t\t\t\t\tnew_row = prob.map.size()-1;\n\t\t\t\t\t}\n\t\t\t\t} else if (policyRec.equals(\"L\")) {\n\t\t\t\t\tnew_col -= displacement;\n\t\t\t\t\tif (new_col < 0) {\n\t\t\t\t\t\tnew_col = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\trow = new_row;\n\t\t\t\tcol = new_col;\n\t\t\t\tif (prob.map.get(row).get(col).equals(\"G\")) {\n\t\t\t\t\ttotalUtility += GOLD_REWARD;\n\t\t\t\t\t// End the current trial\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (prob.map.get(row).get(col).equals(\"P\")) {\n\t\t\t\t\ttotalUtility += PIT_REWARD;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn totalUtility/(double)totalMoves;\n\t}", "public void dmall() {\n \r\n BufferedReader datafile = readDataFile(\"Work//weka-malware.arff\");\r\n \r\n Instances data = null;\r\n\t\ttry {\r\n\t\t\tdata = new Instances(datafile);\r\n\t\t} catch (IOException e1) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n data.setClassIndex(data.numAttributes() - 1);\r\n \r\n // Choose a type of validation split\r\n Instances[][] split = crossValidationSplit(data, 10);\r\n \r\n // Separate split into training and testing arrays\r\n Instances[] trainingSplits = split[0];\r\n Instances[] testingSplits = split[1];\r\n \r\n // Choose a set of classifiers\r\n Classifier[] models = { new J48(),\r\n new DecisionTable(),\r\n new DecisionStump(),\r\n new BayesianLogisticRegression() };\r\n \r\n // Run for each classifier model\r\n//for(int j = 0; j < models.length; j++) {\r\n int j = 0;\r\n \tswitch (comboClassifiers.getSelectedItem().toString()) {\r\n\t\t\tcase \"J48\":\r\n\t\t\t\tj = 0;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"DecisionTable\":\r\n\t\t\t\tj = 1;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"DecisionStump\":\r\n\t\t\t\tj = 2;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"BayesianLogisticRegression\":\r\n\t\t\t\tj = 3;\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\r\n\r\n // Collect every group of predictions for current model in a FastVector\r\n FastVector predictions = new FastVector();\r\n \r\n // For each training-testing split pair, train and test the classifier\r\n for(int i = 0; i < trainingSplits.length; i++) {\r\n Evaluation validation = null;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tvalidation = simpleClassify(models[j], trainingSplits[i], testingSplits[i]);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n predictions.appendElements(validation.predictions());\r\n \r\n // Uncomment to see the summary for each training-testing pair.\r\n// textArea.append(models[j].toString() + \"\\n\");\r\n textArea.setText(models[j].toString() + \"\\n\");\r\n// System.out.println(models[j].toString());\r\n }\r\n \r\n // Calculate overall accuracy of current classifier on all splits\r\n double accuracy = calculateAccuracy(predictions);\r\n \r\n // Print current classifier's name and accuracy in a complicated, but nice-looking way.\r\n textArea.append(models[j].getClass().getSimpleName() + \": \" + String.format(\"%.2f%%\", accuracy) + \"\\n=====================\\n\");\r\n System.out.println(models[j].getClass().getSimpleName() + \": \" + String.format(\"%.2f%%\", accuracy) + \"\\n=====================\");\r\n//}\r\n \r\n\t}", "MetricOuterClass.Metric getMetricTreatment();", "@Test\r\n public void testGetPredictedDiseaseAssociationsForMgiGeneId() {\r\n String mgiGeneId = \"MGI:95523\";\r\n\r\n Map<Disease, Set<DiseaseAssociation>> result = instance.getPredictedDiseaseAssociationsForMgiGeneId(mgiGeneId);\r\n \r\n// for (Disease disease : result.keySet()) {\r\n// System.out.println(disease);\r\n// for (DiseaseAssociation diseaseAssociation : result.get(disease)) {\r\n// System.out.println(String.format(\" %s\", diseaseAssociation));\r\n// }\r\n// }\r\n assertTrue(result.keySet().size() > 290);\r\n }", "protected Response checkResponse(Response plainAnswer) throws WSException{\n if(plainAnswer!=null)\n switch(plainAnswer.getStatus()){\n //good answers\n case 200: {\n return plainAnswer;\n }//OK\n case 202: {\n return plainAnswer;\n }//ACCEPTED \n case 201: {\n return plainAnswer;\n }//CREATED\n //To be evaluate\n case 204: {\n return plainAnswer;\n }//NO_CONTENT\n //bad answers\n case 400: {\n throw new WSException400(\"BAD REQUEST! The action can't be completed\");\n }//BAD_REQUEST \n case 409: {\n throw new WSException409(\"CONFLICT! The action can't be completed\");\n }//CONFLICT \n case 403: {\n throw new WSException403(\"FORBIDDEN!The action can't be completed\");\n }//FORBIDDEN \n case 410: {\n throw new WSException410(\"GONE! The action can't be completed\");\n }//GONE\n case 500: {\n throw new WSException500(\"INTERNAL_SERVER_ERROR! The action can't be completed\");\n }//INTERNAL_SERVER_ERROR \n case 301: {\n throw new WSException301(\"MOVED_PERMANENTLY! The action can't be completed\");\n }//MOVED_PERMANENTLY \n case 406: {\n throw new WSException406(\"NOT_ACCEPTABLE! The action can't be completed\");\n }//NOT_ACCEPTABLE\n case 404: {\n throw new WSException404(\"NOT_FOUND! The action can't be completed\");\n }//NOT_FOUND\n case 304: {\n throw new WSException304(\"NOT_MODIFIED! The action can't be completed\");\n }//NOT_MODIFIED \n case 412: {\n throw new WSException412(\"PRECONDITION_FAILED! The action can't be completed\");\n }//PRECONDITION_FAILED \n case 303: {\n throw new WSException303(\"SEE_OTHER! The action can't be completed\");\n }//SEE_OTHER\n case 503: {\n throw new WSException503(\"SERVICE_UNAVAILABLE! The action can't be completed\");\n }//SERVICE_UNAVAILABLE\n case 307: {\n throw new WSException307(\"TEMPORARY_REDIRECT! The action can't be completed\");\n }//TEMPORARY_REDIRECT \n case 401: {\n throw new WSException401(\"UNAUTHORIZED! The action can't be completed\");\n }//UNAUTHORIZED \n case 415: {\n throw new WSException415(\"UNSUPPORTED_MEDIA_TYPE! The action can't be completed\");\n }//UNSUPPORTED_MEDIA_TYPE \n }\n return plainAnswer;\n }", "private static ArmifiedAttributeValuePair armified(AttributeValuePair avp) {\n return new ArmifiedAttributeValuePair(avp.getAttribute(), avp.getValue(), \"\", \"\");\n }", "public static CustomPolicy createDefaultCustomPolicy() {\n CustomPolicy customPolicy = new CustomPolicy(SAMPLE_CUSTOM_RULE);\n customPolicy.setKeyTemplate(\"$userId\");\n String siddhiQuery = \"FROM RequestStream SELECT userId, ( userId == '[email protected]' ) AS isEligible , \"\n + \"str:concat('[email protected]','') as throttleKey INSERT INTO EligibilityStream;\"\n + \"FROM EligibilityStream[isEligible==true]#throttler:timeBatch(1 min) SELECT throttleKey, \"\n + \"(count(userId) >= 5 as isThrottled, expiryTimeStamp group by throttleKey INSERT ALL EVENTS into \"\n + \"ResultStream;\";\n\n customPolicy.setSiddhiQuery(siddhiQuery);\n customPolicy.setDescription(\"Sample custom policy\");\n return customPolicy;\n }", "private Map<String, Integer> getPuntuation(List<Point> points, Trial trial){\n\t\t//Resultados de la prueba sin dividir por categorias\n\t\tList<Result> results = trial.getResults();\n\t\t//ordenar los resultados de la prueba por segundos\n\t\tresults.sort((a,b) -> a.getSeconds() < b.getSeconds() ? -1 : a.getSeconds() == b.getSeconds() ? 0 : 1);\n\t\t\n\t\treturn setPuntuation(points, results);\n\t}", "private Map<SillyBot, List<IntermediateResult>> callAnalysis(Map<RestBot, SillyBot> botMap,\n\t\t\tList<RestArchitecture> architecturalAlternatives) {\n\t\tMap<SillyBot, List<IntermediateResult>> result = new HashMap<>();\n\t\t// generate empty lists\n\t\tfor (SillyBot sillyBot : botMap.values()) {\n\t\t\tresult.put(sillyBot, new ArrayList<>());\n\t\t}\n\t\t// call bots in parallel is better than calling all for one bot first\n\t\tfor (RestArchitecture currentArchitecture : architecturalAlternatives) {\n\t\t\tfor (RestBot restBot : botMap.keySet()) {\n\t\t\t\tIntermediateResult intermediateResult = new IntermediateResult();\n\t\t\t\tintermediateResult.analysisResult = restBot.analyze(currentArchitecture);\n\t\t\t\tintermediateResult.name = currentArchitecture.getName();\n\t\t\t\tresult.get(botMap.get(restBot)).add(intermediateResult);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "protected abstract boolean makeDecision (Map<Key, Object> context);", "private void analyze() {\n\t\tdouble org = 0;\n\t\tdouble avgIndPerDoc = 0;\n\t\tdouble avgTotalPerDoc = 0;\n\n\t\tfor (Instance instance : instanceProvider.getInstances()) {\n\n\t\t\tint g = 0;\n\t\t\tSet<AbstractAnnotation> orgM = new HashSet<>();\n\n//\t\t\torgM.addAll(instance.getGoldAnnotations().getAnnotations());\n//\t\t\tg += instance.getGoldAnnotations().getAnnotations().size();\n\n\t\t\tfor (AbstractAnnotation instance2 : instance.getGoldAnnotations().getAnnotations()) {\n\n\t\t\t\tResult r = new Result(instance2);\n\n\t\t\t\t{\n////\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getTrend());\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getInvestigationMethod());\n////\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(\n////\t\t\t\t\t\t\tr.getDefinedExperimentalGroups().stream().map(a -> a.get()).collect(Collectors.toList()));\n//\n//\t\t\t\t\torgM.addAll(aa);\n//\t\t\t\t\tg += aa.size();\n\t\t\t\t}\n\n\t\t\t\t{\n\t\t\t\t\t/**\n\t\t\t\t\t * props of exp\n\t\t\t\t\t */\n\t\t\t\t\tfor (DefinedExperimentalGroup instance3 : r.getDefinedExperimentalGroups()) {\n\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getOrganismModel());\n//\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(instance3.getTreatments());\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> ab = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getDeliveryMethods().stream())\n\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n\t\t\t\t\t\taa.addAll(instance3.getTreatments().stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Treatment(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getDeliveryMethod()).filter(i -> i != null)\n\t\t\t\t\t\t\t\t.collect(Collectors.toList()));\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getAnaesthetics().stream())\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryDevice()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\t// List<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryLocation()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\torgM.addAll(aa);\n\t\t\t\t\t\tg += aa.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tavgIndPerDoc += orgM.size();\n\t\t\tavgTotalPerDoc += g;\n\n\t\t\torg += ((double) orgM.size()) / (g == 0 ? 1 : g);\n//\t\t\tSystem.out.println(((double) orgM.size()) / g);\n\n\t\t}\n\t\tSystem.out.println(\"avgTotalPerDoc = \" + avgTotalPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"avgIndPerDoc = \" + avgIndPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"org = \" + org);\n\t\tSystem.out.println(\"avg. org = \" + (org / instanceProvider.getInstances().size()));\n\t\tSystem.out.println(new DecimalFormat(\"0.00\").format(avgTotalPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(avgIndPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(org / instanceProvider.getInstances().size()));\n\t\tSystem.exit(1);\n\n\t\tStats.countVariables(0, instanceProvider.getInstances());\n\n\t\tint count = 0;\n\t\tfor (SlotType slotType : EntityType.get(\"Result\").getSlots()) {\n\n\t\t\tif (slotType.isExcluded())\n\t\t\t\tcontinue;\n\t\t\tcount++;\n\t\t\tSystem.out.println(slotType.name);\n\n\t\t}\n\t\tSystem.out.println(count);\n\t\tSystem.exit(1);\n\t}", "@Test\n public void testMetastableMemberships()\n {\n IDoubleArray M = null;\n int nstates = 0;\n MarkovModelUtilities instance = new MarkovModelUtilities();\n IDoubleArray expResult = null;\n IDoubleArray result = instance.metastableMemberships(M, nstates);\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 }", "@Override\n public ExamResult process(ExamResult result) throws Exception {\n\n if (result.getPercentage() < 75) {\n\n log.info(\"Processing result :\" + result + \" filter out..\");\n return null;\n\n } else\n log.info(\"Processing result :\" + result);\n\n return result;\n }", "@Test\n\tpublic void testWarm_DetailedThenTechnologyAverageElseAbort_FallbackToTechnologyAverage() {\n\t\tEmissionModule emissionModule = setUpScenario(EmissionsConfigGroup.DetailedVsAverageLookupBehavior.tryDetailedThenTechnologyAverageElseAbort);\n\n\t\tdouble travelTimeOnLink = 21; //sec. approx freeSpeed of link12 is : (200 m) / (9.72.. m/s) approx 20.57 s\n\t\tMap<Pollutant, Double> warmEmissions = emissionModule.getWarmEmissionAnalysisModule().checkVehicleInfoAndCalculateWarmEmissions(vehicleFallbackToTechnologyAverage, link, travelTimeOnLink);\n\n\t\tdouble expectedValue = 31.53711548; // = 200m * 157.6855774 g/km\n\t\tAssert.assertEquals( expectedValue, warmEmissions.get(Pollutant.CO2_TOTAL ), MatsimTestUtils.EPSILON );\n\t}", "public interface UserPolicyService {\n\n /**\n * 查询散标策略总数\n */\n UserPolicyResult getUserPolicyCount(UserPolicyParam param);\n\n /**\n * 查询用户所有 散标策略\n */\n UserPolicyResult getLoanPolicy(Long id);\n\n /**\n * 查询用户主策略\n */\n List<UserMainPolicyVO> getUserMainPolicies(Long userId, String thirdUserUUID);\n\n /**\n * 查询用户主策略\n */\n List<UserMainPolicy> getUserMainPolicies(UserMainPolicy userMainPolicy);\n\n /**\n * 查唯一 isDeleted = false\n */\n UserMainPolicyVO getUserMainPolicy(Long userId, String thirdUserUUID, Long mainPolicyId);\n\n /**\n * 保存用户主策略\n */\n UserMainPolicy saveUserMainPolicy(UserMainPolicy userMainPolicy);\n\n /**\n * 删除用户主策略\n */\n UserPolicyResult removeUserMainPolicy(Long userId, String thirdUserUUID, Long mainPolicyId);\n\n /**\n * 查询所有散标策略\n */\n LoanPolicyResult getLoanPolicies(LoanPolicyParam param);\n\n /**\n * 批量添加用户第三方选择的散标策略\n */\n UserPolicyResult addUserPolicyBatch(Long userId, String thirdUserUUID, List<Long> policyIds);\n\n /**\n * 保存修改 用户选择的散标策略\n */\n Result modifyUserPolicy(UserPolicy userPolicy);\n\n /**\n * 删除散标策略 userId是操作人ID\n */\n Result delLoanPolicy(Long userId, Long policyId);\n\n /**\n * 删除散标策略\n */\n Result delLoanPolicy(Long userId, List<Long> policyIds);\n\n /**\n * 用户添加散标策略\n */\n LoanPolicyResult saveLoanPolicy(LoanPolicy loanPolicy);\n\n /**\n * 查询用户为第三方账号设置的所有散标策略\n */\n UserPolicyResult getUserPolicies(UserPolicyParam param);\n\n /**\n * 查询用户为第三方账号设置的所有散标策略 详情\n */\n UserPolicyResult getUserPolicyDetailList(UserPolicyParam param);\n\n /**\n * 查询未添加过该策略的第三方账号\n */\n List<String> getNoSelPolicyThirdUUIDList(Long userId, Long policyId, Short policyType, Long mainPolicyId);\n\n /**\n * 挂载用户第三方自定义散标策略\n */\n UserPolicyResult attachUserThirdLoanPolicy(Long userId, Long policyId, List<String> thirdUUIDList);\n\n /**\n * 删除用户为第三方账户选择的自定义散标策略\n */\n Result dettachUserThirdLoanPolicy(Long userId, List<Long> userPolicyIds);\n\n /**\n * 修改散标策略\n * @param loanPolicy\n * @return\n */\n Result modifyLoanPolicy(LoanPolicy loanPolicy);\n}", "ClaimSoftgoal createClaimSoftgoal();", "PolicyStatsManager getStats();", "List<PolicyDetail> viewpolicyDetail(int lenderId);", "RecordSet loadAllPremium(PolicyHeader policyHeader, Record inputRecord);", "@Test\n\tpublic void testGetPolicy() throws Exception {\n\t\tfail(\"testGetPolicy not implemented\");\n\t}", "public void setMapAdvices(List<MapAdvice> mapAdvices);", "private meterMaidPerception getPerceptions() {\n\t\t\r\n\t\tMessageTemplate mt = MessageTemplate.MatchPerformative(ACLMessage.INFORM);\r\n\t\tACLMessage msg = receive(mt);\r\n\t\tif (msg != null && msg.getContent() != null) {\r\n\t\t\tString[] perceptions = msg.getContent().split(\";\");\r\n\t\t\tif (perceptions.length < 2)\r\n\t\t\t\treturn meterMaidPerception.NOTHING_TO_SAY;\r\n\t\t\tcar = perceptions[1];\r\n\t\t\tif (CAR_PASSED_ON_RED_SIGN.equals(perceptions[0]))\r\n\t\t\t\treturn meterMaidPerception.CAR_IGNORED_RED_SIGN;\r\n\t\t\telse if (CAR_IN_ZEBRA_CROSSING.equals(perceptions[0]))\r\n\t\t\t\treturn meterMaidPerception.CAR_STOP_ON_ZEBRA_CROSSING;\r\n\t\t}\r\n\t\t\r\n\t\treturn meterMaidPerception.NOTHING_TO_SAY;\r\n\t}", "@Test\n\tpublic void testWarm_DetailedThenTechnologyAverageThenAverageTable_FallbackToTechnology() {\n\t\tEmissionModule emissionModule = setUpScenario(EmissionsConfigGroup.DetailedVsAverageLookupBehavior.tryDetailedThenTechnologyAverageThenAverageTable);\n\n\t\tdouble travelTimeOnLink = 21; //sec. approx freeSpeed of link12 is : (200 m) / (9.72.. m/s) approx 20.57 s\n\t\tMap<Pollutant, Double> warmEmissions = emissionModule.getWarmEmissionAnalysisModule().checkVehicleInfoAndCalculateWarmEmissions(vehicleFallbackToTechnologyAverage, link, travelTimeOnLink);\n\n\t\tdouble expectedValue = 31.53711548; // = 200m * 157.6855774 g/km\n\t\tAssert.assertEquals( expectedValue, warmEmissions.get(Pollutant.CO2_TOTAL ), MatsimTestUtils.EPSILON );\n\t}", "List<Defect> analyze(StructuredScenario mainScenario, HashMap<String, List<StructuredScenario>> sequentiallyRelatedScenariosHashMap, HashMap<String, List<StructuredScenario>> nonSeqRelatedScenarioHashMap);", "@Test\n\tpublic void testWarm_DetailedThenTechnologyAverageThenAverageTable_FallbackNotNeeded() {\n\t\tEmissionModule emissionModule = setUpScenario(EmissionsConfigGroup.DetailedVsAverageLookupBehavior.tryDetailedThenTechnologyAverageThenAverageTable);\n\n\t\tdouble travelTimeOnLink = 21; //sec. approx freeSpeed of link12 is : (200 m) / (9.72.. m/s) approx 20.57 s\n\t\tMap<Pollutant, Double> warmEmissions = emissionModule.getWarmEmissionAnalysisModule().checkVehicleInfoAndCalculateWarmEmissions(vehicleFull, link, travelTimeOnLink);\n\n\t\tdouble expectedValue = 30.34984742; // = 200m * 151.7492371 g/km\n\t\tAssert.assertEquals( expectedValue, warmEmissions.get(Pollutant.CO2_TOTAL ), MatsimTestUtils.EPSILON );\n\t}", "public HashMap<List<Integer>, List<Integer>> genEmptyPolicy() {\n\t\tHashMap<List<Integer>, List<Integer>> emptyPolicy = new \n\t\t\t\tHashMap<List<Integer>, List<Integer>>();\n\t\tif(ventureManager.getNumVentures() == 2) {\n\t\t\tList<Integer> nil = new ArrayList<Integer>();\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tfor(List<Integer> s : states) \n\t\t\t\temptyPolicy.put(s, nil);\n\t\t}\n\t\telse {\n\t\t\tList<Integer> nil = new ArrayList<Integer>();\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tnil.add(0);\n\t\t\tfor(List<Integer> s: states)\n\t\t\t\temptyPolicy.put(s, nil);\n\t\t}\n\t\treturn emptyPolicy;\n\t}", "@PostMapping(value = \"/readPolicyKitRuleList\")\n\tpublic @ResponseBody ResultVO readPolicyKitRuleList() {\n\t\tResultVO resultVO = new ResultVO();\n\t\ttry {\n\t\t\tresultVO = ctrlMstService.readCtrlItemAndPropList(GPMSConstants.CTRL_ITEM_POLICYKIT_RULE);\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(\"error in readPolicyKitRuleList : {}, {}, {}\", GPMSConstants.CODE_SYSERROR,\n\t\t\t\t\tMessageSourceHelper.getMessage(GPMSConstants.MSG_SYSERROR), ex.toString());\n\t\t\tif (resultVO != null) {\n\t\t\t\tresultVO.setStatus(new StatusVO(GPMSConstants.MSG_FAIL, GPMSConstants.CODE_SYSERROR,\n\t\t\t\t\t\tMessageSourceHelper.getMessage(GPMSConstants.MSG_SYSERROR)));\n\t\t\t}\n\t\t}\n\t\treturn resultVO;\n\t}", "public static int[] mucScore(LeanDocument key, LeanDocument response)\n{\n // System.out.println(\"==========================================================\");\n // System.out.println(\"Key:\\n\"+key.toStringNoSing()+\"\\n*************************\\nResponse:\\n\"+response.toStringNoSing());\n\n Iterator<TreeMap<Integer, Integer>> goldChains = key.chainIterator();\n // double mucRecall = 0.0;\n int mucRecallNom = 0;\n int mucRecallDenom = 0;\n while (goldChains.hasNext()) {\n TreeMap<Integer, Integer> keyChain = goldChains.next();\n if (keyChain.size() > 1) {\n int numInt = numIntersect(key, keyChain, response);\n\n // int numMatched = getNumMatched(key, keyChain);\n // if(numMatched>0){\n // mucRecallNom += numMatched-numInt;\n mucRecallNom += (keyChain.size() - numInt);\n // mucRecallDenom += numMatched-1;\n mucRecallDenom += keyChain.size() - 1;\n\n // System.out.println(keyChain+\"\\n\"+(keyChain.size() - numInt)+\"/\"+(keyChain.size()-1));\n // }\n }\n }\n int[] result = { mucRecallNom, mucRecallDenom };\n\n return result;\n}", "public static ProbabilisticAutomata createPaperAlergiaResult() {\n\t\tProbabilisticAutomata automata = PdfaFactory.eINSTANCE.createProbabilisticAutomata();\n\t\t\n\t\tProbabilisticState state1 = createState(1);\n\t\tProbabilisticState state3 = createState(3);\n\t\t\n\t\tstate1.getOutgoingTransitions().add(\n\t\t\tcreateTransition(automata, state1, state1, \"0\", 0.24));\n\t\tstate1.getOutgoingTransitions().add(\n\t\t\t\tcreateTransition(automata, state1, state3, \"1\", 0.16));\n\t\tstate1.setTerminatingProbability(0.6);\n\t\t\n\t\tstate3.getOutgoingTransitions().add(\n\t\t\t\tcreateTransition(automata, state3, state1, \"0\", 0.67));\n\t\tstate3.getOutgoingTransitions().add(\n\t\t\t\tcreateTransition(automata, state3, state3, \"1\", 0.33));\n\t\tstate3.setTerminatingProbability(0.0);\n\t\t\n\t\tautomata.getStates().add(state1);\n\t\tautomata.getStates().add(state3);\n\t\t\n\t\tautomata.setStartState(state1);\n\t\t\n\t\treturn automata;\n\t}", "public void createASPolicy(){\n\t\t\n\t\t// First create for replicated objects\n\t\t//System.out.println(\"Inside ObjectBasedAnalyzer: createASPolicy\");\n\t\t\n\t\tcreateReplicatedObjectsPolicy();\n\t\t\t\t\n\t\t// Now for rest of objects\n\t\t\n//\t\tcreateOnlyDistributedObjectsPolicy();\n\t\t\n\t\tIterator<String> iap = ASPolicyMap.keySet().iterator();\n\t\t\n\t\tSystem.out.println(\"---------------ASPolicy Start------------------\");\n//\t\t\n\t\twhile(iap.hasNext()){\n//\t\t\t\n//\t\t\t\n\t\t\tString serId = iap.next();\n\t\t\tSystem.out.println(\"AS Policy for:\" + serId);\n\t\t\tmanager.getASServer(serId).currentPolicy = ASPolicyMap.get(serId);\n\t\t\tSystem.out.println(\"No of policy entries for this server are:\" + manager.getASServer(serId).currentPolicy.policyMap.size());\n\t\t}\n//\t\t\n\t\tSystem.out.println(\"---------------ASPolicy End------------------\");\n\t\t\t\t\t\t\n\t}", "void modusponens(){\n\t\tHashMap<String,HashSet<Hypothesis> > temp_lhs_hypo = new HashMap<String,HashSet<Hypothesis> >();\n\t\tHashSet<Hypothesis> new_hypos = new HashSet<Hypothesis>();\n\t\t\n\t\t//Utils.println(\"hypothesis list\");\n\t\tIterator it = hypothesis.entrySet().iterator();\n\t while (it.hasNext()) {\n\t Map.Entry pairs = (Map.Entry)it.next();\n\t String A = (String)pairs.getKey();\n\t //Utils.println(\"hypothesis A : \"+A);\n\t HashSet<Hypothesis> A_B = new_lhs_hypo.get(A);\n\t if(A_B == null) {\n\t \t//Utils.println(\"No match\");\n\t \tcontinue;\n\t \t}\n\t else{\n\t \t//Utils.println(\"Matched: \"+A_B.size());\n\t \tIterator bit = A_B.iterator();\n\t \twhile (bit.hasNext()) {\n\t \t Hypothesis A_B_hypo = (Hypothesis)bit.next();\n\t\t \tHypothesis mp_hypo = makeHypothesis(A_B_hypo.rhs, 1, -1, A, A_B_hypo.expression);\n\t\t \tif(mp_hypo!=null) {\n\t\t \t\tnew_hypos.add(mp_hypo);\n\t\t\t \tif(hypothesis.containsKey(mp_hypo.expression)) {\n\t\t\t \t\t//Utils.println(\"Existing MP result: \"+A_B_hypo.rhs+\" on \"+A+\" and \"+A_B_hypo.expression);\n\t\t\t \t\t//already existing\n\t\t\t\t }else{// new hypothesis has resulted\n\t\t\t\t \t//Utils.println(\"New MP result: \"+A_B_hypo.rhs+\" on \"+A+\" and \"+A_B_hypo.expression);\n\t\t\t\t }\n\t\t \t}else{\n\t\t \t\t//Utils.println(\"MP Not Valid: \"+A_B_hypo.rhs+\" on \"+A+\" and \"+A_B_hypo.expression);\n\t\t \t}\n\t\t }\n\t }\n\t }\n\t \n\t //Utils.println(\"new hypothesis list\");\n\t it = new_lhs_hypo.entrySet().iterator();\n\t while (it.hasNext()) {\n\t Map.Entry pairs = (Map.Entry)it.next();\n\t HashSet<Hypothesis> hypos = (HashSet<Hypothesis>) pairs.getValue();\n\t Iterator<Hypothesis> Ait = hypos.iterator();\n\t while(Ait.hasNext()){\n\t \tString A = ((Hypothesis)Ait.next()).expression;\n\t \t//Utils.println(\"hypothesis A : \"+A);\n\t \tHashSet<String> B_set = lhs_hypo.get(A);\n\t \tif(B_set == null){\n\t \t\t//Utils.println(\"No match\");\n\t \t\tcontinue;\n\t \t\t}\n\t \telse{\n\t \t\t//Utils.println(\"Matched: \"+B_set.size());\n\t \t\tIterator Bit = B_set.iterator();\n\t\t \twhile(Bit.hasNext()){\n\t\t \t\tString B_str = (String) Bit.next();\n\t\t \t\tString A_B_exp = Utils.expression(A, B_str);\n\t\t \t\tHypothesis mp_hypo = makeHypothesis(B_str, 1, -1, A, A_B_exp);\n\t\t \t\tif(mp_hypo!=null) {\n\t\t\t \t\tnew_hypos.add(mp_hypo);\n\t\t\t\t \tif(hypothesis.containsKey(mp_hypo.expression)) {\n\t\t\t\t \t\t//Utils.println(\"Existing MP result: \"+B_str+\" on \"+A+\" and \"+A_B_exp);\n\t\t\t\t \t\t//already existing\n\t\t\t\t\t }else{// new hypothesis has resulted\n\t\t\t\t\t \t//Utils.println(\"New MP result: \"+B_str+\" on \"+A+\" and \"+A_B_exp);\n\t\t\t\t\t }\n\t\t\t \t}else{\n\t\t\t \t\t//Utils.println(\"MP Not Valid: \"+B_str+\" on \"+A+\" and \"+A_B_exp);\n\t\t\t \t}\n\t\t \t}\n\t \t}\n\t \t\n\t }\n\t }\n\t \n\t //Utils.println(\"Size of new_hypos: \"+new_hypos.size());\n\t \n\t Iterator<Hypothesis> hit = new_hypos.iterator();\n\t while(hit.hasNext()){\n\t \tHypothesis mp_hypo = hit.next();\n\t \tboolean b = insertHypothesis(mp_hypo);\n\t \tif(b){\n\t \t\tHashSet<Hypothesis> temp_hypos = temp_lhs_hypo.get(mp_hypo.lhs);\n\t \tif(temp_hypos == null){\n\t \t\ttemp_hypos = new HashSet<Hypothesis>();\n\t \t\ttemp_hypos.add(mp_hypo);\n\t \t\ttemp_lhs_hypo.put(mp_hypo.lhs, temp_hypos);\n\t \t}else{\n\t \t\ttemp_hypos.add(mp_hypo);\n\t \t}\n\t \t//Utils.printHypothesis(mp_hypo);\n\t \t}\n\t }\n\t \n\n\t //Utils.println(\"Size of temp_lhs_hypo: \"+temp_lhs_hypo.size());\n\t \n\t new_lhs_hypo.clear();\n\t new_lhs_hypo = temp_lhs_hypo;\n\t if(new_lhs_hypo.size()!=0) modusponens();\n\t}", "@Override\n public String[] getResults()\n {\n String[] guidelines = new String[RESULTS_ARRAY_SIZE];\n\n for (int i = 0; i < guidelines.length; i++)\n {\n guidelines[i] = \"\";\n }\n\n // tab position\n Tab currentTab = Tab.values()[mViewPager.getCurrentItem()];\n\n switch(currentTab)\n {\n case CT:\n\n String ct_legend4 = \"Follow up CT or MRI in 6 months. May need more frequent follow-up in some situations, such as a cirrhotic patient who is a liver transplant candidate.\";\n String ct_legend6 = \"Differential diagnosis for a benign-appearing low attenuation mass includes: cyst, hemangioma, hamartoma, bile duct hamartomas\";\n String nofollowup = \"No follow up required.\";\n\n String lowaveragerisk_nofollowup = \"In a patient with low to average risk, this is most likely benign.\";\n String highrisk_followup = \"In a patient with high risk, follow up is recommended.\";\n\n guidelines[0] = \"VALID\";\n\n if(size == 0)\n {\n if(risk_level == 0 || risk_level == 1)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a low-attenuating liver lesion smaller than 0.5 cm. \" + lowaveragerisk_nofollowup;\n guidelines[RESULTS_FOLLOWUP] = nofollowup;\n }\n else\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a low-attenuating liver lesion smaller than 0.5 cm. \" + highrisk_followup;\n guidelines[RESULTS_FOLLOWUP] = ct_legend4;\n }\n }\n else if(size == 1)\n {\n if(attenuation == 0)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a benign appearing low-attenuating liver lesion between 0.5 cm and 1.5 cm. \" + ct_legend6;\n guidelines[RESULTS_FOLLOWUP] = nofollowup;\n }\n else if(attenuation == 1)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a suspicious appearing low-attenuating liver lesion between 0.5 cm and 1.5 cm. \";\n guidelines[RESULTS_FOLLOWUP] = ct_legend4;\n }\n else if(attenuation == 2)\n {\n if(risk_level == 0 || risk_level == 1)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a flash-filling robustly enhancing lesion between 0.5 cm and 1.5 cm. \" + \"8,9. \" + lowaveragerisk_nofollowup;\n guidelines[RESULTS_CLASSIFICATION] = ct_legend8 + \". \" + ct_legend9;\n guidelines[RESULTS_FOLLOWUP] = nofollowup;\n }\n else\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a flash-filling robustly enhancing lesion between 0.5 cm and 1.5 cm. \" + highrisk_followup;\n guidelines[RESULTS_FOLLOWUP] = ct_legend4 + \"\\n\" + ct_legend7 + \" To evaluate, prefer multiphasic MRI\";\n }\n }\n\n\n }\n else if(size == 2)\n {\n if(attenuation == 0)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a benign appearing low-attenuating liver lesion larger than 1.5 cm.\";\n guidelines[RESULTS_CLASSIFICATION] = ct_legend6;\n guidelines[RESULTS_FOLLOWUP] = nofollowup;\n }\n else if(attenuation == 1)\n {\n if(risk_level == 0)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a suspicious appearing low-attenuating liver lesion larger than 1.5 cm in a low risk patient.\";\n guidelines[RESULTS_FOLLOWUP] = ct_legend4;\n }\n else if(risk_level == 1)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a suspicious appearing low-attenuating liver lesion larger than 1.5 cm in an average risk patient.\";\n guidelines[RESULTS_CLASSIFICATION] = ct_legend7;\n guidelines[RESULTS_FOLLOWUP] = \"Recommend multiphasic MRI for further evaluation.\";\n }\n else if(risk_level == 2)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a suspicious appearing low-attenuating liver lesion larger than 1.5 cm in a high risk patient.\";\n guidelines[RESULTS_FOLLOWUP] = \"Recommend core biopsy.\";\n }\n }\n else if(attenuation == 2)\n {\n if(features == 0)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a flash-filling robustly enhancing lesion larger than 1.5 cm with benign diagnostic features.\";\n guidelines[RESULTS_CLASSIFICATION] = ct_legend8 + \"\\n\" + ct_legend9;\n guidelines[RESULTS_FOLLOWUP] = \"Differentiation of FNH from adenoma may be important especially if larger than 4 cm and subcapsular.\";\n }\n else\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a flash-filling robustly enhancing lesion larger than 1.5 cm without benign diagnostic features.\";\n guidelines[RESULTS_IMPRESSION] = \"Differential diagnosis includes hepatocellular or metastatic enhancing malignancy: islet cell, neuroendocrine, carcinoid, renal cell carcinoma, melanoma, choriocarcinoma, sarcoma, breast, some pancreatic lesions.\";\n guidelines[RESULTS_FOLLOWUP] = \"Consider further evaluation with multiphasic MRI or core biopsy. Otherwise \" + ct_legend4.substring(0,1).toLowerCase() + ct_legend4.substring(1);\n }\n }\n }\n\n guidelines[RESULTS_REFERENCE_TEXT] = \"Managing Incidental Findings on Abdominal CT: White Paper of the ACR Incidental Findings Committee\";\n guidelines[RESULTS_REFERENCE_LINK] = \"http://www.jacr.org/article/S1546-1440(10)00330-3/fulltext#sec12\";\n guidelines[RESULTS_REFERENCE_IMAGE] = \"drawable/liver_ct_mass_guidelines\";\n\n\n\n break;\n\n // LI-RADS\n case LIRADS:\n final String LR3 = \"LR-3: Intermediate probability for hepatocellular carcinoma\\n\\nObservation that does not meet criteria for other LI-RADS categories.\";\n final String LR4 = \"LR-4: Probably hepatocellular carcinoma\\n\\nObservation with imaging features suggestive but not diagnostic of HCC.\";\n final String LR5 = \"LR-5: Definitely hepatocellular carcinoma.\\n\\nObservation with imaging features diagnostic of HCC or proven to be HCC at histology.\";\n\n guidelines[0] = \"VALID\";\n\n if(initial_observation == 5)\n {\n\n String findings;\n String criteria_description = \"\";\n int score = washout + capsule;\n if(growth != 0)\n {\n score += 1;\n }\n\n if (washout == 0)\n {\n criteria_description += \", without washout\";\n }\n else\n {\n criteria_description += \", with washout\";\n }\n\n if (capsule == 0)\n {\n criteria_description += \", without capsule\";\n }\n else\n {\n criteria_description += \", with capsule\";\n }\n\n if (growth == 0)\n {\n criteria_description += \", without threshold growth\";\n }\n else\n {\n criteria_description += \", with threshold growth\";\n }\n\n if (arterial == 0)\n {\n // arterial hypo or iso-enhancement\n findings = \"There is an arterial hypoenhancing or isoenhancing lesion\";\n\n if (size == 0 || size == 1)\n {\n // size less than 2.0 cm\n guidelines[RESULTS_IMPRESSION] = findings + \" smaller than 2.0 cm\" + criteria_description + \".\";\n\n if (score == 0 || score == 1)\n {\n // LR3\n guidelines[RESULTS_CLASSIFICATION] = LR3;\n }\n else\n {\n // LR4\n guidelines[RESULTS_CLASSIFICATION] = LR4;\n }\n }\n if (size == 2)\n {\n // size more than 2.0 cm\n guidelines[RESULTS_IMPRESSION] = findings + \" at least 2.0 cm in size\" + criteria_description + \".\";\n\n if (score == 0)\n {\n // LR3\n guidelines[RESULTS_CLASSIFICATION] = LR3;\n }\n else\n {\n // LR4\n guidelines[RESULTS_CLASSIFICATION] = LR4;\n }\n }\n }\n else\n {\n // arterial hyperenhancement\n findings = \"There is an arterial hyperenhancing lesion\";\n\n if (size == 0)\n {\n // less than 1.0 cm\n guidelines[RESULTS_IMPRESSION] = findings + \" smaller than 1.0 cm\" + criteria_description + \".\";\n\n if (score == 0)\n {\n // LR3\n guidelines[RESULTS_CLASSIFICATION] = LR3;\n }\n else\n {\n // LR4\n guidelines[RESULTS_CLASSIFICATION] = LR4;\n }\n }\n else if (size == 1)\n {\n // size between 1.0 and 2.0 cm\n guidelines[RESULTS_IMPRESSION] = findings + \" measuring between 1.0 to 2.0 cm\" + criteria_description;\n\n if (score == 0)\n {\n // LR3\n guidelines[RESULTS_IMPRESSION] += \".\";\n guidelines[RESULTS_CLASSIFICATION] = LR3;\n }\n else if (score == 1)\n {\n // LR4/LR5\n // depending on 50% growth in less than 6 months (LR-5g), or washout and visibility on US (LR-5us)\n\n if(growth == 1 && growth_5g == 1)\n {\n\n guidelines[RESULTS_IMPRESSION] += \" of at least 50% increase in diameter within 6 months.\";\n guidelines[RESULTS_CLASSIFICATION] = LR5.substring(0,4) + \"g\" + LR5.substring(4);\n }\n else if(washout == 1 && ultrasound_5us == 1)\n {\n guidelines[RESULTS_IMPRESSION] += \". Antecedent surveillance ultrasound demonstrates a corresponding visible discrete nodule.\";\n guidelines[RESULTS_CLASSIFICATION] = LR5.substring(0,4) + \"us\" + LR5.substring(4);\n }\n else\n {\n guidelines[RESULTS_IMPRESSION] += \".\";\n guidelines[RESULTS_CLASSIFICATION] = LR4;\n }\n\n }\n else\n {\n // LR5\n guidelines[RESULTS_IMPRESSION] += \".\";\n guidelines[RESULTS_CLASSIFICATION] = LR5;\n }\n }\n else\n {\n // size larger than 2.0 cm\n guidelines[RESULTS_IMPRESSION] = findings + \" at least 2.0 cm in size\" + criteria_description + \".\";\n\n if (score == 0)\n {\n //LR4\n guidelines[RESULTS_CLASSIFICATION] = LR4;\n }\n else\n {\n //LR5\n guidelines[0] = \"VALID\";\n guidelines[RESULTS_CLASSIFICATION] = LR5;\n guidelines[RESULTS_FOLLOWUP] = \"\";\n }\n }\n\n }\n }\n else if(initial_observation == 0)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a treated liver observation.\";\n guidelines[RESULTS_CLASSIFICATION] = \"LR-Treated: Treated Observation\\n\\nObservation of any category that has undergone loco-regional treatment.\";\n }\n else if(initial_observation == 1)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a liver observation that is definitely benign.\";\n guidelines[RESULTS_CLASSIFICATION] = \"LR-1: Definitely Benign\\n\\nObersvation with imaging features diagnostic of a benign entity, or definite disappearance at follow up in absence of treatment.\";\n }\n else if(initial_observation == 2)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a liver observation that is probably benign.\";\n guidelines[RESULTS_CLASSIFICATION] = \"LR-2: Probably Benign\\n\\nObservation with imaging features suggestive but not diagnostic of a benign entity.\";\n }\n else if(initial_observation == 3)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a liver lesion of probable malignancy, but not specific for HCC.\";\n guidelines[RESULTS_CLASSIFICATION] = \"LR-M:Probably Malignant, not specific for hepatocellular carcinoma\\n\\nObservation with imaging features suggestive of non-HCC malignancy.\";\n }\n else if(initial_observation == 4)\n {\n guidelines[RESULTS_IMPRESSION] = \"There is a liver lesion with tumor in vein.\";\n guidelines[RESULTS_CLASSIFICATION] = \"LR-5V: Definitely hepatocellular carcinoma with Tumor in Vein\\n\\nObservation with imaging features diagnostic of HCC invading vein.\";\n }\n\n guidelines[RESULTS_REFERENCE_TEXT] = \"ACR LI-RADS v2014 for CT and MRI\";\n guidelines[RESULTS_REFERENCE_LINK] = \"https://www.acr.org/Quality-Safety/Resources/LIRADS\";\n\n break;\n\n default:\n break;\n }\n\n return guidelines;\n\n }", "@Test\n\tpublic void testWarm_DetailedThenTechnologyAverageElseAbort_FallbackNotNeeded() {\n\t\tEmissionModule emissionModule = setUpScenario(EmissionsConfigGroup.DetailedVsAverageLookupBehavior.tryDetailedThenTechnologyAverageElseAbort);\n\n\t\tdouble travelTimeOnLink = 21; //sec. approx freeSpeed of link12 is : (200 m) / (9.72.. m/s) approx 20.57 s\n\t\tMap<Pollutant, Double> warmEmissions = emissionModule.getWarmEmissionAnalysisModule().checkVehicleInfoAndCalculateWarmEmissions(vehicleFull, link, travelTimeOnLink);\n\n\t\tdouble expectedValue = 30.34984742; // = 200m * 151.7492371 g/km\n\t\tAssert.assertEquals( expectedValue, warmEmissions.get(Pollutant.CO2_TOTAL ), MatsimTestUtils.EPSILON );\n\t}", "public void processResults() {\r\n try {\r\n rm5 = new Process(new File(_corePath.RAPID_MINER_PROCESS_XML));\r\n IOContainer ioResult = rm5.run();\r\n ExampleSet resultSet;\r\n int num_rules = 0;\r\n if (ioResult.getElementAt(0) instanceof ExampleSet) {\r\n resultSet = (ExampleSet) ioResult.getElementAt(0);\r\n for (int i = 0; i <= resultSet.size() - 1; i++) {\r\n if ((resultSet.getExample(i).get(\"Premise Items\").equals(1)) && (resultSet.getExample(i).get(\"Conclusion Items\").equals(1))) {\r\n num_rules++;\r\n results += \"<ul><li title=\\\"Premise\\\">\" + resultSet.getExample(i).get(\"Premise\") + \"</li>\"\r\n + \"<li title=\\\"Conclusion\\\">\" + resultSet.getExample(i).get(\"Conclusion\") + \"</li>\"\r\n + \"<li title=\\\"Confidence\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Confidence\")) + \"</li>\"\r\n + \"<li title=\\\"Conviction\\\" class=\\\"metrics\\\">\";\r\n\r\n if (resultSet.getExample(i).get(\"Conviction\").equals(\"Infinity\")) {\r\n results += resultSet.getExample(i).get(\"Conviction\");\r\n } else {\r\n results += String.format(\"%f%n\", resultSet.getExample(i).get(\"Conviction\"));\r\n }\r\n\r\n results += \"</li>\"\r\n + \"<li title=\\\"Gain\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Gain\")) + \"</li>\"\r\n + \"<li title=\\\"Laplace\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Laplace\")) + \"</li>\"\r\n + \"<li title=\\\"Lift\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Lift\")) + \"</li>\"\r\n + \"<li title=\\\"Ps\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Ps\")) + \"</li>\"\r\n + \"<li title=\\\"Total Support\\\" class=\\\"metrics\\\">\" + String.format(\"%f%n\", resultSet.getExample(i).get(\"Total Support\")) + \"</li><li class=\\\"num_rules\\\">\" + num_rules + \"</li></ul>\";\r\n } else {\r\n break;\r\n }\r\n }\r\n } else {\r\n results = \"No results found.\";\r\n }\r\n\r\n results = results.replace(\"[\", \"\");\r\n results = results.replace(\"]\", \"\");\r\n\r\n\r\n } catch (OperatorException ex) {\r\n Logger.getLogger(Core.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (IOException ex) {\r\n Logger.getLogger(Core.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (XMLException ex) {\r\n Logger.getLogger(Core.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }", "double[] calculateProbabilities(LACInstance testInstance) throws Exception\n\t{\n\t\tdouble[] probs;\n\t\tdouble[] scores = calculateScores(testInstance);\n\t\t\n\t\tif(scores != null)\n\t\t{\n\t\t\tprobs = new double[scores.length];\n\t\t\tdouble scoreSum = 0.0;\n\t\t\tfor (int i = 0; i < scores.length; i++)\n\t\t\t{\n\t\t\t\tscoreSum += scores[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < scores.length; i++)\n\t\t\t{\n\t\t\t\tprobs[i] = scores[i] / scoreSum;\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSet<Integer> allClasses = trainingSet.getAllClasses();\n\t\t\tprobs = new double[allClasses.size()];\n\t\t\tfor (Integer clazz : allClasses) \n\t\t\t{\n\t\t\t\tdouble count = trainingSet.getInstancesOfClass(clazz).size();\n\t\t\t\tprobs[clazz] = (count / ((double) trainingSet.length()));\n\t\t\t}\n\t\t}\n\n\t\treturn probs ;\n\t}", "private Map<String, EnumMap<QueryField, String>> processResponse(\n String response,\n List<String> securityList,\n List<QueryField> attributeList\n ) {\n\n Map<String, EnumMap<QueryField, String>> result = new LinkedHashMap<>();\n\n if (response.isEmpty()) {\n return result;\n }\n\n // Each line is the response for one security\n String[] lines = response.split(\"\\n\");\n int lineNumber = 0;\n\n for (String line : lines) {\n result.put(securityList.get(lineNumber++), parseResponseLine(line, attributeList));\n }\n\n return result;\n\n }", "public ArrayList<String> predictAttributeValueFromComment(Person p){\n ArrayList<String> messages = new ArrayList<String>() {{\n add(\"head\");\n }};\n String msg = \"\";\n //case1: dk = age visibility = 0\n //text in the comment: keyword = birthday, pronoun = your\n //date of post = april 13\n //if the year is hidden, do more analysis on other attributes e.g., what year they joined college or attended high school\n\n //case2: dk=political view with visibility =0\n // from text in comments in group discussions\n //relate teh name of the group (political)\n //relate negative vs. positive sentiment\n //names of politicians mentioned\n\n //case3: dk = location/address visibility 0\n //text in POST : keword= Detroit, pronoun I am in\n //text in comment : keword= Detroit, pronoun you are in, day: today\n //date : over a time frame (you are visiting in summer vs. you live here)\n\n p = service.getPerson(p.getNodeID());\n String predictMsg = \"\";\n\n // we need to get a collection of attributes that have visibility set to 0\n ArrayList<Attribute> invisibleAtts = new ArrayList<Attribute>();\n Collection<HasRelationship> hasRels = p.getAttributeRelationships();\n for(HasRelationship h : hasRels){\n h = service.getHasRelationship(h.getId());\n if(h.getVv()==0){\n invisibleAtts.add(service.getAttributeWithId(h.getEnd().getNodeID()));\n }\n }\n\n // if the user has no invisible attributes, the next part can be skipped\n if(!invisibleAtts.isEmpty()){\n\n // the users own comments are already checked for sensitive information, so in this case\n // we need to iterate through all comments and replies that are NOT the owners.\n Collection<Comment> allComments = service.getAllComments();\n //Collection<Comment> ownersComments = p.getComments();\n\n for(Comment c : allComments){\n // skip the owners comments and don't check root posts\n c = service.getComment(c.getNodeID());\n if((!c.getOwnerID().equals(p.getNodeID()))&&(!c.isRoot())){\n //the comment's parent comment must have the owner of the root user\n Comment parentC = service.getComment(c.getParentID());\n if(parentC.getOwnerID().equals(p.getNodeID())){\n // iterate through invisible attributes\n for(Attribute a : invisibleAtts){\n a = service.getAttributeWithId(a.getNodeID());\n String label = a.getLabel().toLowerCase();\n String value = a.getValue().toLowerCase();\n String commentText = c.getText();\n String normalized = commentText.replaceAll(\"[!?,{}()_+-=]\", \"\");\n normalized = normalized.toLowerCase();\n String[] words = normalized.split(\"\\\\s+\");\n boolean lfound= false;\n boolean vfound= false;\n for(String w : words){\n if(w.equals(label)){\n lfound = true;\n }\n if(w.equals(value)){\n vfound = true;\n }\n }\n System.out.println(vfound + \" \" + lfound);\n if(lfound){\n msg = service.getPerson(c.getOwnerID()).getName() + \"'s reply to one of your comments: \\\"\" + c.getText() +\n \"\\\" indirectly mentions the attribute \\\"\" + a.getLabel() + \"\\\" that you set as invisible to others.\";\n messages.add(msg);\n }\n if(vfound){\n String type = \"\";\n if (label.equals(\"interest\")) {\n type = \"interest\";\n } else {\n type = \"attribute\";\n }\n msg = service.getPerson(c.getOwnerID()).getName() + \"'s reply to one of your comments: \\\"\" + c.getText() +\n \"\\\" directly mentions the \"+type+\" \\\"\" + a.getLabel() + \"\\\" that you set as invisible to others.\";\n messages.add(msg);\n }\n predictMsg = predictContext(c.getText(), a.getLabel(), service.getPerson(c.getOwnerID()).getName());\n if(!predictMsg.equals(\"\")){\n messages.add(predictMsg);\n }\n predictMsg = predictContext(c.getText(), a.getValue(), service.getPerson(c.getOwnerID()).getName());\n if(!predictMsg.equals(\"\")){\n messages.add(predictMsg);\n }\n\n }\n }\n }\n }\n }\n\n return messages;\n }", "@Override\n public Matching stableMarriageGaleShapley_hospitaloptimal(Matching marriage) {\n int m = marriage.getHospitalCount();\n int n = marriage.getResidentCount();\n\n ArrayList<ArrayList<Integer>> hospital_preference = marriage.getHospitalPreference();\n ArrayList<ArrayList<Integer>> resident_preference = marriage.getResidentPreference();\n\n ArrayList<Integer> hospitalSlots = marriage.getHospitalSlots();\n\n ArrayList<Integer> residentMatching = new ArrayList<Integer>();\n arrlistInit(residentMatching, n, -1, false);\n\n /*list of residents that each hospital can propose to\n * Initially equals the hospital_preference list*/\n ArrayList<ArrayList<Integer>> residentsToProposeTo = new ArrayList<ArrayList<Integer>>();\n for (int i = 0; i < m; i++) //O(m)\n residentsToProposeTo.add(new ArrayList<Integer>(hospital_preference.get(i)));\n\n /*list of hospitals that still can propose(has free spots and hasn't proposed to every resident)*/\n ArrayList<Integer> proposing = new ArrayList<Integer>();\n arrlistInit(proposing, m, 0, true); //O(n)\n\n /*Keep track of each hospital matched residents*/\n ArrayList<ArrayList<Integer>> hospitalResidents = new ArrayList<ArrayList<Integer>>(0);\n for (int i = 0; i < m; i++) //O(m)\n hospitalResidents.add(new ArrayList<Integer>(0));\n\n /*Looping through each hospital in the proposing list\n * Even though some hospital may be added again in the proposing list, each hospital can propose at most once to each resident\n * So total running time of the loop will be O(m*n)*/\n while (!proposing.isEmpty()) {\n for (int hospitalIndex = 0; hospitalIndex < proposing.size(); hospitalIndex++) {\n /*Get the head of the proposing Arraylist*/\n int hospital = proposing.get(0);\n int residentIndex;\n int resident = 0;\n for (residentIndex = 0; residentIndex < residentsToProposeTo.get(hospital).size() && proposing.contains(hospital); hospitalIndex++) {\n /*Get the next resident the hospital hasn't proposed to yed*/\n resident = residentsToProposeTo.get(hospital).get(0);\n int hospitalRank = resident_preference.get(resident).indexOf(hospital);\n\n /*resident is matched, compare the hospitals rank*/\n if (residentMatching.get(resident) != -1) {\n int matchedHospital = residentMatching.get(resident);\n int matchedHospitalRank = resident_preference.get(resident).indexOf(matchedHospital);\n if (hospitalRank < matchedHospitalRank) {\n /*1.Add/remove to hospitalResidents\n * 2.Add in resident-matching\n * 3.Add matchedHospital to the proposing list if it's not in it\n */\n hospitalResidents.get(hospital).add(resident);\n hospitalResidents.get(matchedHospital).remove(hospitalResidents.get(matchedHospital).indexOf(resident));\n residentMatching.set(resident, hospital);\n if (!proposing.contains(matchedHospital))\n proposing.add(matchedHospital);\n\n }\n }\n /*resident is free, match with the hospital*/\n else {\n /*1.Add in hospitalResidents\n * 2.Add in resident-matching\n */\n hospitalResidents.get(hospital).add(resident);\n residentMatching.set(resident, hospital);\n }\n\n /*1.Remove resident from the hospital's list of residentsToProposeTo\n * 2.If hospital's slots are full, remove hospital from the proposing list\n */\n residentsToProposeTo.get(hospital).remove(residentsToProposeTo.get(hospital).indexOf(resident));\n if (hospitalResidents.get(hospital).size() >= hospitalSlots.get(hospital))\n proposing.remove(proposing.indexOf(hospital));\n }\n }\n }\n marriage.setResidentMatching(residentMatching);\n return marriage;\n }", "public interface RMLMappingValidator {\n RMLValidatorResult validationResult = new RMLValidatorResult();\n\n /**\n *\n * @param triplesMapResources\n */\n public void checkTriplesMapResources(\n Map<Resource, TriplesMap> triplesMapResources);\n \n /**\n *\n * @param subjMap\n */\n public void checkSubjectMap(SubjectMap subjMap);\n\n /**\n *\n * @param triplesMap\n * @param statements\n * @param p\n * @param resource\n */\n public void checkEmptyStatements(TriplesMap triplesMap, \n List<Statement> statements, URI p, Resource resource);\n\n /**\n *\n * @param triplesMap\n * @param statements\n * @param p\n * @param termType\n */\n public void checkMultipleStatements(TriplesMap triplesMap, \n List<Statement> statements, URI p, String termType);\n\n /**\n *\n * @param constantValue\n * @param stringTemplate\n * @param referenceValue\n * @param stringValue\n * @param term\n */\n public void checkTermMap(\n Value constantValue, String stringTemplate, \n ReferenceMap referenceValue, Resource stringValue, Term term);\n\n /**\n *\n * @param resource\n * @param statements\n * @param p\n */\n public void checkStatements(\n Resource resource, List<Statement> statements, Term p);\n\n /**\n *\n * @param triplesMapSubject\n * @param iterators\n * @param referenceFormulation\n */\n public void checkIterator(\n Resource triplesMapSubject, List<Statement> iterators, \n QLVocabulary.QLTerm referenceFormulation);\n\n /**\n *\n * @param triplesMapSubject\n * @param sourceStatements\n */\n public void checkSource(\n Resource triplesMapSubject, List<Statement> sourceStatements);\n\n /**\n *\n * @param triplesMapSubject\n * @param logicalSourceStatements\n * @param triplesMap\n */\n public void checkLogicalSource(\n Resource triplesMapSubject, List<Statement> logicalSourceStatements, \n TriplesMap triplesMap);\n\n /**\n *\n * @param triplesMapSubject\n * @param statements\n */\n public void checkReferenceFormulation(Resource triplesMapSubject, \n List<Statement> statements);\n}", "@Test\n public void testOneUserTrecevalStrategyMultipleRelevance() {\n DataModelIF<Long, Long> test = DataModelFactory.getDefaultModel();\n DataModelIF<Long, Long> predictions = DataModelFactory.getDefaultModel();\n test.addPreference(1L, 2L, 0.0);\n test.addPreference(1L, 3L, 1.0);\n test.addPreference(1L, 4L, 2.0);\n predictions.addPreference(1L, 1L, 3.0);\n predictions.addPreference(1L, 2L, 4.0);\n predictions.addPreference(1L, 3L, 5.0);\n predictions.addPreference(1L, 4L, 1.0);\n\n Precision<Long, Long> precision = new Precision<Long, Long>(predictions, test, 1.0, new int[]{1, 2, 3, 4, 5});\n\n precision.compute();\n\n assertEquals(0.5, precision.getValue(), 0.001);\n assertEquals(1.0, precision.getValueAt(1), 0.001);\n assertEquals(0.5, precision.getValueAt(2), 0.001);\n assertEquals(0.3333, precision.getValueAt(3), 0.001);\n assertEquals(0.5, precision.getValueAt(4), 0.001);\n assertEquals(0.4, precision.getValueAt(5), 0.001);\n\n Map<Long, Double> precisionPerUser = precision.getValuePerUser();\n for (Map.Entry<Long, Double> e : precisionPerUser.entrySet()) {\n long user = e.getKey();\n double value = e.getValue();\n assertEquals(0.5, value, 0.001);\n }\n }", "@Override\n\t\tpublic <INDIVIDUAL_DECISION_REQ_T extends PdpDecisionRequest> Map<INDIVIDUAL_DECISION_REQ_T, ? extends PdpDecisionResult> evaluate(\n\t\t\t\tfinal List<INDIVIDUAL_DECISION_REQ_T> individualDecisionRequests, final Map<AttributeFQN, AttributeBag<?>> pdpIssuedAttributes) throws IndeterminateEvaluationException\n\t\t{\n\t\t\tfinal Map<INDIVIDUAL_DECISION_REQ_T, PdpDecisionResult> finalResultsByRequest = HashCollections.newUpdatableMap(individualDecisionRequests.size());\n\t\t\tfor (final INDIVIDUAL_DECISION_REQ_T individualDecisionRequest : individualDecisionRequests)\n\t\t\t{\n\t\t\t\tfinal PdpDecisionResult finalResult = evaluate(individualDecisionRequest, pdpIssuedAttributes);\n\t\t\t\tfinalResultsByRequest.put(individualDecisionRequest, finalResult);\n\t\t\t}\n\n\t\t\treturn finalResultsByRequest;\n\t\t}", "speech.multilang.Params.DecisionPointParams getDecisionPointParams();", "public void emissionProbabilities() {\r\n /**\r\n * Word and Tag List.\r\n */\r\n final TreeSet<String> words = new TreeSet(), tags = new TreeSet();\r\n Iterator<Kata> iterSatu = MarkovCore.LIST_KATA.iterator();\r\n while (iterSatu.hasNext()) {\r\n final Kata kata = iterSatu.next();\r\n words.add(kata.getKata());\r\n tags.add(kata.getTag());\r\n }\r\n System.out.println(\"Jumlah Kata: \" + words.size());\r\n System.out.println(\"Jumlah Tag: \" + tags.size());\r\n System.out.println();\r\n //<editor-fold defaultstate=\"collapsed\" desc=\"Emissions Calculation\">\r\n /**\r\n * Perhitungan Emisi.\r\n */\r\n Iterator<String> iterDua = words.iterator();\r\n while (iterDua.hasNext()) {\r\n final String kata = iterDua.next();\r\n Iterator<String> iterTiga = tags.iterator();\r\n while (iterTiga.hasNext()) {\r\n final StrBuilder strBuilder = new StrBuilder(10);\r\n final String tag = iterTiga.next();\r\n strBuilder.append(\"P(\");\r\n strBuilder.append(kata + \"|\");\r\n strBuilder.append(tag + \") = \");\r\n final Emissions emissions = new Emissions(kata, tag, strBuilder.toString());\r\n emissionses.add(emissions);\r\n }\r\n }\r\n\r\n final HashMap<String, Double> penyebut = new HashMap();\r\n Iterator<Kata> iterEmpat = MarkovCore.LIST_KATA.iterator();\r\n while (iterEmpat.hasNext()) {\r\n final Kata kata = iterEmpat.next();\r\n if (penyebut.get(kata.getTag()) == null) {\r\n penyebut.put(kata.getTag(), 1.0);\r\n } else {\r\n penyebut.put(kata.getTag(), penyebut.get(kata.getTag()) + 1);\r\n }\r\n }\r\n\r\n Iterator<Emissions> iterTiga = emissionses.iterator();\r\n while (iterTiga.hasNext()) {\r\n final Emissions emissions = iterTiga.next();\r\n double pembilang = 0.0;\r\n Iterator<Kata> iterKata = MarkovCore.LIST_KATA.iterator();\r\n while (iterKata.hasNext()) {\r\n Kata kata = iterKata.next();\r\n if (StringUtils.equalsIgnoreCase(kata.getKata(), emissions.word) && StringUtils.equalsIgnoreCase(kata.getTag(), emissions.tag)) {\r\n pembilang++;\r\n }\r\n }\r\n\r\n /**\r\n * WARNING - Laplace Smoothing is Activated.\r\n */\r\n// emissions.setEmissionsProbability(pembilang + 1, penyebut.get(emissions.tag) + this.uniqueWords.size(), (pembilang + 1) / (penyebut.get(emissions.tag) + this.uniqueWords.size()));\r\n emissions.setEmissionsProbability(pembilang, penyebut.get(emissions.tag), pembilang / penyebut.get(emissions.tag));\r\n }\r\n//</editor-fold>\r\n\r\n// System.out.println(emissionses.size());\r\n Iterator<Emissions> emissionsIterator = emissionses.iterator();\r\n while (emissionsIterator.hasNext()) {\r\n final Emissions emissions = emissionsIterator.next();\r\n this.emissionsMap.put(new MultiKey(emissions.word, emissions.tag), emissions.emissionsProbability);\r\n// System.out.println(emissions);\r\n }\r\n// System.out.println(this.emissionsMap.size());\r\n }", "public static ArrayList<PitchCandidate> melodicCheck(ArrayList<PitchCandidate> pitch_candidates, ModeModule my_mode_module, MelodicVoice alter_me, \n Integer pitch_center, int voice_pitch_count, Integer previous_melody_pitch, Integer previous_melodic_interval, Boolean is_accent, Boolean prog_built) {\n Boolean large_dissonance_bad = InputParameters.large_dissonance_bad;\n Integer [] consonances = InputParameters.consonances;\n Integer [] perfect_consonances = InputParameters.perfect_consonances;\n Integer [] root_consonances = InputParameters.root_consonances;\n \n for (PitchCandidate myPC : pitch_candidates){\n int cand_pitch = myPC.getPitch();\n int melody_motion_to_cand = 0;\n \n //DEBUG\n //System.out.println(\"melodicCheck evaluating pitch candidate \" + cand_pitch);\n \n if (voice_pitch_count > 0) {\n melody_motion_to_cand = cand_pitch - previous_melody_pitch;\n \n \n //Check if The candidate has already followed the preceding pitch too often. \n //look for previous_melody_pitch in PitchCount\n //if it's there get how many times it's appeared in the melody\n // if the count is greater than samplesize threshold\n //check if there are previous_melody_pitch to pitch_candidate motions in MOtion Counts\n //if so get the motion count - then divide motion count by pitch count\n // get the percentage of motions from mode module\n //if actual count is greater than mode module percentage decrement\n\t\t\t\t\n double thresh = 0;\n\t\t\t\tDouble threshornull = my_mode_module.getMelodicMotionProbability(cand_pitch, previous_melody_pitch, key_transpose, 0);\n\t\t\t\tif (threshornull == null){\n //DEBUG\n //System.out.println(\"From mode module motion probability of \" + previous_melody_pitch %12 +\" to \" + cand_pitch%12 + \" is NULL\");\n myPC.decrementRank(Decrements.melodic_motion_quota_exceed);\n myPC.decrementRank(Decrements.improbable_melodic_motion);\n }\n else {\n thresh = threshornull;\n //DEBUG\n //System.out.println(\"From mode module, motion probability of \" + previous_melody_pitch%12 +\" to \" + cand_pitch%12 + \" = \" + thresh );\n }\n for (PitchCount my_pitch_count: pitch_counts) {\n if(my_pitch_count.getPitch() == previous_melody_pitch%12)\n\t\t\t\t\t\t//DEBUG\n //System.out.println(\"found preceding cp pitch \" + previous_melody_pitch%12 +\" in pitch counts with count \" + my_pitch_count.getCount());\n if(my_pitch_count.getCount() > sample_size) \n for (MotionCount my_motion_count: motion_counts){\n //DEBUG\n //System.out.println(\"pitch_count for \" + previous_melody_pitch %12 + \" = \" + my_pitch_count.getCount());\n //System.out.println(\"motion count for \" + my_motion_count.getPreviousPitch() + \"/\" + my_motion_count.getSucceedingPitch() + \"=\"+ my_motion_count.getCount());\n if (my_motion_count.getPreviousPitch()== previous_melody_pitch %12 && my_motion_count.getSucceedingPitch() == cand_pitch %12) {\n double actual = my_motion_count.getCount()/(double)my_pitch_count.getCount();\n //DEBUG\n //System.out.println(\"found \" + my_motion_count.getCount() + \" instances of motion from \" + previous_melody_pitch %12 + \" to \" +cand_pitch %12 );\n //System.out.println(\"frequency of motion from \" + previous_melody_pitch %12 + \" to \" + cand_pitch%12 + \" = \" + actual); \n if (actual >= thresh) {\n myPC.decrementRank(Decrements.melodic_motion_quota_exceed);\n //DEBUG\n //System.out.println(cand_pitch %12 + \" is approached too often from \" + previous_melody_pitch %12);\n }\n }\n }\n }\n }\n \n if (voice_pitch_count > 1){\n // Peak/Trough check\n // a melodic phrase should have no more than two peaks and two troughs\n // a peak is defined as a change in melodic direction \n // so when a candidate pitch wants to go in the opposite direction of \n // the previous melodic interval we want to increment the peak or trough count accordingly\n // and determine whether we have more than two peaks or more than two troughs\n // note that the melody can always go higher or lower than the previous peak or trough\n\n if (previous_melodic_interval < 0 && melody_motion_to_cand > 0 ) {// will there be a change in direction from - to + ie trough?\n if (previous_melody_pitch == trough && trough_count >=2) {\n myPC.decrementRank(Decrements.peak_trough_quota_exceed);\n //DEBUG\n //System.out.println(previous_melody_pitch + \" duplicates previous peak\");\n } //will this trough = previous trough? then increment\n } \n if (previous_melodic_interval > 0 && melody_motion_to_cand <0){ // will there be a trough?\n if (previous_melody_pitch == peak && peak_count >=2) {\n myPC.decrementRank(Decrements.peak_trough_quota_exceed);\n //DEBUG\n //System.out.println(previous_melody_pitch + \" duplicates previous trough\");\n } //will this trough = previous trough? then increment\n }\n\t\t\t\t\n //Motion after Leaps checks\n //First check if the melody does not go in opposite direction of leap\n // then check if there are two successive leaps in the same direction\n if (previous_melodic_interval > 4 && melody_motion_to_cand > 0){\n myPC.decrementRank(Decrements.bad_motion_after_leap);\n //DEBUG\n //System.out.println(melody_motion_to_cand + \" to \"+ cand_pitch + \" is bad motion after leap\");\n if (melody_motion_to_cand > 4) {\n myPC.decrementRank(Decrements.successive_leaps);\n //DEBUG\n //System.out.println(cand_pitch + \" is successive leap\");\n }\n \n } \n if (previous_melodic_interval < -4 && melody_motion_to_cand < 0){\n myPC.decrementRank(Decrements.bad_motion_after_leap);\n //DEBUG\n //System.out.println(melody_motion_to_cand + \" to \"+cand_pitch + \" is bad motion after leap\");\n if (melody_motion_to_cand < -4) {\n myPC.decrementRank(Decrements.successive_leaps); \n //DEBUG\n //System.out.println(cand_pitch + \" is successive leap\");\n }\n\n } \n } \n // end melody checks\n } //next pitch candidate\n return pitch_candidates; \n }", "@RequestMapping(path = \"/v1/noncompliancepolicy\", method = RequestMethod.POST)\n // @Cacheable(cacheNames=\"compliance\",unless=\"#result.status==200\")\n // commenting to performance after refacoting\n // @Cacheable(cacheNames=\"compliance\",key=\"#request.key\")\n \n public ResponseEntity<Object> getNonCompliancePolicyByRule(@RequestBody(required = false) Request request) {\n String assetGroup = request.getAg();\n\n Map<String, String> filters = request.getFilter();\n\n if (Strings.isNullOrEmpty(assetGroup) || MapUtils.isEmpty(filters)\n || Strings.isNullOrEmpty(filters.get(DOMAIN))) {\n return ResponseUtils.buildFailureResponse(new Exception(ASSET_GROUP_DOMAIN));\n }\n ResponseWithOrder response = null;\n try {\n response = (complianceService.getRulecompliance(request));\n } catch (ServiceException e) {\n return complianceService.formatException(e);\n }\n return ResponseUtils.buildSucessResponse(response);\n\n }", "private String verifyPolicy(String webMethodName, String opName)\r\n\t{\r\n\t NAASIntegration naas = new NAASIntegration(Phrase.AdministrationLoggerName);\r\n\t String ret = naas.verifyPolicy(null,webMethodName, opName);\r\n\t return ret;\r\n\t}", "List<ClassificationCostsDto> map(List<ClassificationCostsReport> classificationCostsReports);", "PolicyDetail findPolicyByID(int policyId, int lenderId);", "private static void applyRules(Instances itemsets, Instances predictions) {\n\t\tfor (int i=0; i<predictions.numInstances(); ++i) {\n\t\t\tInstance instance = predictions.instance(i);\n\t\t\tboolean covered = true;\n\t\t\tfor (int j= 0; j<itemsets.numInstances(); ++j) {\n\t\t\t\tInstance rule = itemsets.instance(j);\n\t\t\t\tcovered = true;\n\t\t\t\tfor (int k=0; k< itemsets.numAttributes() -1 ; ++k) {\n\t\t\t\t\tif (rule.value(k)==1) {\n\t\t\t\t\t\tcovered = instance.value(k)==1;\n\t\t\t\t\t\tif(!covered){\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif (covered) {\n\t\t\t\t\t\n\t\t\t\t\tinstance.setClassValue(rule.classValue());\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "ResponseMetric createResponseMetric();", "private PcmmeasuringpointSwitch<Map<MetricDescription, Boolean>> getPcmMeasuringPointSwitch(\n EvaluateExtensions evaluateExtensions) {\n return new PcmmeasuringpointSwitch<Map<MetricDescription, Boolean>>() {\n\n @Override\n public Map<MetricDescription, Boolean> caseActiveResourceMeasuringPoint(\n ActiveResourceMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getActiveResourceMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseAssemblyOperationMeasuringPoint(\n AssemblyOperationMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getAssemblyOperationMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseAssemblyPassiveResourceMeasuringPoint(\n AssemblyPassiveResourceMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getAssemblyPassiveResourceMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseEntryLevelSystemCallMeasuringPoint(\n EntryLevelSystemCallMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getEntryLevelSystemCallMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseExternalCallActionMeasuringPoint(\n ExternalCallActionMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getExternalCallActionMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseLinkingResourceMeasuringPoint(\n LinkingResourceMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getLinkingResourceMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseResourceContainerMeasuringPoint(\n ResourceContainerMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getResourceContainerMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseResourceEnvironmentMeasuringPoint(\n ResourceEnvironmentMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getResourceEnvironmentMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseSubSystemOperationMeasuringPoint(\n SubSystemOperationMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getSubSystemOperationMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseSystemOperationMeasuringPoint(\n SystemOperationMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getSystemOperationMeasuringPointMetrics();\n }\n\n @Override\n public Map<MetricDescription, Boolean> caseUsageScenarioMeasuringPoint(UsageScenarioMeasuringPoint object) {\n return evaluateExtensions.getMeasuringPointmetricsCombinations()\n .getUsageScenarioMeasuringPointMetrics();\n }\n };\n\n }", "public String getResult(List<String> condition) {\n\n // check if we have exactly matching rule then find first.\n Rule rule = ruleList.stream().filter(r -> r.exactlyTheSame(condition)).findFirst().orElse(null);\n\n if (Objects.nonNull(rule)) {\n matchedRule = rule;\n return rule.getResult();\n }\n\n // check partially matched rules.\n List<Rule> partiallyMatch = ruleList.stream().filter(r -> r.contains(condition)).collect(Collectors.toList());\n pMatchedRules = partiallyMatch;\n\n // Getting the maximum values of partially matched.\n Optional<Rule> first = partiallyMatch.stream().sorted((r, r1) -> Float.compare(r.getValue(), r1.getValue())).findFirst();\n\n if (first.isPresent()) {\n return first.get().getResult();\n }\n\n return \"Unable to predict the result\";\n }", "public abstract int getLapResult();", "private void figureOutProbability() {\n\t\tMysqlDAOFactory mysqlFactory = (MysqlDAOFactory) DAOFactory\n\t\t\t\t.getDAOFactory(DAOFactory.MYSQL);\n\n\t\tstaticPr = new StaticProbability(trialId);\n\t\tstatisticPr = new StatisticProbability(trialId);\n\t\tstaticProbability = staticPr.getProbability();\n\t\tstatisticProbability = statisticPr.getProbability();\n\n\t\tfor (Entry<Integer, BigDecimal> entry : staticProbability.entrySet()) {\n\t\t\ttotalProbability.put(\n\t\t\t\t\tentry.getKey(),\n\t\t\t\t\tentry.getValue().add(statisticProbability.get(entry.getKey())).setScale(2));\n\t\t}\n\n\t\tBigDecimal summaryProbability = BigDecimal.valueOf(0);\n\t\tfor (Entry<Integer, BigDecimal> entry : totalProbability.entrySet()) {\n\t\t\tsummaryProbability = summaryProbability.add(entry.getValue());\n\t\t}\n\t\t\n\t\t// figures out probability\n\t\tfor (Entry<Integer, BigDecimal> entry : totalProbability.entrySet()) {\n\t\t\tentry.setValue(entry.getValue().divide(summaryProbability, 2,\n\t\t\t\t\tBigDecimal.ROUND_HALF_UP));\n\t\t}\n\t\tlog.info(\"Total probability -> \" + totalProbability);\n\t\t\n\t\t// figures out and sets margin\n\t\tfor (Entry<Integer, BigDecimal> entry : totalProbability.entrySet()) {\n\t\t\tBigDecimal probability = entry.getValue();\n\t\t\tBigDecimal winCoefficient = (BigDecimal.valueOf(1.).divide(\n\t\t\t\t\tprobability, 2, BigDecimal.ROUND_HALF_UP))\n\t\t\t\t\t.multiply(BigDecimal.valueOf(1.).subtract(Constants.MARGIN));\n\t\t\tentry.setValue(winCoefficient.setScale(2, BigDecimal.ROUND_HALF_UP));\n\t\t}\n\t\tlog.info(\"Winning coefficient -> \" + totalProbability);\n\t\t\n\t\t// updates info in db\n\t\tTrialHorseDAO trialHorseDAO = mysqlFactory.getTrialHorseDAO();\n\t\tTrialHorseDTO trialHorseDTO = null;\n\t\tfor(Entry<Integer, BigDecimal> entry : totalProbability.entrySet()){\n\t\t\ttrialHorseDTO = trialHorseDAO.findTrialHorseByTrialIdHorseId(trialId, entry.getKey());\n\t\t\ttrialHorseDTO.setWinCoefficient(entry.getValue());\n\t\t\ttrialHorseDAO.updateTrialHorseInfo(trialHorseDTO);\n\t\t}\t\n\t}", "void mo24178a(ResultData resultdata);", "@PostMapping(value = \"/readPolicyKitRule\")\n\tpublic @ResponseBody ResultVO readPolicyKitRule(HttpServletRequest req) {\n\t\tResultVO resultVO = new ResultVO();\n\t\tString objId = req.getParameter(\"objId\");\n\t\ttry {\n\t\t\tresultVO = ctrlMstService.readCtrlItem(objId);\n\t\t} catch (Exception ex) {\n\t\t\tlogger.error(\"error in readPolicyKitRule : {}, {}, {}\", GPMSConstants.CODE_SYSERROR,\n\t\t\t\t\tMessageSourceHelper.getMessage(GPMSConstants.MSG_SYSERROR), ex.toString());\n\t\t\tif (resultVO != null) {\n\t\t\t\tresultVO.setStatus(new StatusVO(GPMSConstants.MSG_FAIL, GPMSConstants.CODE_SYSERROR,\n\t\t\t\t\t\tMessageSourceHelper.getMessage(GPMSConstants.MSG_SYSERROR)));\n\t\t\t}\n\t\t}\n\t\treturn resultVO;\n\t}", "public static Map<String, Object> mapFailure() {\n\t\tMap<String, Object> modelMap = new HashMap<String,Object>(2);\n\t\tmodelMap.put(\"success\", false);\n\t\t\n\t\treturn modelMap;\n\t}", "@Override\n public void onSuccess(ArrayList<CheckInProposal> results) {\n mapTreatmentCheckIn = createMapTreatmentCheckInFromProposal(results);\n\n medications = extractMedicationsFromProposal(results);\n symptoms = extractSymptomsFromProposal(results);\n\n total = medications.size() + symptoms.size();\n count = 0;\n\n if (total > 0)\n nextStep();\n }", "private static Map<Boolean, List<StudentRecord>> razvrstajProlazPad(List<StudentRecord> records) {\n\t\treturn records.stream()\n\t\t\t\t.collect(Collectors.partitioningBy(o -> o.getOcjena() > 1));\n\t}", "Policy solve(Problem prob, int iterations) {\n\t\t\tPolicy policy = new Policy(prob);\n\t\t\tfor(int k=0; k <= ITERATIONS; k++)\n\t\t\t{\n\t\t\t\tfor(int i=0; i < utilities.length; i++)\n\t\t\t\t{\n\t\t\t\t\tfor(int j=0; j< utilities[0].length; j++)\n\t\t\t\t\t{\n\t\t\t\t\t\tcalculateUtilityValue(prob, i, j, policy);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn policy;\n\t\t}", "boolean CanMaritimeTrade(int ratio, String inputResource, String outResource);", "private void defaultMalwareShouldBeFound(String filter) throws Exception {\n restMalwareMockMvc.perform(get(\"/api/malwares?sort=id,desc&\" + filter))\n .andExpect(status().isOk())\n .andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))\n .andExpect(jsonPath(\"$.[*].id\").value(hasItem(malware.getId().intValue())))\n .andExpect(jsonPath(\"$.[*].description\").value(hasItem(DEFAULT_DESCRIPTION.toString())))\n .andExpect(jsonPath(\"$.[*].nom\").value(hasItem(DEFAULT_NOM.toString())))\n .andExpect(jsonPath(\"$.[*].type\").value(hasItem(DEFAULT_TYPE.toString())))\n .andExpect(jsonPath(\"$.[*].libelle\").value(hasItem(DEFAULT_LIBELLE.toString())));\n }", "private static String getPersonalityOf(String name, String data) {\n\t int[] numberOfA = { 0, 0, 0, 0 };\n\t int[] numberOfB = { 0, 0, 0 ,0 };\n\t int[] percentageOfB = { 0, 0, 0 ,0 };\n\n\t countAB(data,numberOfA,numberOfB);\n\t\tcomputePercentage(numberOfA,numberOfB,percentageOfB);\n\n\t\treturn name + \": \" + Arrays.toString(percentageOfB)\n\t\t\t\t\t+ \" = \" + getStringFrom(percentageOfB);\n\t}" ]
[ "0.5696195", "0.56348675", "0.5490852", "0.52939445", "0.5243861", "0.5203672", "0.51914763", "0.51753783", "0.5123013", "0.51147217", "0.5095576", "0.50884324", "0.500694", "0.49954313", "0.49585572", "0.49442875", "0.49023592", "0.48980242", "0.48886845", "0.48631355", "0.4831875", "0.48225406", "0.48181462", "0.4777477", "0.4760889", "0.47582266", "0.47580966", "0.4746737", "0.4739076", "0.47192943", "0.47106615", "0.47055373", "0.47033513", "0.46972552", "0.46678028", "0.46605593", "0.46585858", "0.46469834", "0.46358067", "0.4633793", "0.46264386", "0.4615376", "0.46134093", "0.4608077", "0.46070445", "0.4602884", "0.4599583", "0.45909324", "0.4574064", "0.4568167", "0.45676005", "0.45648235", "0.45648184", "0.4551636", "0.45338026", "0.45319533", "0.45268282", "0.45246634", "0.4514971", "0.45148692", "0.45146573", "0.45141867", "0.45090097", "0.45053762", "0.4504904", "0.450351", "0.4502118", "0.4502002", "0.4500251", "0.44979882", "0.44933373", "0.44932577", "0.4487948", "0.44875765", "0.44868153", "0.44841188", "0.44814426", "0.44760105", "0.4470785", "0.44665685", "0.44604635", "0.44508836", "0.4448987", "0.44389385", "0.4436213", "0.44341204", "0.44332087", "0.44305477", "0.44289574", "0.44272763", "0.4426302", "0.44124174", "0.4411463", "0.44097924", "0.44084576", "0.440127", "0.43983883", "0.43981263", "0.4397709", "0.43964276" ]
0.55126256
2
/ Map result to Insured
private void setInsured(Record record, PolicyHeader policyHeader, List<InsuredType> insuredList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setInsured", new Object[]{policyHeader.toString(), insuredList}); } InsuredType insured = new InsuredType(); String riskId = PremiumFields.getRiskId(record); insured.setInsuredNumberId(riskId); insured.setKey(riskId); //set risk total premium insured.setCurrentTermAmount(PremiumFields.getWrittenPremium(record)); insuredList.add(insured); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setInsured", insured); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void dumpResultMapping ()\r\n {\r\n for (Entry<Result, Set<Candidate>> entry : connection.getResultMap().\r\n entrySet()) {\r\n logger.debug(\"Result: {}\", entry.getKey());\r\n\r\n for (Candidate candidate : entry.getValue()) {\r\n logger.debug(\"* candidate: {}\", candidate);\r\n }\r\n }\r\n }", "@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 }", "void mo24178a(ResultData resultdata);", "Object visitorResponse();", "@Override\r\n\tpublic void test() {\n\t\t\r\n\t\tMap<String, Object> map = new HashMap<>();\r\n\t\t\r\n\t\tcarModelMapper.queryCarModel(map);\r\n\t\tInteger count = (Integer) map.get(\"result\");\r\n\t\tSystem.out.println(count);\r\n\t}", "Map<String, ?> getOutputData();", "Bundle generate(Map<String, TestResult> rawResults);", "@Override\n\tprotected void parseResult() {\n\t\t\n\t}", "Result getResult();", "@Test\n\t\tpublic void testSuccessResultMapping() throws Exception {\n\n\t\t\tString responseBody = TestUtils.getValidResponse();\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\tResponseEntity<ResponseWrapper> responseEntity= prepareReponseEntity(responseBody);\n\t\t\t\t\n\t\t\t\tLocationForecast locationForecast=mapWithObjectMapper(responseEntity.getBody());\n\t\t\t\t\n\t\t\t\t/*Checking for fields visible to viewers*/\n\t\t\t\tassertEquals(locationForecast.getCity().getCity(),\"Newark\");\n\t\t\t\tassertEquals(locationForecast.getCity().getState(),\"NJ\");\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tassertEquals(locationForecast.getForecast().getTemp_f(),\"82.6\");\n\t\t\t\tassertEquals(locationForecast.getForecast().getTemp_c(),\"28.1\");\n\t\t\t\tassertEquals(locationForecast.getForecast().getFeelslike_c(),\"29\");\n\t\t\t\tassertEquals(locationForecast.getForecast().getFeelslike_f(),\"85\");\n\t\t\t\tassertEquals(locationForecast.getForecast().getWeather(),\"Partly Cloudy\");\n\t\t\t\t\n\t\t\t\tthis.mockServer.verify();\n\t\t\t} catch (Exception e) {\n\t\t\t\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "ResultSummary getActualResultSummary();", "public interface Result {\n\n int getSum(int item, int filter, int from, int to) throws IOException;\n\n public Map<Integer, Integer> getItems();\n public Map<Integer, Integer> getFilters();\n public Map<Integer, Integer> getValues();\n\n public SegmentTree[][] getData();\n\n List<Integer> getSum(List<Integer> filters, int from, int to) throws IOException;\n}", "public void mo5062c(Result result) {\n }", "@Test\n public void test007() {\n List<HashMap<String, ?>> values = response.extract().path(\"data.findAll{it.name=='Fargo'}\");\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The values for store name is Fargo:\" + values);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@SuppressWarnings(\"unchecked\")\n private Map<String, Object> getJudgeResult(String instance, Expression expr) {\n\n if (instance.contains(\"@\")) {\n instance = instance.substring(instance.lastIndexOf('@') + 1);\n if (instance.endsWith(\"_\")) {\n instance = instance.substring(0, instance.length() - 1);\n }\n }\n Map<String, String> resultMap = cm.getHash(RuntimeNotifyCatcher.UAV_CACHE_REGION, TIMER_JUDGE_RESULT,\n instance + expr.getHashCode());\n\n String result = resultMap.get(instance + expr.getHashCode());\n\n return JSONHelper.toObject(result, Map.class);\n }", "@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 testShowResult() {\n\t\tConfigurationManager config = new ConfigurationManager();\n\t\tInvertedIndex index = new InvertedIndex();\n\t\tFileManager manager = new FileManager(config.getConfig().getFileName(), index);\n\t\tHashMap<String, String> parameters = new HashMap<String, String>();\n\t\tcheckFindHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 0);\n\t\tparameters.put(\"asin\", \"ABCD\");\n\t\tcheckFindHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 0);\n\t\tparameters.put(\"asin\", \"B00002243X\");\n\t\tcheckFindHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 10);\n\t\tcheckReviewSearchHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 0);\n\t\tparameters.put(\"query\", \"ASDAJKSDJHKASJK\");\n\t\tcheckReviewSearchHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 0);\n\t\tparameters.put(\"query\", \"jumpers\");\n\t\tcheckReviewSearchHandler(config.getConfig(), index, new RequestObject(\"\", \"\", parameters), 8);\n\t}", "java.lang.String getResult();", "abstract Collection<Object> mapResultClass(Collection<Object> resultSet);", "public static void showResultPerson( Result<Record> result){\n \t for (Record r : result) {\n// Integer id = r.getValue(PERSON.PERSO_ID);\n String firstName = r.getValue(PERSON.PERSO_FIRSTNAME);\n String lastName = r.getValue(PERSON.PERSO_LASTNAME);\n\n System.out.println(\"Name : \" + firstName + \" \" + lastName);\n }\n }", "public static Map getTestResults(HTMLizer h, Statement s) throws SQLException {\n String sql = getResultSql();\n return getResults (h, s, sql);\n }", "java.lang.String getInsight();", "@Test\n public void resultTest() {\n assertEquals(Integer.valueOf(1), authResponse.getResult());\n }", "private void writeAnalysisResults(Map<SillyBot, List<IntermediateResult>> analysisCallResults)\n\t\t\tthrows InterruptedException, ExecutionException {\n\t\tfor (SillyBot sillyBot : analysisCallResults.keySet()) {\n\t\t\tSystem.out.println(\"PRINT SILLY BOT ANALYZED RESULTS:\");\n\t\t\tfor (IntermediateResult botsAnalysisCall : analysisCallResults.get(sillyBot)) {\n\t\t\t\tProposal propsal;\n\t\t\t\tif (sillyBot instanceof PerformanceSillyBot) {\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tpropsal = new PerformanceProposal(getResponseValue(botsAnalysisCall.analysisResult),\n\t\t\t\t\t\t\tbotsAnalysisCall.name);\n\t\t\t\t\tSystem.out.println(\"For Model \" + botsAnalysisCall.name + \" metric is \"\n\t\t\t\t\t\t\t+ getResponseValue(botsAnalysisCall.analysisResult));\n\t\t\t\t} else if (sillyBot instanceof ModifiabilitySillyBot) {\n\t\t\t\t\tpropsal = new ModifiabilityProposal(getResponseValue(botsAnalysisCall.analysisResult),\n\t\t\t\t\t\t\tbotsAnalysisCall.name);\n\t\t\t\t\tSystem.out.println(\"For Model \" + botsAnalysisCall.name + \" metric is \"\n\t\t\t\t\t\t\t+ getResponseValue(botsAnalysisCall.analysisResult));\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalArgumentException(\"Unknown type of Silly Bot.\");\n\t\t\t\t}\n\n\t\t\t\tsillyBot.insertInOrder(propsal);\n\t\t\t}\n\t\t}\n\t}", "public interface IResult {\n\n /**\n * Returns the ID of client.\n *\n * @return the ID of client.\n */\n int getClientId();\n\n /**\n * Returns the transaction number.\n *\n * @return the transaction number.\n */\n int getTransactionNum();\n\n /**\n * Returns the time when the transaction is made.\n *\n * @return the time when the transaction is made.\n */\n LocalTime getTime();\n\n /**\n * Returns the date when the transaction is made.\n *\n * @return the date when the transaction is made.\n */\n LocalDate getDate();\n\n /**\n * Returns the transaction status.\n *\n * @return the transaction status.\n */\n String getTransactionStatus();\n\n /**\n * Returns the message of the transaction.\n *\n * @return the message of the transaction.\n */\n BigInteger getMessage();\n\n /**\n * Returns the digital signature of the transaction.\n *\n * @return the digital signature of the transaction.\n */\n BigInteger getDigitalSignature();\n\n /**\n * Returns the verified status of the transaction.\n *\n * @return the verified status of the transaction.\n */\n String getVerified();\n}", "public interface TestMapper {\n public List<Map<String, Object>> findTestInfo();\n}", "public String getResult();", "public String getResult();", "public String getResult();", "@Override\n public void call(Result<List<HealthInfor>> listResult) {\n }", "@Test\n public void test008() {\n List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.name=='Maplewood'}.address\");\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The address for store name is Maplewood:\" + address);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "public IStatus getResult();", "private void writeSpecificResult(GroupOfLogs res) throws ServiceFailureException {\r\n writeStartOfElement(\"Log\");\r\n \r\n if(res.getType().compareTo(\"Error\") == 0 || res.getType().compareTo(\"Critical\") == 0) {\r\n writeElementWithCharacters(\"info\", removeNonValidXMLCharacters(res.getIdentity()));\r\n } else {\r\n writeElementWithCharacters(\"info\", String.valueOf(res.getIdentity()));\r\n }\r\n \r\n writeElementWithCharacters(\"startID\", String.valueOf(res.getStartID()));\r\n writeElementWithCharacters(\"endID\", String.valueOf(res.getEndID()));\r\n writeElementWithCharacters(\"startDate\", res.getStartDate());\r\n writeElementWithCharacters(\"endDate\", res.getEndDate());\r\n writeElementWithCharacters(\"module\", String.valueOf(res.getModule()));\r\n writeElementWithCharacters(\"level\", String.valueOf(res.getLevel()));\r\n writeElementWithCharacters(\"type\", res.getType());\r\n writeElementWithCharacters(\"tid\", String.valueOf(res.getThreadID()));\r\n writeElementWithCharacters(\"pid\", String.valueOf(res.getProcessID()));\r\n writeElementWithCharacters(\"count\", String.valueOf(res.getCount()));\r\n writeEndOfElement();\r\n }", "@Test\npublic void test20() {\n List<String> list = response.extract().path(\"data.lat\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"the lat of the all stores are:: \" + list);\n System.out.println(\"------------------End of Test---------------------------\");\n}", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:24:54.438 -0400\", hash_original_method = \"FB10554031D1BCD284B50199483C1FBD\", hash_generated_method = \"FEDA725AF6571E04608EDC1D440697C2\")\n \n public static String scanResultsCommand(){\n \tdouble taintDouble = 0;\n \n \tString retObj = new String(); \n \tretObj.addTaint(taintDouble);\n \treturn retObj;\n }", "public interface SecurityResult {\r\n /**\r\n * INITIALIZED - just started, for distinguishing if icon should be added in\r\n * the security log UNKNOWN - when no assertions are added OK - finished with\r\n * no errors/warnings FAILED CANCELED note:\r\n * MISSING_ASSERTIONS,MISSING_PARAMETERS - are used only for indicating\r\n * progress execution for security log entry icons\r\n */\r\n public enum ResultStatus {\r\n INITIALIZED, UNKNOWN, OK, FAILED, CANCELED, MISSING_ASSERTIONS, MISSING_PARAMETERS, SKIPPED\r\n }\r\n\r\n /**\r\n * Gets type of specific result, i.e. SecurityTestStep, SecurityCheck or\r\n * SecurityCheckRequest used in displaying result details from SecurityLog\r\n *\r\n * @return\r\n */\r\n public String getResultType();\r\n\r\n /**\r\n * Gets execution progress status used for indicating icon color in the\r\n * SecurityLog introduced in general in case of missing assertions and\r\n * missing parameters to match status in progress bars and yet not to need\r\n * resultStatus changed\r\n *\r\n * @return\r\n */\r\n public ResultStatus getExecutionProgressStatus();\r\n\r\n public ResultStatus getLogIconStatus();\r\n\r\n public ResultStatus getStatus();\r\n\r\n /**\r\n * Returns a list of actions that can be applied to this result\r\n */\r\n\r\n public ActionList getActions();\r\n}", "@Test\n void verifyMetrics() throws IOException, InterruptedException {\n HttpRequest req = HttpRequest.newBuilder()\n .GET()\n .uri(URI.create(\"https://5f6trv8063.execute-api.us-east-1.amazonaws.com/default/VespaDocSearchLambda/?jsoncallback=?&query=ranking&ranking=documentation&locale=en-US&hits=1\"))\n .build();\n HttpResponse<String> res = httpClient.send(req, HttpResponse.BodyHandlers.ofString());\n\n assertEquals(200, res.statusCode());\n\n String body = res.body();\n long hitCount = new ObjectMapper().readTree(body.substring(2, body.length()-2)) // Strip ?( ); from JSON-P response\n .get(\"root\").get(\"fields\").get(\"totalCount\").asLong();\n assert(hitCount > 50);\n }", "public interface Result {\n public void onResult(Object object, String function, boolean IsSuccess, int RequestStatus, String MessageStatus);\n\n\n\n}", "private static StringBuilder printUtilResultLine(DSEIndividual ind,\r\n\t\t\tStringBuilder output) {\r\n\t\t\r\n\t\tObjectives obs = ind.getObjectives();\r\n\t\tif (obs instanceof DSEObjectives){\r\n\t\t\tDSEObjectives dseObj = ((DSEObjectives)obs);\r\n\t\t\tfor (Entry<Objective, Value<?>> o : dseObj) {\r\n\t\t\t\tif (dseObj.hasResultDecoratorFor(o.getKey())){\r\n\t\t\t\t\tResultDecoratorRepository results = dseObj.getResultDecoratorFor(o.getKey());\r\n\t\t\t\t\tList<UtilisationResult> utilisations = results.getUtilisationResults_ResultDecoratorRepository();\r\n\t\t\t\t\tPCMInstance pcm = Opt4JStarter.getProblem().getInitialInstance();\r\n\t\t\t\t\tList<ResourceContainer> containers = pcm.getResourceEnvironment().getResourceContainer_ResourceEnvironment();\r\n\t\t\t\t\tList<LinkingResource> links = pcm.getResourceEnvironment().getLinkingResources__ResourceEnvironment();\r\n\t\t\t\t\tif (utilisations != null){\r\n\t\t\t\t\t\tfor (ResourceContainer resourceContainer : containers) {\r\n\t\t\t\t\t\t\tfor (ProcessingResourceSpecification processingResourceSpecification : resourceContainer.getActiveResourceSpecifications_ResourceContainer()) {\r\n\t\t\t\t\t\t\t\tfor (UtilisationResult utilisationResult : utilisations) {\r\n\t\t\t\t\t\t\t\t\tif (utilisationResult instanceof ProcessingResourceSpecificationResult){\r\n\t\t\t\t\t\t\t\t\t\tProcessingResourceSpecificationResult procResResult = ((ProcessingResourceSpecificationResult)utilisationResult);\r\n\t\t\t\t\t\t\t\t\t\t// compare container and resource type, because the proc resource may have changed (the printed candidate is not necessarily the current one on the blackboard). \r\n\t\t\t\t\t\t\t\t\t\tif (EMFHelper.checkIdentity((ResourceContainer)procResResult.getProcessingResourceSpecification_ProcessingResourceSpecificationResult().eContainer(),resourceContainer)\r\n\t\t\t\t\t\t\t\t\t\t\t\t&& EMFHelper.checkIdentity(procResResult.getProcessingResourceSpecification_ProcessingResourceSpecificationResult().getActiveResourceType_ActiveResourceSpecification(), processingResourceSpecification.getActiveResourceType_ActiveResourceSpecification())){\r\n\t\t\t\t\t\t\t\t\t\t\toutput.append(procResResult.getResourceUtilisation());\r\n\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\toutput.append(\";\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tfor (LinkingResource linkingResource : links) {\r\n\t\t\t\t\t\t\tfor (UtilisationResult utilisationResult : utilisations) {\r\n\t\t\t\t\t\t\t\tif (utilisationResult instanceof LinkingResourceResults){\r\n\t\t\t\t\t\t\t\t\tLinkingResourceResults linkResult = ((LinkingResourceResults)utilisationResult);\r\n\t\t\t\t\t\t\t\t\tif (EMFHelper.checkIdentity(linkResult.getLinkingResource_LinkingResourceResults(),linkingResource)){\r\n\t\t\t\t\t\t\t\t\t\toutput.append(linkResult.getResourceUtilisation());\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\toutput.append(\";\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t for (int i = 0; i < containers.size()+links.size(); i++){\r\n\t\t\t\t\t\t output.append(\";\");\r\n\t\t\t\t\t }\r\n\t\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}\r\n\t\t\r\n\t\treturn output;\r\n\t}", "public abstract boolean mo66251a(Result<T> result);", "Future<Map<String, Object>> computeQueryResult(Request request) {\n String query = request.getParam(\"q\");\n Map<String, String> results = new HashMap<String, String>();\n results.put(\"a\", \"1\");\n results.put(\"b\", \"2\");\n results.put(\"c\", \"3\");\n results.put(\"d\", \"4\");\n results.put(\"e\", \"5\");\n\n Map<String, Object> result = new HashMap<String, Object>();\n result.put(\"query\", query);\n result.put(\"numResults\", \"5\");\n result.put(\"results\", results);\n result.put(\"user\", \"Bob\");\n result.put(\"timestamp\", \"Thu, 19 May 2016 00:00:00 +00:00\");\n return Future.value(result);\n }", "void ComputeResult(Object result);", "public interface NotationMapper {\n @Results({ @Result(property = \"notationId\", column = \"NOTATION_ID\"),\n @Result(property = \"title\", column = \"TITLE\"),\n @Result(property = \"subtitle\", column = \"SUBTITLE\"),\n @Result(property = \"bio\", column = \"BIO\"),\n @Result(property = \"notationUrl\", column = \"NOTATION_URL\"),\n @Result(property = \"bmgUrl\", column = \"BMG_URL\"),\n @Result(property = \"authorUrl\", column = \"AUTHOR_URL\"),\n @Result(property = \"accTitle\", column = \"ACC_TITLE\"),\n @Result(property = \"accUrl\", column = \"ACC_URL\"),\n @Result(property = \"type\", column = \"TYPE\"),\n @Result(property = \"resourceUrl\", column = \"RESOURCE_URL\"),\n @Result(property = \"createTime\", column = \"CREATETIME\") })\n @Select({\"<script>SELECT NOTATION_ID,TITLE,SUBTITLE,BIO,NOTATION_URL,BMG_URL,AUTHOR_URL,ACC_TITLE,ACC_URL,TYPE,RESOURCE_URL,CREATETIME FROM NOTATION \",\n \"<if test='type != \\\"\\\"'>WHERE TYPE = #{type}, </if>\",\n \"</script>\"})\n List<JSONObject> getNotationList(@Param(\"type\") String type);\n @Results({ @Result(property = \"notationId\", column = \"NOTATION_ID\"),\n @Result(property = \"title\", column = \"TITLE\"),\n @Result(property = \"subtitle\", column = \"SUBTITLE\"),\n @Result(property = \"bio\", column = \"BIO\"),\n @Result(property = \"notationUrl\", column = \"NOTATION_URL\"),\n @Result(property = \"bmgUrl\", column = \"BMG_URL\"),\n @Result(property = \"authorUrl\", column = \"AUTHOR_URL\"),\n @Result(property = \"accTitle\", column = \"ACC_TITLE\"),\n @Result(property = \"accUrl\", column = \"ACC_URL\"),\n @Result(property = \"type\", column = \"TYPE\"),\n @Result(property = \"resourceUrl\", column = \"RESOURCE_URL\"),\n @Result(property = \"createTime\", column = \"CREATETIME\") })\n @Select({\"SELECT NOTATION_ID,TITLE,SUBTITLE,BIO,NOTATION_URL,BMG_URL,AUTHOR_URL,ACC_TITLE,ACC_URL,TYPE,RESOURCE_URL,CREATETIME \",\n \"FROM NOTATION WHERE LOCATE(#{title},TITLE) OR LOCATE(#{title},SUBTITLE)\"\n })\n List<JSONObject> fuzzyByTitle(@Param(\"title\")String title);\n\n @Insert({\"INSERT INTO NOTATION (TITLE,SUBTITLE,BIO,NOTATION_URL,BMG_URL,AUTHOR_URL,ACC_TITLE,ACC_URL,TYPE,RESOURCE_URL,CREATETIME)\" +\n \"VALUES(#{title},#{subtitle},#{bio},#{notationUrl},#{bmgUrl},#{authorUrl},#{accTitle},#{accUrl},#{type},\" +\n \"#{resourceUrl},#{createTime})\"})\n void addNotation(JSONObject reqJson);\n}", "BaseResponse<?> test(@InfoAnnotation String userId);", "@SuppressWarnings(\"unchecked\")\n private static Object mapValueToVil(Object result, TypeDescriptor<?> type) {\n if (result instanceof java.util.Map<?, ?>) {\n result = new Map<Object, Object>((java.util.Map<Object, Object>) result, type.getGenericParameter());\n } else if (result instanceof java.util.Set<?>) {\n result = new ArraySet<Object>(((java.util.Set<?>) result).toArray(), type.getGenericParameter());\n } else if (result instanceof java.util.List<?>) {\n result = new ArraySequence<Object>(((java.util.List<?>) result).toArray(), type.getGenericParameter());\n }\n return result;\n }", "Map<Object, Object> getAllMockAPI();", "public static void setResult(String resultInfo) {\n }", "private void printResponseDetails(\n MutateGoogleAdsRequest request, MutateGoogleAdsResponse response) {\n // Parse the Mutate response to print details about the entities that were removed and/or\n // created in the request.\n for (int i = 0; i < response.getMutateOperationResponsesCount(); i++) {\n MutateOperation operationRequest = request.getMutateOperations(i);\n MutateOperationResponse operationResponse = response.getMutateOperationResponses(i);\n\n if (operationResponse.getResponseCase()\n != ResponseCase.ASSET_GROUP_LISTING_GROUP_FILTER_RESULT) {\n String entityName = operationResponse.getResponseCase().toString();\n // Trim the substring \"_RESULT\" from the end of the entity name.\n entityName = entityName.substring(0, entityName.lastIndexOf(\"_RESULT\"));\n System.out.printf(\"Unsupported entity type: %s%n\", entityName);\n }\n\n String resourceName =\n operationResponse.getAssetGroupListingGroupFilterResult().getResourceName();\n AssetGroupListingGroupFilterOperation assetOperation =\n operationRequest.getAssetGroupListingGroupFilterOperation();\n\n String operationType =\n StringUtils.capitalize(assetOperation.getOperationCase().toString().toLowerCase());\n System.out.printf(\n \"%sd a(n) AssetGroupListingGroupFilter with resource name: '%s'%n\",\n operationType, resourceName);\n }\n }", "public interface EvaluateService {\n //获取商品评价信息\n List<Map<String,Object>> getGoodsEvaluate(int id,String type);\n}", "Map<String, Object> getStats();", "public void inspect(RegNoDTO regNo)\n {\n ArrayList<InspectionsDTO> InspectionResults = control.getInspections(regNo);\n control.printInspectionList(InspectionResults) ;\n \n //Inspector enters result of the specified inspection.\n for (InspectionsDTO InspectionResult : InspectionResults) \n { \n System.out.println(\"please input the result of \" + InspectionResult.getInspectionName()+\":\");\n Scanner result = new Scanner(System.in);\n if (result.nextLine().equals(\"pass\")) {\n InspectionResult.SetInspectionResult(\"pass\");\n }\n else {\n InspectionResult.SetInspectionResult(\"fail\");\n }\n } \n \n //commit\n control.inspect(InspectionResults);\n \n //Program prints inspection results.\n control.printInspectionResults(InspectionResults) ;\n\n }", "public Map<String, Object> getInfo();", "@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 }", "private static Response process(Object result) {\n if (result == null) return Response.serverError().build();\n if (result instanceof Response.Status) return Response.status((Response.Status) result).build();\n return Response.ok(result).build();\n }", "public abstract String getResult();", "@Test\n public void test012() {\n List<Integer> id = response.extract().path(\"data.id\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The storeId of the all stores are:: \" + id);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "abstract protected void reportResult(Result result);", "@Test\n public void testGetValuesByResult() throws Exception {\n map.set(\"key-1\", \"value-1\", 10);\n map.set(\"key-2\", \"value-2\", 10);\n map.set(\"key-3\", \"value-3\", 10);\n \n List<TpMapResult> results = map.getValuesByResult(Arrays.asList(\"key-1\", \"key-2\", \"key-3\"));\n {\n TpMapResult result = results.get(0);\n Assert.assertEquals(result.getKey(), MemcachedMap.DEFAULT_ROOT_KEY_PREFIX + TpMap.KEY_SEPARATOR + \"key-1\");\n Assert.assertEquals(result.getValue(), \"value-1\");\n }\n {\n TpMapResult result = results.get(1);\n Assert.assertEquals(result.getKey(), MemcachedMap.DEFAULT_ROOT_KEY_PREFIX + TpMap.KEY_SEPARATOR + \"key-2\");\n Assert.assertEquals(result.getValue(), \"value-2\");\n }\n {\n TpMapResult result = results.get(2);\n Assert.assertEquals(result.getKey(), MemcachedMap.DEFAULT_ROOT_KEY_PREFIX + TpMap.KEY_SEPARATOR + \"key-3\");\n Assert.assertEquals(result.getValue(), \"value-3\");\n }\n }", "@RequestMapping(value = \"/detail\", method = RequestMethod.POST)\n public RetResult<Map> detail(@RequestBody Map<String,String> map) throws IOException {\n String id = String.valueOf(map.get(\"id\"));\n AffiliationsMysqlBean affiliationsMysqlBean = affiliationsMapper.getDataById(id);\n\n Map<String, Object> affiliationsEsBean = mySqlBeanToEsBean(affiliationsMysqlBean);\n //retResult.setCode(20000).setMsg(\"SUCCESS\").setData(affiliationsMysqlBean);\n return RetResponse.makeOKRsp(affiliationsEsBean);\n }", "@Test\n public void test011() {\n\n List<Integer> storeid = response.extract().path(\"data.services.storeservices.storeId\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The storeId of the all stores are:: \" + storeid);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "private Map<StatusEnum, Integer> getStatsForResults(Map<String, StatusEnum> results) {\n Map<StatusEnum, Integer> result = new HashMap<>();\n int passed = 0;\n int failed = 0;\n int skipped = 0;\n int unfinished = 0;\n for (String key : results.keySet()) {\n switch (results.get(key)) {\n case PASSED:\n passed++;\n break;\n case SKIPPED:\n skipped++;\n break;\n case FAILED:\n failed++;\n break;\n case UNFINISHED:\n unfinished++;\n break;\n }\n }\n result.put(StatusEnum.PASSED, passed);\n result.put(StatusEnum.SKIPPED, skipped);\n result.put(StatusEnum.FAILED, failed);\n result.put(StatusEnum.UNFINISHED, unfinished);\n result.put(StatusEnum.TOTAL, passed + skipped + failed + unfinished);\n return result;\n }", "@Override\n \tpublic Object getResult() {\n \t\treturn result;\n \t}", "String getResultClass();", "@Override\n\tpublic PreviewTransformationActionResult extractResult(Response response) {\n\t\tJSONObject json = JSONParser.parseLenient(response.getText()).isObject();\n\t\tString phenotypeTable_str = json.get(\"transformationTable\").isString().stringValue();\n\t\tDouble spPval = json.get(\"sp_pval\").isNumber().doubleValue();\n\t\tDataTable transformationDataTable = DataTable.create(JSONParser.parseLenient(phenotypeTable_str).isObject().getJavaScriptObject());\n\t\treturn new PreviewTransformationActionResult(transformationDataTable,spPval);\n\t}", "@Test\n public void test1(){\n Map map = us.selectAll(1, 1);\n System.out.println(map);\n }", "public interface MetricsService {\n Map<Integer, MetricsDto> analyzeBoard(List<Integer> boardList);\n}", "ArrayList<Map<String,Object>> parseQueryResult(Object result) { return null;}", "public interface TableDetailMapper {\n\n @Select(\"select * from dxh_sys.tabledetail where vendorId=0 and tableName='skuProfitDayReport'\")\n List<Map<String, Object>> list();\n\n}", "public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}", "void onResult(T result);", "void onResult(T result);", "@Test\n public void test010() {\n List<String> storeServices = response.extract().path(\"data.services[9].storeservices\");\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"get storeservices of the store where service name = Sony Experience:\" + storeServices);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "private void pushToMap(Method method, Map executeResultMap) {\n List<ResourceField> resourceFields = ResourceFieldTools.getResourceFields(method);\n executeResultMap.keySet().stream().forEach(o -> push(method, resourceFields, executeResultMap.get(o)));\n }", "public TypecheckResult interpretResults(TestConfiguration config, CompilationResult compilationResult) {\n List<TestDiagnostic> expectedDiagnostics = readDiagnostics(config, compilationResult);\n return TypecheckResult.fromCompilationResults(config, compilationResult, expectedDiagnostics);\n }", "interface Result {\n\n /** The page which contains matches. */\n @NotNull\n Resource getTarget();\n\n /** The content child of the page which contains matches. */\n @NotNull\n Resource getTargetContent();\n\n /** A link that shows the target, including search terms with {@link #PARAMETER_SEARCHTERM} */\n @NotNull\n String getTargetUrl();\n\n /** The title of the search result. */\n @NotNull\n String getTitle();\n\n /** The score of the search result. */\n Float getScore();\n\n /**\n * One or more descendants of {@link #getTarget()} that potentially match the search expression. Mostly useful\n * for generating excerpts; can contain false positives in some search algorithms.\n */\n @NotNull\n List<Resource> getMatches();\n\n /** The fulltext search expression for which this result was found. */\n @NotNull\n String getSearchExpression();\n\n /**\n * A basic excerpt from the matches that demonstrates the occurrences of the terms from {@link\n * #getSearchExpression()} in this result. Might be empty if not applicable (e.g. if the search terms were found\n * in meta information). If there are several matches, we just give one excerpt. You might want to provide your\n * own implementation for that to accommodate for specific requirements.\n *\n * @return a text with the occurrences of the words marked with HTML tag em .\n */\n @NotNull\n String getExcerpt() throws SearchTermParseException;\n }", "@Test\n public void test13() {\n List<String> name = response.extract().path(\"data.findAll{it.state=='MN'}.name\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The store names where state is MN are :: \" + name);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "@Test\n public void test005() {\n\n List<String> storeid = response.extract().path(\"data.services.storeservices.storeId\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The storeId of the all stores are:: \" + storeid);\n System.out.println(\"------------------End of Test---------------------------\");\n }", "public abstract void resultWithCode(Action1<JsonDemoResultDTO> onNext,\n Action1<Throwable> onError);", "public abstract void processResult(\n Operation operation, Object resultObj, Map<String, Object> keyMap)\n throws BaseCollectionException;", "public interface JobResultProjection {\n @Value(\"#{target.jobName}\")\n String getName();\n\n @Value(\"#{target.result}\")\n boolean isSuccess();\n\n @Value(\"#{target.alerts}\")\n List<String> getAlerts();\n\n}", "public interface PlayerStatisticMapper {\n\n @Results({\n @Result(property = \"id\", column = \"id\"),\n @Result(property = \"player\", column = \"id_player\", javaType = Player.class,\n one = @One(select = \"my.antonov.database.impl.logic.mappers.PlayerMapper.selectPlayerById\")),\n\n @Result(property = \"gamesCount\", column = \"games_count\"),\n @Result(property = \"winsCount\", column = \"wins_count\")\n })\n @Select(\"SELECT id, id_player, games_count, wins_count FROM player_statistic WHERE id = #{id}\")\n PlayerStatistic selectStatisticById(Integer id);\n\n @Insert(\"INSERT INTO player_statistic(id_player, games_count, wins_count) VALUES(#{player.id}, #{gamesCount}, #{winsCount})\")\n void insertNewStaticstic(PlayerStatistic statistic);\n\n @Update(\"ALTER TABLE player_statistic AUTO_INCREMENT = #{ai}\")\n void alterAutoIncrement(Integer ai);\n}", "@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 }", "@Test\n public void testScoresAPI() throws IOException, InterruptedException, JSONException {\n MockWebServer server = new MockWebServer();\n MockResponse response = new MockResponse();\n response.setResponseCode(HTTP_OK);\n String bodyStr = \"{\\n\" +\n \" \\\"status\\\": 0, \\n\" +\n \" \\\"error_message\\\": \\\"OK\\\", \\n\" +\n \" \\\"user_id\\\": \\\"billy_jones_301\\\",\\n\" +\n \" \\\"scores\\\": {\\n\" +\n \" \\\"payment_abuse\\\": {\\n\" +\n \" \\\"score\\\": 0.898391231245,\\n\" +\n \" \\\"reasons\\\": [\\n\" +\n \" {\\n\" +\n \" \\\"name\\\": \\\"UsersPerDevice\\\",\\n\" +\n \" \\\"value\\\": 4,\\n\" +\n \" \\\"details\\\": {\\n\" +\n \" \\\"users\\\": \\\"a, b, c, d\\\"\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" ]\\n\" +\n \" },\\n\" +\n \" \\\"promotion_abuse\\\": {\\n\" +\n \" \\\"score\\\": 0.472838192111,\\n\" +\n \" \\\"reasons\\\": []\\n\" +\n \" }\\n\" +\n \" },\\n\" +\n \" \\\"latest_labels\\\": {\\n\" +\n \" \\\"payment_abuse\\\": {\\n\" +\n \" \\\"is_bad\\\": true,\\n\" +\n \" \\\"time\\\": 1352201880,\\n\" +\n \" \\\"description\\\": \\\"received a chargeback\\\"\\n\" +\n \" },\\n\" +\n \" \\\"promotion_abuse\\\": {\\n\" +\n \" \\\"is_bad\\\": false,\\n\" +\n \" \\\"time\\\": 1362205000\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \"}\";\n response.setBody(bodyStr);\n server.enqueue(response);\n server.start();\n\n // Create a new client and link it to the mock server.\n SiftClient client = new SiftClient(\"YOUR_API_KEY\", \"YOUR_ACCOUNT_ID\",\n new OkHttpClient.Builder()\n .addInterceptor(OkHttpUtils.urlRewritingInterceptor(server))\n .build());\n\n List<String> abuseTypes = new ArrayList<>();\n abuseTypes.add(\"payment_abuse\");\n abuseTypes.add(\"promotion_abuse\");\n ScoreRequest request = client.buildRequest(\n new ScoreFieldSet()\n .setUserId(\"billy_jones_301\")\n .setAbuseTypes(abuseTypes));\n ScoreResponse siftResponse = request.send();\n\n\n // Verify the request.\n RecordedRequest request1 = server.takeRequest();\n Assert.assertEquals(\"GET\", request1.getMethod());\n Assert.assertEquals(\"/v205/score/billy_jones_301?api_key=YOUR_API_KEY&\" +\n \"abuse_types=payment_abuse,promotion_abuse\", request1.getPath());\n\n // Verify the response.\n Assert.assertEquals(HTTP_OK, siftResponse.getHttpStatusCode());\n Assert.assertEquals(0, (int) siftResponse.getBody().getStatus());\n JSONAssert.assertEquals(response.getBody().readUtf8(),\n siftResponse.getBody().toJson(), false);\n\n server.shutdown();\n\n }", "@GetMapping(\"/v2/test/{userId}\")\n public ResponseEntity<Map> getTestById(@PathVariable(value = \"userId\") BigInteger userId) {\n\t List<Map> sourceList = new ArrayList<Map>();\n\t Map source = new HashMap();\n\t source.put(\"type\", 1);\n\t source.put(\"ip\", \"10.8.1.3\");\n\t source.put(\"count\", 8);\n\t source.put(\"asset_name\", \"10.8.1.3资产\");\n\t source.put(\"domain\", \"鱼鱼\");\n\t sourceList.add(source);\n\t \n\t Map source2 = new HashMap();\n\t source2.put(\"type\", 3);\n\t source2.put(\"ip\", \"10.10.19.8\");\n\t source2.put(\"count\", 18);\n\t source2.put(\"asset_name\", \"10.10.19.8资产\");\n\t source2.put(\"domain\", \"aaa\");\n sourceList.add(source2);\n \n Map source3 = new HashMap();\n source3.put(\"type\", 2);\n source3.put(\"ip\", \"10.10.19.2\");\n source3.put(\"count\", 18);\n source3.put(\"asset_name\", \"10.10.19.2资产\");\n source3.put(\"domain\", \"ccc\");\n sourceList.add(source3);\n\t \n\t \n\t Map data = new HashMap(); \n\t data.put(\"source\", sourceList);\n\t Map map = new HashMap();\n map.put(\"data\", data);\n \n return new ResponseEntity(map,HttpStatus.OK);\n }", "public interface ResultsBundleGenerator {\n\n /** Indicates the state of a test.\n */\n static enum TestResult {\n PASSED, FAILED, ERROR, UNKNOWN\n }\n\n /** Creates a bundle of test results from the provided raw results.\n\n Note: actual bundle content and format may vary.\n\n @param rawResults A map between test names and test results.\n */\n Bundle generate(Map<String, TestResult> rawResults);\n}", "@Override\n\tprotected void handleResult(JSONObject obj) {\n\t\t\n\t}", "public Insurance getInsurance(com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.insurance.v1.Insurance res){\n\t\tInsurance insurance = new Insurance();\n\t\t\n\t\tinsurance.setMaterialNo( res.getMaterialNo() );\n\t\tinsurance.setMaterailDesc( res.getMaterailDesc() );\n\t\tinsurance.setVacationType( res.getVacationType() );\n\t\tinsurance.setVacationDescription( res.getVacationDescription() );\n\t\tinsurance.setChildRuleDesc( res.getChildRuleDesc() );\n\t\tinsurance.setOptionIns( res.getOptionIns() );\n\t\tinsurance.setOptionDesc( res.getOptionDesc() );\n\t\tinsurance.setGuestAllocation( res.getGuestAllocation() );\n\t\tinsurance.setPosnr( res.getPosnr() );\n\t\tinsurance.setOldPosnr( res.getOldPosnr() );\n\t\tinsurance.setDisabledGuestAllocation( res.getDisabledGuestAllocation() );\n\t\tif( res.getMaxQuantity() != null ){\n\t\t\tinsurance.setMaxQuantity( res.getMaxQuantity().byteValue() );\n\t\t}\n\t\tif( res.getAdultsQty() != null ){\n\t\t\tinsurance.setAdultsQty( res.getAdultsQty().byteValue() );\n\t\t}\n\t\tif( res.getChildsQty() != null ){\n\t\t\tinsurance.setChildsQty( res.getChildsQty().byteValue() );\n\t\t}\n\t\tif( res.getInfantsQty() != null ){\n\t\t\tinsurance.setInfantsQty( res.getInfantsQty().byteValue() );\n\t\t}\n\t\tif( res.getLapChildQty() != null ){\n\t\t\tinsurance.setLapChildQty( res.getLapChildQty().byteValue() );\n\t\t}\n\t\tif( res.getSeniorsQty() != null ){\n\t\t\tinsurance.setSeniorsQty( res.getSeniorsQty().byteValue() );\n\t\t}\n\t\tif( res.getItemRPH() != null ){\n\t\t\tinsurance.setItemRPH( res.getItemRPH().intValue() );\n\t\t}\n\t\tif( res.getChildMinAge() != null ){\n\t\t\tinsurance.setChildMinAge( res.getChildMinAge().intValue() );\n\t\t}\n\t\tif( res.getChildMaxAge() != null ){\n\t\t\tinsurance.setChildMaxAge( res.getChildMaxAge().intValue() );\n\t\t}\n\t\tif( res.getTotalPrice() != null ){\n\t\t\tinsurance.setTotalPrice( res.getTotalPrice().doubleValue() );\n\t\t}\n\t\tif( res.getAdultPrice() != null ){\n\t\t\tinsurance.setAdultPrice( res.getAdultPrice().doubleValue() );\n\t\t}\n\t\tif( res.getChildPrice() != null ){\n\t\t\tinsurance.setChildPrice( res.getChildPrice().doubleValue() );\n\t\t}\n\t\tif( res.getValidDateFrom() != null ){\n\t\t\tinsurance.setValidDateFrom( this.getDate( res.getValidDateFrom() ) );\n\t\t}\n\t\tif( res.getValidDateTo() != null ){\n\t\t\tinsurance.setValidDateTo( this.getDate( res.getValidDateTo() ) );\n\t\t}\n\t\tif( (res.getChildAges() != null) && (res.getChildAges().size() > 0) ){\n\t\t\tinsurance.setChildAges( this.convertBigIntegerList( res.getChildAges() ) );\n\t\t}\n\t\tif( (res.getGuestAllocationList() != null) && (res.getGuestAllocationList().size() > 0) ){\n\t\t\tList<InsuranceGuestAllocation> guestAllocationList = new ArrayList<InsuranceGuestAllocation>();\n\t\t\tfor(int i=0; i < res.getGuestAllocationList().size(); i++){\n\t\t\t\tif( res.getGuestAllocationList().get(i) != null ){\n\t\t\t\tguestAllocationList.add( this.getInsuranceGuestAllocation( res.getGuestAllocationList().get(i) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t\tinsurance.setGuestAllocationList(guestAllocationList);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\treturn insurance;\n\t}", "public ReturnData queryEncounterForinfo(){\n ReturnData returnData = new ReturnData();\n String [] jsids = {\"03034a63-e8d6-49a4-8e71-58a544b8fca3\",\n \"1ae3709f-d8c2-4db8-9f38-1a60fb0d2e61\",\n \"7340479a-28fc-44b6-bf18-374f037d5f03\",\n \"e1e5f378-b16f-441e-b673-0f0d2544d108\"};\n try {\n returnData.setData(jueseMapper.selectByPrimaryKey(jsids[MyUuid.getRandomInt(jsids.length)-1]));\n }catch (Exception e){\n returnData.setCode(-1);\n returnData.setData(e.getMessage());\n }finally {\n return returnData;\n }\n }", "private void analyze() {\n\t\tdouble org = 0;\n\t\tdouble avgIndPerDoc = 0;\n\t\tdouble avgTotalPerDoc = 0;\n\n\t\tfor (Instance instance : instanceProvider.getInstances()) {\n\n\t\t\tint g = 0;\n\t\t\tSet<AbstractAnnotation> orgM = new HashSet<>();\n\n//\t\t\torgM.addAll(instance.getGoldAnnotations().getAnnotations());\n//\t\t\tg += instance.getGoldAnnotations().getAnnotations().size();\n\n\t\t\tfor (AbstractAnnotation instance2 : instance.getGoldAnnotations().getAnnotations()) {\n\n\t\t\t\tResult r = new Result(instance2);\n\n\t\t\t\t{\n////\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getTrend());\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getInvestigationMethod());\n////\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(\n////\t\t\t\t\t\t\tr.getDefinedExperimentalGroups().stream().map(a -> a.get()).collect(Collectors.toList()));\n//\n//\t\t\t\t\torgM.addAll(aa);\n//\t\t\t\t\tg += aa.size();\n\t\t\t\t}\n\n\t\t\t\t{\n\t\t\t\t\t/**\n\t\t\t\t\t * props of exp\n\t\t\t\t\t */\n\t\t\t\t\tfor (DefinedExperimentalGroup instance3 : r.getDefinedExperimentalGroups()) {\n\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getOrganismModel());\n//\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(instance3.getTreatments());\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> ab = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getDeliveryMethods().stream())\n\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n\t\t\t\t\t\taa.addAll(instance3.getTreatments().stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Treatment(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getDeliveryMethod()).filter(i -> i != null)\n\t\t\t\t\t\t\t\t.collect(Collectors.toList()));\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getAnaesthetics().stream())\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryDevice()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\t// List<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryLocation()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\torgM.addAll(aa);\n\t\t\t\t\t\tg += aa.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tavgIndPerDoc += orgM.size();\n\t\t\tavgTotalPerDoc += g;\n\n\t\t\torg += ((double) orgM.size()) / (g == 0 ? 1 : g);\n//\t\t\tSystem.out.println(((double) orgM.size()) / g);\n\n\t\t}\n\t\tSystem.out.println(\"avgTotalPerDoc = \" + avgTotalPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"avgIndPerDoc = \" + avgIndPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"org = \" + org);\n\t\tSystem.out.println(\"avg. org = \" + (org / instanceProvider.getInstances().size()));\n\t\tSystem.out.println(new DecimalFormat(\"0.00\").format(avgTotalPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(avgIndPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(org / instanceProvider.getInstances().size()));\n\t\tSystem.exit(1);\n\n\t\tStats.countVariables(0, instanceProvider.getInstances());\n\n\t\tint count = 0;\n\t\tfor (SlotType slotType : EntityType.get(\"Result\").getSlots()) {\n\n\t\t\tif (slotType.isExcluded())\n\t\t\t\tcontinue;\n\t\t\tcount++;\n\t\t\tSystem.out.println(slotType.name);\n\n\t\t}\n\t\tSystem.out.println(count);\n\t\tSystem.exit(1);\n\t}", "public void harvest(List<IRI> iris);", "public abstract Result<T> mo66250a();", "public SPResponse getErtiInsights(User user, Object[] params) {\n \n String userCompany = user.getCompanyId();\n \n SPResponse ertiInsightsResponse = new SPResponse();\n \n ErtiInsights ertiInsights = spectrumFactory.getErtiInsights(userCompany);\n \n LOG.debug(\"ertiInsights returened is \" + ertiInsights);\n \n ertiInsightsResponse.add(\"ertiInsights\", ertiInsights);\n ertiInsightsResponse.isSuccess();\n return ertiInsightsResponse;\n }", "@Override\n public String toString() {\n final StringBuilder sb = new StringBuilder(\"ImageAnalyzeResponse{\");\n sb.append(\"source='\").append(source).append('\\'');\n sb.append(\", title='\").append(title).append('\\'');\n sb.append(\", preset='\").append(preset).append('\\'');\n sb.append(\", status='\").append(status).append('\\'');\n sb.append(\", finishTime='\").append(publishTime).append('\\'');\n sb.append(\", results='\").append(results).append('\\'');\n sb.append(\", error=\").append(error);\n sb.append('}');\n return sb.toString();\n }", "@Test\r\n\tpublic void getAllIncidents() {\n\t\tRestAssured.baseURI = \"https://dev49243.service-now.com/api/now/table/incident\";\r\n\t\t\r\n\t\t// Step 2: Authentication (basic)\r\n\t\tRestAssured.authentication = RestAssured.basic(\"admin\", \"Tuna@123\");\r\n\t\t\r\n\t\t// Step 3: Request type - Get -> Response\r\n\t\tResponse response = RestAssured.get();\r\n\t\t\r\n\t\t// Step 4: Validate (Response -> Status Code : 200)\r\n\t\tSystem.out.println(response.getStatusCode());\r\n\t\t\r\n\t\t// Print the response time as well \r\n\t\t\r\n\t\t// Check what is the response format\r\n\t\tSystem.out.println(response.getContentType());\r\n\t\t\r\n\t\t// print the response\r\n\t\tresponse.prettyPrint();\r\n\t\t\r\n\t}", "HashMap<String, Instrument> getInstruments();", "public void dump() {\n for(Object object : results) {\n System.out.println( object );\n }\n }", "@Test\n public void Scenario3() {\n\n int limit = 5;\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<String, Double> biomass = new HashMap<>();\n Map<String, Double> coal = new HashMap<>();\n Map<String, Double> imports = new HashMap<>();\n Map<String, Double> gas = new HashMap<>();\n Map<String, Double> nuclear = new HashMap<>();\n Map<String, Double> other = new HashMap<>();\n Map<String, Double> hydro = new HashMap<>();\n Map<String, Double> solar = new HashMap<>();\n Map<String, Double> wind = new HashMap<>();\n\n try {\n\n ListIterator iterator = regions.listIterator();\n int iter = 0;\n\n while (iterator.hasNext()) {\n\n biomass.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(0).getPerc()\n );\n coal.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(1).getPerc()\n );\n imports.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(2).getPerc()\n );\n gas.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(3).getPerc()\n );\n nuclear.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(4).getPerc()\n );\n other.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(5).getPerc()\n );\n hydro.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(6).getPerc()\n );\n solar.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(7).getPerc()\n );\n wind.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(8).getPerc()\n );\n\n iter++;\n iterator.next();\n\n }\n\n } catch (NullPointerException npe) {\n npe.printStackTrace();\n }\n\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(biomass), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(coal), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(imports), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(gas), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(nuclear), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(other), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(hydro), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(solar), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(wind), limit));\n }", "protected static final HashMap<String, Object> createScenariosResult(final HttpURLConnection _conn)\n\t\t\tthrows IOException, JSONException, ParseException {\n\n\t\tfinal HashMap<String, Object> result = new HashMap<String, Object>();\n\t\tfinal String responseStr;\n\n\t\tfinal int statusCode = _conn.getResponseCode();\n\t\tswitch (statusCode) {\n\t\t\tcase 200:\n\t\t\t\tresponseStr = DataWorker.readDataFromConn(_conn);\n\t\t\t\tfinal ArrayList<ScenarioModel> scenarios = Parser.parseScenarios(responseStr);\n\t\t\t\tresult.put(Constants.API_SCENARIOS, scenarios);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tfinal Bundle bundle = ErrorHelper.createErrorBundle(statusCode);\n\t\t\t\tresult.put(Constants.ERROR, bundle);\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn result;\n\t}", "T getResult();", "T getResult();", "@Test\n public void Task6() {\n Body body= given()\n .when()\n .get(\"https://jsonplaceholder.typicode.com/todos/2\")\n .then()\n .statusCode(200)\n .log().body()\n .extract().as(Body.class)\n \n\n ;\n System.out.println(\"body = \" + body);\n\n }" ]
[ "0.56356454", "0.54930025", "0.54715157", "0.5443362", "0.540559", "0.5350218", "0.5347233", "0.53401744", "0.53284323", "0.5313548", "0.5309178", "0.5254172", "0.52043736", "0.51940686", "0.51820254", "0.5117943", "0.5113125", "0.5106096", "0.508832", "0.5068548", "0.506687", "0.5058868", "0.5048423", "0.5048207", "0.5041505", "0.50223404", "0.5019906", "0.5019906", "0.5019906", "0.5015858", "0.49760783", "0.49539265", "0.49529165", "0.4947936", "0.49381757", "0.4924961", "0.49224806", "0.4905558", "0.49038365", "0.49034527", "0.48974943", "0.48869047", "0.48852146", "0.48844713", "0.4869912", "0.48582104", "0.48579574", "0.48430097", "0.4826868", "0.48193854", "0.48192066", "0.48097566", "0.4806961", "0.48049346", "0.47972375", "0.47953016", "0.47852173", "0.4784027", "0.47713155", "0.4771071", "0.47656822", "0.4760002", "0.47570497", "0.4754422", "0.47521996", "0.47419417", "0.4740277", "0.47348267", "0.47239783", "0.47150612", "0.47150612", "0.4713378", "0.4710665", "0.47034082", "0.47017902", "0.47010583", "0.46991897", "0.4698313", "0.4695678", "0.46916252", "0.46909034", "0.46897954", "0.4686275", "0.46852443", "0.46819073", "0.46783325", "0.4677123", "0.46719974", "0.46707064", "0.4666392", "0.46652842", "0.46629354", "0.4661121", "0.4660773", "0.4651689", "0.46492285", "0.46484905", "0.46426946", "0.46417508", "0.46417508", "0.46406087" ]
0.0
-1
/ Map result to MedicalMalpracticeCoverage
private void setCoverage(Record record, PolicyHeader policyHeader, List<MedicalMalpracticeCoverageType> coverageList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setCoverage", new Object[]{policyHeader.toString(), coverageList}); } MedicalMalpracticeCoverageType coverage = new MedicalMalpracticeCoverageType(); //Set Referred Insured Information. ReferredInsuredType rInsured = new ReferredInsuredType(); rInsured.setInsuredReference(PremiumFields.getRiskId(record)); rInsured.setValue(PremiumFields.getRiskId(record)); coverage.setReferredInsured(rInsured); coverage.setKey(PremiumFields.getCoverageId(record)); coverage.setCoverageNumberId(PremiumFields.getCoverageId(record)); coverage.setParentCoverageNumberId(PremiumFields.getParentCovgId(record)); coverage.setCurrentTermAmount(PremiumFields.getWrittenPremium(record)); //Set Coverage Code MedicalMalpracticeCoverageCodeType coverageCode = new MedicalMalpracticeCoverageCodeType(); coverageCode.setValue(PremiumFields.getProductCoverageCode(record)); coverageCode.setDescription(record.getStringValue("hiddenCovgCode")); coverage.setMedicalMalpracticeCoverageCode(coverageCode); coverageList.add(coverage); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setCoverage", coverage); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getCoverage (){\r\n return coverage;\r\n }", "public String getCoverage() {\n/* 98 */ return getValue(\"coverage\");\n/* */ }", "@Test\r\n public void testGetPredictedDiseaseAssociationsForMgiGeneId() {\r\n String mgiGeneId = \"MGI:95523\";\r\n\r\n Map<Disease, Set<DiseaseAssociation>> result = instance.getPredictedDiseaseAssociationsForMgiGeneId(mgiGeneId);\r\n \r\n// for (Disease disease : result.keySet()) {\r\n// System.out.println(disease);\r\n// for (DiseaseAssociation diseaseAssociation : result.get(disease)) {\r\n// System.out.println(String.format(\" %s\", diseaseAssociation));\r\n// }\r\n// }\r\n assertTrue(result.keySet().size() > 290);\r\n }", "SuccessCoverage createSuccessCoverage();", "private List<CWECoverageClaimType> createCoverageClaims(ObjectFactory objFactory, Repository repository)\n {\n List<CWECoverageClaimType> results = new ArrayList<CWECoverageClaimType>();\n \n RepositoryConnection con = null;\n try\n {\n con = getRepositoryConnection(repository);\n \n String adaptorQuery = \"SELECT ?generatorName ?segment ?version WHERE { ?y <http://toif/path> ?x . ?segment <http://toif/contains> ?y . ?segment <http://toif/toif:TOIFSegmentIsGeneratedByGenerator> ?generator . \"\n + \"?generator <http://toif/name> ?generatorName . \" + \"?generator <http://toif/version> ?version}\";\n \n TupleQuery adaptorTupleQuery = con.prepareTupleQuery(QueryLanguage.SPARQL, adaptorQuery);\n \n TupleQueryResult queryResult = adaptorTupleQuery.evaluate();\n \n while (queryResult.hasNext())\n {\n BindingSet adaptorSet = queryResult.next();\n Value generatorName = adaptorSet.getValue(\"generatorName\");\n Value segment = adaptorSet.getValue(\"segment\");\n Value version = adaptorSet.getValue(\"version\");\n \n if (generatorNames.contains(generatorName.stringValue()))\n {\n continue;\n }\n else\n {\n generatorNames.add(generatorName.stringValue());\n }\n \n CWECoverageClaimType coverageClaim = objFactory.createCWECoverageClaimType();\n \n coverageClaim.setVendorName(\"KDM Analytics Inc\");\n coverageClaim.setToolsetName(generatorName.stringValue());\n coverageClaim.setToolsetVersion(version.stringValue());\n String fileName = getAFileFromSegment(segment, repository);\n \n String langType = getLanguageType(fileName);\n coverageClaim.setLanguageType(langType);\n \n String lang = getLanguage(fileName);\n coverageClaim.setLanguage(lang);\n \n XMLGregorianCalendar date = getDate(segment, repository);\n \n coverageClaim.setDateOfClaim(date);\n \n Claims claims = objFactory.createCWECoverageClaimTypeClaims();\n \n Collection<Claim> claimList = createClaims(objFactory, segment, repository);\n \n claims.getClaim().addAll(claimList);\n coverageClaim.setClaims(claims);\n \n results.add(coverageClaim);\n \n }\n \n queryResult.close();\n }\n catch (RepositoryException e)\n {\n e.printStackTrace();\n }\n catch (MalformedQueryException e)\n {\n e.printStackTrace();\n }\n catch (QueryEvaluationException e)\n {\n e.printStackTrace();\n }\n finally\n {\n try\n {\n con.close();\n }\n catch (RepositoryException e)\n {\n e.printStackTrace();\n }\n }\n return results;\n }", "@Test\n public void Scenario2() {\n\n softAssert = new SoftAssert();\n\n Response resp = reqSpec.request().get();\n\n List<List<Number>> allPerc = resp.jsonPath().getList(\"data.regions.generationmix[0].perc\");\n\n LinkedList<String> regions = new LinkedList<>();\n regions.addAll(resp.jsonPath().getList(\"data.regions.shortname[0]\"));\n\n for (List<Number> perc : allPerc) {\n\n String name = regions.pop();\n\n float result = CalculationUtils.sumListElements(perc);\n\n System.out.println(name);\n System.out.println(\"Sum of perc equals: \" + result);\n System.out.println(\"------------\");\n\n softAssert.assertEquals(100.0, result, 0.1);\n }\n\n softAssert.assertAll();\n }", "List<ClassificationCostsDto> map(List<ClassificationCostsReport> classificationCostsReports);", "private CoverageReport convertToCoverageReport(Coverage report, ExecutionContext context) {\n\n\t\tCoverageReport coverageReport = new CoverageReport();\n\t\tcoverageReport.setName(\"Gobertura coverage\");\n\n\t\t// simple packages\n\t\tPackages packages = report.getPackages();\n\t\tfor (Package onePackage : packages.getPackage()) {\n\t\t\tcoverageReport.getDirectories().add(this.converPackage(onePackage));\n\t\t}\n\n\t\tInteger missed = 0;\n\t\tInteger covered = 0;\n\t\tInteger missedConditional = 0;\n\t\tInteger coveredConditional = 0;\n\t\tInteger classesCovered = 0;\n\t\tInteger classesMissed = 0;\n\n\t\tfor (DirectoryCoverage classCoverage : coverageReport.getDirectories()) {\n\t\t\tmissed += classCoverage.getLineMissed();\n\t\t\tcovered += classCoverage.getLineCovered();\n\t\t\tmissedConditional += classCoverage.getBranchMissed();\n\t\t\tcoveredConditional += classCoverage.getBranchCovered();\n\t\t\tclassesCovered += classCoverage.getClassCovered();\n\t\t\tclassesMissed += classCoverage.getClassMissed();\n\t\t}\n\n\t\tcoverageReport.setLineCovered(covered);\n\t\tcoverageReport.setLineMissed(missed);\n\n\t\tcoverageReport.setBranchCovered(coveredConditional);\n\t\tcoverageReport.setBranchMissed(missedConditional);\n\n\t\tcoverageReport.setClassCovered(classesCovered);\n\t\tcoverageReport.setClassMissed(classesMissed);\n\n\t\tcoverageReport.setMarkup(GcovHTMLMarkupBuilder.genearteSummary(coverageReport, context));\n\n\t\tcoverageReport.setType(CoverageType.COBERTURA);\n\n\t\treturn coverageReport;\n\t}", "Bundle generate(Map<String, TestResult> rawResults);", "@Test\n public void projectMetrics() {\n assertProjectMetrics(340, 161, 179, 78054, 28422, 49632);\n }", "@Test\n public void Scenario3() {\n\n int limit = 5;\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<String, Double> biomass = new HashMap<>();\n Map<String, Double> coal = new HashMap<>();\n Map<String, Double> imports = new HashMap<>();\n Map<String, Double> gas = new HashMap<>();\n Map<String, Double> nuclear = new HashMap<>();\n Map<String, Double> other = new HashMap<>();\n Map<String, Double> hydro = new HashMap<>();\n Map<String, Double> solar = new HashMap<>();\n Map<String, Double> wind = new HashMap<>();\n\n try {\n\n ListIterator iterator = regions.listIterator();\n int iter = 0;\n\n while (iterator.hasNext()) {\n\n biomass.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(0).getPerc()\n );\n coal.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(1).getPerc()\n );\n imports.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(2).getPerc()\n );\n gas.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(3).getPerc()\n );\n nuclear.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(4).getPerc()\n );\n other.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(5).getPerc()\n );\n hydro.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(6).getPerc()\n );\n solar.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(7).getPerc()\n );\n wind.put(regions.get(iter).getShortname(),\n regions.get(iter).getGenerationmix().get(8).getPerc()\n );\n\n iter++;\n iterator.next();\n\n }\n\n } catch (NullPointerException npe) {\n npe.printStackTrace();\n }\n\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(biomass), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(coal), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(imports), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(gas), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(nuclear), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(other), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(hydro), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(solar), limit));\n System.out.println(MapUtils.limitMapAndReturnList(MapUtils.sortByValueDescending(wind), limit));\n }", "public List<UnitTestCoverage> getUnitTestCoverage() throws SQLException;", "void mo24178a(ResultData resultdata);", "public void setCoverage(String value) {\n/* 90 */ setValue(\"coverage\", value);\n/* */ }", "private void analyze() {\n\t\tdouble org = 0;\n\t\tdouble avgIndPerDoc = 0;\n\t\tdouble avgTotalPerDoc = 0;\n\n\t\tfor (Instance instance : instanceProvider.getInstances()) {\n\n\t\t\tint g = 0;\n\t\t\tSet<AbstractAnnotation> orgM = new HashSet<>();\n\n//\t\t\torgM.addAll(instance.getGoldAnnotations().getAnnotations());\n//\t\t\tg += instance.getGoldAnnotations().getAnnotations().size();\n\n\t\t\tfor (AbstractAnnotation instance2 : instance.getGoldAnnotations().getAnnotations()) {\n\n\t\t\t\tResult r = new Result(instance2);\n\n\t\t\t\t{\n////\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getTrend());\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(r.getInvestigationMethod());\n////\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(\n////\t\t\t\t\t\t\tr.getDefinedExperimentalGroups().stream().map(a -> a.get()).collect(Collectors.toList()));\n//\n//\t\t\t\t\torgM.addAll(aa);\n//\t\t\t\t\tg += aa.size();\n\t\t\t\t}\n\n\t\t\t\t{\n\t\t\t\t\t/**\n\t\t\t\t\t * props of exp\n\t\t\t\t\t */\n\t\t\t\t\tfor (DefinedExperimentalGroup instance3 : r.getDefinedExperimentalGroups()) {\n\n//\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getOrganismModel());\n//\t\t\t\t\tList<AbstractAnnotation> aa = new ArrayList<>(instance3.getTreatments());\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> ab = Arrays.asList(instance3.getInjury());\n\n\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getDeliveryMethods().stream())\n\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n\t\t\t\t\t\taa.addAll(instance3.getTreatments().stream().filter(i -> i != null)\n\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Treatment(et))\n\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getDeliveryMethod()).filter(i -> i != null)\n\t\t\t\t\t\t\t\t.collect(Collectors.toList()));\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).flatMap(i -> i.getAnaesthetics().stream())\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).collect(Collectors.toList());\n\n//\t\t\t\t\t\tList<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryDevice()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\t// List<AbstractAnnotation> aa = ab.stream().filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.map(et -> et.asInstanceOfEntityTemplate()).map(et -> new Injury(et))\n//\t\t\t\t\t\t\t\t.filter(i -> i != null).map(i -> i.getInjuryLocation()).filter(i -> i != null)\n//\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\n\t\t\t\t\t\torgM.addAll(aa);\n\t\t\t\t\t\tg += aa.size();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tavgIndPerDoc += orgM.size();\n\t\t\tavgTotalPerDoc += g;\n\n\t\t\torg += ((double) orgM.size()) / (g == 0 ? 1 : g);\n//\t\t\tSystem.out.println(((double) orgM.size()) / g);\n\n\t\t}\n\t\tSystem.out.println(\"avgTotalPerDoc = \" + avgTotalPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"avgIndPerDoc = \" + avgIndPerDoc / instanceProvider.getInstances().size());\n\t\tSystem.out.println(\"org = \" + org);\n\t\tSystem.out.println(\"avg. org = \" + (org / instanceProvider.getInstances().size()));\n\t\tSystem.out.println(new DecimalFormat(\"0.00\").format(avgTotalPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(avgIndPerDoc / instanceProvider.getInstances().size())\n\t\t\t\t+ \" & \" + new DecimalFormat(\"0.00\").format(org / instanceProvider.getInstances().size()));\n\t\tSystem.exit(1);\n\n\t\tStats.countVariables(0, instanceProvider.getInstances());\n\n\t\tint count = 0;\n\t\tfor (SlotType slotType : EntityType.get(\"Result\").getSlots()) {\n\n\t\t\tif (slotType.isExcluded())\n\t\t\t\tcontinue;\n\t\t\tcount++;\n\t\t\tSystem.out.println(slotType.name);\n\n\t\t}\n\t\tSystem.out.println(count);\n\t\tSystem.exit(1);\n\t}", "private TreeMap<String, Integer> aggregateResultBySignature(final List<CountingResult> results) {\r\n\t\tCountingResult countingResult;\r\n\t\tString signature;\r\n\t\tInteger value;\r\n\t\tTreeMap<String,Integer> classification = new TreeMap<String, Integer>();\r\n\t\tfor (Iterator<CountingResult> iterator = results.iterator(); iterator.hasNext();) {\r\n\t\t\tcountingResult = iterator.next();\r\n\t\t\tsignature = countingResult.getQualifyingMethodName();\r\n\t\t\tvalue = classification.get(signature);\r\n\t\t\tif(value==null){//classification.keySet().contains(signature)){\r\n\t\t\t\tclassification.put(signature, 1);\r\n\t\t\t}else{\r\n\t\t\t\tclassification.put(signature, new Integer(value+1));\r\n\t\t\t}\r\n\t\t}\r\n\t\tlog.debug(\"Counting results by method name (\\\"classification\\\"): \"+classification.toString());\r\n\t\treturn classification;\r\n\t}", "@Test\n public void testGetValue() throws Exception {\n\n Map<String, IMetaData<SampleMark>> name2MetaData;\n name2MetaData = factory.class2MetaDataByFullPath(Person.class);\n\n assertEquals(3, name2MetaData.size());\n\n for (Person p : persons) {\n\n Person.assertPerson(p,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|lastname\").getValue(p),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|weight\").getValue(p),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Person|age\").getValue(p));\n }\n\n name2MetaData = factory.class2MetaDataByFullPath(Driver.class);\n\n assertEquals(4, name2MetaData.size());\n\n for (Driver d : drivers) {\n\n Driver.assertDriver(d,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|lastname\").getValue(d),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|weight\").getValue(d),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|age\").getValue(d),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Driver|hasDrivingLicense\").getValue(d));\n\n }\n\n name2MetaData = factory.class2MetaDataByFullPath(Car.class);\n\n assertEquals(10, name2MetaData.size());\n\n for (Car c : cars) {\n Driver.assertDriver(c.getDriver(),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|lastname\").getValue(c),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|weight\").getValue(c),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|age\").getValue(c),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|hasDrivingLicense\").getValue(c));\n Driver.assertDriver((Driver) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|lastname\").getValue(c),\n (Float) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|weight\").getValue(c),\n (Integer) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|age\").getValue(c),\n (Boolean) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|driver|hasDrivingLicense\").getValue(c));\n Engine.assertEngine(c.getEngine(),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|productName\").getValue(c));\n Engine.assertEngine((Engine) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|productName\").getValue(c));\n\n Oil.assertOil(c.getEngine().oil,\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|vendorName\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|producentName\").getValue(c));\n Oil.assertOil((Oil) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|vendorName\").getValue(c),\n (String) name2MetaData.get(\"pl.softech.reflection.SampleDataGenerator$Car|engine|oil|producentName\").getValue(c));\n }\n\n }", "@Test\n public void testStuffWithCoverage() {\n\n for(int a = -5; a <= 5; a ++) {\n for (int b = -5; b <= 5; b++) {\n SampleSmallClass.doSomeMath(a, b);\n }\n }\n }", "public static String[] calculateTest(List<Measurement> measurements, int test_uid, int numFilter) {\n if(measurements == null || measurements.size()==0) {\n System.out.println(\"No measurements for Test \" + test_uid);\n String[] summary = {test_uid+\"\", null, null, null ,null ,null, null, null, null};\n return summary;\n }\n\n double minHeight = Double.MAX_EXPONENT;\n int minHeightLocation = 0;\n double maxHeight = Double.MIN_EXPONENT;\n int maxHeightLocation = 0;\n double meanHeight = 0.0;\n double heightRange = 0.0;\n\n List<Double> heightList = new ArrayList<>();\n\n for(Measurement measurement: measurements) {\n double currentHeight = measurement.getHeight();\n heightList.add(currentHeight);\n meanHeight += currentHeight;\n\n if(currentHeight > maxHeight) {\n maxHeight = currentHeight;\n maxHeightLocation = measurement.getMeasurement_uid();\n }\n if(currentHeight < minHeight) {\n minHeight = currentHeight;\n minHeightLocation = measurement.getMeasurement_uid();\n }\n }\n\n meanHeight /= measurements.size();\n heightRange = maxHeight - minHeight;\n double averageRoughness = calculateAverageRoughness(heightList, meanHeight);\n double rootMeanSquareRoughness = calculateRootMeanSquareRoughness(heightList, meanHeight);\n\n int countInsideFilter = 0;\n int countOutsideFilter = 0;\n double bottomFilter = meanHeight - (numFilter*rootMeanSquareRoughness);\n double topFilter = meanHeight + (numFilter*rootMeanSquareRoughness);\n for(Measurement measurement: measurements) {\n double currentHeight = measurement.getHeight();\n if((currentHeight < meanHeight && currentHeight < bottomFilter) ||\n (currentHeight > meanHeight && currentHeight > topFilter)) {\n countOutsideFilter++;\n } else {\n countInsideFilter++;\n }\n }\n\n String[] data = {test_uid+\"\", minHeight+\"\", minHeightLocation+\"\", maxHeight+\"\",\n maxHeightLocation+\"\", meanHeight+\"\", heightRange+\"\",\n averageRoughness+\"\", rootMeanSquareRoughness+\"\", countInsideFilter+\"\", countOutsideFilter+\"\"};\n return data;\n }", "@Override\n public ExamResult process(ExamResult result) throws Exception {\n\n if (result.getPercentage() < 75) {\n\n log.info(\"Processing result :\" + result + \" filter out..\");\n return null;\n\n } else\n log.info(\"Processing result :\" + result);\n\n return result;\n }", "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:24:54.438 -0400\", hash_original_method = \"FB10554031D1BCD284B50199483C1FBD\", hash_generated_method = \"FEDA725AF6571E04608EDC1D440697C2\")\n \n public static String scanResultsCommand(){\n \tdouble taintDouble = 0;\n \n \tString retObj = new String(); \n \tretObj.addTaint(taintDouble);\n \treturn retObj;\n }", "@Test\n\tvoid testCalculateMarkInSemesterFail1() {\n\t\tString semesterName = \"\";\n\t\t\n\t\tList<StudentResult> studentResults = new ArrayList<>();\n\t\n\t\t// result after calculated marks\n\t\tList<Object> listResults = MarkUtility.calculateMarkInSemester(semesterName, studentResults);\n\t\t\n\t\t// semesterFullName, numbersOfSubjects, gpaInSemester, passedCredits\n\t\tString semesterFN = (String) listResults.get(0);\n\t\tint numberOfSubjects = ((Map<Subject, StudentResult>) listResults.get(1)).size();\n\t\tfloat gpaInSemester = (float) listResults.get(2);\n\t\tint passedCredits = (int) listResults.get(3);\t\t\n\t\t\n\t\tassertTrue(\n\t\t\t\tsemesterFN.equals(\"\") &&\n\t\t\t\tnumberOfSubjects == 0 &&\n\t\t\t\tgpaInSemester == 0 &&\n\t\t\t\tpassedCredits == 0\n\t\t\t\t);\t\t\t\t\n\t}", "@Test\n\tvoid testCalculateMarkInSemesterFail2() {\n\t\tString semesterName = null;\n\t\t\n\t\tList<StudentResult> studentResults = new ArrayList<>();\n\t\n\t\t// result after calculated marks\n\t\tList<Object> listResults = MarkUtility.calculateMarkInSemester(semesterName, studentResults);\n\t\t\n\t\t// semesterFullName, numbersOfSubjects, gpaInSemester, passedCredits\n\t\tString semesterFN = (String) listResults.get(0);\n\t\tint numberOfSubjects = ((Map<Subject, StudentResult>) listResults.get(1)).size();\n\t\tfloat gpaInSemester = (float) listResults.get(2);\n\t\tint passedCredits = (int) listResults.get(3);\t\t\n\t\t\n\t\tassertTrue(\n\t\t\t\tsemesterFN.equals(\"\") &&\n\t\t\t\tnumberOfSubjects == 0 &&\n\t\t\t\tgpaInSemester == 0 &&\n\t\t\t\tpassedCredits == 0\n\t\t\t\t);\t\t\t\t\n\t}", "@Override\n public JsonObject getUsecases() throws InsightsCustomException {\n JsonObject response = new JsonObject();\n JsonArray responseArray = new JsonArray();\n try {\n List<AutoMLConfig> results = autoMLConfigDAL.fetchUsecases();\n if (!results.isEmpty()) {\n \tresults.forEach(eachMLConfig->{\n \t\tJsonObject eachObject = new JsonObject();\n\t\t\t\t\teachObject.addProperty(\"workflowId\", eachMLConfig.getWorkflowConfig().getWorkflowId());\n \t\teachObject.addProperty(USECASE_NAME,eachMLConfig.getUseCaseName());\n \t\teachObject.addProperty(\"predictionColumn\", eachMLConfig.getPredictionColumn());\n \t\teachObject.addProperty(\"splitRatio\",eachMLConfig.getTrainingPerc()+\"/\"+(100-eachMLConfig.getTrainingPerc()));\n \t\teachObject.addProperty(\"modelName\", eachMLConfig.getMojoDeployed());\n \t\teachObject.addProperty(\"createdAt\", eachMLConfig.getCreatedDate());\n \t\teachObject.addProperty(\"updatedAt\", eachMLConfig.getUpdatedDate());\n \t\teachObject.addProperty(\"status\", eachMLConfig.getStatus());\n \t\teachObject.addProperty(\"isActive\", eachMLConfig.getIsActive());\n \t\teachObject.addProperty(\"predictionType\", eachMLConfig.getPredictionType());\n \t\tresponseArray.add(eachObject);\n \t});\n response.add(\"usecases\", responseArray);\n } else {\n response.addProperty(\"nodata\",404);\n }\n return response;\n } catch (Exception e) {\n throw new InsightsCustomException(e.getMessage());\n }\n }", "public HashMap<String, Integer> setResults(ArrayList<HasCodeSmell> trueResults) { \n\t\t\tHashMap<String, Integer> mapValues = new HashMap<>();\n\t\t\tint falsepositive = 0;\n\t\t\tint falsenegative = 0;\n\t\t\tint truepositive = 0;\n\t\t\tint truenegative = 0;\n\t\t\tfor (HasCodeSmell indicator : result) {\n\t\t\t\tif(indicator.isMethod()) {\n\t\t\t\t\tfor (HasCodeSmell calculated : trueResults) {\n\t\t\t\t\t\t\tif (indicator.isEqual(calculated)) {\n\t\t\t\t\t\t\t\tif (calculator.isTruePositive(indicator, calculated)) truepositive++;\n\t\t\t\t\t\t\t\telse if (calculator.isFalsePositive(indicator, calculated)) falsepositive++;\n\t\t\t\t\t\t\t\telse if (calculator.isFalseNegative(indicator, calculated)) falsenegative++;\n\t\t\t\t\t\t\t\telse if (calculator.isTrueNegative(indicator, calculated)) truenegative++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tmapValues.put(QualityCalculator.FALSE_POSITIVE, falsepositive);\n\t\t\tmapValues.put(QualityCalculator.FALSE_NEGATIVE, falsenegative);\n\t\t\tmapValues.put(QualityCalculator.TRUE_POSITIVE, truepositive);\n\t\t\tmapValues.put(QualityCalculator.TRUE_NEGATIVE, truenegative);\n\t\t\treturn mapValues;\n\t\t}", "public void mo5062c(Result result) {\n }", "private HashMap <String,String> analyzePrescription(ResponsePrescriptionBean[] psdetails) {\n\t\tSimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\t\tHashMap <String,String> resp = new HashMap <String,String>();\n\t\tresp.put(\"medication\", psdetails[0].getTreatment().getDetails().get(\"DisplayName\"));\n\t\tresp.put(\"dose\", psdetails[0].getDailydose());\n\t\tresp.put(\"treatment_group\", psdetails[0].getTreatment().getGroup().getTreatmentgroupabbreviation().toLowerCase());\n\t\t\n\t\tint response_time = 0;\n\t\tfloat amt_highdose = 0;\n\t\tfloat amt_lowdose = 0;\n\t\tint x_percent_of_usual_dose_range = 50;\n\t\tint y_percent_of_usual_response_time = 50;\n\t\tint grace = 0;\n\t\tint doa = 0;\n\t\tif (psdetails[0].getTreatment().getDetails() != null) {\n\t\t\tresp.put(\"display_name\", psdetails[0].getTreatment().getDetails().get(\"DisplayName\"));\n\t\t\tresp.put(\"chart_name\", psdetails[0].getTreatment().getDetails().get(\"GuidelineChartName\"));\n\t\t\tresp.put(\"treatmentid\", \"\"+psdetails[0].getTreatment().getTreatmentid());\n\t\t\tresp.put(\"unit\", psdetails[0].getTreatment().getDetails().get(\"Unit\"));\n\t\t\tresp.put(\"treatment_function\", psdetails[0].getTreatment().getDetails().get(\"DrugFunction\"));\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\") != null) {\n\t\t\t\tresp.put(\"long_acting_flag\", psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"ResponseTime\") != null) {\n\t\t\t\tresponse_time = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"ResponseTime\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\") != null && !psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\").equals(\"\")) {\n\t\t\t\tamt_highdose = Float.parseFloat(psdetails[0].getTreatment().getDetails().get(\"DailyHighDose\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\") != null && !psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\").equals(\"\")) {\n\t\t\t\tamt_lowdose = Float.parseFloat(psdetails[0].getTreatment().getDetails().get(\"DailyLowDose\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTPercentDoseRange\") != null) {\n\t\t\t\tx_percent_of_usual_dose_range = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTPercentDoseRange\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTPercentResponseTime\") != null) {\n\t\t\t\ty_percent_of_usual_response_time = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTPercentResponseTime\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"AMTGracePeriod\") != null) {\n\t\t\t\tgrace = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"AMTGracePeriod\"));\n\t\t\t}\n\t\t\tif (psdetails[0].getTreatment().getDetails().get(\"DurationOfAction\") != null) {\n\t\t\t\tdoa = Integer.parseInt(psdetails[0].getTreatment().getDetails().get(\"DurationOfAction\"));\n\t\t\t}\n\t\t}\n\n\t\tint amt_req_duration = response_time * y_percent_of_usual_response_time / 100;\n\t\tfloat amt_req_dose = amt_lowdose + (amt_highdose - amt_lowdose) * x_percent_of_usual_dose_range / 100;\n\n\t\tlong dose_duration = 0;\n\t\tboolean same_dose = true;\n\t\tlong medication_duration = 0;\n\t\tlong amt_duration = 0;\n\t\tboolean amt_dose = false;\n\t\tif (amt_req_dose > 0) amt_dose = true;\n\t\tDate expdate = null;\n\t\tDate startdate = null;\n\t\tDate workingstartdate = null;\n\t\tfloat dose = 0;\n\t\ttry {\n\t\t\tworkingstartdate = df.parse(psdetails[0].getEntrydate());\n\t\t} catch (ParseException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t\t\n\t\tResponsePrescriptionBean working = new ResponsePrescriptionBean(psdetails[0]);\n\t\tresp.put(\"dose_start_date\", RecommendUtils.formatDateFromDB(workingstartdate));\n\t\tresp.put(\"medication_start_date\", RecommendUtils.formatDateFromDB(workingstartdate));\n\t\tdose_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\tmedication_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\tdose = Float.parseFloat(psdetails[0].getDailydose());\n\t\tif (amt_req_dose > 0 && dose >= amt_req_dose) {\n\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t}\n\t\tfor (int i=1; i<psdetails.length; i++) {\n\t\t\ttry {\n\t\t\t\tstartdate = df.parse(psdetails[i].getEntrydate());\n\t\t\t} catch (ParseException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\tcal.setTime(startdate);\n\t\t\tcal.add(Calendar.DATE, psdetails[i].getDuration()+doa+grace);\n\t\t\texpdate = cal.getTime();\n\t\t\tif (workingstartdate.before(expdate)) {\n\t\t\t\tworkingstartdate = startdate;\n\t\t\t\tresp.put(\"medication_start_date\", RecommendUtils.formatDateFromDB(startdate));\n\t\t\t\tmedication_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\tif (same_dose && working.getDailydose().equals(psdetails[i].getDailydose())) {\n\t\t\t\t\tresp.put(\"dose_start_date\", RecommendUtils.formatDateFromDB(startdate));\n\t\t\t\t\tdose_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t} else {\n\t\t\t\t\tsame_dose = false;\n\t\t\t\t}\n\t\t\t\tdose = Float.parseFloat(psdetails[i].getDailydose());\n\t\t\t\tif (amt_req_dose > 0 && dose >= amt_req_dose && amt_dose) {\n\t\t\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t} else {\n\t\t\t\t\tamt_dose = false;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} else { //There's a gap in this prescription, ignore earlier prescriptions of this drug.\n\t\t\t\tsame_dose = false;\n\t\t\t\ti = psdetails.length;\n\t\t\t}\n\t\t}\n\t\tresp.put(\"medication_duration\", \"\"+medication_duration);\n\t\tresp.put(\"medication_duration_weeks\", \"\"+((int)(medication_duration/7)));\n\t\tresp.put(\"dose_duration\", \"\"+dose_duration);\n\t\tresp.put(\"dose_duration_weeks\", \"\"+((int)(dose_duration/7)));\n\t\t\n\t\tif (psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\") != null && psdetails[0].getTreatment().getDetails().get(\"LongActingFlag\").equals(\"1\")\n\t\t\t\t&& psdetails[0].getTreatment().getDetails().get(\"AdministrationMechanism\") != null && psdetails[0].getTreatment().getDetails().get(\"AdministrationMechanism\").equalsIgnoreCase(\"injection\")) {\n\t\t\tresp.put(\"adequate_medication_trial\", \"0\");\n\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\tif (amt_req_dose > 0 && medication_duration >= response_time) {\n\t\t\t\tif (analyzeLongActingAMTDoseDate(psdetails, new Date(), amt_req_dose)) {\n\t\t\t\t\tboolean amt = false;\n\t\t\t\t\tworkingstartdate = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tworkingstartdate = df.parse(psdetails[0].getEntrydate());\n\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tfor (int i=1; i<psdetails.length; i++) {\n\t\t\t\t\t\t// for each administration of the treatment, we have to determine if the patient \n\t\t\t\t\t\t// was above the amt_req_dose level (within the grace period) before the administration.\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tstartdate = df.parse(psdetails[i].getEntrydate());\n\t\t\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\t\t\t\tcal.setTime(startdate);\n\t\t\t\t\t\tcal.add(Calendar.DATE, -1);\n\t\t\t\t\t\tif (analyzeLongActingAMTDoseDate(psdetails, cal.getTime(), amt_req_dose)) {\n\t\t\t\t\t\t\tworkingstartdate = startdate;\n\t\t\t\t\t\t\tamt_duration = (new Date().getTime() - workingstartdate.getTime()+(1000*3600*12))/(1000*3600*24);\n\t\t\t\t\t\t\tif (amt_duration >= amt_req_duration) {\n\t\t\t\t\t\t\t\tamt = true;\n\t\t\t\t\t\t\t\ti = psdetails.length;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (amt) {\n\t\t\t\t\t\tresp.put(\"adequate_medication_trial\", \"1\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (amt_req_dose > 0 && amt_duration >= amt_req_duration && medication_duration >= response_time) {\n\t\t\t\tresp.put(\"adequate_medication_trial\", \"1\");\n\t\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\t} else {\n\t\t\t\tresp.put(\"adequate_medication_trial\", \"0\");\n\t\t\t\tresp.put(\"adequate_medication_trial_response\", \"0\");\n\t\t\t}\n\t\t}\n\t\tif (psdetails[0].getTreatment().getDetails().get(\"LabNamePattern\") != null) {\n\t\t\tresp.put(\"serum_level_low\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelLow\"));\n\t\t\tresp.put(\"serum_level_high\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelHigh\"));\n\t\t\tresp.put(\"response_time\", psdetails[0].getTreatment().getDetails().get(\"ResponseTime\"));\n\t\t\tresp.put(\"serum_level_unit\", psdetails[0].getTreatment().getDetails().get(\"SerumLevelUnit\"));\n\t\t\tresp.put(\"lab_name\", psdetails[0].getTreatment().getDetails().get(\"LabNamePattern\"));\n\t\t\tresp.put(\"amt_response_time\", \"\"+amt_req_duration);\n\t\t}\n\t\treturn resp;\n\t}", "public java.lang.String CC_GetMastersFailureAnalysis(java.lang.String masterCode, java.lang.String accessCode) throws java.rmi.RemoteException;", "org.hl7.fhir.Integer getReadCoverage();", "@Test\n public void testGetAvailableResults() {\n System.out.println(\"getAvailableResults\");\n String sim = \"Simulation\";\n \n FlightPlan fp=new FlightPlan();\n ShortestPathResult sp = new ShortestPathResult(fp);\n sp.calculateBestPath(new AirNetwork(),fp,10,10);\n \n Simulation simu = new Simulation();\n simu.setShortestResultPath(sp);\n p.getSimulationsList().getSimulationsList().add(simu);\n ExportCSVController instance = new ExportCSVController(p);\n Map<String, Path> expResult = new HashMap<>();\n expResult.put(\"Best Consumption\", p.getSimulationsList().getSimulationsList().getFirst().getEcologicResultPath());\n expResult.put(\"Fastest Path\", p.getSimulationsList().getSimulationsList().getFirst().getFastestResultPath());\n expResult.put(\"Shortest Path\", p.getSimulationsList().getSimulationsList().getFirst().getShortestResultPath());\n Map<String, Path> result = instance.getAvailableResults(sim);\n assertEquals(expResult, result);\n\n }", "ResultSummary getActualResultSummary();", "@Test\n public void run () {\n\t \n\t System.out.println(\"---------->\");\n\t //System.out.println(md5list.getResult());\n\t //System.out.println(hashsearch.getResult());\n\t \n\t \n\t \n\t // System.out.println(samples.Testing());\n\t //System.out.println(\"getserult: \"+samples.getResult());\n\t \n }", "@Test\r\n public void testGetKnownDiseaseAssociationsForMgiGeneId() {\r\n String mgiGeneId = \"MGI:95523\";\r\n\r\n Map<Disease, Set<DiseaseAssociation>> result = instance.getKnownDiseaseAssociationsForMgiGeneId(mgiGeneId);\r\n\r\n for (Disease disease : result.keySet()) {\r\n// System.out.println(disease);\r\n Set<DiseaseAssociation> diseaseAssociations = result.get(disease);\r\n if (disease.getDiseaseId().equals(\"OMIM:101200\")) {\r\n assertEquals(2, diseaseAssociations.size());\r\n }\r\n for (DiseaseAssociation diseaseAssociation : diseaseAssociations) {\r\n// System.out.println(String.format(\" %s\", diseaseAssociation));\r\n }\r\n }\r\n\r\n assertTrue(result.keySet().size() >= 11);\r\n \r\n \r\n }", "private void handleCoverageDescription(CoverageInfo ci) {\n GridCoverage2D gc2d=null;\n try{\n gc2d=readSampleGridCoverage(ci);\n if(gc2d==null){\n throw new WCS20Exception(\"Unable to read sample coverage for \"+ci.getName());\n }\n // get the crs and look for an EPSG code\n final CoordinateReferenceSystem crs = gc2d.getCoordinateReferenceSystem2D();\n List<String> axesNames = envelopeDimensionsMapper.getAxesNames(gc2d.getEnvelope2D(),true);\n \n // lookup EPSG code\n Integer EPSGCode=null;\n try {\n EPSGCode = CRS.lookupEpsgCode(crs, false);\n } catch (FactoryException e) {\n throw new IllegalStateException(\"Unable to lookup epsg code for this CRS:\"+crs,e);\n }\n if(EPSGCode==null){\n throw new IllegalStateException(\"Unable to lookup epsg code for this CRS:\"+crs);\n } \n final String srsName = GMLCoverageResponseDelegate.SRS_STARTER+EPSGCode; \n // handle axes swap for geographic crs\n final boolean axisSwap = CRS.getAxisOrder(crs).equals(AxisOrder.EAST_NORTH); \n \n \n //encoding ID of the coverage\n final AttributesImpl coverageAttributes = new AttributesImpl();\n String encodedId = NCNameResourceCodec.encode(ci);\n coverageAttributes.addAttribute(\"\", \"gml:id\", \"gml:id\", \"\", encodedId);\n\n // starting encoding\n start(\"wcs:CoverageDescription\", coverageAttributes);\n\n \n // handle domain\n final StringBuilder builder= new StringBuilder();\n for(String axisName:axesNames){\n builder.append(axisName).append(\" \");\n } \n String axesLabel=builder.substring(0, builder.length()-1);\n handleBoundedBy(gc2d, axisSwap,srsName,axesLabel);\n \n //coverage id\n element(\"wcs:CoverageId\", encodedId);\n\n // handle coverage function\n handleCoverageFunction(gc2d,axisSwap);\n\n // metadata \n handleMetadata(gc2d);\n \n // handle domain\n builder.setLength(0);\n axesNames = envelopeDimensionsMapper.getAxesNames(gc2d.getEnvelope2D(),false); \n for(String axisName:axesNames){\n builder.append(axisName).append(\" \");\n } \n axesLabel=builder.substring(0, builder.length()-1); \n handleDomainSet(gc2d,encodedId,srsName,axisSwap);\n\n \n // handle rangetype\n handleRangeType(gc2d);\n \n //service parameters\n handleServiceParameters(ci);\n\n end(\"wcs:CoverageDescription\");\n }catch (Exception e) {\n throw new WcsException(e);\n } finally{\n if(gc2d!=null ){\n CoverageCleanerCallback.addCoverages(gc2d);\n }\n }\n }", "@Test\n public void testCustomerRewardService() {\n CustomerReward customerReward = customerRewardService.calculateRewards(\"custId1\");\n\n System.out.println(\"Custormer Avg Reward: \" + customerReward.getAverageRewardsPerMonth());\n System.out.println(\"Custormer Total Reward: \" + customerReward.getTotalRewards());\n\n customerReward = customerRewardService.calculateRewards(\"custId2\");\n System.out.println(\"Custormer Avg Reward: \" + customerReward.getAverageRewardsPerMonth());\n System.out.println(\"Custormer Total Reward: \" + customerReward.getTotalRewards());\n\n\n }", "public interface MetricProvider {\n\n /**\n * Calculate and return metric value(s) for specified asset and time range.\n *\n * @param financialParameter financial analysis parameter\n * @param dateFrom time range date start\n * @param dateTo time range date end\n * @return Map<Date, Double>\n */\n Map<Date, Double> getValues(final FinancialAnalysisParameter financialParameter,\n final Date dateFrom, final Date dateTo);\n\n /**\n * Calculate and update metric value(s) for specified asset and time range.\n *\n * @param financialParameter financial analysis parameter\n * @param dateFrom time range date start\n * @param dateTo time range date end\n */\n void calculateValues(final FinancialAnalysisParameter financialParameter, final Date dateFrom,\n final Date dateTo);\n\n /**\n * Setter for metric.\n *\n * @param metric financial metric.\n */\n void setMetric(final FinancialMetric metric);\n\n /**\n * Returns true if financial is applicable for specified asset type.\n *\n * @param assetType asset type\n * @return boolean\n */\n boolean isApplicableForAssetType(final AssetType assetType);\n\n /**\n * Returns true if financial is applicable for all asset types.\n *\n * @return boolean\n */\n boolean isApplicableForAllAssetTypes();\n\n /**\n * Returns an sql string with asset type restriction for finanal_pa.\n *\n * @return String\n */\n String getAssetTypeRestriction();\n\n /**\n * Returns error message string.\n * \n * @return String\n */\n String getErrorMessage();\n\n}", "@Test\r\n public void testGetDiseasesByMgiGeneId() {\r\n String mgiGeneId = \"MGI:95523\";\r\n\r\n Set<Disease> result = instance.getDiseasesByMgiGeneId(mgiGeneId);\r\n// System.out.println(\"Human ortholog diseases for mouse gene \" + mgiGeneId);\r\n// for (Disease disease : result) {\r\n// System.out.println(disease.getDiseaseId() + \" - \" + disease.getTerm());\r\n// }\r\n assertTrue(result.size() >= 14);\r\n\r\n }", "@Test\n\tvoid getResultsTest() {\n\t\tassertEquals(22, utilities.getResults(-21));\n\t\tassertEquals(20, utilities.getResults(-20));\n\t\tassertEquals(40, utilities.getResults(-19));\n\t\tassertEquals(38, utilities.getResults(-18));\n\t\tassertEquals(22, utilities.getResults(21));\n\t\tassertEquals(20, utilities.getResults(20));\n\t\tassertEquals(22, utilities.getResults(2));\n\t\tassertEquals(22, utilities.getResults(1));\n\t}", "private List<Map<StatusEnum, GraphPoint>> getTestsStat(List<Test> tests) {\n List<Map<StatusEnum, GraphPoint>> result = new ArrayList<>();\n Map<String, StatusEnum> testsResultMap = new HashMap<>();\n Date tmpEndTime = null;\n Calendar periodTime = new GregorianCalendar();\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd.MM.yyyy\");\n int testsSize = tests.size();\n int i = 0;\n for (Test test : tests) {\n i++;\n if (tmpEndTime == null) {\n tmpEndTime = test.getEndTime();\n periodTime.setTime(tmpEndTime);\n periodTime.add(Calendar.DAY_OF_YEAR, Config.GRAPH_ONE_PERIOD);\n }\n if (test.getFailReasonToTest() == null || !test.getFailReasonToTest().getFailReason().isStatsIgnored()) {\n if (test.getStatus() != null) {\n testsResultMap.put(test.getMethodName(), test.getStatus().getStatusEnum());\n } else {\n testsResultMap.put(test.getMethodName(), StatusEnum.UNFINISHED);\n }\n }\n if (testsSize == i || test.getEndTime().getTime() >= periodTime.getTimeInMillis()) {\n Map<StatusEnum, GraphPoint> onePeriodResult = new LinkedHashMap<>();\n Map<StatusEnum, Integer> stats = getStatsForResults(testsResultMap);\n String tmpXDate = dateFormat.format(periodTime.getTime());\n onePeriodResult.put(StatusEnum.TOTAL, new GraphPoint(tmpXDate, String.valueOf(stats.get(StatusEnum.TOTAL))));\n onePeriodResult.put(StatusEnum.PASSED, new GraphPoint(tmpXDate, String.valueOf(stats.get(StatusEnum.PASSED))));\n onePeriodResult.put(StatusEnum.FAILED, new GraphPoint(tmpXDate, String.valueOf(stats.get(StatusEnum.FAILED))));\n onePeriodResult.put(StatusEnum.SKIPPED, new GraphPoint(tmpXDate, String.valueOf(stats.get(StatusEnum.SKIPPED))));\n onePeriodResult.put(StatusEnum.UNFINISHED, new GraphPoint(tmpXDate, String.valueOf(stats.get(StatusEnum.UNFINISHED))));\n result.add(onePeriodResult);\n tmpEndTime = test.getEndTime();\n periodTime.add(Calendar.DAY_OF_YEAR, Config.GRAPH_ONE_PERIOD);\n testsResultMap.clear();\n }\n }\n return result;\n }", "@Test\n\tpublic void testGetCounts() {\n\t\tString cellBC = \"ATCAGGGACAGA\";\n\n\t\tint snpPos = 76227022;\n\t\tInterval snpInterval = new Interval(\"HUMAN_1\", snpPos, snpPos, true, \"test\");\n\t\tSampleGenotypeProbabilities result = new SampleGenotypeProbabilities(snpInterval, cellBC);\n\t\tSNPUMIBasePileup p = getPileUpFromFile(cellBC, \"CGGGGCTC\");\n\t\tp.addLocusFunction(LocusFunction.CODING);\n\t\tresult.add(p);\n\t\tresult.add(getPileUpFromFile(cellBC, \"CGCGGGAC\")); // this read doesn't overlap the SNP so it isn't added!\n\t\tresult.add(getPileUpFromFile(cellBC, \"CTGGGCTC\"));\n\t\tresult.add(getPileUpFromFile(cellBC, \"GGAATGTG\"));\n\t\tresult.add(getPileUpFromFile(cellBC, \"GTGCCGTG\"));\n\t\tresult.add(getPileUpFromFile(cellBC, \"TCGCAGAC\"));\n\n\t\t// the code coverage gods are pleased.\n\t\tAssert.assertEquals(result.getCell(), cellBC);\n\t\tAssert.assertEquals(result.getSNPInterval(), snpInterval);\n\n\t\tAssert.assertNotNull(result.toString());\n\n\t\t// get the unfiltered results.\n\t\tObjectCounter<Character> umiCounts = result.getUMIBaseCounts();\n\t\tObjectCounter<Character> umiCountsExpected = new ObjectCounter<>();\n\t\tumiCountsExpected.incrementByCount('A', 2);\n\t\tumiCountsExpected.incrementByCount('G', 3);\n\t\tAssert.assertEquals(umiCounts, umiCountsExpected);\n\n\t\tObjectCounter<Character> readCounts = result.getReadBaseCounts();\n\t\tObjectCounter<Character> readCountsExpected = new ObjectCounter<>();\n\t\treadCountsExpected.incrementByCount('A', 2);\n\t\treadCountsExpected.incrementByCount('G', 5);\n\t\tAssert.assertEquals(readCounts, readCountsExpected);\n\n\t\tSet<LocusFunction> expected = new HashSet<>(Arrays.asList(LocusFunction.CODING));\n\t\tAssert.assertEquals(result.getLocusFunctions(), expected);\n\n\t}", "@Test\n public void testInvalidGranule() throws Exception {\n MockHttpServletResponse response = getAsServletResponse(\"wcs?service=WCS&version=2.0.1&request=GetCoverage&coverageId=sf__notthere_granule_time_domainsRanges.4\");\n checkOws20Exception(response, 404, \"NoSuchCoverage\", \"coverageId\");\n // ask for the right coverage, but the granule is not there\n response = getAsServletResponse(\"wcs?service=WCS&version=2.0.1&request=GetCoverage&coverageId=sf__timeranges_granule_time_domainsRanges.2000\");\n checkOws20Exception(response, 404, \"NoSuchCoverage\", \"coverageId\");\n }", "public static int[] mucScore(LeanDocument key, LeanDocument response)\n{\n // System.out.println(\"==========================================================\");\n // System.out.println(\"Key:\\n\"+key.toStringNoSing()+\"\\n*************************\\nResponse:\\n\"+response.toStringNoSing());\n\n Iterator<TreeMap<Integer, Integer>> goldChains = key.chainIterator();\n // double mucRecall = 0.0;\n int mucRecallNom = 0;\n int mucRecallDenom = 0;\n while (goldChains.hasNext()) {\n TreeMap<Integer, Integer> keyChain = goldChains.next();\n if (keyChain.size() > 1) {\n int numInt = numIntersect(key, keyChain, response);\n\n // int numMatched = getNumMatched(key, keyChain);\n // if(numMatched>0){\n // mucRecallNom += numMatched-numInt;\n mucRecallNom += (keyChain.size() - numInt);\n // mucRecallDenom += numMatched-1;\n mucRecallDenom += keyChain.size() - 1;\n\n // System.out.println(keyChain+\"\\n\"+(keyChain.size() - numInt)+\"/\"+(keyChain.size()-1));\n // }\n }\n }\n int[] result = { mucRecallNom, mucRecallDenom };\n\n return result;\n}", "@Test \r\n\tpublic void testGetResults() {\r\n\t\tsessionController.login(testC1Doctor1, getCampus(0));\r\n\t\tdoctorController.consultPatientFile(testC1Patient1);\r\n\t\tList<IResult> resultsTestPatient1 = doctorController.getResults();\r\n\t\tassertEquals(resultsTestPatient1, testC1Patient1.getPatientFile().getResults());\r\n\t}", "@Test\n public void testPercentages(){\n assertTrue(Results.percentages());\n }", "private void getRegionCoverage(AlignmentRegion alignmentRegion) {\n Region region = alignmentRegion.getRegion();\n // RegionCoverage regionCoverage = new RegionCoverage(region.getEnd()-region.getStart());\n \n read();\n if(meanCoverage == null || actualRC == null){\n System.out.println(\"NULL in \" + region.getStart() + \" \" + region.getEnd());\n }\n alignmentRegion.setMeanCoverage(meanCoverage);\n alignmentRegion.setCoverage(actualRC);\n \n meanCoverage = null;\n actualRC = null;\n return;\n\n// \n// int index = 0;\n// int length = region.getEnd()-region.getStart();\n// int offset;\n// while(index < length){\n// if(actualRC == null) {\n// actualRC = read();\n// }\n// if(region.getChromosome().equals(actualRC.getChromosome())){\n// offset = (int)(region.getStart() - actualRC.getStart());\n// //assert(offset >= 0);\n// if(offset < 0){\n// region.setStart((int)actualRC.getStart());\n// length = region.getEnd()-region.getStart();\n// offset = 0;\n// }\n//\n// for(; index < length; index++){\n// if(index + offset >= actualRC.getA().length){\n// actualRC = null;\n// break;\n// }\n// regionCoverage.getA()[index] = actualRC.getA()[index + offset];\n// regionCoverage.getC()[index] = actualRC.getC()[index + offset];\n// regionCoverage.getT()[index] = actualRC.getT()[index + offset];\n// regionCoverage.getG()[index] = actualRC.getG()[index + offset];\n// regionCoverage.getAll()[index] = actualRC.getAll()[index + offset];\n// }\n// } else {\n// actualRC = null;\n// }\n// }\n// \n// return;\n //return regionCoverage;\n }", "@Test\n public void testMetastableMemberships()\n {\n IDoubleArray M = null;\n int nstates = 0;\n MarkovModelUtilities instance = new MarkovModelUtilities();\n IDoubleArray expResult = null;\n IDoubleArray result = instance.metastableMemberships(M, nstates);\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 }", "private Map<StatusEnum, Integer> getStatsForResults(Map<String, StatusEnum> results) {\n Map<StatusEnum, Integer> result = new HashMap<>();\n int passed = 0;\n int failed = 0;\n int skipped = 0;\n int unfinished = 0;\n for (String key : results.keySet()) {\n switch (results.get(key)) {\n case PASSED:\n passed++;\n break;\n case SKIPPED:\n skipped++;\n break;\n case FAILED:\n failed++;\n break;\n case UNFINISHED:\n unfinished++;\n break;\n }\n }\n result.put(StatusEnum.PASSED, passed);\n result.put(StatusEnum.SKIPPED, skipped);\n result.put(StatusEnum.FAILED, failed);\n result.put(StatusEnum.UNFINISHED, unfinished);\n result.put(StatusEnum.TOTAL, passed + skipped + failed + unfinished);\n return result;\n }", "@Override\r\n\tpublic void test() {\n\t\t\r\n\t\tMap<String, Object> map = new HashMap<>();\r\n\t\t\r\n\t\tcarModelMapper.queryCarModel(map);\r\n\t\tInteger count = (Integer) map.get(\"result\");\r\n\t\tSystem.out.println(count);\r\n\t}", "@Test\n public void testMethodCoverageFail() throws Exception {\n Jenkins jenkins = jenkinsRule.jenkins;\n WorkflowJob project = jenkins.createProject(WorkflowJob.class, \"cob-test\");\n \n project.setDefinition(new CpsFlowDefinition(new ScriptBuilder()\n .setMethodCoverage(\"80,101,0\").getScript()));\n \n copyCoverageFile(\"coverage-with-data.xml\", \"coverage.xml\", project);\n \n WorkflowRun run = project.scheduleBuild2(0).get();\n jenkinsRule.waitForCompletion(run);\n \n jenkinsRule.assertLogContains(\"Publishing Cobertura coverage report...\", run);\n jenkinsRule.assertLogContains(\"Unhealthy for the following metrics:\", run);\n jenkinsRule.assertLogContains(\"Methods's health is 100.0 and set minimum health is 101.0.\", run);\n jenkinsRule.assertLogContains(\"ERROR: [Cobertura] Failing build because it is unhealthy.\", run);\n jenkinsRule.assertLogContains(\"Finished: FAILURE\", run);\n }", "@Test\n public void test() throws Exception {\n// diversifiedRankingxPM2()\n diversifiedRankingxQuAD();\n }", "protected void assertCoverage(final String expectedCoverage) {\n\t\t\n\t\tfinal List<Coverage> expected = Arrays.asList(expectedCoverage.split(\"\\n\")).stream()\n\t\t\t\t.map(o -> new Coverage(o.split(\":\"))).collect(Collectors.toList());\n\t\t\n\t\t// Step A:\n\t\t// Validation of coverage results is split into two steps. Step A checks if all\n\t\t// uncovered (zero) lines are found, step B checks if non-zero lines exist.\t\t\n\t\tfinal Set<Coverage> expectedZero = expected.stream().filter(Coverage::isZero)\n\t\t\t\t.filter(Coverage::isCoverage).collect(Collectors.toSet());\n\t\tfinal Set<Coverage> actualZeroCoverage = recorder.getZeroCoverage().stream().collect(Collectors.toSet());\n\t\tassertEquals(expectedZero, actualZeroCoverage);\n\t\t\n\t\t// Step B1 (coverage):\n\t\tfinal List<Coverage> actualNonZeroCoverage = recorder.getNonZeroCoverage();\n\t\tfinal List<Coverage> expectedNonZeroCoverage = expected.stream().filter(Coverage::isCoverage).\n\t\t\t\tfilter(c -> !c.isCost()).collect(Collectors.toList());\n\t\texpectedNonZeroCoverage.removeAll(actualZeroCoverage);\n\t\tfor (int i = 0; i < actualNonZeroCoverage.size(); i++) {\n\t\t\tfinal Coverage a = actualNonZeroCoverage.get(i);\n\t\t\tfinal Coverage e = expectedNonZeroCoverage.get(i);\n\t\t\tassertEquals(e, a);\n\t\t}\n\t\tassertTrue(expectedNonZeroCoverage.size() == actualNonZeroCoverage.size());\n\t\t\n\t\t// Step B2 (coverage with cost):\n\t\tfinal List<Coverage> actualCostCoverage = recorder.getCostCoverage();\n\t\tfinal List<Coverage> expectedCostCoverage = expected.stream().filter(Coverage::isCoverage)\n\t\t\t\t.filter(Coverage::isCost).collect(Collectors.toList());\n\t\tfor (int i = 0; i < actualCostCoverage.size(); i++) {\n\t\t\tfinal Coverage a = actualCostCoverage.get(i);\n\t\t\tfinal Coverage e = expectedCostCoverage.get(i);\n\t\t\tassertEquals(e, a);\n\t\t}\n\t\tassertTrue(expectedCostCoverage.size() == actualCostCoverage.size());\n\t\t\n\t\t// Step C (actions):\n\t\tfinal List<Coverage> actualActions = recorder.getActionCoverage();\n\t\tfinal List<Coverage> expectedActions = expected.stream().filter(Coverage::isAction).collect(Collectors.toList());\n\t\tfor (int i = 0; i < actualActions.size(); i++) {\n\t\t\tfinal Coverage a = actualActions.get(i);\n\t\t\tfinal Coverage e = expectedActions.get(i);\n\t\t\tassertEquals(e, a);\n\t\t}\n\t\tassertTrue(expectedActions.size() == actualActions.size());\n\t}", "public void calculateMetrics(){\n //precision\n precisionFinal = precision.stream().mapToDouble(f -> f).sum()/precision.size();\n System.out.print(\"Precision: \");\n System.out.println(precisionFinal);\n //recall\n recallFinal = recall.stream().mapToDouble(f -> f).sum()/recall.size();\n System.out.print(\"Recall: \");\n System.out.println(recallFinal);\n //fMeasures\n fMeausureFinal = fMeasures.stream().mapToDouble(f -> f).sum()/fMeasures.size();\n System.out.print(\"Fmeasure: \");\n System.out.println(fMeausureFinal);\n\n //MAP\n mapFinal = apRes.stream().mapToDouble(d->d).sum()/apRes.size();\n System.out.print(\"Mean Avarage Precision: \");\n System.out.println(mapFinal);\n \n mapLimitedFinal = apResRankedTopLimited.stream().mapToDouble(d->d).sum()/apResRankedTopLimited.size();\n System.out.print(\"Mean Precision at rank 10: \");\n System.out.println(mapLimitedFinal);\n \n //NDCG\n ndcgResultsFinal =0;\n ndcgResults.stream().forEach(l-> {\n //it is always true, only added to ensure that doesnt' break with another examples where some queries doens't have results.\n if(l.size()>0){\n ndcgResultsFinal= l.get(l.size()-1)+ndcgResultsFinal;\n }\n });\n ndcgResultsFinal=ndcgResultsFinal/ndcgResults.size();\n \n System.out.print(\"NDCG: \");\n System.out.println(ndcgResultsFinal);\n }", "public interface ResultCode {\r\n\r\n\t/**\r\n\t * The categories of result codes\r\n\t */\r\n\tpublic enum Category {\r\n\t\t/**\r\n\t\t * General result codes - should be used only by very general and not\r\n\t\t * use-case specific results\r\n\t\t */\r\n\t\tVALIDATION(1),\r\n\t\t/** Category for parsing related results */\r\n\t\tMAIL(2),\r\n\t\t/** Category for DNS lookup related results */\r\n\t\tDNS(3),\r\n\t\t/** Category for SMTP negotiation results */\r\n\t\tSMTP(4);\r\n\r\n\t\t/** Category code */\r\n\t\tprivate int code = -1;\r\n\r\n\t\t/**\r\n\t\t * Private contructor\r\n\t\t * \r\n\t\t * @param code\r\n\t\t * The category code\r\n\t\t */\r\n\t\tCategory(int code) {\r\n\t\t\tthis.code = code;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Returns the category code\r\n\t\t * \r\n\t\t * @return The category code\r\n\t\t */\r\n\t\tpublic int getCode() {\r\n\t\t\treturn code;\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * The type of the Result code;\r\n\t */\r\n\tpublic enum Type {\r\n\t\tLOGICAL, TECHNICAL\r\n\t}\r\n\r\n\t/**\r\n\t * <p>\r\n\t * Returns the result code.\r\n\t * </p>\r\n\t * <p>\r\n\t * <b>Note:</b> The code has to be unique in the result code category and the ordinal of the enumeration should\r\n\t * <i>not</i> be used. When somebody shuffles the enumeration the ordinal of a result code will change!\r\n\t * </p>\r\n\t * \r\n\t * @return The code\r\n\t */\r\n\tpublic int getCode();\r\n\r\n\t/**\r\n\t * Returns the category of a result code\r\n\t * \r\n\t * @return The category of a result code\r\n\t */\r\n\tpublic Category getCategory();\r\n\r\n\t/**\r\n\t * Returns the identifier of the result code. It will be three digits long\r\n\t * (one digits of the category and two of the code)\r\n\t * \r\n\t * @return An identifier\r\n\t */\r\n\tpublic String getIdentifier();\r\n\r\n\t/**\r\n\t * The name (enumeration) of the result code\r\n\t * \r\n\t * @return The name\r\n\t */\r\n\tpublic String name();\r\n\r\n\t/**\r\n\t * The type of the result code\r\n\t * \r\n\t * @return The type\r\n\t */\r\n\tpublic Type getType();\r\n}", "ResponseMetric createResponseMetric();", "@Test\n public void testCalculateProbability() throws IOException, ParseException, MathException {\n System.out.println(\"calculateProbability\");\n OrganizationsRegister ro = info(\"e\", \"f\");\n String id = \"12\";\n String expResult = \"25,25 %\";\n String result = ro.calculateProbability();\n assertEquals(expResult, result);\n }", "void generateMgiCrisprAlleleReport();", "@Mapping(source = \"rocCurve.aucValue\", target = \"aucValue\")\n ClassificationCostsDto map(ClassificationCostsReport classificationCostsReport);", "public int computeGoodCoverage(CameraPlacementResult result, CameraPlacementResult testResult, CameraPlacementProblem problem)\n {\n \tint i, j, goodCoverage = 0;\n\n \tint[][] totalCoverage = result.cover;\n \tint[][] testCoverage = testResult.cover;\n\n \tfor (i = 0; i < problem.getMaxY(); i++)\n \t{\n \t\tfor (j = 0; j < problem.getMaxX(); j++)\n \t\t{\n\n \t\t\t//If totalCoverage[j][i] uncovered but testCoverage covered, + 1\n \t\t\tif ( totalCoverage[j][i] == 0 && testCoverage[j][i] == 1)\n \t\t\t\tgoodCoverage++;\n \t\t}\n \t}\n\n \treturn goodCoverage;\n\n }", "public static void main(String[] args) {\n\t\tMap<Integer,Integer> m1=new HashMap<Integer,Integer>();\r\n\t\tm1.put(20210601,90);\r\n\t\tm1.put(20210602,80);\r\n\t\tm1.put(20210603,70);\r\n\t\tm1.put(20210604,65);\r\n\t\tm1.put(20210608,55);\r\n\t\tSystem.out.println(studentsMedals(m1));\r\n\r\n\t}", "public UnitTestData() throws Exception {\n String[] runsData = {\n \"1,1,A,1,No,No,4\", // 0 (a No before first yes Security Violation)\n \"2,1,A,1,No,No,2\", // 0 (a No before first yes Compilation Error)\n \"3,1,A,1,No,No,1\", // 20 (a No before first yes)\n \"4,1,A,3,Yes,No,0\", // 3 (first yes counts Minute points but never Run Penalty points)\n \"5,1,A,5,No,No,1\", // zero -- after Yes\n \"6,1,A,7,Yes,No,0\", // zero -- after Yes\n \"7,1,A,9,No,No,1\", // zero -- after Yes\n \"8,1,B,11,No,No,1\", // zero -- not solved\n \"9,2,A,48,No,No,4\", // 0 (a No before first yes Security Violation)\n \"10,2,A,50,Yes,No,0\", // 50 (minute points; no Run points on first Yes)\n \"11,2,B,35,No,No,1\", // zero -- not solved\n \"12,2,B,40,No,No,1\", // zero -- not solved\n };\n\n // Assign half eams random team member names\n addTeamMembers(contest, getTeamAccounts(contest).length / 2, 5);\n\n assertEquals(\"Expectig team member names\", 5, getFirstAccount(contest, Type.TEAM).getMemberNames().length);\n\n assertEquals(\"team count\", 120, contest.getAccounts(Type.TEAM).size());\n\n for (String runInfoLine : runsData) {\n SampleContest.addRunFromInfo(contest, runInfoLine);\n }\n\n Problem problem = contest.getProblems()[0];\n Account judge = getFirstAccount(contest, Type.JUDGE);\n generateClarifications(contest, 20, problem, judge.getClientId(), false, false);\n generateClarifications(contest, 20, problem, judge.getClientId(), true, false);\n generateClarifications(contest, 20, problem, judge.getClientId(), true, true);\n\n sampleContest.assignSampleGroups(contest, \"North Group\", \"South Group\");\n\n assertEquals(\"Runs\", 12, contest.getRuns().length);\n\n }", "@Test\n public void testgetMatch() throws java.lang.Exception{\n\n /* org.seadva.matchmaker.webservice.MatchMakerServiceStub stub =\n new org.seadva.matchmaker.webservice.MatchMakerServiceStub();//the default implementation should point to the right endpoint\n\n org.seadva.matchmaker.webservice.GetMatchRequest getMatchRequest18=\n (org.seadva.matchmaker.webservice.GetMatchRequest)getTestObject(org.seadva.matchmaker.webservice.GetMatchRequest.class);\n // TODO : Fill in the getMatchRequest18 here\n\n ClassAdType param = new ClassAdType();\n\n param.setType(\"user\");\n CharacteristicsType characteristicsType = new CharacteristicsType();\n CharacteristicType[] characs = new CharacteristicType[1];\n CharacteristicType charac = new CharacteristicType();\n charac.setName(\"license\");\n charac.setValue(\"CC\");\n characs[0] = charac;\n characteristicsType.setCharacteristic(characs);\n param.setCharacteristics(characteristicsType);\n\n RequirementsType reqs = new RequirementsType();\n RuleType rules = new RuleType();\n rules.setObject(\"dspace\");\n rules.setSubject(\"type\");\n rules.setPredicate(\"equals\");\n reqs.addRule(rules);\n param.setRequirements(reqs);\n\n PreferencesType preferencesType = new PreferencesType();\n RuleType[] rs = new RuleType[1];\n rs[0] = rules;\n preferencesType.setRule(rs);\n param.setPreferences(preferencesType);\n\n getMatchRequest18.setUserClassAd(param);\n GetMatchResponse resourcesResponse = stub.getMatch(\n getMatchRequest18);\n for(int i =0; i<resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic().length;i++)\n System.out.print(\"printing \"+\n resourcesResponse.getResourceClassAd().getType()+\" \\n\"+\n resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic()[i].getName() + \" : \" +\n resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic()[i].getValue() + \"\\n\");\n param.setPreferences(new PreferencesType());\n assertNotNull(resourcesResponse);\n \n */\n\n\n GetMatchRequest getMatchRequest=\n new GetMatchRequest();\n\n ClassAdType param = new ClassAdType();\n\n param.setType(\"user\");\n CharacteristicsType characteristicsType = new CharacteristicsType();\n CharacteristicType[] characs = new CharacteristicType[2];\n CharacteristicType licCharac = new CharacteristicType();\n licCharac.setName(\"license\");\n licCharac.setValue(\"CC\");\n CharacteristicType sizeCharac = new CharacteristicType();\n sizeCharac.setName(\"dataCollectionSize\");\n sizeCharac.setValue(\"1073741825\");\n characs[0] = licCharac;\n characs[1] = sizeCharac;\n characteristicsType.setCharacteristic(characs);\n param.setCharacteristics(characteristicsType);\n\n RequirementsType reqs = new RequirementsType();\n RuleType rules = new RuleType();\n rules.setSubject(\"type\");\n rules.setPredicate(\"equals\");\n rules.setObject(\"cloud\");\n reqs.addRule(rules);\n param.setRequirements(reqs);\n\n PreferencesType preferencesType = new PreferencesType();\n RuleType[] rs = new RuleType[1];\n rs[0] = rules;\n preferencesType.setRule(rs);\n param.setPreferences(preferencesType);\n\n getMatchRequest.setUserClassAd(param);\n MatchMakerServiceStub stub = null;\n try {\n stub = new MatchMakerServiceStub();\n } catch (AxisFault axisFault) {\n axisFault.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\n }\n GetMatchResponse resourcesResponse = null;\n try {\n resourcesResponse = stub.getMatch(\n getMatchRequest);\n System.out.print(\"printing \"+\n resourcesResponse.getResourceClassAd().getType()+\" \\n\");\n for(int i =0; i<resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic().length;i++)\n System.out.print(\n resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic()[i].getName() + \" : \" +\n resourcesResponse.getResourceClassAd().getCharacteristics().getCharacteristic()[i].getValue() + \"\\n\");\n param.setPreferences(new PreferencesType());\n assertNotNull(resourcesResponse);\n } catch (RemoteException e) {\n e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.\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 }", "java.lang.String getInsight();", "@org.junit.Test\n public void coverage()\n {\n new Encodings();\n }", "io.netifi.proteus.admin.om.Metrics getMetrics();", "@Test(timeout = 4000)\n public void test195() throws Throwable {\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n int[] intArray0 = new int[1];\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n String[] stringArray0 = new String[4];\n stringArray0[0] = \"v\";\n stringArray0[1] = \"[\";\n stringArray0[2] = \"*\";\n double[] doubleArray0 = new double[7];\n resultMatrixCSV0.setSize(1, 0);\n doubleArray0[0] = (double) 0;\n doubleArray0[1] = (double) 2;\n doubleArray0[3] = (double) 1;\n doubleArray0[5] = (double) 0;\n doubleArray0[6] = (double) 0;\n resultMatrixCSV0.m_Counts = doubleArray0;\n stringArray0[3] = \")\";\n resultMatrixSignificance0.setOptions(stringArray0);\n ResultMatrixHTML resultMatrixHTML0 = null;\n try {\n resultMatrixHTML0 = new ResultMatrixHTML(618, (-348));\n fail(\"Expecting exception: NegativeArraySizeException\");\n \n } catch(NegativeArraySizeException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "@Test\n void verifyMetrics() throws IOException, InterruptedException {\n HttpRequest req = HttpRequest.newBuilder()\n .GET()\n .uri(URI.create(\"https://5f6trv8063.execute-api.us-east-1.amazonaws.com/default/VespaDocSearchLambda/?jsoncallback=?&query=ranking&ranking=documentation&locale=en-US&hits=1\"))\n .build();\n HttpResponse<String> res = httpClient.send(req, HttpResponse.BodyHandlers.ofString());\n\n assertEquals(200, res.statusCode());\n\n String body = res.body();\n long hitCount = new ObjectMapper().readTree(body.substring(2, body.length()-2)) // Strip ?( ); from JSON-P response\n .get(\"root\").get(\"fields\").get(\"totalCount\").asLong();\n assert(hitCount > 50);\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyMeterByMeterpointreference()\n{\t\t\n\t Report.createTestLogHeader(\"Submit Meter Read\", \"Verify whether Single Search result is getting displayed while giving valid MPRN in search field\");\n\tSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"GlobalSMRUserMultiMeters\");\n\tnew SubmitMeterReadAction()\n\t\n\t.BgbnavigateToLogin()\n .BgbloginDetails(smrProfile)\n .BgbverifyAfterLogin()\n .clickSubmitMeterReadLink()\n .searchByMeterpointreference(smrProfile)\n \t.enterGlobalMeterDials(smrProfile)\n\t.verifyMeterReadConfirmationTitle()\n\t.verifyAuditLeadTable(smrProfile);\n}", "@Override\n\tpublic Map<Tag, Double> report() {\n\t\tMap<Tag,Double> result = new HashMap<>();\n\t\tbudget.getTags().stream()\n\t\t\t\t.forEach(t->result.put(t,ledger.getSingleTag(t.getID()).getTotalAmount()-budget.getExpected(t)));\n\t\treturn result;\n\t}", "private SimulationReport calculateDataPerSimulation(SimulationReport simulationReport){\n Long numerator = 0L, denominator = 0L, catalogNumerator = 0L, reportNumerator = 0L;\n\n Map<String, Map<String, Long>> maps = simulationReport.getNodeMeanResponseTimes();\n Set<Map.Entry<String, Map<String, Long>>> responseTimeEntrySet = maps.entrySet();\n for(Map.Entry<String, Map<String, Long>> nodeEntry : responseTimeEntrySet){\n Map<String, Long> means = nodeEntry.getValue();\n SimulationConfig simConf = getSimConfig(simulationReport.getSimulationConfig(), nodeEntry.getKey());\n Set<Map.Entry<String, Long>> meanEntrySet = means.entrySet();\n for(Map.Entry<String, Long> meanEntry : meanEntrySet){\n String meanKey = meanEntry.getKey();\n Long meanValue = meanEntry.getValue();\n if (meanKey.equals(\"agent\")){\n numerator += (simConf.getNumberInstances() * simConf.getNumberRepetitions()) * meanValue;\n }\n else if (meanKey.equals(\"catalog\")){\n catalogNumerator += (simConf.getNumberInstances() * simConf.getNumberRepetitions()) * meanValue;\n }\n else if (meanKey.equals(\"report\")){\n reportNumerator += (simConf.getNumberInstances() * simConf.getNumberRepetitions()) * meanValue;\n }\n }\n denominator += (long) simConf.getNumberInstances() * simConf.getNumberRepetitions();\n }\n\n if (denominator > 0){\n simulationReport.setTotalMeanAgentRunTime((numerator / denominator));\n simulationReport.setTotalMeanCatalogResponseTime((catalogNumerator / denominator));\n simulationReport.setTotalReportResponseTime((reportNumerator / denominator));\n logger.println(\"[PuppetGatling] - The Agent total mean response time for \" + simulationReport.getName() + \": \" + simulationReport.getTotalMeanAgentRunTime());\n logger.println(\"[PuppetGatling] - The Catalog total mean response time for \" + simulationReport.getName() + \": \" + simulationReport.getTotalMeanCatalogResponseTime());\n logger.println(\"[PuppetGatling] - The Report total mean response time for \" + simulationReport.getName() + \": \" + simulationReport.getTotalReportResponseTime());\n }\n\n return simulationReport;\n }", "public void getAccuracy() throws IOException {\n\t\tList<String> in = FileHelper.readFiles(Constants.outputpath);\r\n\t\tList<String> testhscode=FileHelper.readFiles(Constants.testpath);\r\n\t\tList<String> hslist=new ArrayList<String>();\r\n\t\tfor(String code:testhscode){\r\n\t\t\thslist.add(code.split(\" \")[0]);\r\n\t\t}\r\n\t\tList<TreeMap<String,Double>> finallist=new ArrayList<TreeMap<String,Double>>();\r\n\t\tString[] label = in.get(0).split(\" \");\r\n\t\t\r\n\t\tfor (int i=1;i<in.size();i++){\r\n\t\t\tString[] probability=in.get(i).split(\" \");\r\n\t\t\tTreeMap<String,Double> tm=new TreeMap<String,Double>();\r\n//\t\t\tString hscode = probability[0];\r\n//\t\t\tSystem.out.println(hscode);\r\n//\t\t\thslist.add(hscode);\r\n\t\t\tfor(int j=1;j<probability.length;j++){\r\n\t\t\t\tDouble p = Double.valueOf(probability[j]);\r\n\t\t\t\ttm.put(label[j]+\"\", p);\r\n//\t\t\t\tSystem.out.println(label[j]+\" \"+ p);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfinallist.add(tm);\r\n\t\t}\r\n\t\tList<String> outputlist=new ArrayList<String>();\r\n\t\tint right=0;\r\n\t\tfor(int j=0;j<finallist.size();j++){\r\n\t\t\tTreeMap<String, Double> m = finallist.get(j);\r\n\t\t\t\r\n\t\t\tString hs = hslist.get(j);\r\n//\t\t\tSystem.out.println(hs);\r\n//\t\t\tSystem.out.println(j);\r\n//\t\t\tString hscode = hs;\r\n//\t\t\tSystem.out.println(hscode);\r\n\t\t\tString hscode = changeToHSCode(hs);\r\n\t\t\tStringBuffer sb=new StringBuffer();\r\n\t\t\tsb.append(hscode+\" \");\r\n\t\t\tList<Map.Entry<String,Double>> list = new ArrayList<Map.Entry<String,Double>>(m.entrySet());\r\n //然后通过比较器来实现排序\r\n Collections.sort(list,new Comparator<Map.Entry<String,Double>>() {\r\n //升序排序\r\n \t\tpublic int compare(Entry<String, Double> o1,\r\n Entry<String, Double> o2) {\r\n return o2.getValue().compareTo(o1.getValue());\r\n }});\r\n\t\t\t \r\n\t\t\t \r\n\t\t\tint point=0;\r\n\t\t\tint flag=0;\r\n\t\t\t for(Map.Entry<String,Double> mapping:list){ \r\n \tflag++;\r\n \t\r\n \tif(hs.equals(mapping.getKey())){\r\n \t\tpoint=1;\r\n \t\tright++;\r\n \t} \r\n \tsb.append(changeToHSCode(mapping.getKey())+\" \"+mapping.getValue()+\" \");\r\n// System.out.println(mapping.getKey()+\":\"+mapping.getValue()); \r\n \tif(flag==5)\r\n \t\t{\r\n \t\tsb.append(\",\"+point);\r\n \t\tbreak;\r\n \t\t}\r\n } \r\n\t\t\toutputlist.add(sb.toString());\r\n\t\t}\r\n\t\tSystem.out.println(\"准确率\"+(double)right/finallist.size());\r\n\t\tFileHelper.writeFile(outputlist,Constants.finaloutputpath);\r\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(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void verifyMultiDialMeterBySitepostcode()\n{\t\t\n\t Report.createTestLogHeader(\"Submit Meter Read\", \"Verify whether Single or multiple Search results are getting displayed while giving valid Site postcode in search field\");\n\tSMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"GlobalSMRMultiDialMetersitepost\");\n\tnew SubmitMeterReadAction()\n\t\n\t.BgbnavigateToLogin()\n\t.BgbloginDetails(smrProfile)\n\t.BgbverifyAfterLogin()\n\t.clickSubmitMeterReadLink()\n\t.searchBySitepostcode(smrProfile)\n .enterGlobalMeterDials(smrProfile)\n .verifyMeterReadConfirmationTitle()\n\t.verifyAuditLeadTable(smrProfile);\n \n}", "@Test\n\tpublic void testStructureSimilarity2() {\n\t\tList<TimeSeriesSimilarityCollection> res;\n\t\tTimeSeriesSimilarityCollection r;\n\n\t\t// we are interested in measure now\n\t\tevaluator.setSimilarity(false, false, true);\n\n\t\t// add some data\n\t\t// @formatter:off\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (3)\n\t\t// 01.01.15: (01:01) +++ (01:30) Philipp (7)\n\t\t// 01.01.15: (01:20) ++++ (02:00) Philipp (7)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (13)\n\t\t// 31.12.15: (01:01) +++ (01:30) Tobias (17)\n\t\t// 31.12.15: (01:10) +++++ (02:00) Tobias (17)\n\t\t// @formatter:on\n\t\tloadData(\"Philipp\", 3, \"01.01.2015 00:00:00\", \"01.01.2015 01:00:00\");\n\t\tloadData(\"Philipp\", 7, \"01.01.2015 01:01:00\", \"01.01.2015 01:30:00\");\n\t\tloadData(\"Philipp\", 7, \"01.01.2015 01:20:00\", \"01.01.2015 02:00:00\");\n\t\tloadData(\"Tobias\", 13, \"31.12.2015 00:00:00\", \"31.12.2015 01:00:00\");\n\t\tloadData(\"Tobias\", 17, \"31.12.2015 01:01:00\", \"31.12.2015 01:30:00\");\n\t\tloadData(\"Tobias\", 17, \"31.12.2015 01:10:00\", \"31.12.2015 02:00:00\");\n\n\t\t// get the similar once on a filtered measure level\n\t\tres = evaluator.evaluateSimilarity(\n\t\t\t\tgetQuery(\"SUM(IDEAS) AS IDEAS ON TIME.DEF.HOUR\", null), 1);\n\n\t\tassertEquals(1, res.size());\n\t\tr = res.get(0);\n\t\tassertEquals(0.0, r.getStructureDistance(), 0.0);\n\t\tassertEquals(0.0, r.getTotalDistance(), 0.0);\n\t\t// 1451520000000l == 31 Dec 2015 00:00:00 UTC\n\t\tassertEquals(1451520000000l, ((Date) r.getLabelValue(0)).getTime());\n\n\t\t// add some data\n\t\t// @formatter:off\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (3)\n\t\t// 01.01.15: (01:01) +++ (01:30) Philipp (7)\n\t\t// 01.01.15: (01:20) ++++ (02:00) Philipp (7)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (13)\n\t\t// 31.12.15: (01:01) +++ (01:30) Tobias (17)\n\t\t// 31.12.15: (01:10) +++++ (02:00) Tobias (17)\n\t\t// 31.12.15: (01:30) +++ (02:00) Tobias (17)\n\t\t// @formatter:on\n\t\tloadData(\"Tobias\", 17, \"31.12.2015 01:30:00\", \"31.12.2015 02:00:00\");\n\n\t\t// get the similar once on a filtered measure level\n\t\tres = evaluator.evaluateSimilarity(\n\t\t\t\tgetQuery(\"SUM(IDEAS) AS IDEAS ON TIME.DEF.HOUR\", null), 364);\n\n\t\tassertEquals(364, res.size());\n\t\tfor (int i = 0; i < 363; i++) {\n\t\t\tr = res.get(i);\n\t\t\tassertEquals(3.0, r.getStructureDistance(), 0.0);\n\t\t\tassertEquals(3.0, r.getTotalDistance(), 0.0);\n\t\t}\n\t\tr = res.get(363);\n\t\tassertEquals(3.5, r.getStructureDistance(), 0.0);\n\t\tassertEquals(3.5, r.getTotalDistance(), 0.0);\n\t\t// 1451520000000l == 31 Dec 2015 00:00:00 UTC\n\t\tassertEquals(1451520000000l, ((Date) r.getLabelValue(0)).getTime());\n\n\t\tfor (TimeSeriesSimilarityCollection a : res) {\n\t\t\tSystem.out.println((Date) a.getLabelValue(0));\n\t\t\tSystem.out.println(a);\n\t\t}\n\t}", "public static void testISPIssuesPlanMetrics(){\r\n\t\ttry {\r\n\t\t\tLogFunctions.generateLogsDirectory();\t\r\n\t\t\t\r\n\t\t\tGlobalVariables.steps = 0;\r\n\t\t\tGlobalVariables.testCaseId = \"REST004_ISPIssuesPlanMetrics\";\r\n\t\t\t\r\n\t\t\t// Create Log Files\r\n\t\t\tGlobalVariables.testResultLogFile = LogFunctions.generateLogFile(GlobalVariables.logFile + \"_\"+ GlobalVariables.testCaseId + \".log\");\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Test Case : REST004_ISPIssuesPlanMetrics Execution Started\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") REST004_ISPIssuesPlanMetrics Execution Started\");\r\n\t\t\t\r\n\t\t\t// For managing SSL connections\r\n\t\t\tConfigurations.validateTrustManager();\r\n\t\t\t\r\n\t\t\t// Reading input data from CSV File\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tConfigurations.getTestData(\"REST004_ISPIssues.csv\");\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Reading Data From CSV File\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") Reading Data From CSV File\");\r\n\r\n\t\t\t// Send Request\r\n\t\t\tString data =GlobalVariables.testData.get(\"api\")+\"/version/\"+GlobalVariables.testData.get(\"versionNumber\")+\"/issues\";\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tConfigurations.sendRequest(data);\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Sending Request\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") Request Sent\");\r\n\t\t\t\r\n\t\t\t// Receive Response in XML File (response.xml)\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tConfigurations.getResponse();\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Getting Response\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") Response Received\");\r\n\t\t\t\r\n\t\t\t// Assertion: Verify that Plan Metrics\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tboolean planAgentResult;\r\n\t\t\t// Verify Count Name\r\n\t\t\tplanAgentResult=Configurations.parseResponse(\"count\",\"type\",GlobalVariables.testData.get(\"countType\"));\t\r\n\t\t\tAssert.assertEquals(\"Count type is\",true,planAgentResult);\r\n\t\t\t// Verify Count Value\r\n\t\t\tplanAgentResult=Configurations.parseResponse(\"count\",\"value\",GlobalVariables.testData.get(\"countValue\"));\t\r\n\t\t\tAssert.assertEquals(\"Count Value is\",true,planAgentResult);\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Plan Summary Assertion Pass\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") Assertion Pass\");\r\n\t\t\t\r\n\t\t\t// Execution Completed\r\n\t\t\tGlobalVariables.steps++;\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\") Test Case : REST004_ISPIssuesPlanMetrics Execution Completed\");\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps+ \") Test Case : REST004_ISPIssuesPlanMetrics Execution Completed\");\r\n\t\t\t\r\n\t\t}catch (AssertionError ar) {\r\n\t\t\tSystem.out.println(GlobalVariables.steps +\")Assertion Failed : \");\r\n\t\t\tar.printStackTrace();\r\n\t\t\tLogFunctions.logDescription(GlobalVariables.steps + \") Assertion Failed\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tLogFunctions.logException(e.getMessage());\r\n\t\t}\r\n\t}", "public JSONObject getGSTRMisMatchSummary(JSONObject params) throws ServiceException, JSONException {\n JSONObject object = new JSONObject();\n JSONObject jMeta = new JSONObject();\n JSONArray jarrColumns = new JSONArray();\n JSONArray jarrRecords = new JSONArray();\n JSONArray dataJArr = new JSONArray();\n if (params.optBoolean(\"isforstore\", false)) {\n /**\n * If request for Section combo box\n */\n return object = getGSTMisMatchReportSectionCombo();\n }\n JSONArray array = new JSONArray();\n JSONArray array1 = new JSONArray();\n String start = params.optString(\"start\");\n String limit = params.optString(\"limit\");\n String companyId = params.optString(\"companyid\");\n JSONObject reqParams = params;\n /**\n * Get column number for Entity, State,HSN,UQC etc.\n */\n JSONObject entityParams = new JSONObject();\n String entityModuleIds = Constants.Acc_Invoice_ModuleId + \",\" + Constants.Acc_Vendor_Invoice_ModuleId + \",\"\n + Constants.Acc_Sales_Order_ModuleId + \",\" + Constants.Acc_Purchase_Order_ModuleId+ \",\" + Constants.Acc_Delivery_Order_ModuleId +\",\"+ Constants.Acc_Goods_Receipt_ModuleId \n + \",\" + Constants.Acc_Credit_Note_ModuleId + \",\" + Constants.Acc_Debit_Note_ModuleId; // GET CN/ DN module entity detail\n params.put(\"moduleids\", entityModuleIds);\n params.put(\"fieldlabel\", Constants.ENTITY);\n params.put(\"fcdvalue\", reqParams.optString(\"entity\"));\n params.put(\"companyid\", reqParams.optString(\"companyid\"));\n List entityList = fieldManagerDAOobj.getEntityDataForRequestedModule(params);\n geModulewiseEntityData(entityList, reqParams);\n Map<String, Integer> fieldData = new HashMap<>();\n fieldData.put(Constants.HSN_SACCODE + Constants.Acc_Product_Master_ModuleId, Constants.Acc_Product_Master_ModuleId);\n fieldData.put(Constants.GSTProdCategory + Constants.Acc_Product_Master_ModuleId, Constants.Acc_Product_Master_ModuleId);\n fieldData.put(Constants.GST_UNIT_QUANTITY_CODE + Constants.Acc_Product_Master_ModuleId, Constants.Acc_Product_Master_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Invoice_ModuleId, Constants.Acc_Invoice_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Vendor_Invoice_ModuleId, Constants.Acc_Vendor_Invoice_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Sales_Order_ModuleId, Constants.Acc_Sales_Order_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Purchase_Order_ModuleId, Constants.Acc_Purchase_Order_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Delivery_Order_ModuleId, Constants.Acc_Delivery_Order_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Goods_Receipt_ModuleId, Constants.Acc_Goods_Receipt_ModuleId);\n /**\n * Get State field col number for CN and DN\n */\n fieldData.put(Constants.STATE + Constants.Acc_Credit_Note_ModuleId, Constants.Acc_Credit_Note_ModuleId);\n fieldData.put(Constants.STATE + Constants.Acc_Debit_Note_ModuleId, Constants.Acc_Debit_Note_ModuleId);\n List colList = fieldManagerDAOobj.getColnumForDimensionCollectively(fieldData, reqParams);\n getModulewiseColNumData(colList, reqParams);\n\n try {\n\n getColumnModelForGSTMissingDocSummary(jarrRecords, jarrColumns, params);\n reqParams.put(\"isInvoice\",true);\n\n /**\n * HSN\n */\n JSONObject parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_HSNNotAvailable);\n parameter.put(\"ishsnblank\", true);\n parameter.put(\"ishsninvalid\",true);// HSN code's length should be less than 8 digit\n JSONObject b2bobj = getGSTMissingInvoice(parameter);\n JSONObject B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * UQC\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_UQCNotAvailable);\n parameter.put(\"isuqcblank\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * GSTIN Blank\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_GSTINBlank);\n parameter.put(\"isGSTINnull\", true);\n parameter.put(\"registrationType\", Constants.GSTRegType_Regular + \",\" + Constants.GSTRegType_Regular_ECommerce + \",\" + Constants.GSTRegType_Composition + \",\" + Constants.GSTRegType_Composition_ECommerce);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * GSTIN non Blank\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_GSTINnonBlank);\n parameter.put(\"isGSTINnull\", false);\n parameter.put(\"registrationType\", Constants.GSTRegType_Unregistered + \",\" + Constants.GSTRegType_Consumer);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /*\n * GSTIN Number Invalid\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_GSTINInvalid);\n parameter.put(\"isGSTINnull\", false);\n parameter.put(\"registrationType\", Constants.GSTRegType_Regular + \",\" + Constants.GSTRegType_Regular_ECommerce + \",\" + Constants.GSTRegType_Composition + \",\" + Constants.GSTRegType_Composition_ECommerce);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n /**\n * GST Registration Type blank\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_GSTRegistrationTypeblank);\n parameter.put(\"isgstregtypeblank\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * Customer Type blank\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_CustomerVendorTypeblank);\n parameter.put(\"iscusttypeblank\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * RCM Sales to Unregistered Person\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_RCMSalestoUnregisteredPerson);\n parameter.put(\"registrationType\", Constants.GSTRegType_Unregistered + \",\" + Constants.GSTRegType_Consumer);\n parameter.put(\"isRCMApplicable\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * Product tax Mismatch\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_ProducttaxMismatch);\n parameter.put(\"istaxclassmismatch\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n \n /**\n * State Mismatch\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_StateMismatch);\n parameter.put(\"statemismatch\", true);\n parameter.put(\"CustomerType\", Constants.CUSTVENTYPE_DEEMED_EXPORT + \",\" + Constants.CUSTVENTYPE_NA + \",\" + Constants.CUSTVENTYPE_SEZ+ \",\" + Constants.CUSTVENTYPE_SEZWOPAY);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n\n /**\n * Manually entered Invoice Number\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_ManuallyenteredInvoiceNumber);\n parameter.put(\"withoutseqformat\", true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n \n /**\n * GST-History not present\n */\n parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n parameter.put(\"typeofinvoice\", GSTRConstants.Sec_GST_History_Not_Present);\n parameter.put(\"ishistoryblank\",true);\n b2bobj = getGSTMissingInvoice(parameter);\n B2B = new JSONObject();\n B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n dataJArr.put(B2B);\n \n// /**\n// * Invalid CN\n// */\n// parameter = new JSONObject(reqParams, JSONObject.getNames(reqParams));\n// parameter.put(\"typeofinvoice\", GSTRConstants.GSTMisMatch_SECTION_INVALIDCN);\n// parameter.put(\"isCNDN\", true);\n// parameter.put(\"isInvoice\", false);\n// parameter.put(\"iscndnwithoutinvoice\", true);\n// b2bobj = getGSTMissingInvoice(parameter);\n// B2B = new JSONObject();\n// B2B = b2bobj.getJSONArray(\"summaryArr\").getJSONObject(0);\n// dataJArr.put(B2B);\n \n JSONArray pagedJson = new JSONArray();\n pagedJson = dataJArr;\n if (!StringUtil.isNullOrEmpty(start) && !StringUtil.isNullOrEmpty(limit)) {\n pagedJson = StringUtil.getPagedJSON(pagedJson, Integer.parseInt(start), Integer.parseInt(limit));\n }\n object.put(\"totalCount\", dataJArr.length());\n object.put(\"columns\", jarrColumns);\n object.put(\"coldata\", pagedJson);\n jMeta.put(\"totalProperty\", \"totalCount\");\n jMeta.put(\"root\", \"coldata\");\n jMeta.put(\"fields\", jarrRecords);\n object.put(\"metaData\", jMeta);\n if (params.optBoolean(\"isExport\")) {\n object.put(\"data\", dataJArr);\n object.put(\"columns\", jarrColumns);\n }\n\n } catch (JSONException ex) {\n throw ServiceException.FAILURE(ex.getMessage(), ex);\n }\n return object;\n }", "MetricOuterClass.Metric getMetricTreatment();", "private void writeAnalysisResults(Map<SillyBot, List<IntermediateResult>> analysisCallResults)\n\t\t\tthrows InterruptedException, ExecutionException {\n\t\tfor (SillyBot sillyBot : analysisCallResults.keySet()) {\n\t\t\tSystem.out.println(\"PRINT SILLY BOT ANALYZED RESULTS:\");\n\t\t\tfor (IntermediateResult botsAnalysisCall : analysisCallResults.get(sillyBot)) {\n\t\t\t\tProposal propsal;\n\t\t\t\tif (sillyBot instanceof PerformanceSillyBot) {\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tpropsal = new PerformanceProposal(getResponseValue(botsAnalysisCall.analysisResult),\n\t\t\t\t\t\t\tbotsAnalysisCall.name);\n\t\t\t\t\tSystem.out.println(\"For Model \" + botsAnalysisCall.name + \" metric is \"\n\t\t\t\t\t\t\t+ getResponseValue(botsAnalysisCall.analysisResult));\n\t\t\t\t} else if (sillyBot instanceof ModifiabilitySillyBot) {\n\t\t\t\t\tpropsal = new ModifiabilityProposal(getResponseValue(botsAnalysisCall.analysisResult),\n\t\t\t\t\t\t\tbotsAnalysisCall.name);\n\t\t\t\t\tSystem.out.println(\"For Model \" + botsAnalysisCall.name + \" metric is \"\n\t\t\t\t\t\t\t+ getResponseValue(botsAnalysisCall.analysisResult));\n\t\t\t\t} else {\n\t\t\t\t\tthrow new IllegalArgumentException(\"Unknown type of Silly Bot.\");\n\t\t\t\t}\n\n\t\t\t\tsillyBot.insertInOrder(propsal);\n\t\t\t}\n\t\t}\n\t}", "@Test\n public void getLatestScanResults_projectWithoutScans() {\n testMissingResultsCase(\"common-client-test-02-no-scans\");\n }", "@Test(groups ={Slingshot,Regression,SubmitMeterRead})\npublic void smrAbove3MetersSearchOptions(){\n\tReport.createTestLogHeader(\"SubmitMeterRead\", \"Verifies smr landing page for more than 3 meters\");\n\t SMRAccountDetails smrProfile = new TestDataHelper().getAllSMRUserProfile(\"SmrLoggedInJourneyymorethan15accts\");\n\t new SubmitMeterReadAction()\n\t \t .BgbnavigateToLogin()\n\t .BgbloginDetails(smrProfile)\n\t .clickManageAccountLinkWithAccNo(smrProfile)\n\t .submitMeterReadLink(smrProfile)\n\t .smrMoreThan3MetersSearchOptions()\n\t .smrWhatsThisElectricity()\n\t .smrWhatsThisGas();\n\t // .smrDownloadTemplateLink(); \n}", "@Test(timeout = 4000)\n public void test129() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n String[] stringArray0 = new String[1];\n resultMatrixHTML0.setPrintRowNames(false);\n stringArray0[0] = \")\";\n resultMatrixHTML0.setShowAverage(false);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixHTML0);\n resultMatrixSignificance0.getAverage(1);\n resultMatrixSignificance0.getRowName(1);\n resultMatrixSignificance0.getVisibleRowCount();\n resultMatrixSignificance0.getStdDev(0, 2);\n resultMatrixHTML0.getRowName(110);\n assertFalse(resultMatrixHTML0.getPrintRowNames());\n }", "private void getFromSonarQube() {\n try {\n URL url = new URL(Exa2Pro.sonarURL+\"/api/measures/component_tree?pageSize=500&component=\"\n +projectName+\"&metricKeys=functions,complexity,ncloc,comment_lines_density,\"\n + \"code_smells,sqale_index\");\n HttpURLConnection conn = (HttpURLConnection)url.openConnection();\n conn.setRequestMethod(\"GET\");\n conn.connect();\n int responsecode = conn.getResponseCode();\n if(responsecode != 200)\n throw new RuntimeException(\"HttpResponseCode: \"+responsecode);\n else{\n Scanner sc = new Scanner(url.openStream());\n String inline=\"\";\n while(sc.hasNext()){\n inline+=sc.nextLine();\n }\n sc.close();\n \n JSONParser parse = new JSONParser();\n JSONObject jobj = (JSONObject)parse.parse(inline);\n JSONArray jsonarr_1 = (JSONArray) jobj.get(\"components\");\n for(int i=0;i<jsonarr_1.size();i++){\n JSONObject jsonobj_1 = (JSONObject)jsonarr_1.get(i);\n JSONArray jsonarr_2 = (JSONArray) jsonobj_1.get(\"measures\");\n \n if(jsonobj_1.get(\"key\").toString().contains(\".\")){\n String[] data= new String[7];\n data[0] = jsonobj_1.get(\"key\").toString();\n for(int k=0;k<jsonarr_2.size();k++){\n JSONObject jsonobj_2 = (JSONObject)jsonarr_2.get(k);\n switch(jsonobj_2.get(\"metric\").toString()){\n case \"functions\":\n data[1]=jsonobj_2.get(\"value\").toString();\n break;\n case \"complexity\":\n data[2]=jsonobj_2.get(\"value\").toString();\n break;\n case \"ncloc\":\n data[3]=jsonobj_2.get(\"value\").toString();\n break;\n case \"comment_lines_density\":\n data[4]=jsonobj_2.get(\"value\").toString();\n break;\n case \"code_smells\":\n data[5]=jsonobj_2.get(\"value\").toString();\n break;\n case \"sqale_index\":\n data[6]=jsonobj_2.get(\"value\").toString();\n break;\n }\n }\n for(int k=0; k<data.length; k++){\n if(data[k]==null)\n data[k]=\"0\";\n }\n Artifacts art= new Artifacts(data);\n artifacts.add(art);\n }\n \n }\n }\n } catch (MalformedURLException ex) {\n Logger.getLogger(Report.class.getName()).log(Level.SEVERE, null, ex);\n } catch (IOException | ParseException ex) {\n Logger.getLogger(Report.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "private CountingResult aggregateEvaluateAndCompareResults(\r\n\t\t\tString suffix,\r\n\t\t\tCountingResultCollector crCollector, \r\n\t\t\tList<CountingResult> countingResults) {\r\n // only see how many CountingResults a signature has in \"results\"\r\n\t\tthis.aggregateResultBySignature(countingResults);//TODO add comments\r\n\t\t\r\n\t\tlog.debug(\"CountingResult that is the sum of counts \" +\r\n\t\t\t\t\"reported using _inlined reporting methods: \\n\"+\r\n\t\t\t\tcrCollector.getInlined_countingResult());\r\n\t\t\r\n\t\tlong timestampToUse = System.nanoTime();\r\n\t\tCountingResult sumOfAllCountingResults = null; //\"Type 1\"\r\n\t\tCountingResult compressCR_evaluated = null; //\"Type 2\"\r\n\r\n\t\tif(countingResults.size()==0){\r\n\t\t\tlog.error(\"Zero counting results!\");\r\n\t\t}else{\r\n\t\t\t//6. add up (first approach)\r\n\t\t\tsumOfAllCountingResults = new CountingResult(\r\n\t\t\t\t\tUUID.randomUUID(),\r\n\t\t\t\t\tUUID.randomUUID(),\r\n\t\t\t\t\tUUID.randomUUID(),\r\n\t\t\t\t\t\r\n\t\t\t\t\t\"allCountingResults\", //ID\r\n\t\t\t\t\t\"spec.benchmarks.compress.Compressor.compress\", //results.get(0).getQualifyingMethodName(),//qualifyingMethodName\r\n\t\t\t\t\tcountingResults.get(0).getFileType(), //fileType\r\n\t\t\t\t\tcountingResults.get(0).getInputCharacterisation(), //inputCharacterisation\r\n\t\t\t\t\tcountingResults.get(0).getOutputCharacterisation(),//outputCharacterisation\r\n\t\t\t\t\t0L, //methodInvocationBeginning\r\n\t\t\t\t\t0L, //methodReportingTime\r\n\t\t\t\t\tnew long[202], //opcodeCounts\r\n\t\t\t\t\tnew TreeMap<String,Long>(), //methodCallCounts\r\n\t\t\t\t\tnew long[]{}, //arrayCreationCounts\r\n\t\t\t\t\tnew int[]{}, //arrayCreationDimensions\r\n\t\t\t\t\tnew String[]{}, //arrayCreationTypeInfo\r\n\t\t\t\t\tnew TreeMap<BytecodeSectionDescription, SortedMap<Integer,Long>>(), //sectionInstCounts\r\n\t\t\t\t\tnew TreeMap<BytecodeSectionDescription, SortedMap<String,Long>>()); //sectionMethCounts\r\n\t\t\t\t\t\r\n\t\t\tint currResultIndex = 0;\r\n\t\t\tCountingResult compressCR = null;\r\n\t\t\tfor(CountingResult r : countingResults) {\r\n\t\t\t\tif(r.getQualifyingMethodName().contains(\"compress\")){//TODO document this\r\n\t\t\t\t\tcompressCR = r;\r\n\t\t\t\t}\r\n\t\t\t\tsumOfAllCountingResults.add(r);//TODO\r\n\t//\t\t\tlog.debug(\"after adding CountingResult \"+currResultIndex+\":\");\r\n\t\t\t\tcurrResultIndex++;\r\n\t\t\t}\r\n\t\t\tif(compressCR!=null){\r\n\t\t\t\tsumOfAllCountingResults.setMethodInvocationBeginning(compressCR.getMethodInvocationBeginning());\r\n\t\t\t\tsumOfAllCountingResults.setMethodReportingTime(compressCR.getMethodReportingTime());\r\n\t\t\t}\r\n\t\t\tlog.info(\"Addition Type1 \\\"simply all, before adding the inlined\\\": \"+sumOfAllCountingResults);\r\n\t\t\t\r\n\t\t\tsumOfAllCountingResults.add_methodsInstructionsOnly(crCollector.getInlined_countingResult());\r\n\t\t\tlog.info(\"Addition Type1 \\\"simply all, after adding the inlined\\\", final result: \"+sumOfAllCountingResults);\r\n\t\t\t\r\n\t\t\tString[] splits = Harness.MK_FILES_NAMES[Harness.MK_getFileIndex()].split(\"/\");\r\n\t\t\tcsvrw = new CountingResultCSVWriter(\r\n\t\t\t\t\ttrue, //append grand total at the end\r\n\t\t\t\t\t';',//entriesSeparationChar\r\n\t\t\t\t\ttrue,//listInvokeOpcodes\r\n\t\t\t\t\ttrue,//performIntegrityCheckOnInvokeOpcodes\r\n\t\t\t\t\t\"CountingResult.Sum1\",//pieceFileNameCore\r\n\t\t\t\t\tsplits[splits.length-1]+\".\"+suffix+\".MK.csv\",//pieceFileNameExtension\r\n\t\t\t\t\t\"MK_results\",//pieceFilePath\r\n\t\t\t\t\ttrue,//writeBooleansAsIntegers\r\n\t\t\t\t\ttrue,//writeOpcodesAsIntegers\r\n\t\t\t\t\ttrue,//writeUnusedOpcodes\r\n\t\t\t\t\ttrue,//truncateUndefinedOpcodes\r\n\t\t\t\t\tfalse//writeArrayDetailsToSeparateFile\r\n\t\t\t\t);\r\n\t\t\tcsvrw.writeResultToCSV(\r\n\t\t\t\t\tsumOfAllCountingResults, \r\n\t\t\t\t\ttrue, //use previous timestamp \r\n\t\t\t\t\ttimestampToUse //previous timestamp to use\r\n\t\t\t\t);\r\n\t\t\t\t\t\r\n\t\t\t//8. serialise first CountingResult\r\n\t\t\tCountingResultPersistance.serialiseCountingResult(//TODO this used splits to map to file names...\r\n\t\t\t\t\tsumOfAllCountingResults, \r\n\t\t\t\t\t\".\", \r\n\t\t\t\t\tCountingResultPersistance.DEFAULT_COUNTING_RESULT_NAMECORE, \r\n\t\t\t\t\tsuffix, //CountingResultPersistance.DEFAULT_COUNTING_RESULT_NAME_SUFFIX, \r\n\t\t\t\t\tCountingResultPersistance.DEFAULT_COUNTING_RESULT_EXTENSION,\r\n\t\t\t\t\tfalse,\r\n\t\t\t\t\tfalse,\r\n\t\t\t\t\ttrue,\r\n\t\t\t\t\ttimestampToUse);\r\n\r\n\t\t\t//7. try a different addition approach:\r\n\t\t\tif(compressCR==null){\r\n\t\t\t\tlog.error(\"There is no CountingResult for the compress() method !!!\");\r\n\t\t\t}else{\r\n\t\t\t\tlog.debug(\"The compress() method DOES have a CountingResult\");\r\n\t\t\t\tlong callerStartTime;\r\n\t\t\t\tcallerStartTime = compressCR.getMethodInvocationBeginning();\r\n\t\t\t\tcompressCR_evaluated = crCollector.retrieveCountingResultByStartTime_evaluateCallingTree(callerStartTime, true);\r\n\t\t\t\tlog.info(\"Addition Type2 \\\"within timespan, without inlined\\\"\"+compressCR_evaluated);\r\n\t\t\t\t\r\n\t\t\t\tcompressCR_evaluated.add_methodsInstructionsOnly(crCollector.getInlined_countingResult());\r\n\t\t\t\tlog.info(\"Addition Type2 \\\"within timespan, with inlined\\\", final result: \"+compressCR_evaluated);\r\n\r\n\t\t\t\tif(compressCR_evaluated.shallowEquals(sumOfAllCountingResults)){\r\n\t\t\t\t\tlog.info(\"Aggregated results are equal for both computation ways; not writing CountingResult as second time\");\r\n\t\t\t\t}else{\r\n\t\t\t\t\tlog.error(\"Aggregated results are different for both computation ways; writing the different CountingResult (as CSV only)\");\r\n\t\t\t\t\t\r\n\t\t\t\t\tcsvrw = new CountingResultCSVWriter(\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\t';',\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\t\"CountingResult.Sum2\",\r\n\t\t\t\t\t\t\tsplits[splits.length-1]+\".\"+suffix+\".MK.csv\",\r\n\t\t\t\t\t\t\t\"MK_results\",\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\tfalse,\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\t\tfalse);\r\n\t\t\t\t\tcsvrw.writeResultToCSV(compressCR_evaluated, true, timestampToUse);//TODO use the timestamp!\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\r\n\t//\t\tfor(int i = 0; i < results.size(); i++) {\r\n\t//\t\t\tcallerStartTime = results.get(i).getMethodInvocationBeginning();\r\n\t//\t\t\tcalcResult.add(crc.getCountingResultByStartTime_evaluateCallingTree(callerStartTime));\r\n\t//\t\t}\r\n\t//\t\tTODO\r\n\t//\t\tfor(CountingResult c in calcResult) {\r\n\t//\t\t\tif c name is compress log\r\n\t//\t\t}\r\n\t\t}\r\n\t\treturn sumOfAllCountingResults;\r\n\t}", "@Test(timeout = 4000)\n public void test147() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n ResultMatrixLatex resultMatrixLatex1 = new ResultMatrixLatex(resultMatrixPlainText0);\n String string0 = resultMatrixPlainText0.getSummaryTitle(0);\n assertEquals(\"a\", string0);\n \n int[][] intArray0 = new int[2][4];\n int[] intArray1 = new int[0];\n intArray0[0] = intArray1;\n int[] intArray2 = new int[6];\n intArray2[0] = 1;\n intArray2[1] = 1;\n intArray2[2] = 1;\n intArray2[3] = 0;\n intArray2[4] = 1;\n intArray2[5] = 0;\n intArray0[1] = intArray2;\n resultMatrixLatex1.setSummary(intArray0, intArray0);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n resultMatrixCSV0.getColOrder();\n resultMatrixLatex1.getDefaultPrintColNames();\n assertEquals(25, resultMatrixLatex1.getRowNameWidth());\n assertEquals(5, resultMatrixLatex1.getCountWidth());\n assertTrue(resultMatrixLatex1.getPrintColNames());\n \n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixLatex0);\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n \n resultMatrixCSV0.toStringSummary();\n resultMatrixPlainText0.isRowName((-1723));\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n }", "@Test\n public void testExecution() {\n Choice page=Choice.createSingleton(importPage(\"MapSourcesToSections.xml\"));\n\n // Create a federated result\n Query query=new Query();\n Result result=new Result(query);\n result.hits().add(createHits(\"source1\",3));\n result.hits().add(createHits(\"source2\",4));\n result.hits().add(createHits(\"source3\",5));\n result.hits().add(createHits(\"source4\",6));\n result.hits().add(createHits(\"source5\",7));\n\n // Resolve\n Resolver resolver=new DeterministicResolverAssertingMethod();\n Resolution resolution=resolver.resolve(page,query,result);\n Map<String, List<PageElement>> mapping=\n resolution.getResolution((MapChoice)((PageTemplate)page.get(0).get(0)).getSection().elements().get(2));\n assertNotNull(mapping);\n assertEquals(\"source1\",((Source)mapping.get(\"box1source\").get(0)).getName());\n assertEquals(\"source2\",((Source)mapping.get(\"box2source\").get(0)).getName());\n assertEquals(\"source3\",((Source)mapping.get(\"box3source\").get(0)).getName());\n assertEquals(\"source4\",((Source)mapping.get(\"box4source\").get(0)).getName());\n\n // Execute\n Organizer organizer =new Organizer();\n organizer.organize(page,resolution,result);\n\n // Check execution:\n // Two subsections, each containing two sub-subsections with one source each\n assertEquals(2,result.hits().size());\n HitGroup row1=(HitGroup)result.hits().get(0);\n HitGroup column11=(HitGroup)row1.get(0);\n HitGroup column12=(HitGroup)row1.get(1);\n HitGroup row2=(HitGroup)result.hits().get(1);\n HitGroup column21=(HitGroup)row2.get(0);\n HitGroup column22=(HitGroup)row2.get(1);\n assertEqualHitGroups(createHits(\"source1\",3),column11);\n assertEqualHitGroups(createHits(\"source2\",4),column12);\n assertEqualHitGroups(createHits(\"source3\",5),column21);\n assertEqualHitGroups(createHits(\"source4\",6),column22);\n\n // Check rendering\n assertRendered(result,\"MapSourcesToSectionsResult.xml\");\n }", "@Test\n\tpublic void testDirectResultWriting() {\n\t\t// create a BytecodeCounter\n\t\tBytecodeCounter counter = setupByCounter();\n\t\tAssert.assertNotNull(counter);\n\n\t\t// disable usage of result collector\n\t\tAssert.assertNotNull(counter.getInstrumentationParams());\n\t\tcounter.getInstrumentationParams().setUseResultCollector(false);\n\t\tAssert.assertEquals(false, counter.getInstrumentationParams().getUseResultCollector());\n\n\t\t// set the file name for the result log\n\t\tcounter.getInstrumentationParams().enableResultLogWriter(resultLogFileName);\n\t\tcounter.getInstrumentationParams().setUseBasicBlocks(false);\n\t\tcounter.getInstrumentationParams().setUseArrayParameterRecording(true);\n\t\tAssert.assertEquals(resultLogFileName, counter.getInstrumentationParams().getResultLogFileName());\n\n\t\t// test with void method\n\t\tMethodDescriptor methodDescriptor = new MethodDescriptor(\n\t\t\t\tCLASS_TEST_SUBJECT, METHOD_METHOD_CALL_TEST);\n\t\tcounter.addEntityToInstrument(methodDescriptor);\n\t\tcounter.instrument();\n\t\tcounter.execute(methodDescriptor, new Object[]{});\n\n\t\t// check whether a file was written\n\t\tcheckAndDeleteFile(resultLogFileName);\n\t\tcleanResults();\n\n\t\tcounter = setupByCounter();\n\t\tcounter.getInstrumentationParams().setUseResultCollector(false);\n\t\tcounter.getInstrumentationParams().enableResultLogWriter(resultLogFileName);\n\t\t// test with boolean method\n\t\tmethodDescriptor = new MethodDescriptor(CLASS_TEST_SUBJECT,\n\t\t\tMETHOD_PARAMETER_TEST);\n\t\tcounter.addEntityToInstrument(methodDescriptor);\n\t\tcounter.instrument();\n\t\tcounter.execute(methodDescriptor,\n\t\t\tnew Object[]{2, 2, CLASS_TEST_SUBJECT});\n\n\t\t// check whether a file was written\n\t\tcheckAndDeleteFile(resultLogFileName);\n\n\t\tcounter = setupByCounter();\n\t\t// enable CountingResultCollector additionally\n\t\tcounter.getInstrumentationParams().setUseResultCollector(true);\n\t\tcounter.getInstrumentationParams().enableResultLogWriter(resultLogFileName);\n\n\t\t// test with boolean method\n\t\tmethodDescriptor = new MethodDescriptor(CLASS_TEST_SUBJECT,\n\t\t\tMETHOD_PARAMETER_TEST);\n\t\tcounter.addEntityToInstrument(methodDescriptor);\n\t\tcounter.instrument();\n\t\tcounter.execute(methodDescriptor,\n\t\t\tnew Object[]{2, 2, CLASS_TEST_SUBJECT});\n\n\t\t// check whether a file was written\n\t\tcheckAndDeleteFile(resultLogFileName);\n\t}", "private String perRuleStatistics(Map<Feature<Boolean>, Set<String>> featureResults, int total) {\n StringBuffer statisticsTable = new StringBuffer();\n for (Feature<Boolean> feature : featureResults.keySet()) {\n statisticsTable.append(String.format(\"\\n### Project statistics for %s (%s)\\n\\n\", \n formatter.identifierOf(feature).orElseGet(() -> \"unknown\"), formatter.nameOf(feature)));\n Set<String> resultsForFeature = featureResults.get(feature);\n if (resultsForFeature.isEmpty()) {\n statisticsTable.append(\"*All projects are compliant with this rule.*\\n\");\n } else {\n statisticsTable.append(\"| | # of projects | % of projects |\\n\");\n statisticsTable.append(\"| ------- | :----- | :------------------ |\\n\");\n statisticsTable.append(String.format(\"| Passed | %d | %2.1f%% |\\n\", \n total - resultsForFeature.size(), \n (double) (total - resultsForFeature.size()) / total * 100));\n statisticsTable.append(String.format(\"| Failed | %d | %2.1f%% |\\n\\n\", \n resultsForFeature.size(), (double) resultsForFeature.size() / total * 100));\n statisticsTable.append(\"**Failed projects:**\\n\");\n resultsForFeature.stream()\n .forEach(result -> statisticsTable.append(String.format(\"- %s\\n\", result)));\n }\n }\n return statisticsTable.toString();\n }", "@Test(timeout = 4000)\n public void test156() throws Throwable {\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(50, 50);\n resultMatrixLatex0.m_ShowAverage = false;\n resultMatrixLatex0.m_ShowStdDev = true;\n boolean[] booleanArray0 = new boolean[5];\n booleanArray0[0] = false;\n booleanArray0[1] = false;\n resultMatrixLatex0.m_StdDevWidth = (-3085);\n booleanArray0[2] = true;\n resultMatrixLatex0.setPrintColNames(true);\n booleanArray0[3] = true;\n resultMatrixLatex0.setStdDevWidth((-1));\n booleanArray0[4] = true;\n resultMatrixLatex0.m_RowHidden = booleanArray0;\n resultMatrixLatex0.getDefaultEnumerateColNames();\n resultMatrixLatex0.colNameWidthTipText();\n resultMatrixLatex0.setPrintRowNames(false);\n resultMatrixLatex0.removeFilterName(\"\");\n resultMatrixLatex0.padString(\"\", 0, false);\n ResultMatrixSignificance resultMatrixSignificance0 = null;\n try {\n resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixLatex0);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 5\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "protected static String runStatsMethod(String critter_class_name,List<Critter> res) throws InvalidCritterException{\n \tString returnedValue;\n \ttry{\n \tClass<?> inClass=Class.forName(myPackage+\".\"+critter_class_name);\n \tMethod inMethod=inClass.getMethod(\"runStats\",List.class);\n \t\t\treturnedValue=(String)inMethod.invoke(null,res);\n \t}catch(Exception ex){\n \t\tif(DEBUG){\n \t\tex.printStackTrace(System.out);\n \t\tSystem.out.println(\"Problem in Stats method\");\n \t\t}\n \t\tthrow new InvalidCritterException(critter_class_name);\n \t\t\n \t}\n \treturn returnedValue;\n }", "@Test\r\n\tpublic void testgetTraineeOverallLineChart(){\r\n\t\tlog.debug(\"testgetTraineeOverallLineChart Test\");\r\n\t\t//The arrays are set up so the nth elemnt in batchId matches the nth element in traineeId\r\n\t\tInteger[] batchId = new Integer[]{2200,2050,2150};\r\n\t\tInteger[] traineeId = new Integer[]{5503,5350,5467};\r\n\t\tint random = ThreadLocalRandom.current().nextInt(0, 3);\r\n\t\t//Gets the maps from the service\r\n\t\tMap<Integer, Double[]> theMap = service.getTraineeOverallLineChart(batchId[random],traineeId[random]);\r\n\t\t//Maps the double array values to an ArrayList\r\n\t\tArrayList<Double[]> targetList = new ArrayList<>(theMap.values());\r\n\t\t//Stores the array body as a string \r\n\t\tResponse response = given().spec(requestSpec).header(AUTH, accessToken).contentType(ContentType.JSON)\r\n\t\t.when().get(baseUrl+\"all/reports/batch/{batchId}/overall/trainee/{traineeId}/line-trainee-overall\",batchId[random],traineeId[random]);\r\n\t\tJSONObject responseJson = new JSONObject(response.getBody().asString());;\r\n\t\t//For the length of the body finds the double array and compares the 1st and second values of the double array\r\n\t\tfor(int i =1; i <= responseJson.length(); i++){\r\n\t\t\tJSONArray values = responseJson.getJSONArray(Integer.toString(i));\r\n\t\t\tfor(int j = 0; j < values.length(); j++) {\r\n\t\t\t\tdouble value = values.getDouble(j);\r\n\t\t\t\tassertEquals(Math.round(value*1000d)/1000d, Math.round(targetList.get(i-1)[j]*1000d)/1000d,0.0001);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Test\n\tpublic void CheckConvertionsTest2() throws Exception{\n\t\t\n\t\t/** an example for a pre-defined trivial conversion in the converter,\n\t\t * grams conversion to grams is defined in our converter **/\n\t\tJSONObject res = PortionRequestGen.readJsonFromUrl(\"https://api.nal.usda.gov/ndb/reports/?ndbno=45094075&type=b&format=json&api_key=Unjc2Z4luZu0sKFBGflwS7cnxEiU83YygiIU37Ul\");\n\t\tassertEquals((double)2/8,PortionSearchEngine.ComputeRate(\"bacon\",\"grams\",res.getJSONObject(\"report\").getJSONObject(\"food\").getString(\"name\"),\n\t\t\t\t\t\tPortionSearchEngine.CheckConvertions(\"grams\",2)>=0),0.01);\n\t\t\n\t\t/** an example for a pre-defined non-trivial conversion in the converter,\n\t\t * for SOLID foods,\n\t\t * ounces conversion to grams is defined in our converter **/\n\t\tres = PortionRequestGen.readJsonFromUrl(\"https://api.nal.usda.gov/ndb/reports/?ndbno=45094075&type=b&format=json&api_key=Unjc2Z4luZu0sKFBGflwS7cnxEiU83YygiIU37Ul\");\n\t\tassertEquals(1+(double)2/8,PortionSearchEngine.ComputeRate(\"bacon\",\"ounce\",res.getJSONObject(\"report\").getJSONObject(\"food\").getString(\"name\"),\n\t\t\t\t\t\tPortionSearchEngine.CheckConvertions(\"ounce\",2)>=0),0.01);\n\t\t\n\t\t/** an example for a pre-defined non-trivial conversion in the converter,\n\t\t * for Liquid foods,\n\t\t * cup conversion to Liters is defined in our converter **/\n\t\tres = PortionRequestGen.readJsonFromUrl(\"https://api.nal.usda.gov/ndb/reports/?ndbno=45240964&type=b&format=json&api_key=Unjc2Z4luZu0sKFBGflwS7cnxEiU83YygiIU37Ul\");\n\t\tassertEquals(1+(double)3/7,PortionSearchEngine.ComputeRate(\"tea\",\"cup\",res.getJSONObject(\"report\").getJSONObject(\"food\").getString(\"name\"),\n\t\t\t\t\t\tPortionSearchEngine.CheckConvertions(\"cups\",2)>=0),0.01);\n\t\t\n\t\t/** an example for non-defined conversion in the converter:\n\t\t * a soda \"can\" is not defined in converter, neither towards liters nor grams **/\n\t\tres = PortionRequestGen.readJsonFromUrl(\"https://api.nal.usda.gov/ndb/reports/?ndbno=14145&type=b&format=json&api_key=Unjc2Z4luZu0sKFBGflwS7cnxEiU83YygiIU37Ul\");\n\t\tassertEquals((double)1/7,PortionSearchEngine.ComputeRate(\"sprite\",\"can\",res.getJSONObject(\"report\").getJSONObject(\"food\").getString(\"name\"),\n\t\t\t\t\t\tPortionSearchEngine.CheckConvertions(\"can\",2)>=0),0.01);\n\t}", "public Map<String, List<BenchmarkResultSet>> groupByBenchmark() {\n Map<String, List<BenchmarkResultSet>> groupedResults = new HashMap<>();\n if (getResults()!= null) {\n groupedResults = getResults().stream()\n .collect(Collectors.groupingBy(BenchmarkResultSet::getName));\n }\n return groupedResults;\n }", "@Test\n public void testRepeatedMatch() {\n assertMetrics(\"fieldCompleteness:1 queryCompleteness:0.6667 segments:1 earliness:1 gaps:1\",\n \"pizza hut pizza\",\"pizza hut\");\n }", "@Test\r\n\tvoid testGetAllMedicines() throws Exception {\r\n\t\tString URI = \"/medicine/getall\";\r\n\t\tMedicine medicine = new Medicine(); \r\n\t\tmedicine.setMedicineId(1345);\r\n\t\tmedicine.setMedicineName(\"Calcium\");\r\n\t\tmedicine.setMedicineCost(300);\r\n\t\t \r\n\t\tMedicine med = new Medicine();\r\n\t\tmed.setMedicineId(134);\r\n\t\tmed.setMedicineName(\"crosin\");\r\n\t\tmed.setMedicineCost(200);\r\n\t\r\n\t List<Medicine> medicineList = new ArrayList<>();\r\n\t medicineList.add(medicine);\r\n\t medicineList.add(med);\r\n\r\n Mockito.when(medicineService.getAllMedicines()).thenReturn(medicineList);\r\n MvcResult mvcResult = this.mockMvc.perform(MockMvcRequestBuilders.get(URI).accept(MediaType.APPLICATION_JSON)).andReturn();\r\n MockHttpServletResponse mockHttpServletResponse = mvcResult.getResponse();\r\n String jsonOutput = mockHttpServletResponse.getContentAsString();\r\n assertNotNull(jsonOutput);\r\n\r\n\t}", "public CoverageResult analyseCoverage(HashMap<String, ExplicitTarget> selectedFavorTargets, HashMap<String, ExplicitTarget> selectedAgainstTargets, HashMap<String, ExplicitTarget> availableTargets, boolean evaluateOnTrain) throws UIMAException, NumberFormatException, SQLException {\n//\t\tHashMap<String, Set<String>> targetToText=getAvailableTargetsToText(availableTargets);\n\t\tSet<String> wordsInSelectedTargets= getWordsInSelectedTargets(selectedFavorTargets,selectedAgainstTargets);\n\t\t\n\t\tEvaluationDataSet dataSet= null;\n\t\tif(evaluateOnTrain){\n\t\t\tdataSet=evaluationScenario.getTrainData();\n\t\t}else{\n\t\t\tevaluationScenario.getTestData();\n\t\t}\n\t\tSet<String> wordsInData=getWordsInData(dataSet.getDataReader());\n\t\t\n\t\tdouble coverageSelection=getCoverage(wordsInData,wordsInSelectedTargets);\n\t\tHashMap<String, Double> targetToCoverage=null;\n//\t\tHashMap<String, Double> targetToCoverage=getTargetToCoverage(wordsInData,targetToText);\n\t\tSystem.out.println(coverageSelection);\n\t\t\n\t\treturn new CoverageResult(coverageSelection,targetToCoverage);\n\t}", "public void testSubResults() throws Exception {\n SampleResult resWithSubResults = new SampleResult(); \n\n long beginTest = System.currentTimeMillis();\n \n resWithSubResults.sampleStart();\n Thread.sleep(100);\n resWithSubResults.setBytes(300);\n resWithSubResults.setSampleLabel(\"sample with two subresults\");\n resWithSubResults.setSuccessful(true);\n resWithSubResults.sampleEnd();\n long sampleWithSubResultsTime = resWithSubResults.getTime();\n \t\n // Sample with no sub results, simulates an image download\n SampleResult resNoSubResults1 = new SampleResult(); \n resNoSubResults1.sampleStart();\n Thread.sleep(100);\n resNoSubResults1.setBytes(100);\n resNoSubResults1.setSampleLabel(\"sample with no subresults\");\n resNoSubResults1.setSuccessful(true);\n resNoSubResults1.sampleEnd();\n long sample1Time = resNoSubResults1.getTime();\n\n assertTrue(resNoSubResults1.isSuccessful());\n assertEquals(100, resNoSubResults1.getBytes());\n assertEquals(\"sample with no subresults\", resNoSubResults1.getSampleLabel());\n assertEquals(1, resNoSubResults1.getSampleCount());\n assertEquals(0, resNoSubResults1.getSubResults().length);\n \n // Sample with no sub results, simulates an image download \n SampleResult resNoSubResults2 = new SampleResult(); \n resNoSubResults2.sampleStart();\n Thread.sleep(100);\n resNoSubResults2.setBytes(200);\n resNoSubResults2.setSampleLabel(\"sample with no subresults\");\n resNoSubResults2.setSuccessful(true);\n resNoSubResults2.sampleEnd();\n long sample2Time = resNoSubResults2.getTime();\n\n long overallTime = System.currentTimeMillis() - beginTest;\n \n assertTrue(resNoSubResults2.isSuccessful());\n assertEquals(200, resNoSubResults2.getBytes());\n assertEquals(\"sample with no subresults\", resNoSubResults2.getSampleLabel());\n assertEquals(1, resNoSubResults2.getSampleCount());\n assertEquals(0, resNoSubResults2.getSubResults().length);\n \n // Now add the subsamples to the sample\n resWithSubResults.addSubResult(resNoSubResults1);\n resWithSubResults.addSubResult(resNoSubResults2);\n assertTrue(resWithSubResults.isSuccessful());\n assertEquals(600, resWithSubResults.getBytes());\n assertEquals(\"sample with two subresults\", resWithSubResults.getSampleLabel());\n assertEquals(1, resWithSubResults.getSampleCount());\n assertEquals(2, resWithSubResults.getSubResults().length);\n long totalTime = resWithSubResults.getTime();\n \n // Check the sample times\n long allsamplesTime = sampleWithSubResultsTime + sample1Time + sample2Time;\n if (totalTime < allsamplesTime) {\n \tfail(\"Total: \"+totalTime+\" < sum(samples): \"+ allsamplesTime);\n }\n if (totalTime > overallTime) {\n \tfail(\"Total: \"+totalTime+\" > overall time: \"+ overallTime);\n }\n \n // Check that calculator gets the correct statistics from the sample\n Calculator calculator = new Calculator();\n calculator.addSample(resWithSubResults);\n assertEquals(600, calculator.getTotalBytes());\n assertEquals(1, calculator.getCount());\n assertEquals(1d / (totalTime / 1000d), calculator.getRate(),0.0001d); // Allow for some margin of error\n // Check that the throughput uses the time elapsed for the sub results\n assertFalse(1d / (sampleWithSubResultsTime / 1000d) <= calculator.getRate());\n }", "@Test\n public void TestCase2() {\n VariableMap variables = Variables\n .putValue(\"Role\", \"Executive\")\n .putValue(\"BusinessProcess\", \"Merit Increase\")\n .putValue(\"DelegationDateRange\", \"2019-04-31T00:00:00\");\n\n DmnDecisionTableResult result = dmnEngine.evaluateDecisionTable(decision, variables);\n\n // Need to establish rule ordering\n assertThat(result.collectEntries(\"result\"))\n .hasSize(1)\n .contains(\"John M\");\n }", "@Test\n\tpublic void testStructureSimilarity1() {\n\t\tList<TimeSeriesSimilarityCollection> res;\n\t\tTimeSeriesSimilarityCollection r;\n\n\t\t// we are interested in measure now\n\t\tevaluator.setSimilarity(false, false, true);\n\n\t\t// add some data\n\t\t// @formatter:off\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (3)\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (7)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (13)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (17)\n\t\t// @formatter:on\n\t\tloadData(\"Philipp\", 3, \"01.01.2015 00:00:00\", \"01.01.2015 01:00:00\");\n\t\tloadData(\"Philipp\", 7, \"01.01.2015 00:00:00\", \"01.01.2015 01:00:00\");\n\t\tloadData(\"Tobias\", 13, \"31.12.2015 00:00:00\", \"31.12.2015 01:00:00\");\n\t\tloadData(\"Tobias\", 17, \"31.12.2015 00:00:00\", \"31.12.2015 01:00:00\");\n\n\t\t// get the similar once on a filtered measure level\n\t\tres = evaluator.evaluateSimilarity(\n\t\t\t\tgetQuery(\"SUM(IDEAS) AS IDEAS ON TIME.DEF.HOUR\", null), 1);\n\n\t\tassertEquals(1, res.size());\n\t\tr = res.get(0);\n\t\tassertEquals(0.0, r.getStructureDistance(), 0.0);\n\t\tassertEquals(0.0, r.getTotalDistance(), 0.0);\n\t\t// 1451520000000l == 31 Dec 2015 00:00:00 UTC\n\t\tassertEquals(1451520000000l, ((Date) r.getLabelValue(0)).getTime());\n\n\t\t// add some data\n\t\t// @formatter:off\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (3)\n\t\t// 01.01.15: (00:00) ++++++ (01:00) Philipp (7)\n\t\t// 01.01.15: (00:00) ++++++++++++ (02:00) Philipp (10)\n\t\t// 01.01.15: (00:00) + (00:10) Philipp (10)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (13)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (17)\n\t\t// 31.12.15: (00:00) ++++++ (01:00) Tobias (1)\n\t\t// 31.12.15: (01:01) ++++++ (02:00) Tobias (2)\n\t\t// 31.12.15: (00:00) + (00:10) Philipp (10)\n\t\t// @formatter:on\n\t\tloadData(\"Philipp\", 10, \"01.01.2015 00:00:00\", \"01.01.2015 02:00:00\");\n\t\tloadData(\"Philipp\", 10, \"01.01.2015 00:00:00\", \"01.01.2015 00:10:00\");\n\t\tloadData(\"Tobias\", 1, \"31.12.2015 00:00:00\", \"31.12.2015 02:00:00\");\n\t\tloadData(\"Tobias\", 2, \"31.12.2015 01:01:00\", \"31.12.2015 02:00:00\");\n\t\tloadData(\"Philipp\", 10, \"31.12.2015 00:00:00\", \"31.12.2015 00:10:00\");\n\n\t\t// get the similar once on a filtered measure level\n\t\tres = evaluator.evaluateSimilarity(\n\t\t\t\tgetQuery(\"MAX(SUM(IDEAS)) AS IDEAS ON TIME.DEF.HOUR\", null), 1);\n\n\t\t// assertEquals(1, res.size());\n\t\tr = res.get(0);\n\t\tassertEquals(3.2, r.getStructureDistance(), 0.0);\n\t\tassertEquals(3.2, r.getTotalDistance(), 0.0);\n\t\t// 1451520000000l == 31 Dec 2015 00:00:00 UTC\n\t\tassertEquals(1451520000000l, ((Date) r.getLabelValue(0)).getTime());\n\t}", "public int getCoverage() {\n\t\treturn stop - start;\n\t}", "abstract protected void reportResult(Result result);" ]
[ "0.6099462", "0.60717237", "0.5572987", "0.55425733", "0.553292", "0.55126244", "0.55100125", "0.5387841", "0.53536856", "0.53117025", "0.53080964", "0.5304548", "0.5304118", "0.5295901", "0.52944326", "0.5243346", "0.52243376", "0.52101403", "0.517515", "0.5159898", "0.5148823", "0.514487", "0.5143406", "0.5138728", "0.5096862", "0.5092723", "0.507428", "0.5070858", "0.5065709", "0.5038789", "0.5019525", "0.50159025", "0.5015636", "0.5012763", "0.50095934", "0.5006333", "0.500581", "0.4994343", "0.49939513", "0.4983385", "0.49828258", "0.49782708", "0.4975029", "0.49662137", "0.49646127", "0.49597016", "0.4949925", "0.49487892", "0.49247724", "0.49240974", "0.49190477", "0.49088088", "0.4907064", "0.49034813", "0.49020702", "0.4894217", "0.48896727", "0.4888382", "0.48762164", "0.48693946", "0.4869392", "0.4865587", "0.48622102", "0.48614955", "0.48612848", "0.48577887", "0.48547095", "0.48533106", "0.48524383", "0.48522538", "0.48488405", "0.48482198", "0.4843411", "0.48392475", "0.48366082", "0.48322797", "0.48242924", "0.48134512", "0.4812123", "0.4811829", "0.48116732", "0.48114595", "0.48098174", "0.48078957", "0.4800996", "0.47900772", "0.47851562", "0.4784736", "0.4777851", "0.4772628", "0.4771585", "0.4767872", "0.47652057", "0.476328", "0.4760148", "0.4756434", "0.47558752", "0.47516248", "0.47493458", "0.4747292" ]
0.4883634
58
/ Set gross premium to a list, and this list will be used in setGrossTermAmount
private void setGrossCoverage(Record record, List<MedicalMalpracticeCoverageType> grossCoverageList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setGrossCoverage", new Object[]{record.toString(" , "), grossCoverageList}); } MedicalMalpracticeCoverageType coverage = new MedicalMalpracticeCoverageType(); coverage.setCurrentGrossTermAmount(PremiumFields.getWrittenPremium(record)); coverage.setCoverageNumberId(PremiumFields.getCoverageId(record)); grossCoverageList.add(coverage); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setGrossCoverage", coverage); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ApplyPremiums() {\r\n\r\n\t\tdouble GrossPremium;\r\n\t\tdouble NetPremium;\r\n\r\n\t\tfor ( Premium p : _Premiums ) {\r\n\r\n\t\t\tGrossPremium = p.getPremium() * _InvestPerCent;\r\n\r\n\t\t\tNetPremium = p.Apply() * _InvestPerCent * _BidOfferSpread.getBidOfferSpread();\r\n\r\n\t\t\tsuper.UpdateFundPremiumSchedule( GrossPremium );\r\n\r\n\t\t\t//IRR is based on the premium paid by the customer not allocated to fund.\r\n\t\t\tCashflows.Instance().AddCashflow( _Tick, GrossPremium );\r\n\r\n\t\t\t_FundValue = _FundValue + NetPremium;\r\n\r\n\t\t\tSystem.out.println( \"\\t\\t\\t\\tNet \" + p.getName() + \" Premium Amount : \" + NetPremium + \" in \" + _Name);\r\n\t\t}\r\n\t}", "public void setPremium(Boolean premium) {\n\t\tthis.premium = premium;\n\t}", "public void setCurrentUserPremium() {\n\t\tcurrentUser.setPremium(true);\n\t\tuserCatalog.modifyUser(currentUser);\n\t}", "public Object getAnnualPremium() {\n\t\treturn null;\n\t}", "public Premium() {\r\n\t\titemName = \"Premium\";\r\n\t\titemPrice = 100;\r\n\t\tcount = 10;\r\n\t}", "public void becomePremium() {\n\t\tif (this.account >= 100 && this.premium == false) {\n\t\t\tthis.account -= 100;\n\t\t\tthis.premium = true;\n\t\t\tSystem.out.println(\"Premium transaction successful\");\n\n\t\t} else if (this.premium == true) {\n\t\t\tSystem.out.println(\"They are already a premium user!\");\n\n\t\t} else {\n\t\t\tSystem.err.println(\n\t\t\t\t\t\"Error - not enough funds in account.\\nPremium charge is $100\\nBalance: $\" + this.getBalance() + \"\\nPlease top up account manually.\\nReturning to main menu.\");\n\t\t}\n\t}", "public List<Premium> findAllPremiumUsers();", "public void setIsPremium(final Boolean isPremiumValue) {\n this.isPremium = isPremiumValue;\n }", "public void setIsPremium(final Boolean isPremiumValue) {\n this.isPremium = isPremiumValue;\n }", "InsurancePremiumAmountType getInsurancePremiumAmount();", "public Boolean esPremium() {\n\t\treturn premium;\n\t}", "public Boolean isPremium() {\n return this.isPremium;\n }", "public Boolean isPremium() {\n return this.isPremium;\n }", "private void setGrossTermAmount(List<MedicalMalpracticeCoverageType> grossCoverageList, List<MedicalMalpracticeCoverageType> coverageList) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"setGrossTermAmount\", new Object[]{grossCoverageList, coverageList});\r\n }\r\n for (MedicalMalpracticeCoverageType coverage : coverageList) {\r\n for (MedicalMalpracticeCoverageType grossCoverage : grossCoverageList) {\r\n if (StringUtils.isSame(coverage.getCoverageNumberId(), grossCoverage.getCoverageNumberId())) {\r\n coverage.setCurrentGrossTermAmount(grossCoverage.getCurrentGrossTermAmount());\r\n }\r\n }\r\n }\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"setGrossTermAmount\", coverageList);\r\n }\r\n }", "public void setTaxAmtPriceList (BigDecimal TaxAmtPriceList);", "public void setPercentageProfitPList (BigDecimal PercentageProfitPList);", "public void setGrossAmount(MMDecimal grossAmount) {\r\n this.grossAmount = grossAmount;\r\n }", "@Override\r\n\tpublic double calculatePremium(ApplicationInsurance applicationInsurance) {\n\t\t\r\n\t\treturn this.iApplicationInsuranceDao.calculatePremium(applicationInsurance);\r\n\t\r\n\t}", "public void setPriceListWTax (BigDecimal PriceListWTax);", "public BigDecimal getPercentageProfitPList();", "java.util.List<cn.mxz.protocols.user.mission.BoxP.BoxPro.PrizePro> \n getPrizesList();", "@Override\n protected void setRetributionsAndBeneficiaries(){\n // Example for picking the \"chosen ones\" to be benefited from my generous policy\n // First we empty the bag in case we don't want to keep old beneficiaries\n beneficiaries.clear();\n // Pick 3 random territories from my subordinates\n if (myTerritory.getSubordinates().numObjs>=1){\n beneficiaries.add(myTerritory.getSubordinates().get((new Random()).nextInt(1)));\n\n // Now assign the corresponding amounts of soldiers to each beneficiary\n // Since there are three of them, we need to re-instantiate the retributions array to one of size 3\n retributions = new double[myTerritory.getSubordinates().numObjs];\n // Lets transfer equal amounts of soldiers, which will add up half of my soldiers stock\n retributions[myTerritory.getSubordinates().numObjs-1] = (myTerritory.getSoldiers())/(myTerritory.getSubordinates().numObjs);\n\n }\n\n // This procedure opdated the beneficiaries list and the retribution array, which gives to the system\n // the necessary info about the redistributive policy of the lords\n }", "public void setBSCA_ProfitPriceListEntered (BigDecimal BSCA_ProfitPriceListEntered);", "public void setGesamtRating() {\n this.gesamtRating = Precision.round((kriterium1 + kriterium2 + kriterium3 + kriterium4 + kriterium5\n + kriterium6 + kriterium7 + kriterium8), 2);\n\n }", "public boolean getCurrentUserPremium() {\n\t\treturn currentUser.getPremium();\n\t}", "public void setBSCA_ProfitPriceList (BigDecimal BSCA_ProfitPriceList);", "@Override\r\n\tpublic double getGrossPrice() {\n\t\treturn 0;\r\n\t}", "public void setPremAmt(BigDecimal premAmt) {\n\t\tthis.premAmt = premAmt;\n\t}", "public BigDecimal getTaxAmtPriceList();", "@Scheduled(cron = \"0 0 1 * * *\")\n\tpublic void removeExpiredPremiumUsers(){\n\t\tIterable <User> users = userDao.findAll();\n\t\tDate now = new Date();\n\t\t\n\t\tfor (User user : users){\n\t\t\tif (user.isPremium()){\n\t\t\t\ttry{\n\t\t\t\t\tif(user.getPremiumExpiryDate().before(now)){\n\t\t\t\t\t\tuser.removePremium();\n\t\t\t\t\t\tuserDao.save(user);\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t\tcatch(Exception e){\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic double computeMonthlyPremium(double salary) {\n\t\treturn salary*0.08;\n\t}", "RecordSet getInitialValuesForPremiumAccounting(Record inputRecord);", "public void setPriceListOld (BigDecimal PriceListOld);", "public void setListPrestacao(com.bonsucesso.servipa.ws.TPrestacao[] listPrestacao) {\n this.listPrestacao = listPrestacao;\n }", "public CP getPsl15_ProductServiceGrossAmount() { \r\n\t\tCP retVal = this.getTypedField(15, 0);\r\n\t\treturn retVal;\r\n }", "public void setLBR_TaxReliefAmt (BigDecimal LBR_TaxReliefAmt);", "public BigDecimal getBSCA_ProfitPriceList();", "public void setProposals(ICompletionProposal[] preComputedProposals) {\n fPreComputedProposals = preComputedProposals;\n }", "@Beta(Beta.SinceVersion.V1_7_0)\n @Method\n SqlElasticPoolOperations.DefinitionStages.WithPremiumEdition withPremiumPool();", "public PremiumCalOutput premiumCalculation(PremiumCalInput in) throws RuleEngineDataException;", "public double getGrossSales() {\n return grossSales;\n }", "public void setPriceList (BigDecimal PriceList);", "public MMDecimal getGrossAmount() {\r\n if (this.grossAmount == null) {\r\n return getSubTotalAmount();\r\n }\r\n return this.grossAmount;\r\n }", "public void setPremises(LinkedList<Context> premises)\n {\n\tthis.premises = premises;\n }", "public void setReward(BigDecimal reward)\n {\n this.reward = reward;\n }", "public BigDecimal getBSCA_ProfitPriceListEntered();", "public void setPriceListEntered (BigDecimal PriceListEntered);", "public Premium findPremiumUserById(Long premiumId);", "public void setPricingElement(\r\n @NonNull\r\n final List<SalesOrderHeaderPrElement> value) {\r\n if (toPricingElement == null) {\r\n toPricingElement = Lists.newArrayList();\r\n }\r\n toPricingElement.clear();\r\n toPricingElement.addAll(value);\r\n }", "public double getGrossSales() {\r\n\t\treturn grossSales;\r\n\t}", "public void setPrices(ReservedInstancePriceItem [] Prices) {\n this.Prices = Prices;\n }", "public final void addIncomeToBudget() {\n for (int i = 0; i < this.getConsumers().size(); i++) {\n if (!this.getPastDueConsumers().contains(this.getConsumers().get(i))) {\n setInitialBudget(getInitialBudget()\n + this.getConsumers().get(i).getContractPrice());\n }\n }\n }", "public void setPrixDeVente() { \t\n\t\tfor (Produit p : this.getProduits()) {\n\t\t\tthis.setPrixDeVente(p);\n\t\t}\t\t\n\t}", "List<Prize> getPrizeList();", "public MonetaryAmount getTotalGross() {\n\t\treturn this.totalGross;\n\t}", "public static void reactivateSplitPR(JSONObject resultEncum, EscmProposalMgmt proposal,\n Boolean isCancel, EscmProposalmgmtLine proposalmgmtline) {\n List<EfinBudgetManencumlines> manenculine = new ArrayList<EfinBudgetManencumlines>();\n EfinBudgetManencum encumbrance = null;\n EfinBudgetManencumlines srcEncumLines = null;\n List<EfinBudManencumRev> revList = null;\n try {\n if (proposal != null)\n encumbrance = proposal.getEfinEncumbrance();\n else\n encumbrance = proposalmgmtline.getEscmProposalmgmt().getEfinEncumbrance();\n\n // From PR\n if (proposal != null) {\n\n Map<EfinBudgetManencumlines, Double> proposalLineMap = proposal\n .getEscmProposalmgmtLineList().stream().filter(b -> b.getEfinBudgmanencumline() != null)\n .collect(Collectors.groupingBy(EscmProposalmgmtLine::getEfinBudgmanencumline,\n Collectors.summingDouble(a -> a.getLineTotal().doubleValue())));\n\n for (Map.Entry<EfinBudgetManencumlines, Double> entry : proposalLineMap.entrySet()) {\n\n BigDecimal requisitionLineAmt = BigDecimal.ZERO;\n\n for (EscmProposalmgmtLine proposalLine : proposal.getEscmProposalmgmtLineList()) {\n\n if (proposalLine.getEfinBudgmanencumline() != null\n && proposalLine.getEfinBudgmanencumline().getId().equals(entry.getKey().getId())) {\n for (EscmProposalsourceRef sourceRef : proposalLine.getEscmProposalsourceRefList()) {\n RequisitionLine reqline = sourceRef.getRequisitionLine();\n requisitionLineAmt = requisitionLineAmt\n .add(sourceRef.getReservedQuantity().multiply(reqline.getUnitPrice()));\n }\n }\n }\n\n BigDecimal revAmtSum = BigDecimal.ZERO;\n\n EfinBudgetManencumlines newEncumlines = entry.getKey();\n\n OBQuery<EfinBudManencumRev> revAmtQuery = OBDal.getInstance().createQuery(\n EfinBudManencumRev.class, \" as e where e.sRCManencumline.id = :proposalEncumLineID\");\n revAmtQuery.setNamedParameter(\"proposalEncumLineID\", newEncumlines.getId());\n\n if (revAmtQuery != null) {\n List<EfinBudManencumRev> revAmtList = revAmtQuery.list();\n if (revAmtList.size() > 0) {\n\n Map<EfinBudgetManencumlines, Double> encumLineRevAmtMap = revAmtList.stream()\n .filter(b -> b.getManualEncumbranceLines() != null)\n .collect(Collectors.groupingBy(EfinBudManencumRev::getManualEncumbranceLines,\n Collectors.summingDouble(a -> (a.getRevamount().negate()).doubleValue())));\n\n for (Map.Entry<EfinBudgetManencumlines, Double> revision : encumLineRevAmtMap\n .entrySet()) {\n\n EfinBudgetManencumlines oldEncumLines = revision.getKey();\n\n revAmtSum = BigDecimal.valueOf(revision.getValue());\n\n if (resultEncum.has(\"type\") && resultEncum.getString(\"type\").equals(\"SPLIT\")) {\n if (revAmtSum.compareTo(requisitionLineAmt) > 0) {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(requisitionLineAmt));\n oldEncumLines.setRemainingAmount(oldEncumLines.getRemainingAmount()\n .add(revAmtSum.subtract(requisitionLineAmt)));\n OBDal.getInstance().save(oldEncumLines);\n\n } else {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(revAmtSum));\n OBDal.getInstance().save(oldEncumLines);\n }\n }\n if (resultEncum.has(\"type\") && resultEncum.getString(\"type\").equals(\"MERGE\")) {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(revAmtSum));\n OBDal.getInstance().save(oldEncumLines);\n }\n }\n\n }\n }\n }\n }\n\n if (!isCancel) {\n // update encumbrance line is null\n if (proposal != null) {\n for (EscmProposalmgmtLine ln : proposal.getEscmProposalmgmtLineList()) {\n ln.setEfinBudgmanencumline(null);\n OBDal.getInstance().save(ln);\n }\n // update the bid management header status as \"In Active\"\n proposal.setEfinEncumbrance(null);\n proposal.setEfinIsbudgetcntlapp(false);\n encumbrance.setBusinessPartner(null);\n OBDal.getInstance().save(proposal);\n } else {\n proposalmgmtline.setEfinBudgmanencumline(null);\n OBDal.getInstance().save(proposalmgmtline);\n // update the bid management header status as \"In Active\"\n proposalmgmtline.getEscmProposalmgmt().setEfinEncumbrance(null);\n proposalmgmtline.getEscmProposalmgmt().setEfinIsbudgetcntlapp(false);\n encumbrance.setBusinessPartner(null);\n OBDal.getInstance().save(proposal);\n }\n }\n\n if (encumbrance != null) {\n // fetching revision record based on newly created encumbrance lines\n OBQuery<EfinBudManencumRev> revQuery = OBDal.getInstance()\n .createQuery(EfinBudManencumRev.class, \" as e where e.sRCManencumline.id in \"\n + \" ( select e.id from Efin_Budget_Manencumlines e where e.manualEncumbrance.id=:encumId)\");\n revQuery.setNamedParameter(\"encumId\", encumbrance.getId());\n revList = revQuery.list();\n if (revList.size() > 0) {\n for (EfinBudManencumRev rev : revList) {\n srcEncumLines = rev.getSRCManencumline();\n if (!isCancel) {\n rev.setSRCManencumline(null);\n OBDal.getInstance().save(rev);\n OBDal.getInstance().flush();\n }\n }\n\n // if (proposal.getEfinEncumbrance() != null)\n // encumbrance = proposal.getEfinEncumbrance();\n manenculine = encumbrance.getEfinBudgetManencumlinesList();\n if (!isCancel) {\n encumbrance.setDocumentStatus(\"DR\");\n OBDal.getInstance().save(encumbrance);\n }\n if (manenculine.size() > 0) {\n for (EfinBudgetManencumlines line : manenculine) {\n if (!isCancel)\n OBDal.getInstance().remove(line);\n else {\n line.setAPPAmt(line.getAPPAmt().add(line.getRevamount().negate()));\n BidManagementDAO.insertEncumbranceModification(line, line.getRevamount().negate(),\n null, \"PRO\", null, null);\n }\n }\n if (!isCancel)\n OBDal.getInstance().remove(encumbrance);\n }\n for (EfinBudManencumRev rev : revList) {\n EfinBudgetManencumlines lines = rev.getManualEncumbranceLines();\n log.debug(\"getAccountingCombination:\" + lines.getAccountingCombination());\n // lines.setAPPAmt(lines.getAPPAmt().add(rev.getRevamount().negate()));\n\n if (!isCancel) {\n lines.getEfinBudManencumRevList().remove(rev);\n } else {\n BidManagementDAO.insertEncumbranceModification(lines, rev.getRevamount().negate(),\n srcEncumLines, \"PRO\", null, null);\n }\n }\n }\n }\n } catch (Exception e) {\n log.error(\"Exception in reactivateSplitPR \" + e.getMessage());\n }\n }", "public void setLBR_TaxRateCredit (BigDecimal LBR_TaxRateCredit);", "public void setPrescriptions(String prescriptions) {\r\n\t\tthis.prescriptions = prescriptions;\r\n\t}", "public void setReward(BigDecimal reward) {\n this.reward = reward;\n }", "public void setPricing(String pro,int minNum,double unitPrice,double volumnPrice){\n\tProductCalculator cal=new ProductCalculator(pro, minNum, unitPrice, volumnPrice);\n\tif(priceRule.containsKey(pro)){\n\t\tthrow new DuplicatProduct(pro);\n\t}\n\telse{\n\t\tpriceRule.put(pro,cal);\n\t}\n\t\n}", "public BigDecimal getPriceListWTax();", "public CP getProductServiceGrossAmount() { \r\n\t\tCP retVal = this.getTypedField(15, 0);\r\n\t\treturn retVal;\r\n }", "public BigDecimal getPREPAID_PROFIT_AMOUNT() {\r\n return PREPAID_PROFIT_AMOUNT;\r\n }", "public ArrayList<RewardBean> getTotalCost() {\n/* 28 */ return this.totalCost;\n/* */ }", "public void setPercentageProfitPLimit (BigDecimal PercentageProfitPLimit);", "void setNilMultipleBetMinimum();", "public void setUseGprs(BigDecimal useGprs) {\r\n this.useGprs = useGprs;\r\n }", "public void setBSCA_ProfitPriceLimitEntered (BigDecimal BSCA_ProfitPriceLimitEntered);", "public void setLiterAllocation (BigDecimal LiterAllocation);", "public void setPriceLimitWTax (BigDecimal PriceLimitWTax);", "@Override\n\tpublic double getPremiumFee(FDRuleContextI ctx) {\n\t\treturn 0;\n\t}", "public void setPREPAID_PROFIT_AMOUNT(BigDecimal PREPAID_PROFIT_AMOUNT) {\r\n this.PREPAID_PROFIT_AMOUNT = PREPAID_PROFIT_AMOUNT;\r\n }", "public double getIncome() {\n\n return gross;\n }", "public Object creditEarningsAndPayTaxes()\r\n/* */ {\r\n\t\t\t\tlogger.info(count++ + \" About to setInitialCash : \" + \"Agent\");\r\n/* 144 */ \tgetPriceFromWorld();\r\n/* 145 */ \tgetDividendFromWorld();\r\n/* */ \r\n/* */ \r\n/* 148 */ \tthis.cash -= (this.price * this.intrate - this.dividend) * this.position;\r\n/* 149 */ \tif (this.cash < this.mincash) {\r\n/* 150 */ \tthis.cash = this.mincash;\r\n/* */ }\t\r\n/* */ \r\n/* 153 */ \tthis.wealth = (this.cash + this.price * this.position);\r\n/* */ \r\n/* 155 */ \treturn this;\r\n/* */ }", "public void setLBR_TaxAmtCredit (BigDecimal LBR_TaxAmtCredit);", "@GetMapping(\"/users/premium-users\")\n @ResponseStatus(HttpStatus.OK)\n public List<User> viewAllPremiumUsers() {\n return userService.viewAllPremiumUsers();\n }", "public void setTaxAmtPriceLimit (BigDecimal TaxAmtPriceLimit);", "public final void payBills() {\n if (this.isBankrupt) {\n return;\n }\n Formulas formulas = new Formulas();\n if ((getInitialBudget() - formulas.monthlySpendings(this)) < 0) {\n setBankrupt(true);\n }\n setInitialBudget(getInitialBudget() - formulas.monthlySpendings(this));\n }", "public void updatePremiumNumberOfStays(Long premiumId, Integer numberOfStays);", "@Before\r\n\tpublic void setList() {\r\n\t\tthis.list = new DoubleList();\r\n\t\tfor (int i = 0; i < 15; i++) {\r\n\t\t\tlist.add(new Munitions(i, i + 1, \"iron\"));\r\n\t\t}\r\n\t}", "RecordSet generatePremiumAccounting(Record inputRecord);", "public void addMoneytoPurse(Player player, double winnings) {\n player.addMoneyToPurse(winnings);\n }", "private void updatePrice() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tfor(int i = first;i<last;i++){\r\n\t\t\tProduct product = products.get(i);\r\n\t\t\tproduct.setPrivce(product.getPrivce()*(1+increment));\r\n\t\t}\r\n\t\t\r\n\t}", "public void setGiftAccount(BigDecimal giftAccount) {\r\n this.giftAccount = giftAccount;\r\n }", "public void setPriceLimitOld (BigDecimal PriceLimitOld);", "void setDiscount(BigDecimal discount);", "public void setTaxAmtPriceStd (BigDecimal TaxAmtPriceStd);", "public void setLBR_TaxRate (BigDecimal LBR_TaxRate);", "public Double getPrizeAmount() {\n return prizeAmount;\n }", "public void addTaxManagerToPR(ApprovalRequest ar, Approvable lic) {\r\n\t\tLog.customer.debug(\"%s ::: addTaxManagerToPR - %s\", className, lic);\r\n\t\tProcureLineItemCollection plic = (ProcureLineItemCollection) lic;\r\n\r\n\t\tString TaxRole = \"Tax Manager\";\r\n\t\tString TaxReason = \"Tax Reason\";\r\n\t\tboolean flag1 = true;\r\n\t\tObject obj = Role.getRole(TaxRole);\r\n\t\t// plic.setFieldValue(\"ProjectID\",\"F\");\r\n\t\tLog.customer.debug(\r\n\t\t\t\t\"%s ::: isTaxManagerRequired - plic bfore create %s\",\r\n\t\t\t\tclassName, plic.toString());\r\n\t\tApprovalRequest approvalrequest1 = ApprovalRequest.create(plic,\r\n\t\t\t\t((ariba.user.core.Approver) (obj)), flag1, \"RuleReasons\",\r\n\t\t\t\tTaxReason);\r\n\t\tLog.customer.debug(\"%s ::: approvalrequest1 got activated- %s\",\r\n\t\t\t\tclassName);\r\n\r\n\t\tBaseVector basevector1 = plic.getApprovalRequests();\r\n\t\tLog.customer.debug(\"%s ::: basevector1 got activated- %s\", className);\r\n\r\n\t\tBaseVector basevector2 = approvalrequest1.getDependencies();\r\n\t\tLog.customer.debug(\"%s ::: basevector2 got activated- %s\", className);\r\n\r\n\t\tbasevector2.add(0, ar);\r\n\t\tLog.customer.debug(\"%s ::: ar added to basevector2 %s\", className);\r\n\r\n\t\tapprovalrequest1.setFieldValue(\"Dependencies\", basevector2);\r\n\t\tar.setState(2);\r\n\t\tLog.customer.debug(\"%s ::: ar.setState- %s\", className);\r\n\r\n\t\tar.updateLastModified();\r\n\t\tLog.customer.debug(\"%s ::: ar.updatelastmodified- %s\", className);\r\n\r\n\t\tbasevector1.removeAll(ar);\r\n\t\tLog.customer.debug(\"%s ::: basevecotr1 .removeall %s\", className);\r\n\r\n\t\tbasevector1.add(0, approvalrequest1);\r\n\t\tLog.customer.debug(\"%s ::: basevector1 .add- %s\", className);\r\n\r\n\t\tplic.setApprovalRequests(basevector1);\r\n\t\tLog.customer.debug(\"%s ::: ir .setApprovalRequests got activated- %s\",\r\n\t\t\t\tclassName);\r\n\r\n\t\tjava.util.List list = ListUtil.list();\r\n\t\tjava.util.Map map = MapUtil.map();\r\n\t\tboolean flag6 = approvalrequest1.activate(list, map);\r\n\r\n\t\tLog.customer.debug(\"%s ::: New TaxAR Activated - %s\", className);\r\n\t\tLog.customer.debug(\"%s ::: State (AFTER): %s\", className);\r\n\t\tLog.customer.debug(\"%s ::: Approved By: %s\", className);\r\n\r\n\t}", "public double getProfit() {\n\n\n double difference = maxRange * GAS_RATE;\n double sum = super.getProfit();\n\n return sum - difference;\n\n }", "public void setP(List<Production> p);", "public double getPreDeductionTotal() {\n\t\tdouble preTotal = 0.0;\n\t\tpreTotal += MathUtil.roundDecimal( getSubTotal() );\n\t\tpreTotal += MathUtil.roundDecimal( getTaxValue() );\n\t\tpreTotal += MathUtil.roundDecimal( getDepositValue() );\n\n\t\t// apply charges\n\t\tfor ( ErpChargeLineModel m : getCharges() ) {\n\t\t\tpreTotal += MathUtil.roundDecimal( m.getTotalAmount() );\n\t\t}\n\t\treturn MathUtil.roundDecimal( preTotal );\n\t}", "public void setRewardMoney(BigDecimal rewardMoney) {\r\n this.rewardMoney = rewardMoney;\r\n }", "public BigDecimal getUseGprs() {\r\n return useGprs;\r\n }", "@External(readonly = true)\n\tpublic List<Address> get_score_list(){\n\t\t\n\t\tAddress[] proposal_list = new Address[this.proposal_list.size()];\n\n\t\tfor(int i= 0; i< this.proposal_list.size(); i++) {\n\t\t\tproposal_list[i] = this.proposal_list.get(i);\n\t\t}\t\t\n\t\treturn List.of(proposal_list);\n\t}", "public void setAdvisors(List<Professor> list) {\r\n advisors = list;\r\n }", "public void setRewardPoint(BigDecimal rewardPoint) {\n this.rewardPoint = rewardPoint;\n }", "public void setPriceStdWTax (BigDecimal PriceStdWTax);", "public BigDecimal getPremAmt() {\n\t\treturn premAmt;\n\t}" ]
[ "0.69091564", "0.60511446", "0.6027373", "0.59202826", "0.5809983", "0.5760509", "0.56739956", "0.56643295", "0.56323916", "0.5527286", "0.5443561", "0.5424407", "0.54105633", "0.53219104", "0.53174466", "0.52958304", "0.5278595", "0.52362835", "0.51885045", "0.51810086", "0.5154248", "0.5150127", "0.5129523", "0.5076608", "0.50738895", "0.50723714", "0.5034524", "0.49936977", "0.49931577", "0.4990435", "0.49881893", "0.4980939", "0.49723202", "0.4971261", "0.4970364", "0.4911076", "0.48902723", "0.48778597", "0.4848328", "0.48451045", "0.4840901", "0.47848988", "0.47779045", "0.477497", "0.47723925", "0.4762473", "0.47582662", "0.47563046", "0.47551575", "0.4752448", "0.4714847", "0.47117668", "0.47013843", "0.4699744", "0.46890298", "0.46876624", "0.46873975", "0.4685738", "0.4677748", "0.4666551", "0.46662486", "0.46651384", "0.46619758", "0.4661964", "0.46600434", "0.4656816", "0.46436146", "0.4641983", "0.46374965", "0.46264103", "0.46252367", "0.46233404", "0.46065244", "0.4606357", "0.46032584", "0.45993963", "0.45980692", "0.4597142", "0.45599103", "0.45579964", "0.4553896", "0.45473087", "0.4541612", "0.4541489", "0.45393482", "0.4538142", "0.45349833", "0.45348042", "0.4526387", "0.45257005", "0.4523512", "0.45117563", "0.45099178", "0.45089343", "0.45065725", "0.45038474", "0.44998148", "0.4499029", "0.44913658", "0.44890308" ]
0.5063897
26
/ Set gross premium to related result object.
private void setGrossTermAmount(List<MedicalMalpracticeCoverageType> grossCoverageList, List<MedicalMalpracticeCoverageType> coverageList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setGrossTermAmount", new Object[]{grossCoverageList, coverageList}); } for (MedicalMalpracticeCoverageType coverage : coverageList) { for (MedicalMalpracticeCoverageType grossCoverage : grossCoverageList) { if (StringUtils.isSame(coverage.getCoverageNumberId(), grossCoverage.getCoverageNumberId())) { coverage.setCurrentGrossTermAmount(grossCoverage.getCurrentGrossTermAmount()); } } } if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setGrossTermAmount", coverageList); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void becomePremium() {\n\t\tif (this.account >= 100 && this.premium == false) {\n\t\t\tthis.account -= 100;\n\t\t\tthis.premium = true;\n\t\t\tSystem.out.println(\"Premium transaction successful\");\n\n\t\t} else if (this.premium == true) {\n\t\t\tSystem.out.println(\"They are already a premium user!\");\n\n\t\t} else {\n\t\t\tSystem.err.println(\n\t\t\t\t\t\"Error - not enough funds in account.\\nPremium charge is $100\\nBalance: $\" + this.getBalance() + \"\\nPlease top up account manually.\\nReturning to main menu.\");\n\t\t}\n\t}", "public void setPremium(Boolean premium) {\n\t\tthis.premium = premium;\n\t}", "public void ApplyPremiums() {\r\n\r\n\t\tdouble GrossPremium;\r\n\t\tdouble NetPremium;\r\n\r\n\t\tfor ( Premium p : _Premiums ) {\r\n\r\n\t\t\tGrossPremium = p.getPremium() * _InvestPerCent;\r\n\r\n\t\t\tNetPremium = p.Apply() * _InvestPerCent * _BidOfferSpread.getBidOfferSpread();\r\n\r\n\t\t\tsuper.UpdateFundPremiumSchedule( GrossPremium );\r\n\r\n\t\t\t//IRR is based on the premium paid by the customer not allocated to fund.\r\n\t\t\tCashflows.Instance().AddCashflow( _Tick, GrossPremium );\r\n\r\n\t\t\t_FundValue = _FundValue + NetPremium;\r\n\r\n\t\t\tSystem.out.println( \"\\t\\t\\t\\tNet \" + p.getName() + \" Premium Amount : \" + NetPremium + \" in \" + _Name);\r\n\t\t}\r\n\t}", "public void setCurrentUserPremium() {\n\t\tcurrentUser.setPremium(true);\n\t\tuserCatalog.modifyUser(currentUser);\n\t}", "public void setIsPremium(final Boolean isPremiumValue) {\n this.isPremium = isPremiumValue;\n }", "public void setIsPremium(final Boolean isPremiumValue) {\n this.isPremium = isPremiumValue;\n }", "public Object getAnnualPremium() {\n\t\treturn null;\n\t}", "InsurancePremiumAmountType getInsurancePremiumAmount();", "@Override\r\n\tpublic double calculatePremium(ApplicationInsurance applicationInsurance) {\n\t\t\r\n\t\treturn this.iApplicationInsuranceDao.calculatePremium(applicationInsurance);\r\n\t\r\n\t}", "public Boolean isPremium() {\n return this.isPremium;\n }", "public Boolean isPremium() {\n return this.isPremium;\n }", "public Premium() {\r\n\t\titemName = \"Premium\";\r\n\t\titemPrice = 100;\r\n\t\tcount = 10;\r\n\t}", "public Boolean esPremium() {\n\t\treturn premium;\n\t}", "public void setReward(BigDecimal reward)\n {\n this.reward = reward;\n }", "public void setReward(BigDecimal reward) {\n this.reward = reward;\n }", "public void setGrossAmount(MMDecimal grossAmount) {\r\n this.grossAmount = grossAmount;\r\n }", "public Premium findPremiumUserById(Long premiumId);", "public void setRewardPoint(BigDecimal rewardPoint) {\n this.rewardPoint = rewardPoint;\n }", "public void setRewardMoney(BigDecimal rewardMoney) {\r\n this.rewardMoney = rewardMoney;\r\n }", "public void setGesamtRating() {\n this.gesamtRating = Precision.round((kriterium1 + kriterium2 + kriterium3 + kriterium4 + kriterium5\n + kriterium6 + kriterium7 + kriterium8), 2);\n\n }", "public PremiumCalOutput premiumCalculation(PremiumCalInput in) throws RuleEngineDataException;", "void setRank(KingdomUser user, KingdomRank rank);", "public boolean getCurrentUserPremium() {\n\t\treturn currentUser.getPremium();\n\t}", "public void setPremAmt(BigDecimal premAmt) {\n\t\tthis.premAmt = premAmt;\n\t}", "public BigDecimal getRewardMoney() {\r\n return rewardMoney;\r\n }", "public void setPricing(String pro,int minNum,double unitPrice,double volumnPrice){\n\tProductCalculator cal=new ProductCalculator(pro, minNum, unitPrice, volumnPrice);\n\tif(priceRule.containsKey(pro)){\n\t\tthrow new DuplicatProduct(pro);\n\t}\n\telse{\n\t\tpriceRule.put(pro,cal);\n\t}\n\t\n}", "public BigDecimal getPREPAID_PROFIT_AMOUNT() {\r\n return PREPAID_PROFIT_AMOUNT;\r\n }", "@Beta(Beta.SinceVersion.V1_7_0)\n @Method\n SqlElasticPoolOperations.DefinitionStages.WithPremiumEdition withPremiumPool();", "public void setPaid() {\n isPaid = true;\n }", "public void setGiftAccount(BigDecimal giftAccount) {\r\n this.giftAccount = giftAccount;\r\n }", "public BigDecimal getReward() {\n return reward;\n }", "public void createGoldReward() {\n try {\n int gold = RandomBenefitModel.getGoldReward(encounter, characterVM.getDistance());\n if (gold > 0) characterVM.goldChange(gold);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }", "public void setReputation(double reputation) {\n if(reputation >= 0.0 && reputation <= 100.0){\n this.reputation = reputation;\n }\n else if(reputation > 100.0){\n this.reputation = 100.0;\n }\n else{\n this.reputation = 0.0;\n }\n}", "@Override\n\tvoid get_cost_per_sqarefeet() {\n\t\tcost=1800;\n\t}", "public void setRate(double annualRate) {\nmonthlyInterestRate = annualRate / 100.0 / MONTHS;\n}", "public void setPrepayment_option(int prepayment_option) {\n this.prepayment_option = prepayment_option;\n }", "public double getIncome() {\n\n return gross;\n }", "private void promote() {\r\n //promote gives more money\r\n increment();\r\n }", "public BigDecimal getRewardPoint() {\n return rewardPoint;\n }", "@Override\n\tpublic double computeMonthlyPremium(double salary) {\n\t\treturn salary*0.08;\n\t}", "public static void reactivateSplitPR(JSONObject resultEncum, EscmProposalMgmt proposal,\n Boolean isCancel, EscmProposalmgmtLine proposalmgmtline) {\n List<EfinBudgetManencumlines> manenculine = new ArrayList<EfinBudgetManencumlines>();\n EfinBudgetManencum encumbrance = null;\n EfinBudgetManencumlines srcEncumLines = null;\n List<EfinBudManencumRev> revList = null;\n try {\n if (proposal != null)\n encumbrance = proposal.getEfinEncumbrance();\n else\n encumbrance = proposalmgmtline.getEscmProposalmgmt().getEfinEncumbrance();\n\n // From PR\n if (proposal != null) {\n\n Map<EfinBudgetManencumlines, Double> proposalLineMap = proposal\n .getEscmProposalmgmtLineList().stream().filter(b -> b.getEfinBudgmanencumline() != null)\n .collect(Collectors.groupingBy(EscmProposalmgmtLine::getEfinBudgmanencumline,\n Collectors.summingDouble(a -> a.getLineTotal().doubleValue())));\n\n for (Map.Entry<EfinBudgetManencumlines, Double> entry : proposalLineMap.entrySet()) {\n\n BigDecimal requisitionLineAmt = BigDecimal.ZERO;\n\n for (EscmProposalmgmtLine proposalLine : proposal.getEscmProposalmgmtLineList()) {\n\n if (proposalLine.getEfinBudgmanencumline() != null\n && proposalLine.getEfinBudgmanencumline().getId().equals(entry.getKey().getId())) {\n for (EscmProposalsourceRef sourceRef : proposalLine.getEscmProposalsourceRefList()) {\n RequisitionLine reqline = sourceRef.getRequisitionLine();\n requisitionLineAmt = requisitionLineAmt\n .add(sourceRef.getReservedQuantity().multiply(reqline.getUnitPrice()));\n }\n }\n }\n\n BigDecimal revAmtSum = BigDecimal.ZERO;\n\n EfinBudgetManencumlines newEncumlines = entry.getKey();\n\n OBQuery<EfinBudManencumRev> revAmtQuery = OBDal.getInstance().createQuery(\n EfinBudManencumRev.class, \" as e where e.sRCManencumline.id = :proposalEncumLineID\");\n revAmtQuery.setNamedParameter(\"proposalEncumLineID\", newEncumlines.getId());\n\n if (revAmtQuery != null) {\n List<EfinBudManencumRev> revAmtList = revAmtQuery.list();\n if (revAmtList.size() > 0) {\n\n Map<EfinBudgetManencumlines, Double> encumLineRevAmtMap = revAmtList.stream()\n .filter(b -> b.getManualEncumbranceLines() != null)\n .collect(Collectors.groupingBy(EfinBudManencumRev::getManualEncumbranceLines,\n Collectors.summingDouble(a -> (a.getRevamount().negate()).doubleValue())));\n\n for (Map.Entry<EfinBudgetManencumlines, Double> revision : encumLineRevAmtMap\n .entrySet()) {\n\n EfinBudgetManencumlines oldEncumLines = revision.getKey();\n\n revAmtSum = BigDecimal.valueOf(revision.getValue());\n\n if (resultEncum.has(\"type\") && resultEncum.getString(\"type\").equals(\"SPLIT\")) {\n if (revAmtSum.compareTo(requisitionLineAmt) > 0) {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(requisitionLineAmt));\n oldEncumLines.setRemainingAmount(oldEncumLines.getRemainingAmount()\n .add(revAmtSum.subtract(requisitionLineAmt)));\n OBDal.getInstance().save(oldEncumLines);\n\n } else {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(revAmtSum));\n OBDal.getInstance().save(oldEncumLines);\n }\n }\n if (resultEncum.has(\"type\") && resultEncum.getString(\"type\").equals(\"MERGE\")) {\n oldEncumLines.setAPPAmt(oldEncumLines.getAPPAmt().add(revAmtSum));\n OBDal.getInstance().save(oldEncumLines);\n }\n }\n\n }\n }\n }\n }\n\n if (!isCancel) {\n // update encumbrance line is null\n if (proposal != null) {\n for (EscmProposalmgmtLine ln : proposal.getEscmProposalmgmtLineList()) {\n ln.setEfinBudgmanencumline(null);\n OBDal.getInstance().save(ln);\n }\n // update the bid management header status as \"In Active\"\n proposal.setEfinEncumbrance(null);\n proposal.setEfinIsbudgetcntlapp(false);\n encumbrance.setBusinessPartner(null);\n OBDal.getInstance().save(proposal);\n } else {\n proposalmgmtline.setEfinBudgmanencumline(null);\n OBDal.getInstance().save(proposalmgmtline);\n // update the bid management header status as \"In Active\"\n proposalmgmtline.getEscmProposalmgmt().setEfinEncumbrance(null);\n proposalmgmtline.getEscmProposalmgmt().setEfinIsbudgetcntlapp(false);\n encumbrance.setBusinessPartner(null);\n OBDal.getInstance().save(proposal);\n }\n }\n\n if (encumbrance != null) {\n // fetching revision record based on newly created encumbrance lines\n OBQuery<EfinBudManencumRev> revQuery = OBDal.getInstance()\n .createQuery(EfinBudManencumRev.class, \" as e where e.sRCManencumline.id in \"\n + \" ( select e.id from Efin_Budget_Manencumlines e where e.manualEncumbrance.id=:encumId)\");\n revQuery.setNamedParameter(\"encumId\", encumbrance.getId());\n revList = revQuery.list();\n if (revList.size() > 0) {\n for (EfinBudManencumRev rev : revList) {\n srcEncumLines = rev.getSRCManencumline();\n if (!isCancel) {\n rev.setSRCManencumline(null);\n OBDal.getInstance().save(rev);\n OBDal.getInstance().flush();\n }\n }\n\n // if (proposal.getEfinEncumbrance() != null)\n // encumbrance = proposal.getEfinEncumbrance();\n manenculine = encumbrance.getEfinBudgetManencumlinesList();\n if (!isCancel) {\n encumbrance.setDocumentStatus(\"DR\");\n OBDal.getInstance().save(encumbrance);\n }\n if (manenculine.size() > 0) {\n for (EfinBudgetManencumlines line : manenculine) {\n if (!isCancel)\n OBDal.getInstance().remove(line);\n else {\n line.setAPPAmt(line.getAPPAmt().add(line.getRevamount().negate()));\n BidManagementDAO.insertEncumbranceModification(line, line.getRevamount().negate(),\n null, \"PRO\", null, null);\n }\n }\n if (!isCancel)\n OBDal.getInstance().remove(encumbrance);\n }\n for (EfinBudManencumRev rev : revList) {\n EfinBudgetManencumlines lines = rev.getManualEncumbranceLines();\n log.debug(\"getAccountingCombination:\" + lines.getAccountingCombination());\n // lines.setAPPAmt(lines.getAPPAmt().add(rev.getRevamount().negate()));\n\n if (!isCancel) {\n lines.getEfinBudManencumRevList().remove(rev);\n } else {\n BidManagementDAO.insertEncumbranceModification(lines, rev.getRevamount().negate(),\n srcEncumLines, \"PRO\", null, null);\n }\n }\n }\n }\n } catch (Exception e) {\n log.error(\"Exception in reactivateSplitPR \" + e.getMessage());\n }\n }", "public void setRealProfit(BigDecimal realProfit) {\r\n this.realProfit = realProfit;\r\n }", "public List<Premium> findAllPremiumUsers();", "double setEstimatedCost(double cost);", "public MMDecimal getGrossAmount() {\r\n if (this.grossAmount == null) {\r\n return getSubTotalAmount();\r\n }\r\n return this.grossAmount;\r\n }", "public void setUseGprs(BigDecimal useGprs) {\r\n this.useGprs = useGprs;\r\n }", "public void setLiterAllocation (BigDecimal LiterAllocation);", "public void setPercentageProfitPLimit (BigDecimal PercentageProfitPLimit);", "double setCost(double cost);", "public BigDecimal getREIMBURSED_PROFIT_FOR_ACCRUAL() {\r\n return REIMBURSED_PROFIT_FOR_ACCRUAL;\r\n }", "public void setPREPAID_PROFIT_AMOUNT(BigDecimal PREPAID_PROFIT_AMOUNT) {\r\n this.PREPAID_PROFIT_AMOUNT = PREPAID_PROFIT_AMOUNT;\r\n }", "public void setCustomerPurchase(double purchase) { this.customerPurchase = purchase; }", "public Double getPrizeAmount() {\n return prizeAmount;\n }", "public void setPbackPaid(BigDecimal pbackPaid) {\n this.pbackPaid = pbackPaid;\n }", "void setCost(double cost);", "public void setREIMBURSED_PROFIT(BigDecimal REIMBURSED_PROFIT) {\r\n this.REIMBURSED_PROFIT = REIMBURSED_PROFIT;\r\n }", "@Test public void getAndSetRevenueTest() {\n DirectMC e = new DirectMC(\"AdMailing\", 10000.00, 3.00, 2000);\n e.setRevenue(10000);\n Assert.assertEquals(10000, e.getRevenue(), 1); \n }", "public BigDecimal getPbackPaid() {\n return pbackPaid;\n }", "void setDiscount(BigDecimal discount);", "public CP getProductServiceGrossAmount() { \r\n\t\tCP retVal = this.getTypedField(15, 0);\r\n\t\treturn retVal;\r\n }", "public void setGrandTotal (BigDecimal GrandTotal);", "public void setGrandTotal (BigDecimal GrandTotal);", "public double taxPaying() {\r\n double tax;\r\n if (profit == true) {\r\n tax = revenue / 10.00;\r\n }\r\n\r\n else\r\n tax = revenue / 2.00;\r\n return tax;\r\n }", "RecordSet generatePremiumAccounting(Record inputRecord);", "public BigDecimal getUseGprs() {\r\n return useGprs;\r\n }", "public void setBackPaid(BigDecimal backPaid) {\n this.backPaid = backPaid;\n }", "public void setEntrustPaid(BigDecimal entrustPaid) {\n this.entrustPaid = entrustPaid;\n }", "@Override\r\n\tpublic double getGrossPrice() {\n\t\treturn 0;\r\n\t}", "public void setPromotionalPrice(double value) {\n this.promotionalPrice = value;\n }", "public BigDecimal getRealProfit() {\r\n return realProfit;\r\n }", "public BigDecimal getPercentageProfitPLimit();", "public BigDecimal getREIMBURSED_PROFIT() {\r\n return REIMBURSED_PROFIT;\r\n }", "void giveReward(BPlayer bPlayer, int tier, int status);", "public MonetaryAmount getTotalGross() {\n\t\treturn this.totalGross;\n\t}", "public void setBonusRepurchase(Float bonusRepurchase) {\n this.bonusRepurchase = bonusRepurchase;\n }", "@Override\n\tpublic Entity promote(int turn) {\n\t\tEntity res = this;\n\t\t\n\t\tdouble promotionLevel = (double) params.getParamValue(\"traineePromotionExp\");\n\t\tif (experience >= promotionLevel)\n\t\t\tres = new Corporate(turn, this);\n\t\t\n\t\treturn res;\n\t}", "double getPaid();", "public void setProfit(double profit) {\n\t\tthis.profit = profit;\n\t}", "public int calculateCost() {\n int premium = surety.calculatePremium(insuredValue);\n SuretyType suretyType = surety.getSuretyType();\n int commission = (int) Math.round(premium * vehicle.getCommission(suretyType));\n return premium + commission;\n }", "public void setpremiumcounter() {\n\t\tmPref.edit().putInt(PREF_CONVERTED, -1).commit();\r\n\t}", "public abstract void setDiscountRate(double discountRate);", "@Test\n\t@Category(TesteGetPromovabilitate.class)\n\tpublic void testPromovabilitate() {\n\t\tGrupa grupa=new Grupa(1078);\n\t\tfor(int i=0;i<7;i++) {\n\t\t\tStudent student=new Student(\"Valentin\");\n\t\t\tstudent.adaugaNota(4);\n\t\t\tstudent.adaugaNota(3);\n\t\t\tstudent.adaugaNota(2);\n\t\t\tgrupa.adaugaStudent(student);\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tStudent student=new Student(\"Ana\");\n\t\t\tstudent.adaugaNota(7);\n\t\t\tstudent.adaugaNota(8);\n\t\t\tstudent.adaugaNota(10);\n\t\t\tgrupa.adaugaStudent(student);\n\t\t}\n\t\tassertEquals(0.41, grupa.getPromovabilitate(),0.02);\n\t}", "public double getPromotionalPrice() {\n return promotionalPrice;\n }", "public CP getPsl15_ProductServiceGrossAmount() { \r\n\t\tCP retVal = this.getTypedField(15, 0);\r\n\t\treturn retVal;\r\n }", "public int getProteksi(){\n\t\treturn (getTotal() - getPromo()) * protectionCost / 100;\n\t}", "private boolean verifyCalculatedPremium(String adjustmentOption, HashMap<String, String> testData,\n\t\t\tExtentTest extentedReport, boolean screenshot) {\n\t\tboolean isOk = false;\n\n\t\tList<WebElement> lstCalculatedPremium = driver.findElements(By.cssSelector(cssPaySchedCalculatedPremium));\n\t\tfloat expectedTotalCalculatedPremium = 0;\n\t\tString actualTotalCalculatedPremium = divTotalCalculatedPremium.getText().trim();\n\t\tString oldPremium, adjustmentAmount, totalPayment, firstPayment, installmentPayment;\n\t\toldPremium = adjustmentAmount = totalPayment = firstPayment = installmentPayment = null;\n\t\tint totalInstallments = adjustmentOption.contains(\"spread\") ? 12\n\t\t\t\t: (adjustmentOption.contains(\"single\") ? 13 : 12);\n\t\tif (adjustmentOption.contains(\"spread\") || adjustmentOption.contains(\"single\")) {\n\t\t\toldPremium = spnExistingPremiumAcceptanceTab.getText().trim();\n\t\t\tadjustmentAmount = spnAdjustmentAmountAcceptanceTab.getText().trim();\n\t\t\ttotalPayment = spnNewPremiumAcceptanceTab.getText().trim();\n\t\t\tfirstPayment = testData.get(\"firstPaymentCoverTab\");\n\t\t\tinstallmentPayment = testData.get(\"installmentPaymentCoverTab\");\n\t\t} else {\n\t\t\ttotalPayment = spnTotalPaymentAcceptanceTab.getText().trim();\n\t\t\tfirstPayment = spnFirstPaymentAcceptanceTab.getText().trim();\n\t\t\tinstallmentPayment = spnInstallmentPaymentAcceptanceTab.getText().trim();\n\t\t}\n\n\t\tboolean isOkRowCount = lstCalculatedPremium.size() == totalInstallments;\n\t\tLog.message(\"Row count: [\" + lstCalculatedPremium.size() + \"]; totalInstallments: [\" + totalInstallments\n\t\t\t\t+ \"]; isOkRowCount: [\" + isOkRowCount + \"]\", extentedReport);\n\t\tboolean isOkFirstPayment = false;\n\t\tboolean isOkInstallmentPayment = false;\n\t\tboolean isOkTotalCalculatedPremium = false;\n\t\tboolean isOkAdjustmentAmount = false; \n\n\t\tfor (int i = 0; i < totalInstallments; i++) {\n\t\t\tfloat actualCalculatedPremium = Float.parseFloat(lstCalculatedPremium.get(i).getText().trim());\n\t\t\texpectedTotalCalculatedPremium += actualCalculatedPremium;\n\n\t\t\tif (i == 0) {\n\t\t\t\tisOkFirstPayment = String.format(\"%.2f\", actualCalculatedPremium).equals(firstPayment);\n\t\t\t\tLog.message(\"Row #\" + (i + 1) + \": actualCalculatedPremium: [\"\n\t\t\t\t\t\t+ String.format(\"%.2f\", actualCalculatedPremium) + \"]; firstPayment: [\" + firstPayment\n\t\t\t\t\t\t+ \"]; isOkFirstPayment: [\" + isOkFirstPayment + \"]\", extentedReport);\n\t\t\t} else if (i == 1 && adjustmentOption.contains(\"single\")) {\n\t\t\t\tisOkAdjustmentAmount = String.format(\"%.2f\", actualCalculatedPremium).equals(adjustmentAmount);\n\t\t\t\tLog.message(\"Row #\" + (i + 1) + \": actualCalculatedPremium: [\" + String.format(\"%.2f\", actualCalculatedPremium)\n\t\t\t\t\t\t+ \"]; adjustmentAmount: [\" + adjustmentAmount + \"]; isOkAdjustmentAmount: [\"\n\t\t\t\t\t\t+ isOkAdjustmentAmount + \"]\", extentedReport);\n\t\t\t} else {\n\t\t\t\tif (!adjustmentOption.contains(\"single\") && i > 1 && !isOkInstallmentPayment) {\n\t\t\t\t\tcontinue;\n\t\t\t\t} else if (adjustmentOption.contains(\"single\") && i > 2 && !isOkInstallmentPayment) {\n\t\t\t\t\tcontinue;\n\t\t\t\t} else {\n\t\t\t\t\tif (adjustmentOption.contains(\"spread\")) {\n\t\t\t\t\t\tisOkInstallmentPayment = !String.format(\"%.2f\", actualCalculatedPremium)\n\t\t\t\t\t\t\t\t.equals(installmentPayment);\n\t\t\t\t\t} else { // single or edit quote\n\t\t\t\t\t\tisOkInstallmentPayment = String.format(\"%.2f\", actualCalculatedPremium)\n\t\t\t\t\t\t\t\t.equals(installmentPayment);\n\t\t\t\t\t}\n\t\t\t\t\tLog.message(\"Row #\" + (i + 1) + \": actualCalculatedPremium: [\" + String.format(\"%.2f\", actualCalculatedPremium)\n\t\t\t\t\t\t\t+ \"]; installmentPayment: [\" + installmentPayment + \"]; isOkInstallmentPayment: [\"\n\t\t\t\t\t\t\t+ isOkInstallmentPayment + \"]\", extentedReport);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tisOkTotalCalculatedPremium = actualTotalCalculatedPremium\n\t\t\t\t.equals(String.format(\"%.2f\", expectedTotalCalculatedPremium))\n\t\t\t\t&& actualTotalCalculatedPremium.equals(totalPayment);\n\t\tLog.message(\"actualTotalCalculatedPremium: [\" + actualTotalCalculatedPremium\n\t\t\t\t+ \"]; expectedTotalCalculatedPremium: [\" + String.format(\"%.2f\", expectedTotalCalculatedPremium)\n\t\t\t\t+ \"]; totalPayment: [\" + totalPayment + \"]\", extentedReport);\n\t\tif (adjustmentOption.contains(\"spread\")) {\n\t\t\tString calcAdjAmount = String.format(\"%.2f\",\n\t\t\t\t\tFloat.parseFloat(actualTotalCalculatedPremium) - Float.parseFloat(oldPremium));\n\t\t\tisOkAdjustmentAmount = calcAdjAmount.equals(adjustmentAmount);\n\t\t\tLog.message(\n\t\t\t\t\t\"actualCalculatedPremium - oldPremium: [\" + calcAdjAmount + \"]; adjustmentAmount: [\"\n\t\t\t\t\t\t\t+ adjustmentAmount + \"]; isOkAdjustmentAmount: [\" + isOkAdjustmentAmount + \"]\",\n\t\t\t\t\textentedReport);\n\t\t}\n\t\t\n\t\tif (adjustmentOption.contains(\"spread\") || adjustmentOption.contains(\"single\")) {\n\t\t\tisOk = isOkRowCount && isOkFirstPayment && isOkInstallmentPayment && isOkTotalCalculatedPremium\n\t\t\t\t\t&& isOkAdjustmentAmount;\n\t\t\tLog.message(\"isOkRowCount: [\" + isOkRowCount + \"]; isOkFirstPayment: [\" + isOkFirstPayment\n\t\t\t\t\t+ \"]; isOkInstallmentPayment: [\" + isOkInstallmentPayment + \"]; isOkTotalCalculatedPremium: [\"\n\t\t\t\t\t+ isOkTotalCalculatedPremium + \"]; isOkAdjustmentAmount:[\" + isOkAdjustmentAmount + \"]\",\n\t\t\t\t\textentedReport);\n\t\t} else {\n\t\t\tisOk = isOkRowCount && isOkFirstPayment && isOkInstallmentPayment && isOkTotalCalculatedPremium;\n\t\t\tLog.message(\"isOkRowCount: [\" + isOkRowCount + \"]; isOkFirstPayment: [\" + isOkFirstPayment\n\t\t\t\t\t+ \"]; isOkInstallmentPayment: [\" + isOkInstallmentPayment + \"]; isOkTotalCalculatedPremium: [\"\n\t\t\t\t\t+ isOkTotalCalculatedPremium + \"]\", extentedReport);\n\t\t}\t\n\n\t\treturn isOk;\n\t}", "public BigDecimal getmPaid() {\n return mPaid;\n }", "public void setGrnValue (java.math.BigDecimal grnValue) {\n\t\tthis.grnValue = grnValue;\n\t}", "public void setTotalGprs(BigDecimal totalGprs) {\r\n this.totalGprs = totalGprs;\r\n }", "@Override\r\n public void setPostpaidLimit(BigDecimal postpaidLimit) {\n }", "@Override\n protected void setRetributionsAndBeneficiaries(){\n // Example for picking the \"chosen ones\" to be benefited from my generous policy\n // First we empty the bag in case we don't want to keep old beneficiaries\n beneficiaries.clear();\n // Pick 3 random territories from my subordinates\n if (myTerritory.getSubordinates().numObjs>=1){\n beneficiaries.add(myTerritory.getSubordinates().get((new Random()).nextInt(1)));\n\n // Now assign the corresponding amounts of soldiers to each beneficiary\n // Since there are three of them, we need to re-instantiate the retributions array to one of size 3\n retributions = new double[myTerritory.getSubordinates().numObjs];\n // Lets transfer equal amounts of soldiers, which will add up half of my soldiers stock\n retributions[myTerritory.getSubordinates().numObjs-1] = (myTerritory.getSoldiers())/(myTerritory.getSubordinates().numObjs);\n\n }\n\n // This procedure opdated the beneficiaries list and the retribution array, which gives to the system\n // the necessary info about the redistributive policy of the lords\n }", "public void setCost(Money obj){\r\n \t//check if the object is null or not an instance of Money\r\n if(obj == null || !(obj instanceof Money)){\r\n \t//throw an exception\r\n throw new PizzaException(\"Exception in the setCost method: the object is null or not an instance of money\");\r\n }\r\n //casting\r\n Money m = (Money) obj;\r\n //set the cost to the clone of m\r\n this.cost = m.clone();\r\n }", "public void setPREPAID_AMOUNT(BigDecimal PREPAID_AMOUNT) {\r\n this.PREPAID_AMOUNT = PREPAID_AMOUNT;\r\n }", "public void setRevenue(double revenue) {\n if (revenue > 0) {\r\n this.revenue = revenue; }\r\n }", "public BigDecimal getAgencyProfit() {\r\n return agencyProfit;\r\n }", "@Override \npublic double getPaymentAmount() { \n return getCommissionRate() * getGrossSales(); \n}", "public void setBSCA_ProfitPriceLimitEntered (BigDecimal BSCA_ProfitPriceLimitEntered);", "public BigDecimal getMarkProfit() {\r\n return markProfit;\r\n }", "public void setPriceLimitOld (BigDecimal PriceLimitOld);", "public void setAgencyProfit(BigDecimal agencyProfit) {\r\n this.agencyProfit = agencyProfit;\r\n }", "public BigDecimal getPremAmt() {\n\t\treturn premAmt;\n\t}" ]
[ "0.6456031", "0.64557856", "0.64329994", "0.639808", "0.6240972", "0.621558", "0.6181644", "0.59924227", "0.59388834", "0.5933054", "0.59214365", "0.5881947", "0.5790438", "0.57672375", "0.5693142", "0.56566626", "0.56348", "0.55934", "0.55144304", "0.55130774", "0.5496891", "0.5471503", "0.5378624", "0.53404695", "0.5329592", "0.525764", "0.5256257", "0.52522606", "0.5214377", "0.519424", "0.5168118", "0.51671934", "0.516047", "0.51555824", "0.51527053", "0.51397413", "0.51280916", "0.5117635", "0.511546", "0.5107842", "0.51012117", "0.5090044", "0.50868046", "0.50862134", "0.50852525", "0.50820965", "0.5080222", "0.5080203", "0.50768536", "0.5072504", "0.50718474", "0.5063658", "0.50563544", "0.5049976", "0.5047244", "0.50369734", "0.503599", "0.50167394", "0.501123", "0.50073093", "0.49934772", "0.49934772", "0.49921745", "0.49866536", "0.4981324", "0.49811265", "0.49799228", "0.49729174", "0.49717864", "0.49655798", "0.4959176", "0.4955524", "0.4954513", "0.49535096", "0.49520314", "0.49348956", "0.493437", "0.49314016", "0.49241847", "0.4923194", "0.4921256", "0.49205515", "0.49096954", "0.49075794", "0.490603", "0.48983887", "0.48918265", "0.48866284", "0.48858318", "0.48839322", "0.48796183", "0.48738214", "0.48729295", "0.48710462", "0.4866427", "0.4863543", "0.48630536", "0.4862799", "0.48565575", "0.48504695", "0.48483175" ]
0.0
-1
/ Map result to CreditSurchargeDeductible
private void setComponent(Record record, PolicyHeader policyHeader, List<CreditSurchargeDeductibleType> componentList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "setComponent", new Object[]{policyHeader.toString(), componentList}); } CreditSurchargeDeductibleType component = new CreditSurchargeDeductibleType(); ReferredMedicalMalpracticeCoverageType coverageType = new ReferredMedicalMalpracticeCoverageType(); coverageType.setMedicalMalpracticeCoverageReference(PremiumFields.getCoverageId(record)); coverageType.setValue(PremiumFields.getCoverageId(record)); component.setReferredMedicalMalpracticeCoverage(coverageType); component.setKey(record.getStringValue("coverageComponentCodeKey")); component.setCurrentTermAmount(PremiumFields.getWrittenPremium(record)); CreditSurchargeDeductibleCodeType deductibleCode = new CreditSurchargeDeductibleCodeType(); deductibleCode.setValue(PremiumFields.getCoverageComponentCode(record)); deductibleCode.setDescription(record.getStringValue("componentCode")); component.setCreditSurchargeDeductibleCode(deductibleCode); componentList.add(component); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "setComponent", component); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Map<String, Double> groupTransactionsByCreditCard(List<CCTransactionRecord> singleDayTransactions) {\n Map<String, Double> clubbedCCTrxMap = new HashMap<>();\n\n singleDayTransactions.forEach(singleDayTransactionRecord -> {\n\n String ccHashNum = singleDayTransactionRecord.getCcHashNum();\n double trxAmount = singleDayTransactionRecord.getTrxAmount();\n\n if (!clubbedCCTrxMap.containsKey(ccHashNum)) {\n\n clubbedCCTrxMap.put(ccHashNum, trxAmount);\n\n } else {\n\n clubbedCCTrxMap.put(ccHashNum, (clubbedCCTrxMap.get(ccHashNum)) + trxAmount);\n }\n });\n\n clubbedCCTrxMap.forEach((key, value) -> LOGGER.trace(key + \" credit card spent \" + value + \"on that day\"));\n\n return clubbedCCTrxMap;\n }", "public void DeductCharges () {\r\n\r\n\t\tdouble Temp = 0;\r\n\r\n\t\tfor ( Map.Entry<String, Double> CA : _ChargeAmounts.entrySet() ) {\r\n\r\n\t\t\tTemp += CA.getValue();;\r\n\r\n\t\t}\r\n\r\n\t\t_MonthlyChargeAmounts.put( _Tick.getMonthNumber(), Temp );\r\n\r\n\t\t_FundValue -= Temp;\r\n\r\n\t\tSystem.out.println( \"\\t\\t\\t \" + _Name + \" After Charges : \" + _FundValue );\r\n\t}", "private Map<String, Double> findFraudCreditCards(Map<String, Double> clubbedCCTrxMap, double threshold) {\n Map<String, Double> fraudCCMap = clubbedCCTrxMap.entrySet().stream()\n .filter(record -> (record.getValue() > threshold))\n .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));\n\n fraudCCMap.entrySet().forEach(fraudRecord -> LOGGER.trace(\"Fraud Detected on CC \" + fraudRecord));\n\n return fraudCCMap;\n }", "public CreditCard getCreditCard(com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.creditcard.v1.CreditCard res){\n\t\tCreditCard creditCard = new CreditCard();\n\t\t\n\t\tcreditCard.setCardType( res.getCardType() );\n\t\tcreditCard.setName( res.getName() );\n\t\tcreditCard.setCardNo( res.getCardNo() );\n\t\tcreditCard.setExpiryMonth( res.getExpiryMonth() );\n\t\tcreditCard.setExpiryYear( res.getExpiryYear() );\n\t\tcreditCard.setLastName( res.getLastName() );\n\t\tcreditCard.setFirstName( res.getFirstName() );\n\t\tcreditCard.setPaymentDate( res.getPaymentDate() );\n\t\tcreditCard.setStreet( res.getStreet() );\n\t\tcreditCard.setCity( res.getCity() );\n\t\tcreditCard.setState( res.getState() );\n\t\tcreditCard.setPostalCode( res.getPostalCode() ); \n\t\tcreditCard.setDistrict( res.getDistrict() );\n\t\tcreditCard.setCountryCode( res.getCountryCode() );\n\t\tcreditCard.setTelephone( res.getTelephone() );\n\t\tcreditCard.setPassengerId( res.getPassengerId() );\n\t\tcreditCard.setCVVCode( res.getCVVCode() );\n\t\tcreditCard.setDescription( res.getDescription() );\n\t\tcreditCard.setOtherCardHolderEmail( res.getOtherCardHolderEmail() );\n\t\tif( res.getUseSameCard() != null ){\n\t\t\tcreditCard.setUseSameCard( res.getUseSameCard().charAt(0) );\n\t\t}\n\t\tif( res.getOtherCardHolderFlag() != null ){\n\t\t\tcreditCard.setOtherCardHolderFlag( res.getOtherCardHolderFlag().charAt(0) );\n\t\t}\n\t\tif( res.getAmountUSD() != null ){\n\t\t\tcreditCard.setAmountUSD( res.getAmountUSD().doubleValue() );\n\t\t}\n\t\tif( res.getAmount() != null ){\n\t\t\tcreditCard.setAmount( res.getAmount().doubleValue() );\n\t\t}\n\t\t\n\t\treturn creditCard;\n\t}", "CarPaymentMethod processCreditCard();", "@Override\n public void dispatch(CreditCard creditCard) {\n\n Map.Entry<String, String> ufo = null;\n\n if (!fleet.containsValue(creditCard.number())) {\n for (Map.Entry<String, String> entry : fleet.entrySet()) {\n if (entry.getValue() == null) {\n ufo = entry;\n break;\n }\n }\n }\n if (ufo != null && creditCard.pay(fee)) {\n this.fleet.put(ufo.getKey(), creditCard.number());\n }\n }", "public ValueNamePair[] getCreditCards(BigDecimal amt) {\n try {\n if (m_mPaymentProcessors == null || m_mPaymentProcessors.length == 0) {\n m_mPaymentProcessors = MPaymentProcessor.find(getCtx(), null, null,\n getAD_Client_ID(), getC_Currency_ID(), amt, get_TrxName());\n }\n //\n HashMap<String, ValueNamePair> map = new HashMap<String, ValueNamePair>(); //\tto eliminate duplicates\n for (int i = 0; i < m_mPaymentProcessors.length; i++) {\n if (m_mPaymentProcessors[i].isAcceptAMEX()) {\n map.put(CREDITCARDTYPE_Amex, getCreditCardPair(CREDITCARDTYPE_Amex));\n }\n if (m_mPaymentProcessors[i].isAcceptDiners()) {\n map.put(CREDITCARDTYPE_Diners, getCreditCardPair(CREDITCARDTYPE_Diners));\n }\n if (m_mPaymentProcessors[i].isAcceptDiscover()) {\n map.put(CREDITCARDTYPE_Discover, getCreditCardPair(CREDITCARDTYPE_Discover));\n }\n if (m_mPaymentProcessors[i].isAcceptMC()) {\n map.put(CREDITCARDTYPE_MasterCard, getCreditCardPair(CREDITCARDTYPE_MasterCard));\n }\n if (m_mPaymentProcessors[i].isAcceptCorporate()) {\n map.put(CREDITCARDTYPE_PurchaseCard, getCreditCardPair(CREDITCARDTYPE_PurchaseCard));\n }\n if (m_mPaymentProcessors[i].isAcceptVisa()) {\n map.put(CREDITCARDTYPE_Visa, getCreditCardPair(CREDITCARDTYPE_Visa));\n }\n } //\tfor all payment processors\n //\n ValueNamePair[] retValue = new ValueNamePair[map.size()];\n map.values().toArray(retValue);\n log.fine(\"getCreditCards - #\" + retValue.length + \" - Processors=\" + m_mPaymentProcessors.length);\n return retValue;\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n }\n }", "CarPaymentMethod processHotDollars();", "@Test\n\tpublic void testChargePinDebitCardWithDeviceInfo() throws Exception {\n\t\tHashMap<String, Object> mapBody = new HashMap<String, Object>();\n\t\tmapBody.put(\"amount\", 1.00);mapBody.put(\"currency\", \"USD\");\n\t\tmapBody.put(\"card\", returnMapCardWithCardPresent());\n\t\t\n\t\tHashMap<String, Object> mapCardContext = new HashMap<String, Object>();\n\t\tmapCardContext.put(\"deviceInfo\", constructMapDeviceInfo());\n\t\tmapBody.put(\"context\", mapCardContext);\n\t\t\n\t\tHttpResponse response = TestUtil.post(CCChargeUrl,\n\t\t\t\tCCChargeHeaderParams, mapBody);\n\t\tHashMap<String, Object> result = validateChargeRes(response, 201, Status.CAPTURED.toString());\n\t}", "public List<Map<String, Object>> getSubscriptionsDueForBilling();", "@Test\n\tpublic void testChargePinDebitCard() throws Exception {\n\t\tHashMap<String, Object> mapBody = new HashMap<String, Object>();\n\t\tmapBody.put(\"amount\", 1.00);mapBody.put(\"currency\", \"USD\");\n\t\tmapBody.put(\"card\", returnMapCardWithCardPresent());\n\t\t\n\t\tHttpResponse response = TestUtil.post(CCChargeUrl,\n\t\t\t\tCCChargeHeaderParams, mapBody);\n\t\tHashMap<String, Object> result = validateChargeRes(response, 201, Status.CAPTURED.toString());\n\t}", "private static double calcDcc(Integer queryResId, Map<Integer, Double> annualDepreciationMap)\r\n\t\t\tthrows ClassNotFoundException, SQLException, IOException {\r\n\t\tDouble dccScoreTotal = 0.0;\r\n\t\tMap<Integer, Integer> citationDistMap = PersistenceController2.fetchCitationDistForQueryRes(queryResId);\r\n\t\tIterator<Integer> it = citationDistMap.keySet().iterator();\r\n\t\twhile (it.hasNext()) {\r\n\t\t\tInteger year = it.next();\r\n\t\t\tInteger annualCitationCount = citationDistMap.get(year);\r\n\t\t\tDouble depreciationPercent = annualDepreciationMap.get(year);\r\n\t\t\tDouble annualDccScore = depreciationPercent * annualCitationCount;\r\n\t\t\tdccScoreTotal += annualDccScore;\r\n\t\t}\r\n\t\treturn dccScoreTotal;\r\n\t}", "private boolean generateCdr(){\n //TODO: split it into smaller methods\n Object usage;\n double charge;\n String from, to;\n String[] time;\n int indexUsage;\n ArrayList usageListArr, usageArr;\n ArrayList columnArr;\n UDRServiceClient udrClient = new UDRServiceClient();\n RateResource rateResource = new RateResource();\n ArrayList<ArrayList<Object>> objArr = new ArrayList<ArrayList<Object>>();\n Double rate;\n TSDBData tsdbData;\n boolean result;\n String userid;\n ArrayList<ResourceUsage> resourceUsageArray;\n HashMap tags;\n POJOUtil pojoUtil = new POJOUtil();\n\n DateTimeUtil dateTimeUtil = new DateTimeUtil();\n time = dateTimeUtil.getRange();\n\n from = time[1];\n to = time[0];\n for (int i = 0; i < enabledResourceList.size(); i++) {\n tsdbData = rateResource.getResourceRate(enabledResourceList.get(i).toString(), from, to);\n rate = calculateRate(tsdbData);\n resourceUsageArray = udrClient.getResourceUsageData(enabledResourceList.get(i).toString(), from, to);\n for (ResourceUsage resource : resourceUsageArray) {\n columnArr = resource.getColumn();\n\n usageListArr = resource.getUsage();\n tags = resource.getTags();\n //indexUserId = columnArr.indexOf(\"userid\");\n userid = tags.get(\"userId\").toString();\n //userid = userid.substring(0, userid.length());\n indexUsage = columnArr.indexOf(\"mean\");\n // The below if condition differentiates between the gauge and cumulative meters of openstack\n if (indexUsage < 0) {\n indexUsage = columnArr.indexOf(\"usage\");//usage if we are not using the sum in the sql else \"sum\"\n }\n // Iterate through the usage arraylist to extract the userid and usage.\n // Multiple the usage with the rate of the resource and save it into an arraylist\n for (int j = 0; j < usageListArr.size(); j++) {\n usageArr = (ArrayList) usageListArr.get(j);\n usage = usageArr.get(indexUsage);\n // Calculate the charge for a resource per user\n Double d = Double.parseDouble(usage.toString());\n charge = (d * rate);\n String resources = enabledResourceList.get(i).toString();\n objArr = pojoUtil.populateList(usageListArr, objArr, resources, userid, usage, charge);\n }\n }\n\n }\n // Save the charge array into the database\n result = savePrice(objArr);\n return result;\n }", "List<ChargeSummary> value();", "public Map<String, CurrenciesAmount> prepareStatus(){\r\n\t\tMap<String, CurrenciesAmount> paymentsStatus = new HashMap<String, CurrenciesAmount>();\r\n\t\tfor(Payment payment : payments){\r\n\t\t\tdouble amount = payment.getAmount();\r\n\t\t\tString code = payment.getCurrency();\r\n\t\t\tif(!paymentsStatus.containsKey(code)){\r\n\t\t\t\tpaymentsStatus.put(code, new CurrenciesAmount());\r\n\t\t\t}\r\n\t\t\tpaymentsStatus.get(code).updateAmount(amount, currencies.getCurrency(code).getRate());\r\n\t\t}\r\n\t\treturn paymentsStatus;\r\n\t}", "public void splitCurrency(Collection FTC_receivables, String currencyCd, double exchangeRate, double amountToChange) throws FacadeException {\n FTC_ReceivablesController recCtrl = new FTC_ReceivablesController();\n Integer newRecId = null;\n\n try {\n int count = FTC_receivables.size();\n double tabSourceAmount = 0, tabDestAmount = 0, exchAmount = 0;\n double centValue = 0;\n\n FTC_CourierCashRecapTableVO courierRec = null;\n FTC_ReceivablesVO recNew = null;\n FTC_ReceivablesVO recOld = null;\n\n Iterator recIt = FTC_receivables.iterator();\n if (count == 1) {\n //If number of rec is 1 then use exchange rate value passed as parameter\n //Compute is different for count greater than 1\n while (recIt.hasNext()) {\n courierRec = (FTC_CourierCashRecapTableVO) recIt.next();\n recOld = recCtrl.getFTC_Receivables(new Integer(courierRec.getRecId()));\n recNew = recCtrl.getFTC_Receivables(new Integer(courierRec.getRecId()));\n tabSourceAmount = recOld.getCashPaymentAmt() + recOld.getOtherPaymentAmt();\n tabSourceAmount = tabSourceAmount - amountToChange;\n if (currencyCd.equals(\"USD\")) {\n tabDestAmount = amountToChange / exchangeRate;\n } else {\n tabDestAmount = amountToChange * exchangeRate;\n }\n\n if (recOld.getCashPaymentAmt() > 0) {\n recOld.setCashPaymentAmt(tabSourceAmount);\n recNew.setCashPaymentAmt(tabDestAmount);\n } else {\n recOld.setOtherPaymentAmt(tabSourceAmount);\n recNew.setOtherPaymentAmt(tabDestAmount);\n }\n\n //Set the receivables id in the object to produce the duality.\n recNew.setDualRecIdNbr(recOld.getRecId());\n //Insert the receivable new\n recNew.setRecId(null);\n recNew.setPaymentCurrency(currencyCd);\n recNew.setChkinAgentComment(\"Exchange rate\");\n recNew.setOtherComment(\"SPLT;\");\n recNew.setStatusId(1);\n newRecId = this.setFTC_Receivables(recNew);\n recNew.setRecId(newRecId);\n\n //Update receivable old\n recOld.setOtherComment((recOld.getOtherComment() == null ? \"\" : recOld.getOtherComment()) + \"SPLT;\");\n recOld.setChkinAgentComment(recOld.getChkinAgentComment() == null ? \"Exchange rate\" : recOld.getOtherComment() + \",Exchange rate\");\n recOld.setStatusId(1);\n recOld.setDualRecIdNbr(newRecId);\n recCtrl.updateFTC_Receivables(recOld);\n }//Close while\n } else if (count > 1) {\n //If number of rec greater than 1\n while (recIt.hasNext()) {\n courierRec = (FTC_CourierCashRecapTableVO) recIt.next();\n recOld = recCtrl.getFTC_Receivables(new Integer(courierRec.getRecId()));\n recNew = recCtrl.getFTC_Receivables(new Integer(courierRec.getRecId()));\n tabSourceAmount = recOld.getCashPaymentAmt() + recOld.getOtherPaymentAmt();\n centValue = 0;\n\n /*\n String totalAmt = new Double(tabSourceAmount).toString();\n String iPart = perl.substitute(\"s/\\\\..*$//\",totalAmt);\n String dPart = perl.substitute(\"s/^.*?\\\\.//\",totalAmt);\n\n if(dPart.trim().length() > 0)\n { centValue = Double.parseDouble(dPart);\n centValue /= 100;\n }\n if(iPart.trim().length() > 0)\n tabSourceAmount = Double.parseDouble(iPart);\n */\n\n int tabSourceAmountInt = new Double(tabSourceAmount).intValue();\n centValue = tabSourceAmount - tabSourceAmountInt;\n tabSourceAmount = tabSourceAmountInt;\n\n if (currencyCd.equals(\"USD\")) {\n if (centValue > 0) {\n tabDestAmount = centValue / exchangeRate;\n }\n } else\n tabDestAmount = centValue * exchangeRate;\n\n if (recOld.getCashPaymentAmt() > 0) {\n recOld.setCashPaymentAmt(tabSourceAmount);\n recNew.setCashPaymentAmt(tabDestAmount);\n } else {\n recOld.setOtherPaymentAmt(tabSourceAmount);\n recNew.setOtherPaymentAmt(tabDestAmount);\n }\n\n //Set the receivables id in the object to produce the duality.\n recNew.setDualRecIdNbr(recOld.getRecId());\n //Insert the receivable new\n recNew.setRecId(null);\n recNew.setPaymentCurrency(currencyCd);\n recNew.setChkinAgentComment(\"Exchange rate\");\n recNew.setOtherComment(\"SPLT;\");\n recNew.setStatusId(1);\n newRecId = this.setFTC_Receivables(recNew);\n recNew.setRecId(newRecId);\n\n //Update receivable old\n recOld.setOtherComment((recOld.getOtherComment() == null ? \"\" : recOld.getOtherComment()) + \"SPLT;\");\n recOld.setChkinAgentComment(recOld.getChkinAgentComment() == null ? \"Exchange rate\" : recOld.getOtherComment() + \",Exchange rate\");\n recOld.setStatusId(1);\n recOld.setDualRecIdNbr(newRecId);\n recCtrl.updateFTC_Receivables(recOld);\n\n }//close while\n\n }//Close if\n } catch (Exception e) {\n String errorMsg = \"Error occurred in splitCurrency(Collection receivables, String tabType, double exchangeRate, double amountToChange) method of FTCFacadeBean class\";\n throw new EJBException(errorMsg, e);\n }\n }", "public getReferralsCard_result(getReferralsCard_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.moseeker.thrift.gen.employee.struct.ReferralsCard(other.success);\n }\n if (other.isSetE()) {\n this.e = new com.moseeker.thrift.gen.common.struct.BIZException(other.e);\n }\n }", "List<ClassificationCostsDto> map(List<ClassificationCostsReport> classificationCostsReports);", "private static Map<Double, List<Integer>> bucketizeListForDCC(List<Integer> queryResIdList,\r\n\t\t\tMap<Integer, Double> annualDepreciationMap, double dccBucketRange) throws ClassNotFoundException,\r\n\t\t\tSQLException, IOException {\r\n\t\tMap<Double, List<Integer>> dccMap = new HashMap<Double, List<Integer>>();\r\n\t\tfor (Integer queryResId : queryResIdList) {\r\n\t\t\t// the DCC score calculated for the current result\r\n\t\t\tdouble dccScore = calcDcc(queryResId, annualDepreciationMap);\r\n\t\t\t// finds the bucket that corresponds to the current DCC score\r\n\t\t\tdouble bucket = bucketForScore(dccScore, dccBucketRange);\r\n\t\t\t// fetches all bucket contents\r\n\t\t\tList<Integer> queryResults = dccMap.get(bucket);\r\n\t\t\tif (queryResults == null) {\r\n\t\t\t\tqueryResults = new ArrayList<Integer>();\r\n\t\t\t}\r\n\t\t\t// adds to query result to bucket and updates map\r\n\t\t\tqueryResults.add(queryResId);\r\n\t\t\tdccMap.put(bucket, queryResults);\r\n\t\t}\r\n\t\treturn SortUtils.sortMapBucketContents(dccMap, annualDepreciationMap);\r\n\t}", "public com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.creditcard.v1.CreditCard getCreditCardReq(CreditCard creditCard){\n\t\tcom.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.creditcard.v1.CreditCard creditCardReq = \n\t\t\tnew com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.creditcard.v1.CreditCard();\n\t\t\n\t\tcreditCardReq.setStreet( creditCard.getStreet() );\n\t\tcreditCardReq.setCity( creditCard.getCity() );\n\t\tcreditCardReq.setState( creditCard.getState() );\n\t\tcreditCardReq.setPostalCode( creditCard.getPostalCode() );\n\t\tcreditCardReq.setDistrict( creditCard.getDistrict() );\n\t\tcreditCardReq.setCountryCode( creditCard.getCountryCode() );\n\t\tcreditCardReq.setTelephone( creditCard.getTelephone() );\n\t\tcreditCardReq.setAmountUSD( new Double(creditCard.getAmountUSD()) );\n\t\tcreditCardReq.setPassengerId( creditCard.getPassengerId() );\n\t\tcreditCardReq.setCVVCode( creditCard.getCVVCode() );\n\t\tcreditCardReq.setDescription( creditCard.getDescription() );\n\t\tcreditCardReq.setUseSameCard( Character.toString(creditCard.getUseSameCard()) );\n\t\tcreditCardReq.setOtherCardHolderFlag( Character.toString(creditCard.getOtherCardHolderFlag()) );\n\t\tcreditCardReq.setOtherCardHolderEmail( creditCard.getOtherCardHolderEmail() );\n\t\tcreditCardReq.setCardType( creditCard.getCardType() );\n\t\tcreditCardReq.setName( creditCard.getName() );\n\t\tcreditCardReq.setCardNo( creditCard.getCardNo() );\n\t\tcreditCardReq.setExpiryMonth( creditCard.getExpiryMonth() );\n\t\tcreditCardReq.setExpiryYear( creditCard.getExpiryYear() );\n\t\tcreditCardReq.setAmount( new Double(creditCard.getAmount()) );\n\t\tcreditCardReq.setLastName( creditCard.getLastName() );\n\t\tcreditCardReq.setFirstName( creditCard.getFirstName() );\n\t\tcreditCardReq.setPaymentDate( creditCard.getPaymentDate() );\n\t\t\n\t\treturn creditCardReq;\n\t}", "List<AccountClasificationDTO> lookupAccountClasifications();", "public interface CreditCard {\n\t// Getter Methods\n\tpublic Long getId();\n\tpublic CreditCardType getCreditCardType();\n\tpublic String getAccountNumber();\n\t/**\n\t * CVV number is the three-digit number on the back of a Discover, Visa or MasterCard;\n\t * or the four-digit number on the front of the American Express card.\n\t * @return\n\t */\n\tpublic String getCvvNumber();\n\tpublic String getCardHolderFirstName();\n\tpublic String getCardHolderLastName();\n\tpublic String getExpirationMonth();\n\tpublic String getExpirationYear();\n\tpublic String getBillingAddress();\n\tpublic String getBillingAddress2();\n\tpublic String getBillingCity();\n\tpublic States getBillingState();\n\tpublic String getBillingZipcode();\n\tpublic User getCreditCardHolder();\n\tpublic Boolean getPrimaryCreditCard();\n\tpublic Boolean getActive();\n\tpublic Date getCreationDate();\n\tpublic Date getModifiedDate();\n\tpublic Date getDeactivationDate();\n\t\n\t// Setter Methods\n\tpublic void setId(Long id);\n\tpublic void setCreditCardType(CreditCardType creditCardType);\n\tpublic void setAccountNumber(String accountNumber);\n\tpublic void setCvvNumber(String cvvNumber);\n\tpublic void setCardHolderFirstName(String cardHolderFirstName);\n\tpublic void setCardHolderLastName(String cardHolderLastName);\n\tpublic void setExpirationMonth(String expirationMonth);\n\tpublic void setExpirationYear(String expirationYear);\n\tpublic void setBillingAddress(String billingAddress);\n\tpublic void setBillingAddress2(String billAddress2);\n\tpublic void setBillingCity(String billingCity);\n\tpublic void setBillingState(States billingState);\n\tpublic void setBillingZipcode(String billingZipcode);\n\tpublic void setCreditCardHolder(User creditCardHolder);\n\tpublic void setPrimaryCreditCard(Boolean primaryCreditCard);\n\tpublic void setActive(Boolean active);\n\tpublic void setCreationDate(Date creationDate);\n\tpublic void setModifiedDate(Date modifiedDate);\n\tpublic void setDeactivationDate(Date deactivationDate);\n\n\t// Check to see if this card is active.\n\tpublic Boolean isActive();\n\t\n\t// Check to see if this card is the primary one for the account\n\tpublic Boolean isPrimaryCreditCard();\n\t\n\t// See if the card has expired.\n\tpublic Boolean hasCardExpired(Date currentDate);\n}", "List<CardTypeDTO> lookupCardTypes();", "List<CGcontractCredit> selectByExample(CGcontractCreditExample example);", "private void getDetailedDebitAgingOLDEST(List<DebtorsDetailedAgingHelper> agingList, Date atDate, EMCUserData userData) {\n getDetailedDebitAgingNONE(agingList, atDate, userData);\n\n //Aging lines to remove\n //List<DebtorsDetailedAgingLineDS> toRemove = new ArrayList<DebtorsDetailedAgingLineDS>();\n\n //All credits\n List<DebtorsDetailedAgingLineDS> credits = new ArrayList<DebtorsDetailedAgingLineDS>();\n //All debits\n List<DebtorsDetailedAgingLineDS> debits = new ArrayList<DebtorsDetailedAgingLineDS>();\n\n for (DebtorsDetailedAgingHelper agingHelper : agingList) {\n for (DebtorsDetailedAgingLineDS agingLine : agingHelper.getAgingLines()) {\n if (agingLine.getAmount().compareTo(BigDecimal.ZERO) < 0) {\n //Credit\n credits.add(agingLine);\n } else {\n //Debit\n debits.add(agingLine);\n }\n }\n }\n\n//Start allocating from oldest credits.\ncredit: for (DebtorsDetailedAgingLineDS credit : credits) {\n if (credit.getBalance().compareTo(BigDecimal.ZERO) != 0) {\n//Loop through debits\ndebit: for (DebtorsDetailedAgingLineDS debit : debits) {\n if (debit.getBalance().compareTo(BigDecimal.ZERO) != 0) {\n //Get difference between debit and credit balances.\n BigDecimal difference = debit.getBalance().add(credit.getBalance());\n if (difference.compareTo(BigDecimal.ZERO) > 0) {\n //Debit greater than credit. Allocate credit in full.\n debit.setBalance(debit.getBalance().add(credit.getBalance()));\n credit.setBalance(BigDecimal.ZERO);\n\n //toRemove.add(credit);\n\n //Credit consumed. Continue outer loop.\n continue credit;\n } else if (difference.compareTo(BigDecimal.ZERO) < 0) {\n //Credit greater than debit.\n credit.setBalance(credit.getBalance().add(debit.getBalance()));\n debit.setBalance(BigDecimal.ZERO);\n\n //toRemove.add(debit);\n\n //Debit consumed\n continue;\n } else {\n //Debit == credit. Consume both.\n debit.setBalance(BigDecimal.ZERO);\n credit.setBalance(BigDecimal.ZERO);\n\n //toRemove.add(credit);\n //toRemove.add(debit);\n\n //Credit consumed. Continue outer loop.\n continue credit;\n }\n } else {\n //Credit, continue to next line.\n continue;\n }\n }\n } else {\n //Debit, continue to next line\n continue;\n }\n }\n\n //Try to remove all records from all bins.\n //TODO: Is there a more efficient way?\n //for (DebtorsDetailedAgingHelper agingHelper : agingList) {\n // agingHelper.getAgingLines().removeAll(toRemove);\n //}\n }", "private void getDetailedDebitAgingDATE(List<DebtorsDetailedAgingHelper> agingList, Date atDate, EMCUserData userData) {\n getDetailedDebitAgingNONE(agingList, atDate, userData);\n\n for (DebtorsDetailedAgingHelper agingHelper : agingList) {\n//Lines to be removed from aging helper. (Transactions allocated in full) These should be ignored while processing.\n//List<DebtorsDetailedAgingLineDS> toRemove = new ArrayList<DebtorsDetailedAgingLineDS>();\n\n//Get all debit and credit transactions in date range and allocate. Allocate credits to debits.\n//The list of aging lines will be ordered by date.\ncredit: for (DebtorsDetailedAgingLineDS agingLine : agingHelper.getAgingLines()) {\n if (agingLine.getAmount().compareTo(BigDecimal.ZERO) < 0 && agingLine.getBalance().compareTo(BigDecimal.ZERO) != 0) {\n DebtorsDetailedAgingLineDS credit = agingLine;\n\n//Loop again, looking for debits\ndebit: for (DebtorsDetailedAgingLineDS otherAgingLine : agingHelper.getAgingLines()) {\n if (otherAgingLine.getAmount().compareTo(BigDecimal.ZERO) < 0 && otherAgingLine.getBalance().compareTo(BigDecimal.ZERO) != 0) {\n DebtorsDetailedAgingLineDS debit = otherAgingLine;\n\n //Get difference between debit and credit balances.\n BigDecimal difference = debit.getBalance().add(credit.getBalance());\n if (difference.compareTo(BigDecimal.ZERO) > 0) {\n //Debit greater than credit. Allocate credit in full.\n credit.setBalance(BigDecimal.ZERO);\n debit.setBalance(debit.getBalance().add(credit.getBalance()));\n\n //toRemove.add(credit);\n\n //Credit consumed. Continue outer loop.\n continue credit;\n } else if (difference.compareTo(BigDecimal.ZERO) < 0) {\n //Credit greater than debit.\n debit.setBalance(BigDecimal.ZERO);\n credit.setBalance(credit.getBalance().subtract(debit.getBalance()));\n\n //toRemove.add(debit);\n\n //Debit consumed\n continue;\n } else {\n //Debit == credit. Consume both.\n debit.setBalance(BigDecimal.ZERO);\n credit.setBalance(BigDecimal.ZERO);\n\n //toRemove.add(credit);\n //toRemove.add(debit);\n\n //Credit consumed. Continue outer loop.\n continue credit;\n }\n } else {\n //Credit, continue to next line.\n continue;\n }\n }\n } else {\n //Debit, continue to next line\n continue;\n }\n }\n\n //Remove balanced lines.\n //agingHelper.getAgingLines().removeAll(toRemove);\n }\n }", "public List<Result> calculateResult()\n\t{\n\t\tpersons=calculatePersonWiseContribution(transactions,persons);\t\t\t\n\t\t\n\t\t//calculate total amount spend.\n\t\tfloat totalAmt=calculateTotalAmt(persons);\n\t\t\n\t\t//calculate total persons.\n\t\tint noOfPersons =calculateNoOfPersons(persons);\n\t\t\n\t\t//calculate amount to be contributed by each person (avg amt).\n\t\tfloat avgAmt=totalAmt/noOfPersons;\n\t\t\n\t\t//remove person who calculated = avg amt , since it is idle person hence doesnt participated in transfer money operation\n\t\tList <Person> activePersons=removePerson(persons,avgAmt);\n\t\t\n\t\t//Seperate list of persons who contributed > avg amt (credit list) and <avg amt (debit list).\t\t\n\t\tMap <String, List<Person>> creditDebitList=seperateCreditDebitPersonList(activePersons,avgAmt);\n\t\tList<Person> creditList=creditDebitList.get(\"CREDIT\");\n\t\tList<Person> debitList=creditDebitList.get(\"DEBIT\");\n\t\t\t\t\n\t\t//transfer money from debit list to credit list of persons and store the result.\n\t\t//return the result.\n\t\treturn calculate(creditList,debitList);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\t\n\t\n\t}", "int getAllowedCredit();", "public void deductCredit(int row,String sid) throws SQLException, ClassNotFoundException {\r\n\t\r\n\t\tFetcher fetch=new Fetcher();\r\n\t\tResultSet rs=fetch.getSpecificRowFacultySorted(row);\r\n\t\tString sapid= rs.getString(\"sapid\");\r\n\t\tint creditAvailable = rs.getInt(\"credits\");\r\n\t\tDouble d= new Double(fetch.getCreditOfSid(sid));\r\n\t\tint creditOfSubject= d.intValue();\r\n\t\t//System.out.println(\"Credit available- \"+creditAvailable+\" CreditOfsubject\"+creditOfSubject);\r\n\t\tint newCreditOfFaculty= creditAvailable - creditOfSubject;\r\n\t\t\r\n\t\tStatement stmt=this.conn.createStatement();\r\n\t\tString query=\"update \"+Faculty.FACULTY_INFO_TABLE_NAME_Sorted+\" set credits=\"+newCreditOfFaculty+\" where sapid='\"+sapid+\"'\";\r\n\t\tstmt.executeUpdate(query);\r\n\t\tstmt.close();\r\n\t}", "private Map devCardToMap() {\n\t\tMap<String, Integer> devCardMap = new HashMap<String, Integer>();\n\t\tint yearOfPlenty = 0, soldier = 0, monopoly = 0, monument = 0; \n\t\tint roadBuilding = 0;\n\t\tfor(DevCard devCard : this.devCards) {\n\t\t\tswitch(devCard.getClass().getSimpleName()) {\n\t\t\tcase \"YearOfPlenty\":\n\t\t\t\tyearOfPlenty++;\n\t\t\t\tbreak;\n\t\t\tcase \"Knight\":\n\t\t\t\tsoldier++;\n\t\t\t\tbreak;\n\t\t\tcase \"Monopoly\":\n\t\t\t\tmonopoly++;\n\t\t\t\tbreak;\n\t\t\tcase \"Monument\":\n\t\t\t\tmonument++;\n\t\t\t\tbreak;\n\t\t\tcase \"RoadBuilding\":\n\t\t\t\troadBuilding++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tdevCardMap.put(\"yearOfPlenty\", yearOfPlenty);\n\t\tdevCardMap.put(\"soldier\", soldier);\n\t\tdevCardMap.put(\"monopoly\", monopoly);\n\t\tdevCardMap.put(\"monument\", monument);\n\t\tdevCardMap.put(\"roadBuilding\", roadBuilding);\n\t\treturn devCardMap;\n\t}", "public Masary_Error CheckBillType(String BTC, double CusAmount, String CustId, double serv_balance, double masry_balance, double billamount, double fees, Main_Provider provider, double deductedAmount) {\n Masary_Error Status = new Masary_Error();\n try {\n Masary_Bill_Type bill_type = MasaryManager.getInstance().getBTC(BTC);\n double trunccusamount = Math.floor(CusAmount);\n// double deductedAmount = MasaryManager.getInstance().GetDeductedAmount(Integer.parseInt(CustId), Integer.parseInt(BTC), CusAmount, provider.getPROVIDER_ID());\n if ((deductedAmount > serv_balance) || deductedAmount == -1) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-501\", provider);\n } else if (!bill_type.isIS_PART_ACC() && CusAmount < billamount) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-502\", provider);\n } else if (!bill_type.isIS_OVER_ACC() && CusAmount > billamount && billamount != 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-503\", provider);\n } else if (!bill_type.isIS_ADV_ACC() && billamount == 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-504\", provider);\n } else if (!bill_type.isIS_FRAC_ACC() && (CusAmount - trunccusamount) > 0) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-505\", provider);\n } else if ((CusAmount > masry_balance) || deductedAmount == -2 || deductedAmount == -3 || deductedAmount == -4) {\n Status = MasaryManager.getInstance().GETMasary_Error(\"-506\", provider);\n } else {\n Status = MasaryManager.getInstance().GETMasary_Error(\"200\", provider);\n }\n } catch (Exception ex) {\n\n MasaryManager.logger.error(\"Exception \" + ex.getMessage(), ex);\n }\n\n return Status;\n }", "private OtherChargesDTO[] getOtherCharges() {\n\t\tOtherChargesDTO[] others = null;\t\t\n\t\tif (lrcDTO != null) {\n\t\t\tif (gscDTO != null) {\n\t\t\t\t//Combine LRC GSC\n\t\t\t\tothers = combineLrcGsc(lrcDTO, gscDTO);\n\t\t\t} else {\n\t\t\t\tothers = lrcDTO;\n\t\t\t}\n\t\t} else if (gscDTO != null) {\n\t\t\tothers = gscDTO;\n\t\t}\t\t\n\t\tif(others == null){\n\t\t\t/*if(quotationDTO.getOtherCharges() != null){\n\t\t\tfor(int i = 0; i < quotationDTO.getOtherCharges().length; i++){\n\t\t\t\tSystem.out.println(\"Avail Staions==>\" + quotationDTO.getOtherCharges()[i].getStationCode());\n\t\t\t\tSystem.out.println(\"Avail LRC==>\" + quotationDTO.getOtherCharges()[i].getLrCharge());\n\t\t\t\tSystem.out.println(\"Avail GSC==>\" + quotationDTO.getOtherCharges()[i].getGsc());\n\t\t\t}}*/\n\t\t\treturn quotationDTO.getOtherCharges();\n\t\t}else{\n\t\t\tif(quotationDTO != null)\n\t\t\t\totherChargesDTO = quotationDTO.getOtherCharges();\n\t\t\tif(otherChargesDTO != null){\t\t\t\n\t\t\t\t//Update OtherChargesDTO with existing DTO\n\t\t\t\totherChargesDTO = updateOtherCharges(others, otherChargesDTO);\t\t\t\t\n\t\t\t\t/*for(int i = 0; i < otherChargesDTO.length; i++){\n\t\t\t\t\tSystem.out.println(\"Updated Staions==>\" + otherChargesDTO[i].getStationCode());\n\t\t\t\t\tSystem.out.println(\"Updated LRC==>\" + otherChargesDTO[i].getLrCharge());\n\t\t\t\t\tSystem.out.println(\"Updated GSC==>\" + otherChargesDTO[i].getGsc());\n\t\t\t\t}*/\n\t\t\treturn otherChargesDTO;\n\t\t\t}else{\n\t\t\t\tOtherChargesDTO[] othersAllStations = null;\n\t\t\t\ttry {\n\t\t\t\t\tothersAllStations = convertOthersAllStations(others);\n\t\t\t\t} catch (Exception e) {\t\t\t\t\t\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn othersAllStations;\n\t\t\t}\n\t\t}\t\t\n\t}", "@Override\n\tpublic Map<Tag, Double> report() {\n\t\tMap<Tag,Double> result = new HashMap<>();\n\t\tbudget.getTags().stream()\n\t\t\t\t.forEach(t->result.put(t,ledger.getSingleTag(t.getID()).getTotalAmount()-budget.getExpected(t)));\n\t\treturn result;\n\t}", "public Map<SalePurchase, Payment> viewCreditEntries(String date){\n\t\tMap<SalePurchase, Payment> map = new HashMap<>();\n\t\tList<SalePurchase> spList = new ArrayList<>(salePurchaseEntries.values());\n\t\tList<Payment> paymentList = new ArrayList<>(payments.values());\n\t\tfor(SalePurchase sp : spList){\n\t\t\tif(sp.getDate().equals(date) && sp.getMode().equals(\"Sale\")){\n\t\t\t\tfor(Payment p : paymentList){\n\t\t\t\t\tif(p.getSPId() == sp.getSPId()){\n\t\t\t\t\t\tmap.put(sp, p);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn map;\n\t}", "public abstract double getCredit(Answer rightAnswer);", "public List getCreditCards(int donorID) {\n List creditCardList = new LinkedList();\n for (Object creditCardObject : creditCardNumbers) {\n CreditCard creditCard = (CreditCard) creditCardObject;\n if (creditCard.getDonorId()==(donorID)) {\n creditCardList.add(creditCard);\n }\n }\n return creditCardList;\n }", "Uni<BudgetMensuel> chargeBudgetMensuel(String idBudget) ;", "public static void extract_money(){\n TOTALCMONEY = TOTALCMONEY - BALANCERETRIEVE; //the total cashier money equals the total cashier money minus the retrieve request\r\n BALANCE = BALANCE - BALANCERETRIEVE; //the user balance equals the account minus the retrieve request\r\n }", "@Override\n\tpublic KLSResponse handleCreditTransaction(CurrentTransactionData currentTransactionData, STLoanRecoveryData stLoanRecoveryData) {\n\n\t\tlogger.info(\"Start : Handling credit transaction in handleCreditTransaction() method.\");\n\t\tCurrentTransaction master = CurrentTransactionHelper.getCurrentTransaction(currentTransactionData);\n\t\tKLSResponse klsResponse = new KLSResponse();\n\t\tIPacsDAO pacsDao = KLSDataAccessFactory.getPacsDAO();\n\t\tMap<String, Object> creditMap = new HashMap<String, Object>();\n\t\tcreditMap.put(ServiceConstants.KLS_RESPONSE, klsResponse);\n\t\tcreditMap.put(ServiceConstants.IS_STANDALONE_MODE, currentTransactionData.isStandAloneStatus());\n\t\tBankParameter bankParameter = KLSDataAccessFactory.getBankParameter();\n\t\t// check whether the savings account number exists.\n\t\tlogger.info(\"currentTransactionData.isStandAloneStatus() in handle credit transaction method.\"+currentTransactionData.isStandAloneStatus());\n\t\tInteger pacsId=0;\n\t\tInteger productId=0;\n\t\tboolean isSavingsAccountNumberValid = isSavingsAccountNumberValid(currentTransactionData.getSavingsAccountNumber(), master, klsResponse,\n\t\t\t\tcurrentTransactionData.isStandAloneStatus());\n\t\t\n\t\tCurrentTransaction creditDebitTransaction = copyCurrentTransaction(master);\n\t\tlogger.info(\"isSavingsAccountNumberValid in handle credit transaction method.\"+isSavingsAccountNumberValid);\n\t\t\n\t\tif (isSavingsAccountNumberValid) {\n\t\t\t// get line of credit accounts balance.\n\t\t\tif (calculateLineOfCreditAccountsBalance(master, creditMap)) {\n\t\t\t\tString CCB=(String) creditMap.get(\"CCB_ACCOUNT\");\n\t\t\t\tInteger borrowingProductid=(Integer) creditMap.get(\"Borrowing_Product\");\n\t\t\t\tString borrowingProduct=borrowingProductid.toString();\n\t\t\t\tif (doCreditTransaction(master, creditMap, stLoanRecoveryData)) {\n\t\t\t\t\t// get the current transaction dao.\n\t\t\t\t\tICurrentTransactionDAO dao = KLSDataAccessFactory.getCurrentTransactionDAO();\n\t\t\t\t\tList<CurrentTransaction> currTransactionList = (List<CurrentTransaction>) creditMap\n\t\t\t\t\t\t\t.get(ServiceConstants.CREDIT_CURRENT_TRANSACTION_LIST);\n\t\t\t\t\tcreditMap = (Map<String, Object>) creditMap.get(ServiceConstants.CREDIT_ACCOUNT_MAP);\n\t\t\t\t\ttry {\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * doing Debit, Credit on loan account\n\t\t\t\t\t\t */ \n\t\t\t\t\t\tfor(CurrentTransaction transaction:currTransactionList)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tString businessDate=\"\";\n\t\t\t\t\t\t\tPacs pacs=pacsDao.getPacs(transaction.getPacs().getId());\n\t\t\t\t\t\t\tlogger.info(\"pacs type::\"+pacs.getPacsStatus());\n\t\t\t\t\t\t\tif(pacs.getPacsStatus().equals(PacsStatus.Offline)){\n\t\t\t\t\t\t\t\tbusinessDate=RestClientUtil.getPacsBusinessDate(transaction.getPacs().getId(),pacs.getBranch().getId());\n\t\t\t\t\t\t\t\t//businessDate=\"2017-05-01\";\n\t\t\t\t\t\t\t\ttransaction.setBusinessDate(DateUtil.getVSoftDateByString(businessDate));\n\t\t\t\t\t\t\t\t\n\t\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\tif(bankParameter.getCbsIntegrationMethod().equals(CBSMethodEnum.ISO8583)){\n\t\t\t\t\t\t\tISOTransactionResponse response=new ISOTransactionResponse();\n\t\t\t\t\t\t\t response=getISOResponse(currTransactionList,currentTransactionData);\n\t\t\t\t\t\t\t\tif(response!=null && response.getStatus()){\n\t\t\t\t\t\t\t postDebitCreditTransaction(creditDebitTransaction,currTransactionList.get(0).getVoucherNumber());\n\t\t\t\t\t\t dao.saveCreditCurrentTransaction(currTransactionList, creditMap);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tpostDebitCreditTransaction(creditDebitTransaction,currTransactionList.get(0).getVoucherNumber());\n\t\t\t\t\t\t\t dao.saveCreditCurrentTransaction(currTransactionList, creditMap);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\tpostDebitCreditTransaction(creditDebitTransaction,currTransactionList.get(0).getVoucherNumber());\n\t\t\t\t\t\tdao.saveCreditCurrentTransaction(currTransactionList, creditMap);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tMap<String, String> recoveryTransMap = new<String, String> HashMap();\n\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_PRINCIPAL\", \"0\");\n\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_INTEREST\", \"0\");\n\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_PENAL_INTEREST\", \"0\");\n\t\t\t\t\t\trecoveryTransMap.put(\"CCB_ACCOUNT\",CCB );\n\t\t\t\t\t\trecoveryTransMap.put(\"BORROWING_PRODUCT\",borrowingProduct );\n\n\t\t\t\t\t\tfor (CurrentTransaction currentTransaction : currTransactionList) {\n\t\t\t\t\t\t\tBigDecimal amount = BigDecimal.ZERO;\n\t\t\t\t\t\t\tBigDecimal transAmount = BigDecimal.ZERO;\n\t\t\t\t\t\t\tswitch (currentTransaction.getTransactionCode()) {\n\t\t\t\t\t\t\tcase PRINCIPAL_BAL:\n\t\t\t\t\t\t\t\tamount = new BigDecimal(recoveryTransMap.get(\"TOTAL_PRINCIPAL\"));\n\t\t\t\t\t\t\t\ttransAmount = currentTransaction.getTransactionAmount().getMoney().getAmount();\n\t\t\t\t\t\t\t\tamount = amount.add(transAmount);\n\t\t\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_PRINCIPAL\", amount.toString());\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase INTEREST:\n\t\t\t\t\t\t\t\tamount = new BigDecimal(recoveryTransMap.get(\"TOTAL_INTEREST\"));\n\t\t\t\t\t\t\t\ttransAmount = currentTransaction.getTransactionAmount().getMoney().getAmount();\n\t\t\t\t\t\t\t\tamount = amount.add(transAmount);\n\t\t\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_INTEREST\", amount.toString());\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase PENAL_INTEREST:\n\t\t\t\t\t\t\t\tamount = new BigDecimal(recoveryTransMap.get(\"TOTAL_PENAL_INTEREST\"));\n\t\t\t\t\t\t\t\ttransAmount = currentTransaction.getTransactionAmount().getMoney().getAmount();\n\t\t\t\t\t\t\t\tamount = amount.add(transAmount);\n\t\t\t\t\t\t\t\trecoveryTransMap.put(\"TOTAL_PENAL_INTEREST\", amount.toString());\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\tklsResponse.setsTRecoveryTransactions((HashMap<String, String>) recoveryTransMap);\n\t\t\t\t\t\t//For virmati CBS integration\n\t\t\t\t\t\tif(!\"O\".equalsIgnoreCase(bankParameter.getCbsIntegrationMethod().getValue()) && \"V\".equalsIgnoreCase(bankParameter.getOther_cbs())){\n\t\t\t\t\t\t\tlogger.info(\"Transaction will be commited after posting transaction in Virmathi\");\n\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t EntityManagerUtil.CommitOrRollBackTransaction(true);\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tEntityManagerUtil.CommitOrRollBackTransaction(false);\n\t\t\t\t\t\tlogger.error(\"Error occured while doing credit transaction\");\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\tthrow new KlsRuntimeException(\"Error occured while doing credit transaction\");\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"End : Handling credit transaction in handleCreditTransaction() method.\");\n\t\treturn klsResponse;\n\t}", "private Double getDeductibles(int orNo, int storeCode) {\n\t\treturn getReturnedItemsAmount(orNo, storeCode) + getGiftCheckAmount(orNo, storeCode) + getPartialTransactionBalance(orNo, storeCode);\r\n\t}", "public DebitCard(String n, int c, int p, Date e, Customer h, Provider p) {}", "public ResponseCurrencyConversionBo converCurrency() {\n\n ResponseCurrencyConversionBo responseCurrencyConversionBo = new ResponseCurrencyConversionBo();\n\n try {\n long startTime = System.nanoTime();\n HttpClient client = HttpClientBuilder.create().build();\n String url = myPropertiesReader.getPropertyValue(\"unitconvertersUrl\");\n url = MessageFormat.format(url, requestCurrencyConversionBo.getSourceCountryCurrency(),requestCurrencyConversionBo.getTargetCountryCurrency());\n HttpGet post = new HttpGet(url);\n\n HttpResponse response = client.execute(post);\n if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {\n\n BufferedReader rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));\n\n String finalResult = \"\";\n StringBuffer result = new StringBuffer();\n String line = \"\";\n while ((line = rd.readLine()) != null) {\n result.append(line);\n }\n\n finalResult = result.toString();\n log.info(finalResult);\n String currencyRate = finalResult.substring(finalResult.indexOf(\"<p class=\\\"bigtext\\\">\"),finalResult.lastIndexOf(\"<p class=\\\"bigtext\\\">\"));\n log.info(currencyRate);\n currencyRate = currencyRate.replace(\"<p class=\\\"bigtext\\\">\",\"\").replace(\"</p>\",\"\");\n log.info(currencyRate);\n String[] currencyRateSplitByBR = currencyRate.split(\"<br>\");\n log.info(currencyRateSplitByBR[0]);\n String finalCurrencyRate = currencyRateSplitByBR[0].split(\"=\")[1].replaceAll(\"[a-zA-Z]\", \"\").trim();\n log.info(finalCurrencyRate);\n responseCurrencyConversionBo.setCurrencyRate(finalCurrencyRate);\n }\n } catch (Exception e) {\n e.printStackTrace();\n log.error(e.getMessage());\n }\n\n return responseCurrencyConversionBo;\n }", "CarPaymentMethod creditCardNumber(String cardNumber);", "public abstract R convertedTo(Currency resultCurrency, ScenarioFxRateProvider rateProvider);", "List<Pair<Member, BigDecimal>> getPaymentsPerMember(StatisticalDTO dto) throws DaoException;", "public FececCentral mapRow(ResultSet rs, int rowNum) throws SQLException {\n FececCentral dto = new FececCentral();\n\n dto.setIdCentral(rs.getBigDecimal(COLUMN_ID_CENTRAL));\n dto.setIdArace(rs.getBigDecimal(COLUMN_ID_ARACE));\n dto.setRfc(rs.getString(COLUMN_RFC));\n dto.setNombre(rs.getString(COLUMN_NOMBRE));\n dto.setCorreo(rs.getString(COLUMN_CORREO));\n\n return dto;\n }", "@Override\n public TotalDebit calculateTotalDebit(Child child, int year) {\n if (child.getSupportedGroup() == null) {\n return null;\n }\n\n TotalDebit debit = new TotalDebit();\n debit.setChildName(child.getName());\n debit.setChildSurname(child.getSurname());\n\n double fullPrice;\n if (child.getSupportedGroup().getGroup().getWorkType().getName().equals(\"Obdaniste\")) {\n fullPrice = child.getInstitution().getFullPrice();\n }\n else {\n fullPrice = child.getInstitution().getPartialPrice();\n }\n\n List<Pricelist> pricelists = pricelistService.findCurrentByCategoryAndInstitution(child.getCategory(),\n child.getInstitution());\n // can't determine which pricelist to use\n if (pricelists.size() != 1) {\n return null;\n }\n double percentage = pricelists.get(0).getPercentage()/100;\n\n double totalDebit = 0;\n double totalPaid = 0;\n\n // calculate the debit for every single month and collect the result if the child attended classes during the\n // specified month\n for (int month = 0; month < 12; month++) {\n MonthlyDebit monthlyDebit = calculateMonthlyDebit(child, month, year, percentage, fullPrice);\n if (monthlyDebit != null) {\n monthlyDebit.setCarriedDebit(totalDebit);\n monthlyDebit.setCarriedPaid(totalPaid);\n totalDebit += monthlyDebit.getDebit();\n totalPaid += monthlyDebit.getPaid();\n monthlyDebit.setMonth(month + 1);\n debit.getDebits().add(monthlyDebit);\n }\n }\n\n debit.setTotalDebit(totalDebit);\n debit.setTotalPaid(totalPaid);\n\n return debit;\n }", "public BigDecimal getCredit() {\n return credit;\n }", "public CardDto pinCardInfo(String cardId) {\n BigDecimal notMoney = BigDecimal.ZERO;\n CardDto cardDto = customerMapper.findCardInfoByCardId(cardId);\n if (cardDto != null) {\n TbCardRechange t=new TbCardRechange();\n t.setCardCustomerId(cardDto.getCardCustomerId());\n List<TbCardRechange> list=tbCardRechangeMapper.select(t);\n for(TbCardRechange item:list){\n /* if(item.getChargeSettingId()==null){//普通\n //returnMoney = returnMoney.add(item.getChargeBalance());\n }else{//活动*/\n notMoney = notMoney.add(item.getRewardBalance());\n /*}*/\n }\n cardDto.setNotReturnAmount(notMoney);\n cardDto.setReturnAmount(cardDto.getRemain().subtract(notMoney));\n }\n return cardDto;\n }", "com.google.protobuf.DoubleValue getExternalAttributionCredit();", "Map<String, Map<String, Double>> getElementCosts();", "public getReferralCard_result(getReferralCard_result other) {\n if (other.isSetSuccess()) {\n this.success = new com.moseeker.thrift.gen.employee.struct.ReferralCard(other.success);\n }\n if (other.isSetE()) {\n this.e = new com.moseeker.thrift.gen.common.struct.BIZException(other.e);\n }\n }", "public static String createCharge(Request request, Response response) {\n Stripe.apiKey = \"sk_test_nKon8YMF1HyqAvNgvFpFHGbi\";\n CardChargeMakerParams cm = JsonUtil.getInstance().fromJson(request.body(), CardChargeMakerParams.class);\n\n // Get charge meta information\n String token = cm.getId();\n EntityManager em = DatabaseManager.getInstance().getEntityManager();\n TableSession session = em\n .find(TableSession.class, request.session().attribute(\"TableSessionKey\"));\n Transaction transaction = getCurrentTransaction(session.getRestaurantTable());\n int total = (int) (transaction.getTotal() * 100);\n\n // Create params\n Map<String, Object> params = new HashMap<>();\n params.put(\"amount\", total);\n params.put(\"currency\", \"gbp\");\n params.put(\"description\", \"Your meal at Oaxaca\");\n params.put(\"source\", token);\n\n try {\n // Charge customer card\n Charge charge = Charge.create(params);\n // Change status in database\n em.getTransaction().begin();\n\n Transaction temp = em.find(Transaction.class, transaction.getTransactionId());\n\n temp.setDatetimePaid(new Timestamp(System.currentTimeMillis()));\n temp.setIsPaid(true);\n session.getRestaurantTable().setStatus(TableStatus.NEEDS_CLEANING);\n em.getTransaction().commit();\n NotificationEndpoint.startNotificationService(temp);\n return \"success\";\n } catch (AuthenticationException | InvalidRequestException | CardException | APIConnectionException | APIException e) {\n e.printStackTrace();\n return \"failure\";\n } finally {\n em.close();\n }\n }", "public static DevelopmentCard parseCard(JsonValue jCard){\n\t JsonObject card = jCard.asObject();\n\n String name = card.get(\"name\").asString();\n String cardType = card.get(\"cardType\").asString();\n Integer period = card.get(\"period\").asInt();\n Integer actionValue;\n \n if(\"TERRITORYCARD\".equals(cardType) || \"BUILDINGCARD\".equals(cardType)){\n JsonValue action = card.get(\"minimumActionValue\"); \n actionValue = action.asInt();\n } else {\n actionValue = 0;\n }\n\n DevelopmentCard newCard = new DevelopmentCard(name, period, cardType, actionValue);\n \n // registrazione costi e requisiti\n JsonValue resourceCost = card.get(\"cost\");\n if(resourceCost != null && !resourceCost.isNull()){\n JsonArray resourceArray = new JsonArray();\n if( resourceCost.isObject() ){ // Carta con costo singolo\n resourceArray.add(resourceCost);\n }\n if( resourceCost.isArray() ){ // Carta con costo multiplo\n resourceArray = resourceCost.asArray();\n }\n newCard.registerCost(resourceArray.iterator());\n }\n \n JsonValue requirements = card.get(\"requirements\");\n if(requirements != null && !requirements.isNull())\n newCard.setRequirments(requirements.asObject());\n \n // registrazione effetti\n JsonValue instantEffect = card.get(\"instantEffect\");\n JsonValue instantPayload = card.get(\"instantPayload\"); \n List<Tuple<JsonValue, JsonValue>> instantEffectList = parseEffect(instantEffect,\n instantPayload);\n \n for(Tuple<JsonValue, JsonValue> effect: instantEffectList){\n newCard.registerInstantEffect(getEffectFromRegistry(effect.getFirstArg().asString(),\n effect.getSecondArg()));\n newCard.registerInstantEffectType(effect.getFirstArg().asString());\n }\n\n JsonValue permanentEffect = card.get(\"permanentEffect\");\n JsonValue permanentPayload = card.get(\"permanentPayload\");\n List<Tuple<JsonValue, JsonValue>> permanentEffectList = parseEffect(permanentEffect,\n permanentPayload);\n for(Tuple<JsonValue, JsonValue> effect : permanentEffectList){\n newCard.registerPermanentEffect(getEffectFromRegistry(effect.getFirstArg().asString(), effect.getSecondArg()));\n newCard.addPayload(effect.getSecondArg()); //used by CHANGE effect for pretty context build\n newCard.registerPermanentEffectType(effect.getFirstArg().asString());\n }\n return newCard;\n\t}", "private void credit(JDA jda)\n {\n return;\n }", "boolean hasAllowedCredit();", "public VatDetail[] getRetailExportVatSummaries() {\n POSLineItem[] items = compositePOSTransaction.getLineItemsArray();\n HashMap vatDetails = new HashMap();\n for (int idx = 0; idx < items.length; idx++) {\n //if(!((CMSItem)items[idx].getItem()).isConcessionItem() && !((CMSItem)items[idx].getItem()).getVatCode().equals(\"0\"))\n if (((CMSItem)items[idx].getItem()).getVatRate() != null\n && ((CMSItem)items[idx].getItem()).getVatRate().doubleValue() > 0) {\n int signMult = 1;\n if (items[idx] instanceof ReturnLineItem)\n signMult = -1;\n double rate = items[idx].getItem().getVatRate().doubleValue();\n if (vatDetails.get(((CMSItem)items[idx].getItem()).getVatRate()) == null) {\n VatDetail detail = new VatDetail(items[idx].getExtendedNetAmount().multiply(signMult)\n , items[idx].getExtendedVatAmount().multiply(signMult), rate\n , items[idx].getNetAmount().multiply(rate / (1 + rate)).multiply(signMult).round().\n multiply(items[idx].getQuantity().intValue()), items[idx].getQuantity().intValue());\n // to do: need a new vat service at item level rather than calcing right here, vatAmount = lineItemDetail.getNetAmount().multiply((1.0 - creditCardRatio * CREDIT_CARD_CHARGE_RATE) * rate / (1.0 + rate));\n vatDetails.put(items[idx].getItem().getVatRate(), detail);\n } else {\n VatDetail detail = (VatDetail)vatDetails.get(((CMSItem)items[idx].getItem()).getVatRate());\n detail.addCompositeAmount(items[idx].getExtendedNetAmount().multiply(signMult));\n detail.addVatAmount(items[idx].getExtendedVatAmount().multiply(signMult));\n detail.addOriginalVatAmount(items[idx].getNetAmount().multiply(rate / (1 + rate)).\n multiply(signMult).round().multiply(items[idx].getQuantity().intValue()));\n detail.addItemQty(items[idx].getQuantity().intValue());\n }\n }\n }\n return (VatDetail[])vatDetails.values().toArray(new VatDetail[0]);\n }", "private List<DemandDetail> getUpdatedDemandDetails(Calculation calculation, List<DemandDetail> demandDetails, Boolean isDisconnectionRequest) {\n\n\t\tList<DemandDetail> newDemandDetails = new ArrayList<>();\n\t\tMap<String, List<DemandDetail>> taxHeadToDemandDetail = new HashMap<>();\n\n\t\tdemandDetails.forEach(demandDetail -> {\n\t\t\tif (!taxHeadToDemandDetail.containsKey(demandDetail.getTaxHeadMasterCode())) {\n\t\t\t\tList<DemandDetail> demandDetailList = new LinkedList<>();\n\t\t\t\tdemandDetailList.add(demandDetail);\n\t\t\t\ttaxHeadToDemandDetail.put(demandDetail.getTaxHeadMasterCode(), demandDetailList);\n\t\t\t} else\n\t\t\t\ttaxHeadToDemandDetail.get(demandDetail.getTaxHeadMasterCode()).add(demandDetail);\n\t\t});\n\n\t\tBigDecimal diffInTaxAmount;\n\t\tList<DemandDetail> demandDetailList;\n\t\tBigDecimal total;\n\n\t\tfor (TaxHeadEstimate taxHeadEstimate : calculation.getTaxHeadEstimates()) {\n\t\t\tif (!taxHeadToDemandDetail.containsKey(taxHeadEstimate.getTaxHeadCode()) && !isDisconnectionRequest)\n\t\t\t\tnewDemandDetails.add(DemandDetail.builder().taxAmount(taxHeadEstimate.getEstimateAmount())\n\t\t\t\t\t\t.taxHeadMasterCode(taxHeadEstimate.getTaxHeadCode()).tenantId(calculation.getTenantId())\n\t\t\t\t\t\t.collectionAmount(BigDecimal.ZERO).build());\n\t\t\telse if (isDisconnectionRequest) {\n\t\t\t\tif (taxHeadEstimate.getTaxHeadCode().equalsIgnoreCase(SWCalculationConstant.SW_Round_Off))\n\t\t\t\t\tcontinue;\n\t\t\t\ttotal = taxHeadEstimate.getEstimateAmount();\n\t\t\t\tif (total.compareTo(BigDecimal.ZERO) != 0) {\n\t\t\t\t\tnewDemandDetails.add(DemandDetail.builder().taxAmount(total)\n\t\t\t\t\t\t\t.taxHeadMasterCode(taxHeadEstimate.getTaxHeadCode()).tenantId(calculation.getTenantId())\n\t\t\t\t\t\t\t.collectionAmount(BigDecimal.ZERO).build());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdemandDetailList = taxHeadToDemandDetail.get(taxHeadEstimate.getTaxHeadCode());\n\t\t\t\ttotal = demandDetailList.stream().map(DemandDetail::getTaxAmount).reduce(BigDecimal.ZERO,\n\t\t\t\t\t\tBigDecimal::add);\n\t\t\t\tdiffInTaxAmount = taxHeadEstimate.getEstimateAmount().subtract(total);\n\t\t\t\tif (diffInTaxAmount.compareTo(BigDecimal.ZERO) != 0) {\n\t\t\t\t\tnewDemandDetails.add(DemandDetail.builder().taxAmount(diffInTaxAmount)\n\t\t\t\t\t\t\t.taxHeadMasterCode(taxHeadEstimate.getTaxHeadCode()).tenantId(calculation.getTenantId())\n\t\t\t\t\t\t\t.collectionAmount(BigDecimal.ZERO).build());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tList<DemandDetail> combinedBillDetails = new LinkedList<>(demandDetails);\n\t\tif (!CollectionUtils.isEmpty(combinedBillDetails) && isDisconnectionRequest) {\n\t\t\tcombinedBillDetails.clear();\n\t\t\tcombinedBillDetails.addAll(newDemandDetails);\n\t\t} else\n\t\t\tcombinedBillDetails.addAll(newDemandDetails);\n\t\taddRoundOffTaxHead(calculation.getTenantId(), combinedBillDetails);\n\t\treturn combinedBillDetails;\n\t}", "public CreditCard(int pin, String number, String holder, Date expiryDate, int cvc){\r\n this.pin = pin;\r\n this.number = number;\r\n this.holder = holder;\r\n this.expiryDate = expiryDate;\r\n this.cvc = cvc;\r\n}", "private List<Object[]> getReporteRecursivo(Reporteador reporteadorSeleccionado, DetalleReporteador detallePadre, Date fechaDesde, Date fechaHasta, int idSucursal, int nivel, Map<Integer, BigDecimal> mapaValorVariables)\r\n/* 289: */ throws AS2Exception, IllegalArgumentException, ArithmeticException\r\n/* 290: */ {\r\n/* 291:315 */ List<DetalleReporteador> listaDetalleReporteador = null;\r\n/* 292:316 */ if (detallePadre == null) {\r\n/* 293:317 */ listaDetalleReporteador = reporteadorSeleccionado.getListaDetalleReporteador();\r\n/* 294: */ } else {\r\n/* 295:319 */ listaDetalleReporteador = detallePadre.getListaDetalleReporteadorHijo();\r\n/* 296: */ }\r\n/* 297:321 */ nivel++;\r\n/* 298: */ \r\n/* 299:323 */ List<Object[]> resultado = new ArrayList();\r\n/* 300:326 */ for (DetalleReporteador detalle : listaDetalleReporteador) {\r\n/* 301:327 */ if (detalle.isActivo())\r\n/* 302: */ {\r\n/* 303:328 */ DetalleReporteadorVariable detalleVariable = detalle.getDetalleReporteadorVariable();\r\n/* 304:329 */ Object[] fila = new Object[4];\r\n/* 305:330 */ fila[0] = Integer.valueOf(nivel);\r\n/* 306:331 */ fila[1] = detalle.getNombre();\r\n/* 307:332 */ fila[2] = detalle.getDescripcion();\r\n/* 308:334 */ if (detalle.getDetalleReporteadorVariable() != null)\r\n/* 309: */ {\r\n/* 310:335 */ BigDecimal valor = obtenerValorExpresion(detalleVariable, fechaDesde, fechaHasta, idSucursal, mapaValorVariables);\r\n/* 311:336 */ fila[3] = valor;\r\n/* 312: */ }\r\n/* 313:339 */ resultado.add(fila);\r\n/* 314: */ \r\n/* 315: */ \r\n/* 316:342 */ resultado\r\n/* 317:343 */ .addAll(getReporteRecursivo(reporteadorSeleccionado, detalle, fechaDesde, fechaHasta, idSucursal, nivel, mapaValorVariables));\r\n/* 318: */ }\r\n/* 319: */ }\r\n/* 320:347 */ return resultado;\r\n/* 321: */ }", "private int doComp() {\n\t\tDbTime totalTime = pubService.getDbTime();\n\t\tString beginDate = \"\";\n\t\tString endDate = pubService.getTotalDateStr();\n\t\tString yesterdayStr = pubService.getYesterdayStr();\n\t\t\n\t\tReBankAccept reBankAccept = new ReBankAccept();\n\t\treBankAccept.setOrgId(1);\n\t\treBankAccept.setCheckType(\"N\");\n\t\tList<ReBankAccept> reBankAcceptList= sqlSessionTemplate.selectList(\"com.tmount.db.order.dao.ReBankAcceptMapper.selectBySelective\",reBankAccept);\n\t\tSystem.out.println(\"...records...\"+reBankAcceptList.size()+\"...\");\n\t\tfor(ReBankAccept aReBankAccept:reBankAcceptList){\n\t\t\t\n\t\t\tString billOrder = aReBankAccept.getBankAccept()+\"\";\n\t\t\tDate payTime = aReBankAccept.getPayTime();\n\t\t\tSimpleDateFormat df = new SimpleDateFormat(\"yyyyMMdd\");\n\t\t\tGregorianCalendar gc = new GregorianCalendar();\n\t\t\tgc.setTime(payTime); \n\t\t\tString payDate=df.format(gc.getTime());\n\t\t\t\n\t\t\t\n\t\t\tSystem.out.println(\"payDate = \"+ payDate);\n\t\t\tSystem.out.println(\"billOrder = \"+ billOrder);\n\t\t\t\n\t\t\tStringBuffer strbuf = new StringBuffer();\n\t\t\tiRet = settle.QuerySingleOrder(payDate,billOrder,strbuf);\n\t\t\tif (iRet == 0)\n\t\t\t{\n\t\t\t\t//System.out.println(strbuf);\n\t\t\t\tString[] strArr = strbuf.toString().split(\"\\n\");\n\t\t\t\tif(strArr.length!=4){\n\t\t\t\t\tSystem.out.println(\"...strbuf format error...\");\n\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\tString billData = strArr[0];//交易日期\n\t\t\t\tString dealData = strArr[1];//处理日期\n\t\t\t\tString orderStatus = strArr[2];//定单状态 0-已结帐,1-已撤销,2-部分结帐,3-退款,4-未结帐,5-无效状态,6-未知状态\n\t\t\t\tString strAmount = strArr[3];//定单金额\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"billData:[\"+billData+\"]\");\n\t\t\t\tSystem.out.println(\"dealData:[\"+dealData+\"]\");\n\t\t\t\tSystem.out.println(\"orderStatus:[\"+orderStatus+\"]\");\n\t\t\t\tSystem.out.println(\"strAmount:[\"+strAmount+\"]\");\n\t\t\t\t\n\t\t\t\tif(\"0\".equals(orderStatus)){\n\t\t\t\t\tif(\"Y\".equals(aReBankAccept.getPayType())){//已经是支付状态\n\t\t\t\t\t\t\n\t\t\t\t\t}else{\n\t\t\t\t\t\tint payCount = sqlSessionTemplate.selectOne(\"com.tmount.db.order.dao.ReBankOrderAcceptMapper.countPayStatusByBankAccept\",aReBankAccept.getBankAccept());\n\t\t\t\t\t\tif(payCount>0){//银行流水对应的商城订单有支付完成的\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else{//银行流水对应的商城订单没有支付完成的,对该未结账订单进行 支付(商城的支付服务逻辑)、结账\n\t\t\t\t\t\t\tOrderService orderservice = new OrderService();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tlong payId = 0;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tpayId = orderService.userBankOrderPay(aReBankAccept.getBankAccept(),1,\"通过对账程序对本地的订单进行缴费\");\n\t\t\t\t\t\t\t\tSystem.out.println(\"@:***payId***[\"+payId+\"]\");\n\t\t\t\t\t\t\t} catch (ShopBusiException e) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t} catch (ShopParamException e) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t} catch (NumberFormatException e) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//此处调用封装支付服务的函数,并将函数返回值赋给payId\n\t\t\t\t\t\t\taReBankAccept.setPayType(\"Y\");\n\t\t\t\t\t\t\taReBankAccept.setPayCommitTime(pubService.getDbTime().getDbTime());\n\t\t\t\t\t\t\taReBankAccept.setPayId(payId);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\taReBankAccept.setCheckType(\"Y\");\t\n\t\t\t\t\tsqlSessionTemplate.update(\"com.tmount.db.order.dao.ReBankAcceptMapper.updateByPrimaryKeySelective\", aReBankAccept);\n\t\t\t\t\t\n\t\t\t\t\t//入银行结算表 对账成功写结算表\n\t\t\t\t\tBkBankChangeAccept bkBankChangeAccept = new BkBankChangeAccept();\n\t\t\t\t\tbkBankChangeAccept.setBankAccept(aReBankAccept.getBankAccept());\n\t\t\t\t\tbkBankChangeAccept.setOrgId(aReBankAccept.getOrgId());\n\t\t\t\t\tbkBankChangeAccept.setPrice(aReBankAccept.getPrice());\n\t\t\t\t\tbkBankChangeAccept.setPayTime(aReBankAccept.getPayTime());\n\t\t\t\t\tbkBankChangeAccept.setPayId(aReBankAccept.getPayId());\n\t\t\t\t\tsqlSessionTemplate.insert(\"com.tmount.db.order.dao.BkBankChangeAcceptMapper.insertSelective\",bkBankChangeAccept);\n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"...iRet...\"+iRet);\n\t\t\t\tSystem.out.println(settle.GetLastErr(iRet));\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"...totalTime.getDbTime().getHours()...\"+totalTime.getDbTime().getHours());\n\t\t\t\tSystem.out.println(\"...Long.parseLong(payDate)...\"+Long.parseLong(payDate));\n\t\t\t\tSystem.out.println(\"...Long.parseLong(pubService.getYesterdayStr())...\"+Long.parseLong(pubService.getYesterdayStr()));\n\t\t\t\t//招商银行订单的有效期是到第二天的1点(这里防止有遗漏,设置到两点之后失效)\n\t\t\t\tif(totalTime.getDbTime().getHours()>1&&Long.parseLong(payDate)<= Long.parseLong(pubService.getYesterdayStr())){\n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tmoveHis(aReBankAccept);\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\treturn 0;\n\t}", "@Test\n\tpublic void testChargePinDebitCardWithoutAmount() throws Exception {\n\t\tHashMap<String, Object> mapBody = new HashMap<String, Object>();\n\t\tmapBody.put(\"amount\", \"\");mapBody.put(\"currency\", \"USD\");\n\t\tmapBody.put(\"card\", returnMapCardWithCardPresent());\n\t\t\n\t\tHttpResponse chargeResponse = TestUtil.post(CCChargeUrl,\n\t\t\t\tCCChargeHeaderParams, mapBody);\n\t\tvalidateErrorRes(chargeResponse, 400, \"invalid_request\", \"PMT-4000\", \"Amount. is invalid.\", \"Amount.\", \"https://developer.intuit.com/v2/docs?redirectID=PayErrors\");\n\t}", "private void processDepartmentCredit(ReturnDocument rdoc) {\r\n if (rdoc.isDepartmentCreditRequired()) {\r\n this.processInternalBilling(rdoc);\r\n }\r\n }", "Map<Date, Float> getFullCost(Step step) throws SQLException;", "public DebitCredit(String id) {\n\t\tsuper(id);\n\t}", "@Override\r\n\tpublic TransferAmountResponseDto transfer(TransferAmountRequestDto transferAmountRequestDto) {\r\n\t\tlog.info(\"inside transaction service\");\r\n\r\n\t\tTransferAmountResponseDto transferAmountResponseDto = new TransferAmountResponseDto();\r\n\r\n\t\tTransaction debitTransaction = new Transaction();\r\n\t\tTransaction creditTransaction = new Transaction();\r\n\r\n\t\tAccount fromAccount = accountRepository.findByCustomerId(transferAmountRequestDto.getCustomerId());\r\n\t\tAccount toAccount = accountRepository.findByAccountNumber(transferAmountRequestDto.getCreditTo());\r\n\r\n\t\tif (fromAccount == null) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.ACCOUNT_NOT_FOUND);\r\n\t\t}\r\n\r\n\t\tif (toAccount == null) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.ACCOUNT_NOT_FOUND);\r\n\t\t}\r\n\r\n\t\tif (fromAccount.getAccountNumber().equalsIgnoreCase(toAccount.getAccountNumber())) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.INVALID_ACCOUNT);\r\n\t\t}\r\n\r\n\t\tBeneficiary existBeneficiary = beneficiaryRepository.findByCustomerAccountNumberAndBeneficiaryAccountNumber(\r\n\t\t\t\tfromAccount.getAccountNumber(), toAccount.getAccountNumber());\r\n\r\n\t\tif (existBeneficiary == null) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.NOT_BENEFICIARY);\r\n\t\t}\r\n\r\n\t\tif (fromAccount.getBalance() < transferAmountRequestDto.getTransferAmount()) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.INVALID_AMOUNT);\r\n\t\t}\r\n\r\n\t\tif (transferAmountRequestDto.getTransferAmount() <= 0) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.MINIMUM_AMOUNT);\r\n\t\t}\r\n\r\n\t\tdebitTransaction.setAccountNumber(fromAccount.getAccountNumber());\r\n\t\tdebitTransaction.setTransactionType(\"debit\");\r\n\t\tdebitTransaction.setTransferAmount(transferAmountRequestDto.getTransferAmount());\r\n\t\tdebitTransaction.setTransactionDate(LocalDateTime.now());\r\n\t\tdebitTransaction.setAccount(fromAccount);\r\n\r\n\t\tcreditTransaction.setAccountNumber(toAccount.getAccountNumber());\r\n\t\tcreditTransaction.setTransactionType(\"credit\");\r\n\t\tcreditTransaction.setTransferAmount(transferAmountRequestDto.getTransferAmount());\r\n\t\tcreditTransaction.setTransactionDate(LocalDateTime.now());\r\n\t\tcreditTransaction.setAccount(toAccount);\r\n\r\n\t\tdouble remainingBalance = fromAccount.getBalance() - transferAmountRequestDto.getTransferAmount();\r\n\t\tdouble updatedBalance = toAccount.getBalance() + transferAmountRequestDto.getTransferAmount();\r\n\r\n\t\tfromAccount.setBalance(remainingBalance);\r\n\t\ttoAccount.setBalance(updatedBalance);\r\n\r\n\t\taccountRepository.save(fromAccount);\r\n\r\n\t\tTransaction transaction = transactionRepository.save(debitTransaction);\r\n\t\tif (transaction.getTransactionId() == null) {\r\n\t\t\tthrow new CommonException(ExceptionConstants.TRANSACTION_FAILED);\r\n\t\t}\r\n\t\taccountRepository.save(toAccount);\r\n\r\n\t\ttransactionRepository.save(creditTransaction);\r\n\r\n\t\ttransferAmountResponseDto.setMessage(\"Amount Transferred successfully..\");\r\n\t\ttransferAmountResponseDto.setTransactionId(transaction.getTransactionId());\r\n\t\ttransferAmountResponseDto.setStatusCode(201);\r\n\t\treturn transferAmountResponseDto;\r\n\t}", "private void chargeInterest() {\n for(Map.Entry<String, Customer> entry : customers.entrySet()) {\n Customer customer = entry.getValue();\n payInterest(customer);\n }\n //collect interests from hasLoans\n for(Map.Entry<String, Customer> entry : hasloans.entrySet()) {\n Customer customer = entry.getValue();\n collectInterest(customer);\n }\n\n }", "public final List<com.iqoption.fragment.c.a.a.j> apply(Map<Integer, com.iqoption.core.microservices.risks.response.overnightfee.c> map) {\n Map<Integer, com.iqoption.core.microservices.risks.response.overnightfee.c> map2 = map;\n kotlin.jvm.internal.i.f(map2, \"overnightFee\");\n com.iqoption.core.microservices.risks.response.overnightfee.c cVar = (com.iqoption.core.microservices.risks.response.overnightfee.c) map2.get(Integer.valueOf(this.dhw.getActiveId()));\n if (cVar == null) {\n return new ArrayList();\n }\n List<com.iqoption.fragment.c.a.a.j> arrayList = new ArrayList();\n OvernightDay today = OvernightDay.Companion.today();\n com.iqoption.core.microservices.risks.response.overnightfee.d a = cVar.a(TimeUtil.bRM.anN(), today);\n arrayList.add(new com.iqoption.fragment.c.a.a.f(a != null ? Double.valueOf(a.ahn()) : null, a != null ? Double.valueOf(a.aho()) : null));\n arrayList.add(new com.iqoption.fragment.c.a.a.e());\n for (OvernightDay overnightDay : a.dhs) {\n arrayList.add(new com.iqoption.fragment.c.a.a.d(overnightDay.ordinal(), com.iqoption.core.d.getString(com.iqoption.util.k.a(overnightDay)), a != null ? TimeUtil.bRM.aQ(a.getTime()) : null, a != null ? Double.valueOf(a.ahn()) : null, a != null ? Double.valueOf(a.aho()) : null, today == overnightDay));\n }\n arrayList.add(new com.iqoption.fragment.c.a.a.c());\n return arrayList;\n }", "public ValueNamePair[] getCreditCards() {\n return getCreditCards(getPayAmt());\n }", "private List<Budget> listResults(ResultSet rs) throws SQLException{\n List<Budget> found = new ArrayList<Budget>();\n while (rs.next()){\n Budget x = new Budget();\n x.setDescription(rs.getString(\"bud_description\"));\n x.setCategory(rs.getString(\"bud_category\"));\n x.setBudgetAmount(rs.getDouble(\"bud_budgeted_amount\"));\n x.setActualAmount(rs.getDouble(\"bud_actual_amount\"));\n x.setId(rs.getInt(\"bud_key_id\"));\n }\n return found;\n }", "@Override\n\tpublic boolean credit(Integer id, double amount) {\n\t\tfor(Account account:accountList) {\n\t\t\tif(id.compareTo(account.returnAccountNumber()) == 0 ) {\n\t\t\t\taccount.credit(amount);;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public JSONObject getCNForGSTR3BTaxable(JSONObject reqParams) throws JSONException, ServiceException {\n String companyId=reqParams.optString(\"companyid\");\n JSONObject jSONObject = new JSONObject();\n double taxableAmountCN = 0d;\n double totalAmountCN = 0d;\n double IGSTAmount = 0d;\n double CGSTAmount = 0d;\n double SGSTAmount = 0d;\n double CESSAmount = 0d;\n\n /**\n * Get CN amount\n */\n reqParams.put(\"entitycolnum\", reqParams.optString(\"cnentitycolnum\"));\n reqParams.put(\"entityValue\", reqParams.optString(\"cnentityValue\"));\n List<Object> cnData = accEntityGstDao.getCNDNWithInvoiceDetailsInSql(reqParams);\n List<Object> cnWithoutInventory = accEntityGstDao.getCNAgainstCustomer(reqParams);\n if (cnWithoutInventory != null && !cnWithoutInventory.isEmpty()) {\n cnData.addAll(cnWithoutInventory);\n }\n /**\n * Add data for Cash Sales refund \n */\n reqParams.put(\"entitycolnum\", reqParams.optString(\"paymententitycolnum\"));\n reqParams.put(\"entityValue\", reqParams.optString(\"paymententityValue\"));\n List<Object> refundlist = accEntityGstDao.getCashRefundWithInvoiceDetailsInSql(reqParams);\n if (refundlist != null && refundlist.size() > 0) {\n cnData.addAll(refundlist);\n } \n if (!reqParams.optBoolean(GSTR3BConstants.DETAILED_VIEW_REPORT, false)) {\n for (Object object : cnData) {\n Object[] data = (Object[]) object;\n String term = data[1] != null ? data[1].toString() : \"\";\n double termamount = data[0] != null ? (Double) data[0] : 0;\n\n totalAmountCN = (Double) data[3];\n if (term.equalsIgnoreCase(LineLevelTerms.GSTName.get(\"OutputIGST\").toString())) {\n taxableAmountCN += data[2] != null ? (Double) data[2] : 0;\n IGSTAmount += termamount;\n } else if (term.equalsIgnoreCase(LineLevelTerms.GSTName.get(\"OutputCGST\").toString())) {\n taxableAmountCN += data[2] != null ? (Double) data[2] : 0;\n CGSTAmount += termamount;\n } else if (term.equalsIgnoreCase(LineLevelTerms.GSTName.get(\"OutputSGST\").toString())) {\n SGSTAmount += termamount;\n } else if (term.equalsIgnoreCase(LineLevelTerms.GSTName.get(\"OutputUTGST\").toString())) {\n SGSTAmount += termamount;\n } else if (term.equalsIgnoreCase(LineLevelTerms.GSTName.get(\"OutputCESS\").toString())) {\n CESSAmount += termamount;\n } else if (StringUtil.isNullOrEmpty(term)) {\n taxableAmountCN += data[2] != null ? (Double) data[2] : 0;\n }\n }\n\n jSONObject.put(\"taxableamt\", authHandler.formattedAmount(taxableAmountCN,companyId));\n jSONObject.put(\"igst\", authHandler.formattedAmount(IGSTAmount,companyId));\n jSONObject.put(\"cgst\", authHandler.formattedAmount(CGSTAmount,companyId));\n jSONObject.put(\"sgst\", authHandler.formattedAmount(SGSTAmount,companyId));\n jSONObject.put(\"csgst\", authHandler.formattedAmount(CESSAmount,companyId));\n jSONObject.put(\"totaltax\", authHandler.formattedAmount(IGSTAmount+CGSTAmount+SGSTAmount+CESSAmount,companyId));\n jSONObject.put(\"totalamount\",authHandler.formattedAmount(taxableAmountCN+IGSTAmount+CGSTAmount+SGSTAmount+CESSAmount,companyId));\n } else {\n jSONObject = accGSTReportService.getCreditNoteJSONArrayForGSTR3B(cnData, reqParams, companyId);\n }\n return jSONObject;\n }", "public ContratOffreDTO getCdd(){\n\t\tcdd = null;\n\t\tList<ContratOffreDTO> l = getNomenclatureDomainService().getContrats();\n\t\tfor(ContratOffreDTO c : l){\n\t\t\tif(c.getCodeCtrl().equalsIgnoreCase(DonneesStatic.CONTRAT_OFFRE_CODE_CTRL_CDD)){\n\t\t\t\tcdd=c;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn cdd;\n\t}", "@Mapping(source = \"rocCurve.aucValue\", target = \"aucValue\")\n ClassificationCostsDto map(ClassificationCostsReport classificationCostsReport);", "public PointDeductData getPointDeductData(Customer fromAccount, Customer toAccount, RewardCurrency fromRewardCurrency,double rewardQty) {\n\n // Create the PointDeductData object\n PointDeductData pointDeductData = new PointDeductData();\n\n\n // Set the fields\n pointDeductData.setMerchantNo(fromAccount.getCusMerchantNo());\n\n\n pointDeductData.setRedeemQty(rewardQty);\n\n\n pointDeductData.setRwdCurrencyId(fromRewardCurrency.getRwdCurrencyId());\n\n pointDeductData.setRwdCurrencyName(fromRewardCurrency.getRwdCurrencyName());\n\n pointDeductData.setLoyaltyId(fromAccount.getCusLoyaltyId());\n\n pointDeductData.setTxnLocation(fromAccount.getCusLocation());\n\n\n\n pointDeductData.setTxnDate(new Date(new java.util.Date().getTime()));\n\n pointDeductData.setTxnType(TransactionType.TRANSFER_POINT_FROM);\n\n pointDeductData.setExternalRef(toAccount.getCusLoyaltyId());\n\n\n // return the object\n return pointDeductData;\n\n\n }", "public interface ICreditRefundBorrow {\n}", "public Map<ReportKey,Double> computeAmount(List<Instruction> instructions) {\n\n Map<ReportKey,Double> result =\n instructions.stream().collect\n (groupingBy(instruction -> new GenerateKey().\n withAction(instruction.getAction()).\n withSettlementDate(\n getTradeDay(instruction.getCurrency(),\n instruction.getSettlementDate())).build(),\n summingDouble(this::calculateAmount))\n );\n\n\n\n return result;\n }", "public interface CreditCardAccountService {\n\n\npublic\tLoginResponseDto userLogin(LoginRequestDto loginRequestDto) throws InvalidUser;\npublic VerifyCreditCardResponseDto verifyCreditcard(Integer userId, VerifyCreditCardRequestDto verifyCreditCardRequestDto) throws InvalidCreditCard, InvalidUser;\n\n\tCreditCardDetailsResponseDto fetchCreditCardDetails(Integer userId) throws NotFoundException;\n\n\n\n}", "public void returnCard(Card card) {\n\t\t// Update counters in the deck.\n\t\tdealtCards.getAndDecrement();\n\t\tAtomicInteger cardsBySuit = dealtCardsBySuit.get(card.getSuit());\n\t\tcardsBySuit.getAndDecrement();\n\t}", "@SuppressWarnings(\"unchecked\")\n\t@Test\n\tpublic void testChargePinDebitCardWithoutKsn() throws Exception {\t\n\t\tHashMap<String, Object> mapBody = new HashMap<String, Object>();\n\t\tmapBody.put(\"amount\", 1.00);mapBody.put(\"currency\", \"USD\");\n\t\tHashMap<String, Object> card = returnMapCardWithCardPresent();\n\t\tHashMap<String, Object> cardPresent = (HashMap<String, Object>) card.get(\"cardPresent\");\n\t\tcardPresent.put(\"ksn\", \"\");\n\t\tcard.put(\"cardPresent\", cardPresent);\n\t\tmapBody.put(\"card\", card);\n\t\t\n\t\tHttpResponse response = TestUtil.post(CCChargeUrl,\n\t\t\t\tCCChargeHeaderParams, mapBody);\n\t\tvalidateErrorRes(response, 400, \"invalid_request\", \"PMT-4002\", \"SMID is required.\", \"SMID\", \"https://developer.intuit.com/v2/docs?redirectID=PayErrors\");\n\t}", "private final void d(com.iqoption.core.microservices.billing.response.deposit.d r21) {\n /*\n r20 = this;\n r0 = r20;\n r1 = r20.asp();\n r1 = r1.cCg;\n r2 = \"binding.depositAmountEdit\";\n kotlin.jvm.internal.i.e(r1, r2);\n if (r21 == 0) goto L_0x0158;\n L_0x000f:\n r2 = r0.cFG;\n r3 = 1;\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r2 = r1.getText();\n r2 = r2.toString();\n r4 = r0.cFG;\n r2 = kotlin.jvm.internal.i.y(r2, r4);\n r2 = r2 ^ r3;\n if (r2 == 0) goto L_0x0027;\n L_0x0025:\n goto L_0x0158;\n L_0x0027:\n r2 = r20.ass();\n r4 = 0;\n if (r2 == 0) goto L_0x0068;\n L_0x002e:\n r2 = (java.lang.Iterable) r2;\n r2 = r2.iterator();\n L_0x0034:\n r5 = r2.hasNext();\n if (r5 == 0) goto L_0x0050;\n L_0x003a:\n r5 = r2.next();\n r6 = r5;\n r6 = (com.iqoption.core.features.c.a) r6;\n r6 = r6.getName();\n r7 = r21.getName();\n r6 = kotlin.jvm.internal.i.y(r6, r7);\n if (r6 == 0) goto L_0x0034;\n L_0x004f:\n goto L_0x0051;\n L_0x0050:\n r5 = r4;\n L_0x0051:\n r5 = (com.iqoption.core.features.c.a) r5;\n if (r5 == 0) goto L_0x0068;\n L_0x0055:\n r6 = r5.Xy();\n if (r6 == 0) goto L_0x0068;\n L_0x005b:\n r7 = 0;\n r8 = 0;\n r9 = 1;\n r10 = 0;\n r11 = 0;\n r12 = 19;\n r13 = 0;\n r2 = com.iqoption.core.util.e.a(r6, r7, r8, r9, r10, r11, r12, r13);\n goto L_0x0069;\n L_0x0068:\n r2 = r4;\n L_0x0069:\n r5 = r0.ayL;\n if (r5 == 0) goto L_0x0084;\n L_0x006d:\n r5 = r5.Km();\n if (r5 == 0) goto L_0x0084;\n L_0x0073:\n r5 = r5.aar();\n if (r5 == 0) goto L_0x0084;\n L_0x0079:\n r6 = r21.getName();\n r5 = r5.get(r6);\n r5 = (java.util.ArrayList) r5;\n goto L_0x0085;\n L_0x0084:\n r5 = r4;\n L_0x0085:\n if (r2 != 0) goto L_0x00a5;\n L_0x0087:\n if (r5 == 0) goto L_0x00a5;\n L_0x0089:\n r2 = r20.asr();\n r2 = r2.getItems();\n r2 = kotlin.collections.u.bV(r2);\n r2 = (com.iqoption.deposit.light.d.b) r2;\n if (r2 == 0) goto L_0x00a4;\n L_0x0099:\n r2 = r2.asL();\n if (r2 == 0) goto L_0x00a4;\n L_0x009f:\n r2 = com.iqoption.deposit.f.a(r2);\n goto L_0x00a5;\n L_0x00a4:\n r2 = r4;\n L_0x00a5:\n r6 = r0.cxs;\n r7 = r0.cFE;\n r8 = r4;\n r8 = (java.lang.Double) r8;\n if (r2 != 0) goto L_0x00f4;\n L_0x00ae:\n r9 = r6 instanceof com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d;\n if (r9 == 0) goto L_0x00f4;\n L_0x00b2:\n if (r7 == 0) goto L_0x00f4;\n L_0x00b4:\n r6 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d) r6;\n r6 = r6.aaI();\n if (r6 == 0) goto L_0x00cd;\n L_0x00bc:\n r7 = r7.getName();\n r6 = r6.get(r7);\n r6 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d.b) r6;\n if (r6 == 0) goto L_0x00cd;\n L_0x00c8:\n r6 = r6.OL();\n goto L_0x00ce;\n L_0x00cd:\n r6 = r4;\n L_0x00ce:\n if (r6 == 0) goto L_0x00f5;\n L_0x00d0:\n r7 = r0.f(r6);\n if (r7 != 0) goto L_0x00f5;\n L_0x00d6:\n r8 = r6.doubleValue();\n r10 = 0;\n r11 = 0;\n r12 = 1;\n r13 = 0;\n r14 = 0;\n r15 = 0;\n r16 = 0;\n r2 = java.util.Locale.US;\n r7 = \"Locale.US\";\n kotlin.jvm.internal.i.e(r2, r7);\n r18 = 115; // 0x73 float:1.61E-43 double:5.7E-322;\n r19 = 0;\n r17 = r2;\n r2 = com.iqoption.core.util.e.a(r8, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19);\n goto L_0x00f5;\n L_0x00f4:\n r6 = r8;\n L_0x00f5:\n if (r2 == 0) goto L_0x00f8;\n L_0x00f7:\n goto L_0x00fa;\n L_0x00f8:\n r2 = \"\";\n L_0x00fa:\n r0.cFG = r2;\n r2 = (java.lang.CharSequence) r2;\n r1.setText(r2);\n r1 = r2.length();\n r2 = 0;\n if (r1 != 0) goto L_0x010a;\n L_0x0108:\n r1 = 1;\n goto L_0x010b;\n L_0x010a:\n r1 = 0;\n L_0x010b:\n if (r1 == 0) goto L_0x0155;\n L_0x010d:\n r1 = r0.cxs;\n r7 = r1 instanceof com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d;\n if (r7 != 0) goto L_0x0114;\n L_0x0113:\n r1 = r4;\n L_0x0114:\n r1 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d) r1;\n if (r1 == 0) goto L_0x011e;\n L_0x0118:\n r1 = r1.aaE();\n if (r1 == r3) goto L_0x0155;\n L_0x011e:\n if (r6 == 0) goto L_0x0122;\n L_0x0120:\n r1 = r6;\n goto L_0x0138;\n L_0x0122:\n if (r5 == 0) goto L_0x0137;\n L_0x0124:\n r5 = (java.util.List) r5;\n r1 = kotlin.collections.u.bV(r5);\n r1 = (com.iqoption.core.microservices.billing.response.deposit.e) r1;\n if (r1 == 0) goto L_0x0137;\n L_0x012e:\n r5 = r1.ZC();\n r1 = java.lang.Double.valueOf(r5);\n goto L_0x0138;\n L_0x0137:\n r1 = r4;\n L_0x0138:\n if (r1 == 0) goto L_0x013b;\n L_0x013a:\n goto L_0x0141;\n L_0x013b:\n r5 = 0;\n r1 = java.lang.Double.valueOf(r5);\n L_0x0141:\n r1 = r0.f(r1);\n if (r1 == 0) goto L_0x014b;\n L_0x0147:\n r4 = r1.getErrorMessage();\n L_0x014b:\n if (r1 == 0) goto L_0x0151;\n L_0x014d:\n r2 = r1.aso();\n L_0x0151:\n r0.u(r4, r2);\n goto L_0x0158;\n L_0x0155:\n r0.u(r4, r2);\n L_0x0158:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.d(com.iqoption.core.microservices.billing.response.deposit.d):void\");\n }", "ArrayList<VariableDiscount> getVariableDiscount(int customer_acc_no);", "public BigDecimal getLBR_TaxRateCredit();", "public JSONResponse pay(HashMap<String, String> parameters) {\n\t\tString pos = parameters.get(\"pos\"); \t\t\t\t\t\t// the point of sale code.\n\t\tString reservationid = parameters.get(\"reservationid\");\t\t// the ID of the reservation.\n\t\tString date = parameters.get(\"date\"); \t\t\t\t\t\t// the date of the payment.\n\t\tString emailaddress = parameters.get(\"emailaddress\"); \t\t// the email address of the payer.\n\t\tString cardholder = parameters.get(\"cardholder\");\t\t\t// the card holder name.\n\t\tString cardnumber = parameters.get(\"cardnumber\");\t\t\t// the card number.\n\t\tString cardmonth = parameters.get(\"cardmonth\");\t\t\t\t// the card expiry month.\n\t\tString cardyear = parameters.get(\"cardyear\");\t\t\t\t// the card expiry year.\n\t\tString cardcode = parameters.get(\"cardcode\");\t\t\t\t// the card CCV code.\n\t\tString amount = parameters.get(\"amount\");\t\t\t\t\t// the amount to be charged to the card.\n\t\tString remote_host = parameters.get(\"remote_host\");\t\t\t// the remote host URL.\n\n\t\tDouble value = Double.valueOf(amount);\n\t\tif (pos == null || pos.isEmpty() || Model.decrypt(pos).length() > 10) {throw new ServiceException(Error.pos_invalid, pos);}\n\t\tif (reservationid == null || reservationid.isEmpty() || reservationid.length() > 10) {throw new ServiceException(Error.reservation_id, reservationid);}\n\t\tif (emailaddress == null || emailaddress.isEmpty() || !Party.isEmailAddress(emailaddress)) {throw new ServiceException(Error.party_emailaddress, emailaddress);}\n\t\tif (cardholder == null || cardholder.isEmpty() || cardholder.length() > 100) {throw new ServiceException(Error.card_holder, cardholder);}\n\t\tif (cardnumber == null || cardnumber.isEmpty() || cardnumber.length() > 20) {throw new ServiceException(Error.card_number, cardnumber);}\n\t\tif (cardmonth == null || cardmonth.isEmpty() || cardmonth.length() != 2) {throw new ServiceException(Error.card_month, cardmonth);}\n\t\tif (cardyear == null || cardyear.isEmpty() || cardyear.length() != 4) {throw new ServiceException(Error.card_year, cardyear);}\n\t\tif (cardcode == null || cardcode.isEmpty() || cardcode.length() < 3) {throw new ServiceException(Error.card_code, cardcode);}\n\t\tif (value == null || value <= 0.0) {throw new ServiceException(Error.card_amount, amount);}\n\n\t\tSqlSession sqlSession = RazorServer.openSession();\n\t\tPayWidgetItem result = new PayWidgetItem();\n\t\ttry {\n\t\t\tJSONService.getParty(sqlSession, pos);\n\t\t\tReservation reservation = sqlSession.getMapper(ReservationMapper.class).read(reservationid);\n//\t\t\tParty customer = JSONService.getCustomer (sqlSession, emailaddress, familyname, firstname, reservation.getOrganizationid(), agent.getId());\n//\t\t\treservation.setCustomerid(customer.getId());\n//\t\t\tFinance finance = JSONService.getFinance(sqlSession, customer.getId(), cardholder, cardnumber, cardmonth, cardyear,\tcardcode);\n//\t\t\treservation.setFinanceid(finance.getId());\n//\t\t\treservation.setNotes(notes);\n//\t\t\tsqlSession.getMapper(ReservationMapper.class).update(reservation);\n\n\t\t\tElement element = PaygateHandler.getXML(reservation.getName(), cardholder, cardnumber, cardmonth + cardyear, value, reservation.getCurrency(), cardcode, emailaddress, remote_host);\n\n\t\t\tEvent<Journal> event = JSONService.cardReceipt(sqlSession, reservation, element, cardholder, value);\n\t\t\tresult.setId(reservation.getOrganizationid());\n\t\t\tresult.setName(event.getName());\n\t\t\tresult.setState(RazorWidget.State.SUCCESS.name());\n\t\t\tresult.setAmount(value);\n\t\t\tresult.setCurrency(reservation.getCurrency());\n\t\t\tresult.setMessage(JSONService.getNotes(element));\n\t\t\tsqlSession.commit();\n\t\t}\n\t\tcatch (Throwable x) {\n\t\t\tsqlSession.rollback();\n\t\t\tresult.setId(null);\n\t\t\tresult.setName(null);\n\t\t\tresult.setState(RazorWidget.State.FAILURE.name());\n\t\t\tresult.setAmount(value == null ? 0.0 : value);\n\t\t\tresult.setCurrency(Currency.Code.USD.name());\n\t\t\tresult.setMessage(x.getMessage());\n\t\t}\n\t\tfinally {sqlSession.close();}\n\t\treturn result;\n\t}", "Map<Date, Float> getFullCPC(Step step) throws SQLException;", "@Override\n public BigDecimal getTotalUnallocatedCredit(String customerId, Date atDate, EMCUserData userData) {\n BigDecimal outstandingCredit = null;\n\n //Get total outstanding credits for customer, which existed at atDate\n EMCQuery query = new EMCQuery(enumQueryTypes.SELECT, DebtorsOpenTransactions.class);\n query.addFieldAggregateFunction(\"credit\", \"SUM\");\n query.addFieldAggregateFunction(\"creditAmountSettled\", \"SUM\");\n\n //Customer is optional.\n if (customerId != null) {\n query.addAnd(\"customerId\", customerId);\n }\n\n //Bev requested that we remove this check. This will now show all unallocated credits,\n //regardless of whether or not they existed at atDate.\n //query.addAnd(\"createdDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n //Check that future payments are not included.\n query.addAnd(\"transactionDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n\n Object[] creditTotals = (Object[]) util.executeSingleResultQuery(query, userData);\n\n if (creditTotals != null) {\n BigDecimal totalCredit = creditTotals[0] == null ? BigDecimal.ZERO : (BigDecimal) creditTotals[0];\n BigDecimal totalCreditSettled = creditTotals[1] == null ? BigDecimal.ZERO : (BigDecimal) creditTotals[1];\n\n outstandingCredit = totalCredit.subtract(totalCreditSettled);\n }\n\n //If atDate less than today, ignore updates made to transactions between atDate and today.\n //Only check dates, not time\n Calendar atCalendar = Calendar.getInstance();\n atCalendar.setTime(atDate);\n atCalendar.set(Calendar.HOUR, 0);\n atCalendar.set(Calendar.MINUTE, 0);\n atCalendar.set(Calendar.SECOND, 0);\n atCalendar.set(Calendar.MILLISECOND, 0);\n\n Calendar nowCalendar = Calendar.getInstance();\n nowCalendar.setTime(Functions.nowDate());\n nowCalendar.set(Calendar.HOUR, 0);\n nowCalendar.set(Calendar.MINUTE, 0);\n nowCalendar.set(Calendar.SECOND, 0);\n nowCalendar.set(Calendar.MILLISECOND, 0);\n\n if (atCalendar.compareTo(nowCalendar) < 0) {\n EMCQuery creditQuery = new EMCQuery(enumQueryTypes.SELECT, DebtorsTransactionSettlementHistory.class);\n creditQuery.addFieldAggregateFunction(\"creditSettled\", \"SUM\");\n //Only include transactions that existed on atDate. Bev requested that we remove this check.\n //creditQuery.addAnd(\"transactionCreatedDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n\n //Only include transactions that fall on or before atDate.\n creditQuery.addAnd(\"creditTransactionDate\", atDate, EMCQueryConditions.LESS_THAN_EQ);\n\n //Customer Id is optional.\n if (customerId != null) {\n creditQuery.addAnd(\"customerId\", customerId);\n }\n\n //Only include transactions settled after atDate\n creditQuery.addAnd(\"createdDate\", atDate, EMCQueryConditions.GREATER_THAN);\n\n BigDecimal creditSettled = (BigDecimal) util.executeSingleResultQuery(creditQuery, userData);\n if (creditSettled == null) {\n creditSettled = BigDecimal.ZERO;\n }\n\n outstandingCredit = outstandingCredit.add(creditSettled);\n }\n\n return outstandingCredit;\n }", "int countByExample(CGcontractCreditExample example);", "java.util.List<com.dogecoin.protocols.payments.Protos.Output> \n getRefundToList();", "private boolean canAddAllBillsToRegister(Map<BillDenomination, Integer> creditBills) {\n for (Map.Entry<BillDenomination, Integer> entry : creditBills.entrySet()) {\n if (entry.getValue() < ZERO) {\n return false;\n }\n }\n return true;\n }", "@Override \npublic double getPaymentAmount() { \n return getCommissionRate() * getGrossSales(); \n}", "private void makeDeductionsfromPayments(int walletid, int due,int bal,ArrayList<Integer> l) {\n\t\tArrayList<Integer> l1=l;\n\t\tint toPay=due;\n\t\tint pocket=bal;\n\t\tint id=walletid;\n\t\tint deduction=pocket-toPay;\n\t\tString str=\"update wallet set balance=\"+deduction+\" where walletId=\"+id;\n\t\ttry {\n\t\t\tint count=stmt.executeUpdate(str);\n\t\t\n\t\t\t\tupdateOrders(id,l1);\n\t\t\t\tupdatePayments(id,toPay);\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\t\n\t}", "int insert(CGcontractCredit record);", "@Test\n\tpublic void testConvertAmountToCredits() {\n\t\tdouble amount = smsBillingImpl.convertCreditsToAmount(testCredits);\n\t\tdouble credits = smsBillingImpl.convertAmountToCredits(amount);\n\t\tAssert.assertTrue(credits == testCredits);\n\t}", "private void returnPaymentCredits(PdfPTable paymentSectionTable, BigDecimal returnCredits, Locale locale) {\n if (returnCredits.intValue() != 0) {\n PdfPCell creditSectionCell = new PdfPCell(new Phrase(getMessage(locale,\n \"pdf.receipt.newCreditsIssued\"),\n getFont(GREEN_COLOR, FONT_SIZE_12, Font.NORMAL)));\n PdfPCell creditAmountSectionCell = new PdfPCell(new Phrase(getFormattedAmount(returnCredits),\n getFont(GREEN_COLOR, FONT_SIZE_12,\n Font.NORMAL)));\n cellAlignment(creditSectionCell, Element.ALIGN_LEFT, GRAY_COLOR, Element.ALIGN_BOTTOM);\n cellAddingToTable(paymentSectionTable, creditSectionCell, Rectangle.NO_BORDER, 2, 15);\n cellAlignment(creditAmountSectionCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, creditAmountSectionCell, Rectangle.NO_BORDER, 0, 0);\n }\n }", "public Map<Suit, Integer> getDealtCardsBySuit() {\n\t\tMap<Suit, Integer> dealtCardsCount = new HashMap<Suit, Integer>();\n\t\tfor (Entry<Suit, AtomicInteger> entry : dealtCardsBySuit.entrySet()) {\n\t\t\tdealtCardsCount.put(entry.getKey(), entry.getValue().get());\n\t\t}\n\t\treturn dealtCardsCount;\n\t}", "@Override\n\tpublic Map<String, Object> fingViolationCarInfo(String query) throws Exception {\n\t\treturn responsitory.fingViolationCarInfo(query);\n\t}", "List<Pair<Member, BigDecimal>> getGrossProductPerMember(StatisticalDTO dto) throws DaoException;", "@Override\r\n public String showConsumerLoanInfo(Credit credit) {\n return credit.getCredit();\r\n }", "public List<PrestationCDI> listingContratCDIEnCours(Date d,Date deux)\n\t\t\tthrows DAOException {\n\t\tArrayList<PrestationCDI> liste = new ArrayList<PrestationCDI>();\n\t\tPrestationCDI prestation=null;\t\t\n\t\tTachesSAP tache=null;\n\t\tEmployeur employeur = null;\n\t\tIdentite identite=null;\n\t\tStatement st = null;\n\t\tResultSet res = null;\n\t\tString req = \" SELECT distinct(id_prestationcontrat) as c,\"\n\t\t\t\t+ DAOConstants.t_sapprestation\n\t\t\t\t+\".id_identite,id_employeur,id_tache,heuresminimois_pr, \"\n\t\t\t\t+ \"salairehor_pr,facsalairehor_pr,panier_pr,deplacement_pr, \"\n\t\t\t\t+ \"commentaire_pr,datedebut_pr,heurescontratsalarie FROM \" \n\t\t\t\t+ DAOConstants.t_sapprestation\n\t\t\t\t+\" inner join \"\n\t\t\t\t+DAOConstants.t_identite\n\t\t\t\t+\" on \"\n\t\t\t\t+ DAOConstants.t_sapprestation\n\t\t\t\t+\".id_identite=\"\n\t\t\t\t+DAOConstants.t_identite\n\t\t\t\t+\".id_identite\"\n\t\t\t\t+ \" where (datefin_pr is null or datefin_pr >'\"+d\n\t\t\t\t+\"') and datedebut_pr <='\"+deux\n\t\t\t\t+\"' order by nom_identite asc\";\n\n\t\ttry {\n\t\t\tst = connect.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,\n\t\t\t\t\tResultSet.CONCUR_READ_ONLY);\n\t\t\tres = st.executeQuery(req);\n\t\t\twhile (res.next()) {\n\t\t\t\tTachesSAPDAO serdao=new TachesSAPDAO();\n\t\t\t\ttache=serdao.findByID(res.getInt(4));\n\t\t\t\tEmployeurDAO empdao = new EmployeurDAO();\n\t\t\t\temployeur = empdao.findByID(res.getInt(3));\n\t\t\t\tIdentiteDAO idao=new IdentiteDAO();\n\t\t\t\t identite=idao.findByID(res.getInt(2));\n\t\t\t\t\n\n\t\t\t\t prestation = new PrestationCDI(res.getInt(1),identite,employeur,tache,res.getInt(5),\n\t\t\t\t\t\tres.getFloat(6),res.getFloat(7),res.getFloat(8),res.getFloat(9),res.getString(10),\n\t\t\t\t\t\tres.getDate(11),res.getInt(12));\n\t\t\t\tliste.add(prestation);\n\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\n\t\t\te.printStackTrace();\n\n\t\t} finally {\n\t\t\t// Fermeture du resultset\n\t\t\tDAOUtil.closeResultSet(res);\n\n\t\t\t// Fermeture du statement\n\t\t\tDAOUtil.closeStatement(st);\n\t\t}\n\n\t\treturn liste;\n\n\t}", "private void returnCardFundingSourceInfo(PdfPTable paymentSectionTable, PdfPCell cardNumberCell, Locale locale\n , BigDecimal amount, Date date) {\n PdfPCell amountSectionCell =\n new PdfPCell(new Phrase(getFormattedAmount(amount), getFont(null, FONT_SIZE_12, Font.NORMAL)));\n cellAlignment(cardNumberCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, cardNumberCell, Rectangle.NO_BORDER, 2, 15);\n\n cellAlignment(amountSectionCell, Element.ALIGN_RIGHT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, amountSectionCell, Rectangle.NO_BORDER, 0, 0);\n String message = getMessage(locale, \"pdf.receipt.refunded\", convertToDate(date.getTime()));\n PdfPCell amountChangedOnCell = new PdfPCell(new Phrase(message, getFont(null, FONT_SIZE_10, Font.ITALIC)));\n cellAlignment(amountChangedOnCell, Element.ALIGN_LEFT, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, amountChangedOnCell, Rectangle.NO_BORDER, 3, 15);\n PdfPCell localBlankSpaceCell = new PdfPCell(new Phrase(\" \", getFont(WHITE_COLOR, 8, Font.BOLD)));\n cellAlignment(localBlankSpaceCell, 0, GRAY_COLOR, 0);\n cellAddingToTable(paymentSectionTable, localBlankSpaceCell, Rectangle.NO_BORDER, 3, 0);\n }", "@Test\n\tpublic void testDeductMoney() {\n\t\tcard.addMoney(500);\n\t\tcard.deductMoney(200);\n\t\tassertEquals(400.0, card.getBalance());\n\t}" ]
[ "0.56549674", "0.5626875", "0.5592723", "0.5445255", "0.54204637", "0.5374038", "0.52906305", "0.5236852", "0.5157751", "0.51564413", "0.51238924", "0.509955", "0.50991255", "0.5093075", "0.50682086", "0.50568855", "0.5056224", "0.50387174", "0.50343907", "0.50277406", "0.5020601", "0.5019754", "0.5003504", "0.49821237", "0.4974543", "0.4969325", "0.4967309", "0.49459192", "0.49166235", "0.49157137", "0.49148586", "0.49101487", "0.489726", "0.4864112", "0.48582262", "0.48523974", "0.48292404", "0.48280042", "0.4827458", "0.4820625", "0.48144716", "0.48140773", "0.48105636", "0.48093224", "0.47923052", "0.47833386", "0.47743946", "0.476878", "0.47632962", "0.47516716", "0.47458097", "0.47369742", "0.4730734", "0.4727081", "0.47050995", "0.47020644", "0.46979183", "0.46962276", "0.4686046", "0.46749696", "0.46731573", "0.46724233", "0.4671135", "0.46685797", "0.4650388", "0.4648959", "0.46453655", "0.46442664", "0.46440956", "0.46437624", "0.46372962", "0.46370625", "0.46350986", "0.463445", "0.46300766", "0.46236327", "0.461359", "0.46063575", "0.46053782", "0.4601419", "0.4598042", "0.4596846", "0.45965403", "0.45943016", "0.4590085", "0.45899242", "0.45870465", "0.45789993", "0.45763615", "0.45677042", "0.45651034", "0.45632106", "0.45473713", "0.45456758", "0.45433617", "0.4539985", "0.4538826", "0.45353213", "0.45243663", "0.45204222", "0.45187202" ]
0.0
-1
/ Load policy header
private PolicyHeader loadPolicyHeader(String policyNo, String termBaseRecordId, PolicyViewMode desiredViewMode) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "loadPolicyHeader", new Object[]{policyNo, termBaseRecordId, desiredViewMode}); } String requestId = "dti.pm.policymgr.struts.MaintainPolicyAction&process=loadPolicyDetail"; String endQuoteId = null; if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_HEADER)) { RequestStorageManager.getInstance().remove(RequestStorageIds.POLICY_HEADER); } PolicyHeader policyHeader = getPolicyManager().loadPolicyHeader(policyNo, termBaseRecordId, desiredViewMode, endQuoteId, requestId, "PolicyPremiumInquirySevice: loadPolicyHeader", false); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "loadPolicyHeader", policyHeader); } return policyHeader; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private PolicyHeader loadPolicyHeader(HttpServletRequest request) {\r\n Logger l = LogUtils.enterLog(getClass(), \"loadPolicyHeader\", new Object[]{request});\r\n LogUtils.setPage(\"ActionClass:\"+getClass().getName());\r\n PolicyHeader policyHeader = null;\r\n String policyNo = \"\";\r\n //endorsement quote id used when policyViewMode=\"ENDQUOTE\"\r\n String endQuoteId = request.getParameter(\"endQuoteId\");\r\n if (\"null\".equalsIgnoreCase(endQuoteId)) {\r\n endQuoteId = \"\";\r\n }\r\n\r\n if (!StringUtils.isBlank(request.getParameter(RequestIds.POLICY_NO))) {\r\n policyNo = request.getParameter(RequestIds.POLICY_NO);\r\n }\r\n else {\r\n if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_NO)) {\r\n policyNo = (String) RequestStorageManager.getInstance().get(RequestStorageIds.POLICY_NO);\r\n }\r\n }\r\n\r\n if (!StringUtils.isBlank(policyNo)) {\r\n\r\n //if the policyNo is changed, unlock previour held lock\r\n if (UserSessionManager.getInstance().getUserSession().has(UserSessionIds.POLICY_HEADER)) {\r\n\r\n PolicyHeader previousPolicyHeader =\r\n (PolicyHeader) UserSessionManager.getInstance().getUserSession().get(UserSessionIds.POLICY_HEADER);\r\n if (previousPolicyHeader != null && !previousPolicyHeader.getPolicyNo().equals(policyNo)) {\r\n if (getLockManager().unLockPreviouslyHeldLock()) {\r\n UserSessionManager.getInstance().getUserSession().remove(UserSessionIds.POLICY_HEADER);\r\n }\r\n else {\r\n l.logp(Level.WARNING, getClass().getName(), \"execute\", \"For policy number:'\"+policyNo+\"', \" +\r\n \"it could not release the locks possible due to another user acquiring the lock in the meantime when the lock expired!\");\r\n }\r\n }\r\n }\r\n\r\n String policyTermHistoryId = null;\r\n PolicyViewMode policyViewMode = PolicyViewMode.WIP;\r\n\r\n if (request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID) != null) {\r\n if (!StringUtils.isBlank(request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID)))\r\n policyTermHistoryId = request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID);\r\n }\r\n else {\r\n // If there is an in progress workflow for this policyNo, system retrieves policyTermHistoryId from this workflow.\r\n WorkflowAgent wa = WorkflowAgentImpl.getInstance();\r\n if (wa.hasWorkflow(policyNo)) {\r\n policyTermHistoryId = (String) wa.getWorkflowAttribute(policyNo, RequestIds.POLICY_TERM_HISTORY_ID);\r\n }\r\n else if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_TERM_HISTORY_ID)) {\r\n policyTermHistoryId = RequestStorageManager.getInstance().get(RequestStorageIds.POLICY_TERM_HISTORY_ID).toString();\r\n }\r\n }\r\n\r\n // If there is an in progress workflow for this policyNo, system retrieves endQuoteId & policyViewMode from this workflow.\r\n WorkflowAgent wa = WorkflowAgentImpl.getInstance();\r\n String polViewMode = \"\";\r\n if (wa.hasWorkflow(policyNo)) {\r\n if(StringUtils.isBlank(endQuoteId) && wa.hasWorkflowAttribute(policyNo, RequestIds.END_QUOTE_ID)) {\r\n endQuoteId = (String) wa.getWorkflowAttribute(policyNo, RequestIds.END_QUOTE_ID);\r\n if (wa.hasWorkflowAttribute(policyNo, RequestIds.POLICY_VIEW_MODE)) {\r\n polViewMode = (String) wa.getWorkflowAttribute(policyNo, RequestIds.POLICY_VIEW_MODE);\r\n }\r\n }\r\n }\r\n String viewMode = !StringUtils.isBlank(polViewMode)? polViewMode : request.getParameter(RequestIds.POLICY_VIEW_MODE);\r\n\r\n if (!StringUtils.isBlank(viewMode)) {\r\n if (viewMode.indexOf(PolicyViewMode.ENDQUOTE.getName()) > -1) {\r\n viewMode = PolicyViewMode.ENDQUOTE.getName();\r\n }\r\n policyViewMode = PolicyViewMode.getInstance(viewMode);\r\n }\r\n\r\n/* String policyLockId = \"\";\r\n if (request.getParameter(RequestIds.POLICY_LOCK_ID) != null) {\r\n policyLockId = request.getParameter(RequestIds.POLICY_LOCK_ID);\r\n }*/\r\n\r\n try {\r\n PolicyManager polMgr = getPolicyManager();\r\n String process = request.getParameter(\"process\");\r\n String requestId = getClass().getName() + \"&process=\" + process;\r\n boolean isMonitorPolicy = isMonitorPolicyProcess(process);\r\n if (request.getParameter(POLICY_PHASE_CODE) != null) {\r\n RequestStorageManager.getInstance().set(POLICY_PHASE_CODE, request.getParameter(POLICY_PHASE_CODE));\r\n }\r\n policyHeader = polMgr.loadPolicyHeader(policyNo, policyTermHistoryId, policyViewMode, endQuoteId, requestId, process, isMonitorPolicy);\r\n\r\n String activityDisplayInformation = MessageManager.getInstance().formatMessage(\r\n \"cs.policy.activityHistory.displayInformation\",\r\n new String[]{policyHeader.getPolicyHolderName()});\r\n\r\n getActivityHistoryManager().recordActivityHistory(\r\n ApplicationContext.getInstance().getProperty(\"applicationId\", \"Policy\"),\r\n \"POLICY\", policyHeader.getPolicyNo(), policyHeader.getPolicyId(),\r\n \"\", activityDisplayInformation, \"\");\r\n }\r\n catch (Exception e) {\r\n AppException ae = ExceptionHelper.getInstance().handleException(\"Unable to find policy information for : \" + policyNo, e);\r\n l.throwing(getClass().getName(), \"loadPolicyHeader\", ae);\r\n throw ae;\r\n }\r\n\r\n request.setAttribute(RequestIds.POLICY_HEADER, policyHeader);\r\n request.setAttribute(RequestIds.SELECTED_POLICY_VIEW_MODE, policyHeader.getPolicyIdentifier().getPolicyViewMode());\r\n request.setAttribute(RequestIds.IS_POLICY_VIEW_MODE_VISIBLE, YesNoFlag.getInstance(policyHeader.isShowViewMode()));\r\n //request.setAttribute(RequestIds.POLICY_LOCK_ID, policyHeader.getPolicyIdentifier().getPolicyLockId());\r\n }\r\n else {\r\n try {\r\n if (getLockManager().unLockPreviouslyHeldLock()) {\r\n UserSessionManager.getInstance().getUserSession().remove(UserSessionIds.POLICY_HEADER);\r\n }\r\n else {\r\n throw new AppException(\"Unable to unlock previously held lock.\");\r\n }\r\n UserCacheManager.getInstance().remove(UserCacheManager.POLICY_OASIS_FIELDS_CACHE);\r\n }\r\n catch (Exception e) {\r\n AppException ae = ExceptionHelper.getInstance().handleException(\"Unable to find policy information for : \" + policyNo, e);\r\n l.throwing(getClass().getName(), \"loadPolicyHeader\", ae);\r\n throw ae;\r\n }\r\n }\r\n\r\n if (policyHeader != null) {\r\n if (UserSessionManager.getInstance().getUserSession().has(RequestIds.PREVIOUS_POLICY_NO) &&\r\n policyHeader.getPolicyNo().equals(UserSessionManager.getInstance().getUserSession().get(RequestIds.PREVIOUS_POLICY_NO))) {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"Y\");\r\n }\r\n else {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"N\");\r\n }\r\n UserSessionManager.getInstance().getUserSession().set(RequestIds.PREVIOUS_POLICY_NO, policyHeader.getPolicyNo());\r\n }\r\n else {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"N\");\r\n }\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadPolicyHeader\", policyHeader);\r\n }\r\n return policyHeader;\r\n }", "@Override\r\n\tpublic void loadHeader() {\n\r\n\t}", "HttpRequest(){\n HttpHeader.getInstance().loadHeaderList(\"src/main/resources/headerList.txt\");\n }", "public boolean requiresSecurityPolicy()\n {\n return true;\n }", "protected PolicyHeader reloadPolicyHeader(HttpServletRequest request) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"reloadPolicyHeader\", new Object[]{request});\r\n }\r\n\r\n request.removeAttribute(RequestIds.POLICY_HEADER);\r\n RequestStorageManager.getInstance().remove(RequestStorageIds.POLICY_HEADER);\r\n PolicyHeader policyHeader = loadPolicyHeader(request);\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"reloadPolicyHeader\", policyHeader);\r\n }\r\n\r\n return policyHeader;\r\n }", "public boolean updatePolicyHeader(HttpServletRequest request, PolicyHeader policyHeader) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"updatePolicyHeader\", new Object[]{policyHeader});\r\n }\r\n\r\n boolean hasRisk = true;\r\n\r\n try {\r\n //Try to load risk header\r\n String riskId = request.getParameter(RequestIds.RISK_ID);\r\n // If the riskId is not specified, the first riskId is loaded.\r\n policyHeader = getRiskManager().loadRiskHeader(policyHeader, riskId);\r\n }\r\n catch (AppException ae) {\r\n hasRisk = false;\r\n }\r\n\r\n if (policyHeader.hasRiskHeader()) {\r\n //Load the coverage header if coverageId is existing in the request.\r\n String coverageId = request.getParameter(RequestIds.COVERAGE_ID);\r\n if (coverageId != null && Long.parseLong(coverageId) > 0) {\r\n policyHeader = getCoverageManager().loadCoverageHeader(policyHeader, coverageId);\r\n }\r\n }\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"updatePolicyHeader\", hasRisk);\r\n }\r\n return hasRisk;\r\n }", "private String calculateAllowHeaders(Map<String, String> queryHeaders) {\n\t\t\treturn System.getProperty(ACCESS_CONTROL_ALLOW_HEADER_PROPERTY_NAME,\n\t\t\t\t\tDEFAULT_ALLOWED_HEADERS);\n\t\t}", "void doHead(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;", "ContentSecurityPolicy getContentSecurityPolicy();", "boolean hasHttpLoadBalancing();", "private HeaderUtil() {}", "Policy _get_policy(int policy_type);", "private void loadPolicy() {\n loadSavedGlobalSetting();\n loadDefaultPolicy();\n loadSavedSetting();\n saveSetting();\n }", "private boolean inspectHeader() throws UrlCacheException {\n\n\t\tif(header.contains(\"HTTP/1.1 2\")){\n\t\t\treturn true;\n\t\t}\n\t\telse if(header.contains(\"HTTP/1.1 304\"))\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t\tthrow new UrlCacheException();\n\t\t\n\t}", "String getBlockPolicy();", "public void setPolicy(short policy) {\n\t\t_policy = policy;\n\t}", "public interface PrivacyHeader extends Header\n{\n\n /**\n * Name of PrivacyHeader\n */\n public final static String NAME = \"Privacy\";\n\n\n /**\n * Set Privacy header value\n * @param privacy -- privacy type to set.\n */\n public void setPrivacy(String privacy) throws ParseException;\n\n /**\n * Get Privacy header value\n * @return privacy token name\n */\n public String getPrivacy();\n\n\n}", "public void Verify_Expected_Header_Visibility()\r\n\t{\r\n\t\tString Runtime_Header_text=Page_header.getText();\r\n\t\tif(Runtime_Header_text.equals(Exp_page_header))\r\n\t\t\tSystem.out.println(\"Expected Header visible at webpage\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"Expected Header not visible at webpage\");\r\n\t}", "private void serverHeader(\n HttpHeaderFW header)\n {\n serverHeader |= header.name().value().equals(context.nameBuffer(54));\n }", "String privacyPolicy();", "private Record loadPolicyInformation(Record inputRecord, PolicyHeader policyHeader) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"loadPolicyInformation\", new Object[]{inputRecord, policyHeader});\r\n }\r\n\r\n Record output = getPolicyManager().loadPolicyDetail(policyHeader, inputRecord);\r\n output.setFields(policyHeader.toRecord());\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadPolicyInformation\", output);\r\n }\r\n\r\n return output;\r\n }", "@Override\n public void loadFromRequestAdditional(PortletRequest request) {\n // ProtectBlock extraLoadFromRequestAdditional\n // ProtectBlock End\n }", "private void loadNavHeader() {\n // name, website\n txtName.setText(StoreData.LoadString(Constants.NAME,\"Anonymous\",getApplicationContext()));\n txtWebsite.setText(StoreData.LoadString(Constants.EMAIL,\"anonymous\",getApplicationContext()));\n urlProfileImg = StoreData.LoadString(Constants.IMGURL,\"\",getApplicationContext());\n // loading header background image\n Glide.with(this).load(urlNavHeaderBg)\n .crossFade()\n .diskCacheStrategy(DiskCacheStrategy.ALL)\n .into(imgNavHeaderBg);\n\n // Loading profile image\n Glide.with(this).load(urlProfileImg)\n .crossFade()\n .placeholder(R.drawable.anonymous_profile_pic)\n .error(R.drawable.anonymous_profile_pic)\n .thumbnail(0.5f)\n .bitmapTransform(new CircleTransform(this))\n .diskCacheStrategy(DiskCacheStrategy.ALL)\n .into(imgProfile);\n\n // showing dot next to notifications label\n navigationView.getMenu().getItem(3).setActionView(R.layout.menu_dot);\n }", "@Override\n public Exp getBasePolicyCode() {\n return null;\n }", "@Override\n\t\tpublic String getHeader(String name) {\n\t\t\treturn null;\n\t\t}", "default boolean hasHeader() {\n return true;\n }", "@Override \n public String getHeader(String name) { \n String value = super.getHeader(encodeXSS(name)); \n //the following sentences will be replaced by logging sentence in actual project \n //System.out.println(\"The original value received from getHeader() is:\"+value); \n if (value != null) { \n value = encodeXSS(value); \n } \n \n //the following sentences will be replaced by logging sentence in actual project \n // System.out.println(\"After handling XSS ,the actual value is:\"+value); \n // System.out.println(); \n \n return value; \n }", "public boolean supportsPreemptiveAuthorization() {\n/* 225 */ return true;\n/* */ }", "Headers getHeaders();", "protected void addDynamicHeaders() {\n }", "String getLbPolicy() {\n return lbPolicy;\n }", "@Override\n public String getHeader(String name) {\n if (name.equalsIgnoreCase(\"Authorization\")) {\n return getAuthorizationHeader();\n } else {\n return super.getHeader(name);\n }\n }", "private void setIPv4HdrInclOpt(boolean hdrincl) {\n\t\tfinal byte[] VAL01={ 0x01 };\n\t\tfinal byte[] VAL00={ 0x00 }; \n\t\tsetsockopt(Ip4Packet.IPPROTO_IP,IP_HDRINCL,hdrincl?VAL01:VAL00,0,1);\n\t}", "public static void preLoadInjectHeader(WebView mWebView) {\n mWebView.setBackgroundColor(Color.TRANSPARENT);\n mWebView.setVisibility(View.INVISIBLE);\n }", "String getHeader(HttpServletRequest request, String name) throws ValidationException;", "private Header[] requestHeadMaker() {\n\t\tHeader[] header = {\n\t\t\t\tnew BasicHeader(\"User-Agent\", \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36\")\n\t\t\t\t//new BasicHeader(HttpHeaders.USER_AGENT, \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36\")\n\t\t\t, new BasicHeader(\"Accpet-Language\", \"ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6\")\n\t\t\t, new BasicHeader(\"Accept-Charset\", \"application/x-www-form-urlencoded; charset=UTF-8\")\n\t\t\t, new BasicHeader(\"Origin\", \"https://developer.riotgames.com\")\n\t\t\t, //new BasicHeader(\"X-Riot-Token\", riotApiKey)\n\t\t};\n\t\treturn header;\n\t}", "default boolean visitHeader() {\n\t\treturn true;\n\t}", "String getResponseHeader();", "private void setUpForCrossBrowser() {\n String origin = request.getHeader(\"Origin\");\n if (origin==null || origin.length()==0) {\n //this does not always work, but what else can we do?\n origin=\"*\";\n }\n response.setHeader(\"Access-Control-Allow-Origin\", origin);\n response.setHeader(\"Access-Control-Allow-Credentials\", \"true\");\n response.setHeader(\"Access-Control-Allow-Methods\", \"GET, POST, OPTIONS, PUT, DELETE\");\n response.setHeader(\"Access-Control-Allow-Headers\", \"Origin, X-Requested-With, Content-Type, Accept, Authorization, If-Modified-Since\");\n response.setHeader(\"Access-Control-Max-Age\", \"1\");\n response.setHeader(\"Vary\", \"*\");\n\n //default content type is JSON set it otherwise if you need something different\n response.setContentType(\"application/json; charset=utf-8\");\n }", "private static String getHTTPHeader(PortletRequest request, String name) {\n String value = null;\n String portalInfo = request.getPortalContext().getPortalInfo()\n .toLowerCase();\n if (portalInfo.contains(\"liferay\")) {\n value = getLiferayHTTPHeader(request, name);\n } else if (portalInfo.contains(\"gatein\")) {\n value = getGateInHTTPHeader(request, name);\n }\n return value;\n }", "void load(Request req);", "public static void setP3P(final HttpServletResponse response)\r\n {\n response.setHeader(\"P3P\", \"policyref=\\\"http://sawdust-games.appspot.com/w3c/p3p.xml\\\",CP=\\\"SAWD\\\"\");\r\n }", "public SharedActivationPolicyPermission(String policy) {\n\tthis(policy, init(policy));\n }", "private void loadNavHeader() {\n // name, website\n txtName.setText(\"Ashish Jain\");\n txtWebsite.setText(\"[email protected]\");\n\n navigationView.getMenu().getItem(3).setActionView(R.layout.menu_dot);\n }", "protected void updateHeader() {\n\t}", "public String getCacheControl()\r\n/* 157: */ {\r\n/* 158:236 */ return getFirst(\"Cache-Control\");\r\n/* 159: */ }", "public void renderHead(IHeaderResponse response) {\n\n\n\t\t//get Sakai skin\n\t\tString skinRepo = sakaiProxy.getSkinRepoProperty();\n\t\tString toolCSS = sakaiProxy.getToolSkinCSS(skinRepo);\n\t\tString toolBaseCSS = skinRepo + \"/tool_base.css\";\n\n\t\t//Sakai additions\n\t\tresponse.renderJavascriptReference(\"/library/js/headscripts.js\");\n\t\tresponse.renderCSSReference(toolBaseCSS);\n\t\tresponse.renderCSSReference(toolCSS);\n\t\tresponse.renderOnLoadJavascript(\"setMainFrameHeight( window.name )\");\n\n\t\t//Tool additions (at end so we can override if required)\n\t\tresponse.renderString(\"<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=UTF-8\\\" />\");\n\t\t//response.renderCSSReference(\"css/my_tool_styles.css\");\n\t\t//response.renderJavascriptReference(\"js/my_tool_javascript.js\");\n\n\t}", "private void setAccessControlHeaders(HttpServletResponse response) {\r\n\t response.setHeader(\"Access-Control-Allow-Origin\", \"*\");\r\n\t response.setHeader(\"Access-Control-Allow-Methods\", \"GET, PUT, POST, DELETE\");\r\n\t }", "public void onHeaderRefresing();", "private static void addParleyHttpHeaders(Request.Builder requestBuilder) {\n requestBuilder.addHeader(HEADER_PARLEY_IDENTIFICATION, Parley.getInstance().getSecret() + \":\" + Parley.getInstance().getUniqueDeviceIdentifier());\n\n if (Parley.getInstance().getUserAuthorization() != null) {\n requestBuilder.addHeader(HEADER_PARLEY_AUTHORIZATION, Parley.getInstance().getUserAuthorization());\n }\n }", "public void setPolicyLine(java.lang.String value);", "@XmlElement(name = \"source_policy\")\r\n public ProtectionSourcePolicy getSourcePolicy() {\r\n return sourcePolicy;\r\n }", "@Override\n public void setLoadOnStartup(int los) {\n }", "@Override\n public void addLoadHistoryHeader(boolean showLoader) throws RemoteException {\n }", "RequestHeaders headers();", "@Override\n public boolean containsHeader(String arg0) {\n return false;\n }", "@Override\n public String getHeaderField(String name) {\n return jarUrlConnection.getHeaderField(name);\n }", "private void validatePreferHeader(ODataRequest request) throws ODataHandlerException {\n List<String> returnPreference = request.getHeaders(PREFER);\n if (null != returnPreference) {\n for (String preference : returnPreference) {\n if (preference.equals(RETURN_MINIMAL) || preference.equals(RETURN_REPRESENTATION)) {\n throw new ODataHandlerException(\"Prefer Header not supported: \" + preference,\n ODataHandlerException.MessageKeys.INVALID_PREFER_HEADER, preference);\n } \n }\n }\n }", "public void createOnlyLBPolicy(){\n\t\t\n\t\tIterator<CacheObject> ican = cacheList.iterator();\n\t\t\n\t\tint objcounter = 0;\n\t\t\n\t\twhile(ican.hasNext() && objcounter < (OBJ_FOR_REQ)){\n\t\t\t\n\t\t\tobjcounter ++;\n\t\t\tCacheObject tempCacheObject = ican.next();\n\t\t\tIterator<ASServer> itm = manager.getASServers().values().iterator();\n\t\t\twhile(itm.hasNext()){\n\t\t\t\t\n\t\t\t\tASServer as = itm.next();\n\t\t\t\tif(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(tempCacheObject.cacheKey) == null){\n\t\t\t\t\t//System.out.println(\"Mapping Map is NULL\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tArrayList<String> urllist = new ArrayList<String>(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(tempCacheObject.cacheKey));\n\t\t\t\tIterator<String> iurl = urllist.iterator();\n\t\t\t\twhile(iurl.hasNext()){\n\t\t\t\t\tString url = iurl.next();\n\t\t\t\t\tif(!urlList.contains(url)){\n\t\t\t\t\t\turlList.add(url);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint urlcounter = 0;\n\t\tint urllistsize = urlList.size();\n\t\tCollection<String> it1 = serverList.keySet();\n\t\tArrayList<String> server = new ArrayList<String>(it1);\n\t\t\n\t\twhile(urlcounter < urllistsize){\n\t\t\t\n\t\t\tString serId = server.get( (urlcounter) % NO_SERVERS );\n\t\t\tthis.currentLBPolicy.mapUrlToServers(urlList.get(urlcounter++), Analyser.resolveHost(serId));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(\"------------LBPolicy start---------------\");\n//\t\tSystem.out.println(currentLBPolicy);\n//\t\t\n\t\tSystem.out.println(\"Number of entries in LBPolicy are: \" + currentLBPolicy.policyMap.size() );\n//\t\n\t\tSystem.out.println(\"------------LBPolicy end-----------------\");\n\t\t/*\n\t\tif(mLogger.isInfoEnabled()){\n\t\t\tmLogger.log(Priority.INFO, \"LBPolicy being printed\");\n\t\tmLogger.log(Priority.INFO, \":\" + this.currentLBPolicy);\n\t\t\n\t}\n\t\t*/\n\t}", "public abstract String header();", "private static elf32_phdr parseProgramHeader(byte[] header){\n\t\tElfType32.elf32_phdr phdr = new ElfType32.elf32_phdr();\n\t\tphdr.p_type = Utils.copyBytes(header, 0, 4);\n\t\tphdr.p_offset = Utils.copyBytes(header, 4, 4);\n\t\tphdr.p_vaddr = Utils.copyBytes(header, 8, 4);\n\t\tphdr.p_paddr = Utils.copyBytes(header, 12, 4);\n\t\tphdr.p_filesz = Utils.copyBytes(header, 16, 4);\n\t\tphdr.p_memsz = Utils.copyBytes(header, 20, 4);\n\t\tphdr.p_flags = Utils.copyBytes(header, 24, 4);\n\t\tphdr.p_align = Utils.copyBytes(header, 28, 4);\n\t\treturn phdr;\n\t\t\n\t}", "public String getAbyssPolicy()\n {\n return m_AbyssPolicy;\n }", "public interface TlsPolicy {\n \n boolean providesConfidentiality();\n \n boolean providesAuthentication();\n \n boolean providesIntegrity();\n \n\n X509ExtendedTrustManager getTrustManager();\n\n /**\n * NOTE: when using HttpsURLConnection, the hostname verifier is only \n * called if the server certificate does not match the address used to\n * connect. \n * When using Apache's StrictHostnameVerifier, the failure\n * message looks like \"HTTPS hostname wrong: should be <192.168.1.100>\"\n * When using our DenyAllHostnameVerifier, the failure message\n * looks like \"DENY-ALL\"\n * \n * \n * @return \n */\n X509HostnameVerifier getHostnameVerifier();\n \n /**\n * Due to the architecture of the Java SSLContext and the workaround for\n * connection pooling with TlsPolicyManager, the protocol selector must\n * be known prior to using the TlsPolicyManager. The TlsConnection \n * class provides a convenience function for creating the SSLContext \n * using the protocol selector.\n * be known \n * @return \n */\n ProtocolSelector getProtocolSelector();\n}", "void enableSecurity();", "String decideResponseOriginHeader(List<String> allowed, String origin) {\n\t\tif (allowed == null || allowed.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\tif (allowed.contains(\"*\")) {\n\t\t\treturn \"*\";\n\t\t}\n\t\tif (allowed.contains(origin)) {\n\t\t\treturn origin;\n\t\t}\n\t\treturn null;\n\t}", "public interface RequestSecurityPolicy {\n /**\n * When receiving a certificate challenge from Android, the SDK will apply the selected policy for HttpsURLConnection object.\n */\n void applySecurityPolicy(HttpsURLConnection connection);\n}", "private ModelAndView handleScriptGetReq(HttpServletResponse response, final String agent_type)\n {\n \tif(agent_type.equals(CUSTOM_HTTP_HEADER_AGENT_TYPE_VALUE))\n\t{ \t\n\t response.setHeader(\"WWW-Authenticate\", \"Basic realm=\\\"ESGF\\\"\");\n\t response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);\n\t}\t \n\treturn null; /* Do not return a view. */\n }", "protected void addAuthorizationRequestHeader(HttpState state,\n HttpConnection conn)\n throws IOException, HttpException {\n LOG.trace(\"enter HttpMethodBase.addAuthorizationRequestHeader(\"\n + \"HttpState, HttpConnection)\");\n\n // add authorization header, if needed\n if (getRequestHeader(HttpAuthenticator.WWW_AUTH_RESP) == null) {\n Header[] challenges = getResponseHeaderGroup().getHeaders(\n HttpAuthenticator.WWW_AUTH);\n if (challenges.length > 0) {\n try {\n AuthScheme authscheme = HttpAuthenticator.selectAuthScheme(challenges);\n HttpAuthenticator.authenticate(authscheme, this, conn, state);\n } catch (HttpException e) {\n // log and move on\n if (LOG.isErrorEnabled()) {\n LOG.error(e.getMessage(), e);\n }\n }\n }\n }\n }", "public Policy _get_policy(int policy_type) {\n throw new NO_IMPLEMENT(reason);\n }", "@Override\n\t\t\tpublic boolean shouldOverrideUrlLoading(WebView view, String url) {\n\t\t\t\tif (url.startsWith(\"http://www.cognustechnology.com/\")) {\n\t\t\t\t\t// authorization complete hide webview for now.\n//\t\t\t\t\twebview.setVisibility(View.GONE);\n\n\t\t\t\t\tUri uri = Uri.parse(url);\n\t\t\t\t\tLoader loader = new Loader();\n\t\t\t\t\tloader.execute(uri);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\treturn super.shouldOverrideUrlLoading(view, url);\n\t\t\t}", "public void load() {\n setRemoteUser(\"\");\n setAuthCode(AuthSource.DENIED); \n \n if(pageContext==null) {\n return;\n }\n \n session=(HttpSession)getPageContext().getSession();\n setRemoteUser(Utilities.nvl((String)session.getAttribute(\"remoteUser\"), \"\"));\n setAuthCode(Utilities.nvl((String)session.getAttribute(\"authCode\"), AuthSource.DENIED));\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getPolicyLine();", "private void initializeKnownHeaders() {\r\n needParceHeader = true;\r\n \r\n addMainHeader(\"city\", getPossibleHeaders(DataLoadPreferences.NH_CITY));\r\n addMainHeader(\"msc\", getPossibleHeaders(DataLoadPreferences.NH_MSC));\r\n addMainHeader(\"bsc\", getPossibleHeaders(DataLoadPreferences.NH_BSC));\r\n addMainIdentityHeader(\"site\", getPossibleHeaders(DataLoadPreferences.NH_SITE));\r\n addMainIdentityHeader(\"sector\", getPossibleHeaders(DataLoadPreferences.NH_SECTOR));\r\n addMainHeader(INeoConstants.PROPERTY_SECTOR_CI, getPossibleHeaders(DataLoadPreferences.NH_SECTOR_CI));\r\n addMainHeader(INeoConstants.PROPERTY_SECTOR_LAC, getPossibleHeaders(DataLoadPreferences.NH_SECTOR_LAC));\r\n addMainHeader(INeoConstants.PROPERTY_LAT_NAME, getPossibleHeaders(DataLoadPreferences.NH_LATITUDE));\r\n addMainHeader(INeoConstants.PROPERTY_LON_NAME, getPossibleHeaders(DataLoadPreferences.NH_LONGITUDE));\r\n // Stop statistics collection for properties we will not save to the sector\r\n addNonDataHeaders(1, mainHeaders);\r\n \r\n // force String types on some risky headers (sometimes these look like integers)\r\n useMapper(1, \"site\", new StringMapper());\r\n useMapper(1, \"sector\", new StringMapper());\r\n \r\n // Known headers that are sector data properties\r\n addKnownHeader(1, \"beamwidth\", getPossibleHeaders(DataLoadPreferences.NH_BEAMWIDTH), false);\r\n addKnownHeader(1, \"azimuth\", getPossibleHeaders(DataLoadPreferences.NH_AZIMUTH), false);\r\n }", "private synchronized boolean inject_head(){\n\t\tif(schemaPart.toString().isEmpty())\n\t\t\treturn false;\n\t\t\n\t\t// Assembly the head\n\t\tStringBuilder msg = new StringBuilder();\n\t\tmsg.append(header.toString());\n\t\tmsg.append(schemaPart.toString());\n\t\tmsg.append(\"content: text\\n\");\n\t\tmsg.append(\"\\n\");\n \n\t\ttry {\n\t\t\tSystem.out.println(TAG + \":head:\\n\" + msg.toString());\n\t\t\tout.print(msg.toString());\n\t\t\tmysock.getOutputStream().flush();\n\t\t\tout.flush();\n\t\t} catch (IOException ioException) {\n\t\t\tif (ioException instanceof SocketException && ioException.getMessage().contains(\"Permission denied\")) {\n\t\t\t\tSystem.out.println(TAG + \":You don't have internet permission:\" + ioException);\n\t\t\t}\n\t\t\tSystem.out.println(TAG + \":I could not connect.\");\n\t\t\tsrvDisconnect();\n\t\t\treturn false;\n\t\t} catch (NullPointerException e) {\n\t\t\tSystem.out.println(TAG + \":Null Pointer Exception:inject head\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "abstract public void header();", "public DistributionPolicyInternal() {}", "private void setHascert() {\r\n\t\tthis.hascert = true;\r\n\t}", "public VersionLockingPolicy() {\r\n super();\r\n storeInCache();\r\n }", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "public BinaryAcceptancePolicy() {\n }", "private void loadNavHeader() {\n SharedPreferences prefs = getSharedPreferences(LOG_IN_PREFS_NAME, MODE_PRIVATE);\n userName = prefs.getString(\"userName\", \"No token generated\");\n userEmail = prefs.getString(\"email\", \"No token generated\");\n userAvatarName = prefs.getInt(\"userAvatar\", 0);\n\n // name, email, profileImage\n navHeaderUserName.setText(userName);\n navHeaderUserEmail.setText(userEmail);\n imgNavHeaderProfile.setImageResource(ProfileImageAssets.getProfileImages().get(userAvatarName));\n\n }", "public interface HttpRequest {\n\n /**\n * Gets the HTTP request {@link URL}.\n */\n URL getUrl();\n\n /**\n * Gets the HTTP request method.\n */\n String getMethod();\n\n /**\n * Gets an immutable map containing the request headers and their values.\n */\n Map<String, List<String>> getHeaders();\n\n /**\n * Gets the header's value.\n *\n * @param name Header name for which to retrieve the value.\n *\n * @return The header's value, which might also be {@code null} if not set.\n */\n String getHeader(String name);\n\n /**\n * Sets an HTTP header or overwrites an existing HTTP header with new value.\n * <p>\n * Trying to set an HTTP header with null name will return immediately.\n * Trying to set one of the following restricted headers will also return immediately.\n * </p>\n * <ul>\n * <li>{@code Access-Control-Request-Headers}</li>\n * <li>{@code Access-Control-Request-Method}</li>\n * <li>{@code Connection}</li>\n * <li>{@code Content-Length}</li>\n * <li>{@code Content-Transfer-Encoding}</li>\n * <li>{@code Host}</li>\n * <li>{@code Keep-Alive}</li>\n * <li>{@code Origin}</li>\n * <li>{@code Trailer}</li>\n * <li>{@code Transfer-Encoding}</li>\n * <li>{@code Upgrade}</li>\n * <li>{@code Via}</li>\n * </ul>\n *\n * @param name The header's name, which must not be {@code null} or any of the restricted headers.\n * @param value The header's value\n */\n void setHeader(String name, String value);\n}", "void enableAutomaticHeaderImage();", "private RecordSet loadAgentInformation(Record inputRecord, PolicyHeader policyHeader) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"loadAgentInformation\", new Object[]{policyHeader});\r\n }\r\n\r\n RecordSet agentRecordSet = getAgentManager().loadAllPolicyAgent(policyHeader, inputRecord);\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadAgentInformation\", agentRecordSet);\r\n }\r\n\r\n return agentRecordSet;\r\n }", "public void Verify_Page_Header_Visibility()\r\n\t{\r\n\t\t if(Page_header.isDisplayed())\r\n\t\t\t System.out.println(\"header visible at webpage\");\r\n\t\t else\r\n\t\t\t System.out.println(\"header not visible at webpage\");\r\n\t\t\r\n\t}", "public void setPolicy(com.vmware.converter.DVSPolicy policy) {\r\n this.policy = policy;\r\n }", "@Override\n\tpublic void renderHead(IHeaderResponse response)\n\t{\n\t\tfinal JavaScriptResourceReference topJsReference = new JavaScriptResourceReference(\n\t\t\tFilteredHeaderPage.class, \"top.js\");\n\t\tresponse.render(new FilteredHeaderItem(JavaScriptHeaderItem.forReference(topJsReference),\n\t\t\tFilteringHeaderResponse.DEFAULT_HEADER_FILTER_NAME));\n\n\t\t// rendered at the bottom of the body bucket\n\t\tJQueryPluginResourceReference bottomJs = new JQueryPluginResourceReference(\n\t\t\tFilteredHeaderPage.class, \"bottom.js\")\n\t\t{\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic List<HeaderItem> getDependencies()\n\t\t\t{\n\t\t\t\tList<HeaderItem> dependencies = super.getDependencies();\n\n\t\t\t\t// WICKET-4566 : depend on a resource which is rendered in a different bucket\n\t\t\t\tdependencies.add(JavaScriptHeaderItem.forReference(topJsReference));\n\t\t\t\treturn dependencies;\n\t\t\t}\n\t\t};\n\t\tresponse.render(JavaScriptHeaderItem.forReference(bottomJs));\n\t}", "public String getHeader();", "public void test11(HttpServletRequest request) throws javax.servlet.ServletException, java.io.IOException {\n String p = System.getProperty(\"some.key\");\n if(p != null && p.endsWith(\"trustme.com\")){\n\n }\n }", "public static String getPolicyString(short policy) {\n\t\treturn POLICY_STRINGS[policy];\n\t}", "private void loadNavHeader() {\n\t\t// name, Email\n\t\ttxtName.setText(\"Tester\");\n\t\ttxtEmail.setText(\"[email protected]\");\n\t}", "public void setLoadBalancerPolicy(String loadBalancerPolicy) {\n this.loadBalancerPolicy = loadBalancerPolicy;\n }", "void applySecurityPolicy(HttpsURLConnection connection);", "@Override\r\n\tprotected void load() {\n\t\t\r\n\t}", "protected void initializeHeader() throws PiaRuntimeException, IOException{\n try{\n super.initializeHeader();\n if( firstLineOk && headersObj == null ){\n\t// someone just give us the first line\n\theadersObj = new Headers();\n }\n }catch(PiaRuntimeException e){\n throw e;\n }catch(IOException ioe){\n throw ioe;\n }\n }", "public String getSecurityPolicyFile()\n\t{\n\t\treturn securityPolicyFile;\n\t}", "String getDefaultDisabledByPolicyContent();", "private void loadHeaders() throws MessagingException {\n/* 599 */ assert !Thread.holdsLock(this);\n/* */ try {\n/* 601 */ boolean fetchContent = false;\n/* 602 */ synchronized (this) {\n/* 603 */ if (this.headers != null)\n/* */ return; \n/* 605 */ InputStream hdrs = null;\n/* 606 */ if (((POP3Store)this.folder.getStore()).disableTop || (hdrs = this.folder.getProtocol().top(this.msgnum, 0)) == null) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 611 */ fetchContent = true;\n/* */ } else {\n/* */ try {\n/* 614 */ this.hdrSize = hdrs.available();\n/* 615 */ this.headers = new InternetHeaders(hdrs);\n/* */ } finally {\n/* 617 */ hdrs.close();\n/* */ } \n/* */ } \n/* */ } \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 632 */ if (fetchContent) {\n/* 633 */ InputStream cs = null;\n/* */ try {\n/* 635 */ cs = getContentStream();\n/* */ } finally {\n/* 637 */ if (cs != null)\n/* 638 */ cs.close(); \n/* */ } \n/* */ } \n/* 641 */ } catch (EOFException eex) {\n/* 642 */ this.folder.close(false);\n/* 643 */ throw new FolderClosedException(this.folder, eex.toString());\n/* 644 */ } catch (IOException ex) {\n/* 645 */ throw new MessagingException(\"error loading POP3 headers\", ex);\n/* */ } \n/* */ }" ]
[ "0.6693648", "0.63761055", "0.58116275", "0.57778287", "0.55679417", "0.5545521", "0.5413968", "0.53494173", "0.5295579", "0.52910304", "0.52845526", "0.5260481", "0.52367425", "0.52208495", "0.51833946", "0.5168566", "0.5155112", "0.5134876", "0.51086056", "0.50711614", "0.5060352", "0.50598663", "0.50572383", "0.50442034", "0.504131", "0.5038115", "0.50360364", "0.5031113", "0.5026763", "0.5004049", "0.49894294", "0.49775782", "0.49750644", "0.4917486", "0.49113947", "0.49019605", "0.48963532", "0.48908412", "0.48899475", "0.48754132", "0.4865055", "0.4862659", "0.48430026", "0.48396012", "0.48344928", "0.48264718", "0.48232892", "0.48163486", "0.4813731", "0.480658", "0.48026723", "0.47973368", "0.47875717", "0.4778976", "0.47728783", "0.47719073", "0.47718385", "0.47690514", "0.47650096", "0.47647724", "0.4732135", "0.47317296", "0.4729129", "0.47136867", "0.46993703", "0.46948475", "0.4691405", "0.46840993", "0.46838003", "0.4681613", "0.46773276", "0.46766263", "0.46652225", "0.46555978", "0.46452898", "0.463975", "0.4636401", "0.463589", "0.46337214", "0.46337214", "0.46337214", "0.46301085", "0.46221566", "0.4621495", "0.46192092", "0.4616867", "0.4616609", "0.4608124", "0.4605154", "0.4605017", "0.4598236", "0.4595186", "0.4584653", "0.45819554", "0.45813257", "0.4580636", "0.4574032", "0.4569925", "0.45673242", "0.45656958" ]
0.5828394
2
/ Load Policy Detail.
private Record loadPolicyInformation(Record inputRecord, PolicyHeader policyHeader) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "loadPolicyInformation", new Object[]{inputRecord, policyHeader}); } Record output = getPolicyManager().loadPolicyDetail(policyHeader, inputRecord); output.setFields(policyHeader.toRecord()); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "loadPolicyInformation", output); } return output; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public PolicyDetailsRecord() {\n\t\tsuper(PolicyDetails.POLICY_DETAILS);\n\t}", "List<PolicyDetail> viewpolicyDetail(int lenderId);", "public String getLoadInfo()\n {\n return ssProxy.getLoadInfo();\n }", "void printloadDetails(loadDetails iLoadDetails)\n {\n System.out.println(iLoadDetails.getLorryName());\n System.out.println(iLoadDetails.getEstateName());\n System.out.println(iLoadDetails.getDate());\n }", "String getLbPolicy() {\n return lbPolicy;\n }", "Policy _get_policy(int policy_type);", "loadDetails createloadDetails(String name)\n {\n loadDetails iLoadDetails = iIncomingLobsFactory.createloadDetails(name);\n \n return initloadDetails(iLoadDetails);\n }", "PolicyDetail findPolicyDetail(int policyId, Lender lender);", "public String detailsLoad() throws Exception {\n\t\treturn null;\n\t}", "private void loadPolicy() {\n loadSavedGlobalSetting();\n loadDefaultPolicy();\n loadSavedSetting();\n saveSetting();\n }", "@Test\n public void testLoadPolicy() throws ControlLoopException {\n mgr.start();\n\n assertNull(mgr.getFinalResult());\n\n MyStep step = mgr.getSteps().peek();\n assertNotNull(step);\n assertEquals(\"First\", step.getActorName());\n assertEquals(\"OperationA\", step.getOperationName());\n\n ControlLoopOperationParams params2 = step.getParams();\n assertSame(actors, params2.getActorService());\n assertSame(REQ_ID, params2.getRequestId());\n assertSame(ForkJoinPool.commonPool(), params2.getExecutor());\n assertNotNull(params2.getTargetType());\n assertNotNull(params2.getTargetEntityIds());\n assertEquals(Integer.valueOf(300), params2.getTimeoutSec());\n assertEquals(Integer.valueOf(0), params2.getRetry());\n assertThat(params2.getPayload()).isEmpty();\n assertNotNull(params2.getStartCallback());\n assertNotNull(params2.getCompleteCallback());\n }", "@Override\r\n\tpublic Policy getById(Integer pid) {\n\t\tPolicy policy =dao.getById(pid);\r\n return policy;\r\n\t}", "boolean policyDetailExist(PolicyDetail policyDetail);", "LoadConstraintType getLoadConstraint();", "void printload(load iLoad)\n {\n System.out.println(iLoad.getSNo());\n System.out.println(iLoad.getLength());\n System.out.println(iLoad.getGirth());\n System.out.println(iLoad.getQuantity());\n System.out.println(iLoad.getClassA());\n System.out.println(iLoad.getClassB());\n System.out.println(iLoad.getClassC());\n System.out.println(iLoad.getClassD());\n System.out.println(iLoad.getTotalCFT());\n System.out.println(iLoad.getRate());\n System.out.println(iLoad.getAmount());\n }", "private void loadRecordDetails() {\n updateRecordCount();\n loadCurrentRecord();\n }", "public int getLoad() {\n\t\treturn load;\n\t}", "private RecordSet loadAgentInformation(Record inputRecord, PolicyHeader policyHeader) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"loadAgentInformation\", new Object[]{policyHeader});\r\n }\r\n\r\n RecordSet agentRecordSet = getAgentManager().loadAllPolicyAgent(policyHeader, inputRecord);\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadAgentInformation\", agentRecordSet);\r\n }\r\n\r\n return agentRecordSet;\r\n }", "public float getPrefLoad(){\n\t\treturn prefLoad;\n\t}", "@Override\n\tprotected String toStringAux() {\n\t\treturn \"LOAD\";\n\t}", "public LoadDistribution loadDistribution() {\n return this.loadDistribution;\n }", "PolicyDetail findPolicyByID(int policyId, int lenderId);", "String getBlockPolicy();", "private PolicyHeader loadPolicyHeader(String policyNo, String termBaseRecordId, PolicyViewMode desiredViewMode) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"loadPolicyHeader\", new Object[]{policyNo, termBaseRecordId, desiredViewMode});\r\n }\r\n\r\n String requestId = \"dti.pm.policymgr.struts.MaintainPolicyAction&process=loadPolicyDetail\";\r\n String endQuoteId = null;\r\n\r\n if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_HEADER)) {\r\n RequestStorageManager.getInstance().remove(RequestStorageIds.POLICY_HEADER);\r\n }\r\n\r\n PolicyHeader policyHeader = getPolicyManager().loadPolicyHeader(policyNo, termBaseRecordId, desiredViewMode, endQuoteId, requestId, \"PolicyPremiumInquirySevice: loadPolicyHeader\", false);\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadPolicyHeader\", policyHeader);\r\n }\r\n\r\n return policyHeader;\r\n }", "public interface PolicyViewDisplay extends PolicyPageTemplateDisplay {\n\t\t\n\t\t/** The MI n_ scrollba r_ size. */\n\t\tpublic static int MIN_SCROLLBAR_SIZE = 5;\n\t\t\n\t\tButton getCancelButton();\n\n\t\tResourcesContentDisplay getResourceContentView();\n\n\t\tSubjectContentDisplay getSubjectContentView();\n\n\t\tvoid setPolicyDesc(String policyDesc);\n\n\t\tvoid setPolicyName(String policyName);\n\n\t\tvoid setPolicyType(String policyType);\n\n\t\tvoid setPolicyStatus(boolean enabled);\n\n\t\tvoid clear();\n\n\t\tvoid error(String msg);\n\n\t\tUserAction getSelectedAction();\n\n\t\tvoid setExtraFieldList(List<ExtraField> extraFieldList);\n\n\t\tvoid setExtraFieldAvailable(boolean available);\n\n\t}", "@Override\r\n\tpublic List<PolicyQuestions> viewPolicyDetails(String business_segment)\r\n\t\t\tthrows QGSException {\n\t\treturn dao.viewPolicyDetails(business_segment);\r\n\t}", "@Override\n public double getCurrentLoadWeight() {\n return currentLoadWeight;\n }", "@Override\n public void loadEntityDetails() {\n \tsuper.loadEntityDetails();\n }", "RecordSet loadAllPremium(PolicyHeader policyHeader, Record inputRecord);", "public Policy _get_policy(int policy_type) {\n throw new NO_IMPLEMENT(reason);\n }", "public void createOnlyLBPolicy(){\n\t\t\n\t\tIterator<CacheObject> ican = cacheList.iterator();\n\t\t\n\t\tint objcounter = 0;\n\t\t\n\t\twhile(ican.hasNext() && objcounter < (OBJ_FOR_REQ)){\n\t\t\t\n\t\t\tobjcounter ++;\n\t\t\tCacheObject tempCacheObject = ican.next();\n\t\t\tIterator<ASServer> itm = manager.getASServers().values().iterator();\n\t\t\twhile(itm.hasNext()){\n\t\t\t\t\n\t\t\t\tASServer as = itm.next();\n\t\t\t\tif(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(tempCacheObject.cacheKey) == null){\n\t\t\t\t\t//System.out.println(\"Mapping Map is NULL\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tArrayList<String> urllist = new ArrayList<String>(((ResourceToRequestMap) as.getStruct((String)RequestResourceMappingLogProcessor.OBJ_REQ_MAP)).map.get(tempCacheObject.cacheKey));\n\t\t\t\tIterator<String> iurl = urllist.iterator();\n\t\t\t\twhile(iurl.hasNext()){\n\t\t\t\t\tString url = iurl.next();\n\t\t\t\t\tif(!urlList.contains(url)){\n\t\t\t\t\t\turlList.add(url);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint urlcounter = 0;\n\t\tint urllistsize = urlList.size();\n\t\tCollection<String> it1 = serverList.keySet();\n\t\tArrayList<String> server = new ArrayList<String>(it1);\n\t\t\n\t\twhile(urlcounter < urllistsize){\n\t\t\t\n\t\t\tString serId = server.get( (urlcounter) % NO_SERVERS );\n\t\t\tthis.currentLBPolicy.mapUrlToServers(urlList.get(urlcounter++), Analyser.resolveHost(serId));\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.println(\"------------LBPolicy start---------------\");\n//\t\tSystem.out.println(currentLBPolicy);\n//\t\t\n\t\tSystem.out.println(\"Number of entries in LBPolicy are: \" + currentLBPolicy.policyMap.size() );\n//\t\n\t\tSystem.out.println(\"------------LBPolicy end-----------------\");\n\t\t/*\n\t\tif(mLogger.isInfoEnabled()){\n\t\t\tmLogger.log(Priority.INFO, \"LBPolicy being printed\");\n\t\tmLogger.log(Priority.INFO, \":\" + this.currentLBPolicy);\n\t\t\n\t}\n\t\t*/\n\t}", "private PolicyHeader loadPolicyHeader(HttpServletRequest request) {\r\n Logger l = LogUtils.enterLog(getClass(), \"loadPolicyHeader\", new Object[]{request});\r\n LogUtils.setPage(\"ActionClass:\"+getClass().getName());\r\n PolicyHeader policyHeader = null;\r\n String policyNo = \"\";\r\n //endorsement quote id used when policyViewMode=\"ENDQUOTE\"\r\n String endQuoteId = request.getParameter(\"endQuoteId\");\r\n if (\"null\".equalsIgnoreCase(endQuoteId)) {\r\n endQuoteId = \"\";\r\n }\r\n\r\n if (!StringUtils.isBlank(request.getParameter(RequestIds.POLICY_NO))) {\r\n policyNo = request.getParameter(RequestIds.POLICY_NO);\r\n }\r\n else {\r\n if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_NO)) {\r\n policyNo = (String) RequestStorageManager.getInstance().get(RequestStorageIds.POLICY_NO);\r\n }\r\n }\r\n\r\n if (!StringUtils.isBlank(policyNo)) {\r\n\r\n //if the policyNo is changed, unlock previour held lock\r\n if (UserSessionManager.getInstance().getUserSession().has(UserSessionIds.POLICY_HEADER)) {\r\n\r\n PolicyHeader previousPolicyHeader =\r\n (PolicyHeader) UserSessionManager.getInstance().getUserSession().get(UserSessionIds.POLICY_HEADER);\r\n if (previousPolicyHeader != null && !previousPolicyHeader.getPolicyNo().equals(policyNo)) {\r\n if (getLockManager().unLockPreviouslyHeldLock()) {\r\n UserSessionManager.getInstance().getUserSession().remove(UserSessionIds.POLICY_HEADER);\r\n }\r\n else {\r\n l.logp(Level.WARNING, getClass().getName(), \"execute\", \"For policy number:'\"+policyNo+\"', \" +\r\n \"it could not release the locks possible due to another user acquiring the lock in the meantime when the lock expired!\");\r\n }\r\n }\r\n }\r\n\r\n String policyTermHistoryId = null;\r\n PolicyViewMode policyViewMode = PolicyViewMode.WIP;\r\n\r\n if (request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID) != null) {\r\n if (!StringUtils.isBlank(request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID)))\r\n policyTermHistoryId = request.getParameter(RequestIds.POLICY_TERM_HISTORY_ID);\r\n }\r\n else {\r\n // If there is an in progress workflow for this policyNo, system retrieves policyTermHistoryId from this workflow.\r\n WorkflowAgent wa = WorkflowAgentImpl.getInstance();\r\n if (wa.hasWorkflow(policyNo)) {\r\n policyTermHistoryId = (String) wa.getWorkflowAttribute(policyNo, RequestIds.POLICY_TERM_HISTORY_ID);\r\n }\r\n else if (RequestStorageManager.getInstance().has(RequestStorageIds.POLICY_TERM_HISTORY_ID)) {\r\n policyTermHistoryId = RequestStorageManager.getInstance().get(RequestStorageIds.POLICY_TERM_HISTORY_ID).toString();\r\n }\r\n }\r\n\r\n // If there is an in progress workflow for this policyNo, system retrieves endQuoteId & policyViewMode from this workflow.\r\n WorkflowAgent wa = WorkflowAgentImpl.getInstance();\r\n String polViewMode = \"\";\r\n if (wa.hasWorkflow(policyNo)) {\r\n if(StringUtils.isBlank(endQuoteId) && wa.hasWorkflowAttribute(policyNo, RequestIds.END_QUOTE_ID)) {\r\n endQuoteId = (String) wa.getWorkflowAttribute(policyNo, RequestIds.END_QUOTE_ID);\r\n if (wa.hasWorkflowAttribute(policyNo, RequestIds.POLICY_VIEW_MODE)) {\r\n polViewMode = (String) wa.getWorkflowAttribute(policyNo, RequestIds.POLICY_VIEW_MODE);\r\n }\r\n }\r\n }\r\n String viewMode = !StringUtils.isBlank(polViewMode)? polViewMode : request.getParameter(RequestIds.POLICY_VIEW_MODE);\r\n\r\n if (!StringUtils.isBlank(viewMode)) {\r\n if (viewMode.indexOf(PolicyViewMode.ENDQUOTE.getName()) > -1) {\r\n viewMode = PolicyViewMode.ENDQUOTE.getName();\r\n }\r\n policyViewMode = PolicyViewMode.getInstance(viewMode);\r\n }\r\n\r\n/* String policyLockId = \"\";\r\n if (request.getParameter(RequestIds.POLICY_LOCK_ID) != null) {\r\n policyLockId = request.getParameter(RequestIds.POLICY_LOCK_ID);\r\n }*/\r\n\r\n try {\r\n PolicyManager polMgr = getPolicyManager();\r\n String process = request.getParameter(\"process\");\r\n String requestId = getClass().getName() + \"&process=\" + process;\r\n boolean isMonitorPolicy = isMonitorPolicyProcess(process);\r\n if (request.getParameter(POLICY_PHASE_CODE) != null) {\r\n RequestStorageManager.getInstance().set(POLICY_PHASE_CODE, request.getParameter(POLICY_PHASE_CODE));\r\n }\r\n policyHeader = polMgr.loadPolicyHeader(policyNo, policyTermHistoryId, policyViewMode, endQuoteId, requestId, process, isMonitorPolicy);\r\n\r\n String activityDisplayInformation = MessageManager.getInstance().formatMessage(\r\n \"cs.policy.activityHistory.displayInformation\",\r\n new String[]{policyHeader.getPolicyHolderName()});\r\n\r\n getActivityHistoryManager().recordActivityHistory(\r\n ApplicationContext.getInstance().getProperty(\"applicationId\", \"Policy\"),\r\n \"POLICY\", policyHeader.getPolicyNo(), policyHeader.getPolicyId(),\r\n \"\", activityDisplayInformation, \"\");\r\n }\r\n catch (Exception e) {\r\n AppException ae = ExceptionHelper.getInstance().handleException(\"Unable to find policy information for : \" + policyNo, e);\r\n l.throwing(getClass().getName(), \"loadPolicyHeader\", ae);\r\n throw ae;\r\n }\r\n\r\n request.setAttribute(RequestIds.POLICY_HEADER, policyHeader);\r\n request.setAttribute(RequestIds.SELECTED_POLICY_VIEW_MODE, policyHeader.getPolicyIdentifier().getPolicyViewMode());\r\n request.setAttribute(RequestIds.IS_POLICY_VIEW_MODE_VISIBLE, YesNoFlag.getInstance(policyHeader.isShowViewMode()));\r\n //request.setAttribute(RequestIds.POLICY_LOCK_ID, policyHeader.getPolicyIdentifier().getPolicyLockId());\r\n }\r\n else {\r\n try {\r\n if (getLockManager().unLockPreviouslyHeldLock()) {\r\n UserSessionManager.getInstance().getUserSession().remove(UserSessionIds.POLICY_HEADER);\r\n }\r\n else {\r\n throw new AppException(\"Unable to unlock previously held lock.\");\r\n }\r\n UserCacheManager.getInstance().remove(UserCacheManager.POLICY_OASIS_FIELDS_CACHE);\r\n }\r\n catch (Exception e) {\r\n AppException ae = ExceptionHelper.getInstance().handleException(\"Unable to find policy information for : \" + policyNo, e);\r\n l.throwing(getClass().getName(), \"loadPolicyHeader\", ae);\r\n throw ae;\r\n }\r\n }\r\n\r\n if (policyHeader != null) {\r\n if (UserSessionManager.getInstance().getUserSession().has(RequestIds.PREVIOUS_POLICY_NO) &&\r\n policyHeader.getPolicyNo().equals(UserSessionManager.getInstance().getUserSession().get(RequestIds.PREVIOUS_POLICY_NO))) {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"Y\");\r\n }\r\n else {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"N\");\r\n }\r\n UserSessionManager.getInstance().getUserSession().set(RequestIds.PREVIOUS_POLICY_NO, policyHeader.getPolicyNo());\r\n }\r\n else {\r\n request.setAttribute(RequestIds.IS_SAME_POLICY_B, \"N\");\r\n }\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadPolicyHeader\", policyHeader);\r\n }\r\n return policyHeader;\r\n }", "public PolicyMap getPolicyMap();", "PolicyStatsManager getStats();", "public String getLoadName1(){\n return m_LoadName1;\n }", "public com.vmware.converter.DVSPolicy getPolicy() {\r\n return policy;\r\n }", "@Override\n public void loadDetailProductData() {\n mDetailPresenter.loadDetailProductData();\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getPolicyLine();", "protected java.security.Policy getPolicy(){\n\tif (stateIs(INSERVICE_STATE)) {\n\t return this.policy;\n\t} \n\tif (logger.isLoggable(Level.FINEST)) {\n\t logger.finest(\"JACC Policy Provider: getPolicy (\"+CONTEXT_ID+\") is NOT in service\");\n\t}\n\treturn null;\n }", "@Override\r\n public void load() throws ParamContextException {\n\r\n }", "@Override\r\n\tprotected void load() {\n\t\t\r\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\n\t}", "@Override\n\tprotected void load() {\n\n\t}", "public int getLoadTime(){\n return m_LoadTime;\n }", "public void setLoadType(String loadType)\r\n\t{\r\n\t\tthis.loadType = loadType;\r\n\t}", "@Override\n public void load() {\n }", "StoragePolicyDecisionPoint getStoragePolicyDecisionPoint();", "Energy getLoad();", "RecordSet loadAllRatingLog(PolicyHeader policyHeader, Record inputRecord);", "@Override\n public void load() {\n }", "@GetMapping(\"/view-policies/{id}\")\n @Timed\n public ResponseEntity<ViewPolicyDTO> getViewPolicy(@PathVariable Long id) {\n log.debug(\"REST request to get ViewPolicy : {}\", id);\n ViewPolicyDTO viewPolicyDTO = viewPolicyService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(viewPolicyDTO));\n }", "public /*override*/ void LoadRecordData(BinaryReader bamlBinaryReader) \r\n {\r\n TypeId = bamlBinaryReader.ReadInt16(); \r\n RuntimeName = bamlBinaryReader.ReadString(); \r\n }", "@Override\r\n\tpublic void load() {\n\t}", "public String getLoadName2(){\n return m_LoadName2;\n }", "@Override\n\t\t\t\t\tpublic void beginLoad(int type) {\n\n\t\t\t\t\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public java.lang.String getPolicyNo() {\n return policyNo;\n }", "public java.lang.String getPolicyNo() {\n return policyNo;\n }", "public static String parseLoad(ILoad load) {\n StringBuilder routeSB = new StringBuilder();\n\n routeSB.append(\" Id: \" + load.getId() + \" /\");\n\n routeSB.append(\" Type: \" + load.getTypeName() + \" /\");\n\n routeSB.append(\" Desired Load Exchange: \" + load.getLoadValue() + \" /\");\n\n routeSB.append(\" IsRequest: \" + load.isRequest() + \" /\");\n\n routeSB.append(\" IsFuzzy: \" + load.isFuzzyVisit() + \" /\");\n\n routeSB.append(\" Priority: \" + load.getPriority());\n\n return routeSB.toString();\n }", "loadDetails initloadDetails(loadDetails iLoadDetails)\n {\n iLoadDetails.setLorryName(\"lorryName\");\n iLoadDetails.setEstateName(\"estateName\");\n iLoadDetails.setDate(\"date\");\n \n return iLoadDetails;\n }", "@Override\r\n\tpublic void load() {\n\r\n\t}", "@Generated\n @Selector(\"loadingPriority\")\n public native double loadingPriority();", "public void loadPRIConfiguration()\r\n\t{\r\n\t\tString httpId = (String) globalConfigurationService.getProperty(\"sapproductrecommendation_httpdest\");\t\t\r\n\t\tthis.setHttpDestinationId(httpId);\r\n\t\tloadHTTPDestination();\r\n\t}", "PartitionDetailsPage getDetailsPage();", "PolicyRecord findOne(Long id);", "public void loadStatus (){\n\t}", "public String getAbyssPolicy()\n {\n return m_AbyssPolicy;\n }", "public abstract void loaded();", "private PolicyDTO readPolicy(Resource resource) throws EntitlementException {\n \n String policy = null;\n AbstractPolicy absPolicy = null;\n PolicyDTO dto = null;\n\n try {\n policy = new String((byte[]) resource.getContent(), Charset.forName(\"UTF-8\"));\n absPolicy = PolicyReader.getInstance(null).getPolicy(policy);\n dto = new PolicyDTO();\n dto.setPolicyId(absPolicy.getId().toASCIIString());\n dto.setPolicy(policy);\n\n String policyOrder = resource.getProperty(\"policyOrder\");\n if(policyOrder != null){\n dto.setPolicyOrder(Integer.parseInt(policyOrder));\n } else {\n dto.setPolicyOrder(0);\n } // TODO policy refe IDs ???\n PolicyAttributeBuilder policyAttributeBuilder = new PolicyAttributeBuilder();\n dto.setAttributeDTOs(policyAttributeBuilder.\n getPolicyMetaDataFromRegistryProperties(resource.getProperties()));\n return dto;\n } catch (RegistryException e) {\n log.error(\"Error while loading entitlement policy\", e);\n throw new EntitlementException(\"Error while loading entitlement policy\", e);\n }\n }", "@Override\n\tprotected void lazyLoad() {\n\t}", "@Override\n\tprotected void dispatch(LoadProfileItemEventHandler handler) {\n\t\thandler.initiateLoadingProfileItem(this);\n\t}", "public void setStatementLoadNum(String statementLoadNum)\r\n\t{\r\n\t\tthis.statementLoadNum = statementLoadNum;\r\n\t}", "public String getPayload() {\n\t\t\t\t\t\treturn payLoad;\r\n\t\t\t\t\t}", "PolicyDecision getDecision();", "@Override\r\n\tprotected void initLoad() {\n\r\n\t}", "public int getProcessorLoad() {\n\t\ttry {\n\t\t\treturn super.getProperty(\"ProcessorLoad\", Integer.class);\n\t\t} catch (Exception e) {\n\t\t\treturn -1;\n\t\t}\n\t}", "@Override\n public double getMaxLoadWeight() {\n return maxLoadWeight;\n }", "@Override\n\tpublic List<Policy> showAllPolicies() {\n\t\t// TODO Auto-generated method stub\n\t\tList<Policy> policy=policyDao.findAll();\n\t\treturn policy;\n\t}", "public int getCpuLoad() { return cpuLoad; }", "H getProfile();", "void load(Future<AggregatedProfileInfo> future, AggregatedProfileNamingStrategy filename);", "public List<Policy> viewPolicyByAgentId(int id) throws AgentNotFoundException {\n\t\t// TODO Auto-generated method stub\n \tif(!agentDao.existsById(id))\n \t\tthrow new AgentNotFoundException(\"agent not found\");\n \tOptional<Agent> agent=agentDao.findById(id);\n\t\treturn policyDao.findAllByAgent(agent);\n\t}", "String privacyPolicy();", "@Override\n\tpublic void loadScore() {\n\n\t}", "public int getLoadingStatus() {\n return loadingStatus;\n }", "public void setPolicy(short policy) {\n\t\t_policy = policy;\n\t}", "public void load() {\n }", "@XmlElement(name = \"source_policy\")\r\n public ProtectionSourcePolicy getSourcePolicy() {\r\n return sourcePolicy;\r\n }", "public void autoDetails() {\n\t\t\r\n\t}", "@Attribute(order = 100, validators = { RequiredValueValidator.class })\n\t\tString policyName();", "public RecordSet loadClaimInfo(Record inputRecord);", "public void load() ;", "private void loadData()\r\n\t{\r\n\t\taddProduct(\"Area\", \"Education\");\r\n\t\taddProduct(\"Area\", \"Environment\");\r\n\t\taddProduct(\"Area\", \"Health\");\r\n\r\n\t\taddProduct(\"Domain\", \"Documentation\");\r\n\t\taddProduct(\"Domain\", \"Project Activity\");\r\n\t\taddProduct(\"Domain\", \"Technology\");\r\n\r\n\t\taddProduct(\"City\", \"Bangalore\");\r\n\t\taddProduct(\"City\", \"Hyderabad\");\r\n\t\taddProduct(\"City\", \"Lucknow\");\r\n\r\n\t\taddProduct(\"Activity_Type\", \"Onsite\");\r\n\t\taddProduct(\"Activity_Type\", \"Offsite\");\r\n\r\n\t}", "public String getLoadDesc_txt() {\r\n\t\treturn FetchText(DefineSetup_LoadDesc_txtBx);\r\n\t}", "public float getLoad(){\n\t\treturn 1.0f*size/capacity;\n\t}", "@Override\n\tpublic boolean isLoad() {\n\t\treturn false;\n\t}", "public void load() {\n\t}" ]
[ "0.6101986", "0.6100464", "0.59870213", "0.59685576", "0.59550726", "0.5794564", "0.57702833", "0.56986445", "0.56529427", "0.5635925", "0.5540347", "0.55010515", "0.5486387", "0.5485435", "0.5468163", "0.5458059", "0.5453266", "0.5425867", "0.5413735", "0.54076535", "0.5402369", "0.5388529", "0.53642523", "0.5363807", "0.5354208", "0.53540385", "0.5353407", "0.53083324", "0.52962047", "0.52945507", "0.52921766", "0.5262573", "0.5250208", "0.5245196", "0.5205495", "0.51764137", "0.5176199", "0.5165355", "0.51606816", "0.5156318", "0.5153424", "0.51277673", "0.51277673", "0.51277673", "0.512738", "0.512738", "0.51213586", "0.5118166", "0.51168734", "0.5085874", "0.5083555", "0.507786", "0.5053664", "0.5042445", "0.503583", "0.50234354", "0.5022477", "0.5011183", "0.49948475", "0.4993086", "0.4993086", "0.49800807", "0.49714628", "0.49676618", "0.49636957", "0.4954185", "0.49379665", "0.49295023", "0.49278525", "0.49196815", "0.4916289", "0.48823875", "0.48719603", "0.4871002", "0.48646462", "0.486285", "0.48577198", "0.48305944", "0.48237857", "0.4816402", "0.48093703", "0.48077273", "0.4801515", "0.48008066", "0.47887975", "0.47835487", "0.47786468", "0.47759262", "0.47755313", "0.4770028", "0.47663707", "0.47545406", "0.47520193", "0.47502252", "0.47406653", "0.47262448", "0.47238445", "0.47225025", "0.47193217", "0.4716085" ]
0.6320001
0
/ Load Under writer
private RecordSet loadUnderwriterInformation(PolicyHeader policyHeader) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "loadUnderwriterInformation", new Object[]{policyHeader}); } RecordSet underwriterRecordSet = getUnderwriterManager().loadUnderwritersByTermForWS(policyHeader); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "loadUnderwriterInformation", underwriterRecordSet); } return underwriterRecordSet; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void load() throws IOException;", "public void load() ;", "protected abstract void loader() throws IOException;", "@Override\r\n\tpublic void initialLoad() throws IOException {\n\t\t\r\n\t}", "@Override\n\t\tvoid loadData() throws IOException {\n\t\t\tsuper.loadData();\n\t\t}", "public void load() {\n\t}", "public void load() {\n }", "public void load();", "public void load();", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "@Override\n\tprotected void load() {\n\t\t\n\t}", "void load();", "void load();", "@Override\r\n\tprotected void load() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void load() {\n\t}", "@Override\n public void load() throws IOException, ClassNotFoundException {\n \n }", "protected OpenFile(final BufferedWriter writer) {\n this.writer = writer;\n }", "private static void load(){\n }", "@Override\n\tprotected void load() {\n\n\t}", "@Override\n\tprotected void load() {\n\n\t}", "@Override\n public void load() {\n }", "public static void load() {\n }", "@Override\r\n\tpublic void load() {\n\t\ts.load();\r\n\r\n\t}", "public abstract void load();", "@Override\n public void load() {\n }", "@Override\n\tpublic void loadData() throws FileNotFoundException {\n\t\tthis.getPromoShare();\n\t}", "@Override\r\n\tpublic void load() {\n\r\n\t}", "public void load() throws SAXException, IOException {\n\t\tif (!reader.fileLocation().equals(saveLocation)) {\n\t\t\treader.fileLocation(saveLocation);\n\t\t}\n\t\t\n\t\treader.read();\n\t\tgenerator.document(reader.document());\n\t}", "private void setDataWriterForFilename(String filename) throws KettleException {\n\t\t// First handle the writers themselves.\n\t\t// If we didn't have a writer yet, we create one.\n\t\t// Basically we open a new file\n\t\tdata.writer = data.fileWriterMap.get(filename);\n\t\tif (data.writer==null) {\n\t\t\topenNewFile(filename);\n\t\t\tdata.oneFileOpened = true;\n\n\t\t\tdata.fileWriterMap.put(filename, data.writer);\n\t\t\n\t\t\t// If it's the first time we open it and we have a header, we write a header...\n\t\t\t//\n\t\t\tif (!meta.isFileAppended() && meta.isHeaderEnabled()) {\n\t\t\t\tif (writeHeader()) {\n\t\t\t\t\tincrementLinesOutput();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "protected void fileSet() throws IOException {\n//\t\tfos = new FileOutputStream(outFile, false);\n//\t\tdos = new DataOutputStream(fos);\n\t\trealWriter = new BufferedWriter(new FileWriter(outFile.getAbsolutePath()));\n\t}", "public void load() throws ClassNotFoundException, IOException;", "private void setupWriter() {\n output = new StringWriter();\n writer = new PrintWriter(output);\n }", "public void readFromFile() {\n\n\t}", "public void setDataWriter(DataWriter dataWriter);", "private static void loadWriterClass(String writer, String regex){\r\n try {\r\n FASTAWriterFactory factory = (FASTAWriterFactory)Class.forName(writer).newInstance();\r\n setFASTAWriter(factory, regex);\r\n } catch (Exception e){\r\n System.err.println(\"Failed to load writer class \"+writer+\", skipping.\");\r\n }\r\n }", "public void open(){\n try {\n output = new BufferedWriter(new FileWriter(training_path, true));\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public static void load(FileIO fileIO) \r\n\t{\n\t\t\r\n\t}", "public void readFile(String name)\n\t{\n\t\tFileInputStream fis = null;\n\t\tObjectInputStream in = null;\n\t\ttry\n\t\t{\n\t\t\tfis = new FileInputStream(name);\n\t\t\tin = new ObjectInputStream(fis);\n\t\t\t// ind = (WebIndexer)in.readObject();\n\t\t\tTree xcd = (Tree)in.readObject();\n\t\t\tind = new WebIndexer(xcd);\n\t\t\tin.close();\n\t\t}\n\t\tcatch(IOException ex)\n\t\t{\n\t\t\tex.printStackTrace();\n\t\t}\n\t\tcatch(ClassNotFoundException ex)\n\t\t{\n\t\t\tex.printStackTrace();\n\t\t}\t\t\n\t}", "private void serializeBeforeOpen() {\r\n sr.save(this.path);\r\n }", "private void loadData(){\n try (BufferedReader br = new BufferedReader(new FileReader(this.fileName))) {\n String line;\n while((line=br.readLine())!=null){\n E e = createEntity(line);\n super.save(e);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "private void load(FileInputStream input) {\n\t\t\r\n\t}", "public void open(Map conf, TopologyContext arg1, SpoutOutputCollector collector) {\n\t\tSystem.out.println(\"WordReader.open(Map conf, TopologyContext arg1, SpoutOutputCollector collector)\");\n\t\t String fileName = conf .get(\"fileName\").toString();\n InputStream inputStream=WordReader.class.getClassLoader().getResourceAsStream(fileName);\n reader =new BufferedReader(new InputStreamReader(inputStream ));\n this.collector = collector;\n\t\t\n\t}", "protected void writeFile(Document model, FileWriter writer)\n throws IOException, Exception {\n writer.loadTemplate();\n\n String className = model.getDocumentElement().getAttribute(\"name\");\n writer.createOutFile(null, className); //pass in null as the package\n\n // use the global resolver\n writer.parse(model, resolver);\n }", "@Override\n protected void doWriteTo(StreamOutput out) throws IOException {\n }", "Write createWrite();", "void massiveModeLoading( File dataPath );", "@Override\n void load(String data) {\n }", "File getLoadLocation();", "public void load() {\n handleLoad(false, false);\n }", "void load(String table_name, boolean read_only) throws IOException;", "protected abstract void loadData();", "private void write(){\n\t\ttry {\n\t\t\tTransformerFactory transformerFactory = TransformerFactory.newInstance();\n\t\t\tTransformer transformer = transformerFactory.newTransformer();\n\t\t\tDOMSource source = new DOMSource(doc);\n\t\t\t\n\t\t\tString pathSub = ManipXML.class.getResource(path).toString();\n\t\t\tpathSub = pathSub.substring(5, pathSub.length());\n\t\t\tStreamResult result = new StreamResult(pathSub);\n\t\t\t\n\t\t\ttransformer.transform(source, result);\n\t\t} catch (TransformerConfigurationException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (TransformerException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void loadSave(){\n if((new File(\"data.MBM\")).exists()){\n isNew = false;\n\n try {\n BufferedReader br = new BufferedReader(new FileReader(\"data.MBM\"));\n String line = br.readLine();\n \n while (line != null) {\n \n if(line.contains(\"outDir\")){\n String[] result = line.split(\":\");\n outputDir = new File(result[1]);\n if(outputDir.exists() == false){\n isNew = true;\n }\n }\n else if(line.contains(\"MBMWORLD\")){\n String[] result = line.split(\":\");\n //1 = filename\n //2 = world name\n //3 = path\n //4 = date\n addWorld(new File(result[3]), result[2]);\n worlds.get(numWorlds()-1).setLastBackup(result[4]);\n }\n \n line = br.readLine();\n }\n \n br.close();\n \n } catch(IOException e){\n System.out.println(e);\n }\n }\n }", "public void load (File file) throws Exception;", "public void load(File source);", "public Backend(Reader r) throws IOException {\r\n GradeDataReader reader = new GradeDataReader();\r\n List<Grade> data = null;\r\n // read data\r\n try {\r\n data = reader.readDataSet(r);\r\n } catch (IOException | DataFormatException e) {\r\n System.out.println(\"Error parsing file\");\r\n }\r\n // input into rbt\r\n for (int i = 0; i < data.size(); i++) {\r\n rbt.insert(data.get(i));\r\n }\r\n }", "@Override\n\tpublic void loadNote() throws IOException {\n\n\t}", "FileLoader createJob(Reader reader);", "@Override\r\n\tprotected void initLoad() {\n\r\n\t}", "public static void load() {\r\n\t\tString mar = new String(readMAR().getStr());\r\n\t\tTraceINF.write(\"Read memory \"+mar);\r\n\t\tFormatstr content = new Formatstr();\r\n//\t\tSystem.out.println(\"index\"+Integer.parseInt(mar.substring(0, mar.length() - 2), 2));\r\n\t\tcontent.setStr(getBank(mar)[Integer.parseInt(mar.substring(0, mar.length() - 2), 2)]);\r\n\t\t\r\n\t\twriteMBR(content);\r\n\t\tTraceINF.write(\"Read finished.\");\r\n\t}", "public abstract void loadFile(Model mod, String fn) throws IOException;", "public void load (IFile file) throws Exception;", "public void load(){\n // Recover docIDs\n try(Reader reader = new FileReader(\"postings/docIDs.json\")){\n this.docIDs = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, String>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n try(Reader reader = new FileReader(\"postings/docLengths.json\")){\n this.docLengths = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, Integer>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n try(Reader reader = new FileReader(\"postings/titleToNumber.json\")){\n this.titleToNumber = (new Gson()).fromJson(reader,\n new TypeToken<Map<String, Integer>>(){}.getType());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void reopen() throws IOException {\r\n writer.close();\r\n writer = new BufferedWriter(new java.io.FileWriter(file));\r\n }", "LoadGenerator createLoadGenerator();", "LoadGenerator createLoadGenerator();", "public void unload() throws IOException;", "public static void load() {\n load(false);\n }", "void encodeResourceToWriter(IBaseResource theResource, Writer theWriter) throws IOException, DataFormatException;", "@Test\n\tpublic void testRead(){\n\t\ttry{\n\t\t\tXMLReader reader = new XMLReader(\"testWrite.xml\");\n\t\t\tassert (reader.readObject() instanceof GameWorld);\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e){\n\t\t\te.printStackTrace();\n\t\t\tfail(\"XMLReader, testWrite.xml not found\");\n\t\t}\n\t}", "protected void loadData()\n {\n }", "public interface ConfigFileLoader {\n\n /**\n * Save the map of the node instance,\n * to the file instance.\n *\n * @throws IOException When it fails to save {@see IOException}.\n */\n void save() throws IOException;\n\n /**\n * Load the map of the file instance,\n * in the node instance.\n *\n * @throws IOException When it fails to load {@see IOException}.\n */\n void load() throws IOException;\n\n /**\n * Change the file instance to new file instance.\n *\n * @param file new file instance.\n */\n void setNewFile(File file);\n\n}", "public void load(Storable storable)/* throws LogFile.LockException */{\n if (dataFile != null) {\n // If the file has been set, synchronize on it.\n synchronized (dataFile) {\n storable.load(properties);\n }\n }\n else {\n storable.load(properties);\n }\n }", "public void\tload(String fileName) throws IOException;", "public IInitWriter getWriterInit();", "public interface Loader {\n\t\tpublic void load();\n\t}", "public ReaderWriterProvider readerWriterProvider() { return _readerProvider; }", "void singleModeLoading( File dataPath, File resultsPath, int scenarioNumber );", "void load(Producer producer);", "private void initializeFile()\n\t{\n\t\tHighScore[] h={new HighScore(0,0,\" \"),new HighScore(0,0,\" \"),new HighScore(0,0,\" \"),\n\t\t\t\tnew HighScore(0,0,\" \"),new HighScore(0,0,\" \"),new HighScore(0,0,\" \"),\n\t\t\t\tnew HighScore(0,0,\" \"),new HighScore(0,0,\" \"),new HighScore(0,0,\" \"),\n\t\t\t\tnew HighScore(0,0,\" \")};\n\t\ttry \n\t\t{\n\t\t\tSystem.out.println(\"Hi1\");\n\t\t\tObjectOutputStream o=new ObjectOutputStream(new FileOutputStream(\"HighScores.dat\"));\n\t\t\to.writeObject(h);\n\t\t\to.close();\n\t\t} catch (FileNotFoundException e) {e.printStackTrace();}\n\t\tcatch (IOException e) {e.printStackTrace();}\n\t}", "private void init(Writer writer, String encoding) {\n\t\tsetOutput(writer, encoding);\n\t}", "private BufferedReader inFromFile(String indexFullName) \n {\n try \n { return new BufferedReader( new FileReader( new File( indexFullName ) ) ); } \n catch (FileNotFoundException e) \n {\n log.warn( \"could not find index file \" + indexFullName + \": no bindings created\" );\n return new BufferedReader( new EmptyReader() );\n }\n }", "void loadChunk(Reader reader, ScriptContext scriptContext)\n\t\t\tthrows ScriptException {\n\t\tloadChunk(new ReaderInputStream(reader), scriptContext);\n\t}", "private void generate() throws FileNotFoundException {\n if (clazz.isInterface())\n generateInterface();\n writer.close();\n }", "protected abstract void readFile();", "public void setWriter(Writer writer) {\n this.writer = writer;\n }", "public void loadMatrixIO() {\n qMatrixFile = new FileIO(\"qMatrix.txt\");\n sMatrixFile = new FileIO(\"sMatrix.txt\");\n\n }", "protected abstract Reader getReader() throws IOException;", "private void appendResourceToFile(String resourceName, FileWriter writer) throws IOException {\n InputStream is = Report.class.getClassLoader().getResourceAsStream(resourceName);\n\n if (is == null) {\n throw new IOException(\"Could not get InputStream from resource \" + resourceName);\n }\n Reader reader = new InputStreamReader(is);\n char[] buffer = new char[256];\n int n;\n do {\n n = reader.read(buffer);\n if (n > 0) {\n writer.write(buffer, 0, n);\n }\n } while (n > 0);\n }", "public abstract void loadData();", "public abstract void loadData();", "void load(File file);", "public void load (String argFileName) throws IOException;", "protected void openStream ()\n {\n stream = Util.stream (entry, \"Holder.java\");\n }", "public void initializeBookStore() throws IOException{\r\n //creates new file called \"Book.txt\". \r\n file = new File(\"Book.txt\");\r\n //adds/writes into the file created. \r\n in = new FileWriter(\"Book.txt\", true);\r\n write = new BufferedWriter(in);\r\n \r\n if(file.length() == 0){\r\n write.write(data);\r\n write.newLine();\r\n write.close();\r\n }\r\n }", "private static PrintWriter erstelleWriterInDatei(File datei)\r\n\t{\r\n\t\tPrintWriter schreiber = null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tschreiber = new PrintWriter(datei);\r\n\t\t} catch (FileNotFoundException e)\r\n\t\t{\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn schreiber;\r\n\t}", "public abstract void loaded();", "private BufferedWriter getWriter(int secretPos) throws IOException {\n\t\tFile file = new File(\"reportingTool_tmp\" + sep + this.uniqueName + \"-\" + \"histogram_\" + this.dataset.getSecrets().get(secretPos).getFileName() + \".txt\");\n\t\tFileWriter writer = new FileWriter(file);\n\t\tBufferedWriter bw = new BufferedWriter(writer);\n\t\treturn bw;\n\t}", "public void createStorageFile() throws IoDukeException {\n PrintWriter writer = null;\n try {\n writer = getStorageFile();\n } catch (IOException e) {\n throw new IoDukeException(\"Error opening task file for reading\");\n } finally {\n if (writer != null) {\n writer.close();\n }\n }\n }" ]
[ "0.60516727", "0.5836322", "0.5779217", "0.57553554", "0.56587523", "0.5620786", "0.558465", "0.5511234", "0.5511234", "0.550171", "0.550171", "0.550171", "0.54470533", "0.54470533", "0.5415163", "0.5384457", "0.53834915", "0.5373438", "0.53687924", "0.53618526", "0.53618526", "0.53603894", "0.5334636", "0.5324292", "0.5317385", "0.5307318", "0.5293959", "0.5282321", "0.5268669", "0.5221311", "0.5206844", "0.5202134", "0.51909566", "0.51866144", "0.51851046", "0.5166747", "0.5148331", "0.51207554", "0.5097543", "0.5080734", "0.5048451", "0.5041553", "0.50368154", "0.503356", "0.50279", "0.50239515", "0.50183207", "0.5006672", "0.49941018", "0.49906465", "0.4982417", "0.49745882", "0.4960026", "0.49470007", "0.4943337", "0.49308687", "0.4916154", "0.4908232", "0.49027222", "0.4891312", "0.48873374", "0.488043", "0.48791307", "0.48661292", "0.48660576", "0.4860892", "0.4860892", "0.4860191", "0.48521772", "0.48329702", "0.4827255", "0.4825016", "0.48215064", "0.48192543", "0.481535", "0.48124543", "0.48111686", "0.4802772", "0.48022777", "0.48006517", "0.479422", "0.47918695", "0.4786209", "0.47858423", "0.47845694", "0.47837922", "0.47793397", "0.47739035", "0.476862", "0.4762101", "0.47620344", "0.47620344", "0.4761789", "0.47583416", "0.47545198", "0.4752739", "0.474685", "0.4744836", "0.47343177", "0.4728397" ]
0.5620392
6
/ Load Agent info.
private RecordSet loadAgentInformation(Record inputRecord, PolicyHeader policyHeader) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "loadAgentInformation", new Object[]{policyHeader}); } RecordSet agentRecordSet = getAgentManager().loadAllPolicyAgent(policyHeader, inputRecord); if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "loadAgentInformation", agentRecordSet); } return agentRecordSet; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLoadInfo()\n {\n return ssProxy.getLoadInfo();\n }", "Agent getAgent();", "private void getAgentTypesFromFile(){\n \t\tagentTypes= agentTypesProvider.GetAgentTypes();\n \t}", "protected abstract Simulate collectAgentData ();", "public void startAgent(String agName);", "public String getAgent() {\n return this.agent;\n }", "public String getAgent() {\n return agent;\n }", "org.beangle.security.session.protobuf.Model.Agent getAgent();", "public String getAgent() {\r\n\t\treturn agent;\r\n\t}", "void initAgents() {\n Runtime rt = Runtime.instance();\n\n //Create a container to host the Default Agent\n Profile p = new ProfileImpl();\n p.setParameter(Profile.MAIN_HOST, \"localhost\");\n //p.setParameter(Profile.MAIN_PORT, \"10098\");\n p.setParameter(Profile.GUI, \"false\");\n ContainerController cc = rt.createMainContainer(p);\n\n HashMap<Integer, String> neighbors = new HashMap <Integer, String>();\n neighbors.put(1, \"2, 4, 3\");\n neighbors.put(2, \"1, 3\");\n neighbors.put(3, \"1, 2, 4\");\n neighbors.put(4, \"1, 3, 5\");\n neighbors.put(5, \"4\");\n\n//Create a container to host the Default Agent\n try {\n for (int i = 1; i <= MainController.numberOfAgents; i++) {\n AgentController agent = cc.createNewAgent(Integer.toString(i), \"ru.spbu.mas.DefaultAgent\",\n new Object[]{neighbors.get(i)});\n agent.start();\n }\n } catch (StaleProxyException e) {\n e.printStackTrace();\n }\n }", "public void getInfo () {\n int[] info = elevator.getInfo ();\n currFloor = info[0];\n maxCap = info[2];\n numFloors = info[3];\n currCap = info[5];\n state = info[6];\n }", "public static void helloAgent(){\n\t\tHelloAgent agent = new HelloAgent();\r\n\t\r\n\t}", "java.lang.String getAgentName();", "@Override\r\n\tpublic List<Map<String, Object>> agentActive() {\n\t\treturn agentMapper.agentActive();\r\n\t}", "public String getAgentName ()\n {\n return agentName;\n\n }", "public Agent getAgent() {\r\n\t\treturn this.AGENT;\r\n\t}", "public Integer getAgent() {\r\n return agent;\r\n }", "public String getAgentHost() {\n return (String)getAttributeInternal(AGENTHOST);\n }", "public int getNumberOfAgents()\n {\n return this.numberOfAgents;\n }", "public void action() {\n try {\n //System.out.println(\"LoadAgent\"+neighId[i]);\n DFAgentDescription template = new DFAgentDescription();\n ServiceDescription sd = new ServiceDescription();\n sd.setName(\"DSO agent\");\n template.addServices(sd);\n DFAgentDescription[] result = DFService.search(myAgent, template);\n AgentAIDs[0] = result[0].getName();\n sd.setName(\"PV Agent\");\n template.addServices(sd);\n result = DFService.search(myAgent, template);\n AgentAIDs[2] = result[0].getName();\n sd.setName(\"Load Agent\");\n template.addServices(sd);\n result = DFService.search(myAgent, template);\n AgentAIDs[3] = result[0].getName();\n\n } catch (FIPAException ex) {\n Logger.getLogger(CurtailAgent.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n //initializa GUI and add listeners\n appletVal = new SetCellValues();\n appletVal.playButton.addActionListener(new listener());\n appletVal.playButton.setEnabled(true);\n appletVal.resetButton.addActionListener(new listener());\n appletVal.resetButton.setEnabled(true);\n //operate microgrid\n addBehaviour(operate);\n\n }", "public String getAgentsName()\n {\n return this.agentsName;\n }", "public Agent getAgent() {\n\t\treturn agent;\n\t}", "public void loadStatus (){\n\t}", "java.lang.String getAgentIP();", "private void initializeAgent() {\n if (Math.random() < PROBABILITY_START_WITH_AGENT) {\n agent = new SugarscapeAgent();\n }\n }", "private void loadVillage(HashMap<String, String> info) {\n\t\tsuper.init(info);\n\t}", "public void getInfo(){\n System.out.println(\"Name: \" + name + \"\\n\" + \"Address: \" + address);\n }", "public String detailsLoad() throws Exception {\n\t\treturn null;\n\t}", "Information getInfo();", "public void startRetriveDataInfo() {\n\t\t\tif (isLog4jEnabled) {\n\t\t\t\n stringBuffer.append(TEXT_2);\n stringBuffer.append(label);\n stringBuffer.append(TEXT_3);\n \n\t\t\t}\n\t\t}", "@Override\r\n protected void setup() {\n Number = Double.valueOf((String) getArguments()[0]);\r\n String Name = getAID().getLocalName();\r\n\r\n System.out.println(\"Agent Id: \" + Name +\" number = \" + Number);\r\n\r\n linkedAgents = Arrays.copyOfRange(getArguments(), 1,\r\n getArguments().length, String[].class);\r\n\r\n addBehaviour(new FindAverage\r\n (this, TimeUnit.SECONDS.toMillis(1)));\r\n }", "void showNoAgentsAvailable();", "public String getAgentName() {\n return agentName;\n }", "void printloadDetails(loadDetails iLoadDetails)\n {\n System.out.println(iLoadDetails.getLorryName());\n System.out.println(iLoadDetails.getEstateName());\n System.out.println(iLoadDetails.getDate());\n }", "public void getInfo() {\n System.out.println(\"INFO Node : \"+address+ \" connected to nodes \");\n for(Node node : getConnectedNodes()){\n System.out.print(\"Node :\"+node.getAddress()+\" with edge : \");\n getEdge(this, node).printEdge();\n }\n \n }", "public IDiogenAgent getHostAgent() {\n return this.hostAgent;\n }", "public int getAgentsCount() {\n return agents_.size();\n }", "public int\t\t\t\t\t\t\tgetAgentsCount()\t\t\t\t\t\t\t{ return this.agents; }", "List<AgentReference> getCurrentAgents();", "@Override\n\tpublic int[] getVehicleLoad() {\n\t\t\n\t\tint temp[] ={constantPO.getVanLoad(),constantPO.getRailwayLoad(),constantPO.getAirplaneLoad()};\n\t\t\n\t\treturn temp;\n\t}", "com.google.protobuf.ByteString\n getAgentNameBytes();", "private String getAgentLista() {\n return agentLista;\n }", "Energy getLoad();", "public Set<Agent> getAllAgents() {\n return agents.keySet();\n }", "protected void setup() {\n DFAgentDescription dfd = new DFAgentDescription();\n dfd.setName(getAID());\n ServiceDescription sd = new ServiceDescription();\n sd.setName(\"Storage Agent\");\n sd.setType(\"Storage\");\n dfd.addServices(sd);\n try {\n DFService.register(this, dfd);\n } catch (FIPAException fe) {\n fe.printStackTrace();\n }\n waitForAgents = new waitAgents();\n receiveAgents = new receiveFromAgents();\n operate = new opMicrogrid();\n decision = new takeDecision();\n\n addBehaviour(waitForAgents);\n\n //add a ticker behavior to monitor PV production, disable PLay button in the meanwhile\n addBehaviour(new TickerBehaviour(this, 5000) {\n protected void onTick() {\n if (AgentsUp == 0) {\n appletVal.playButton.setEnabled(false);\n ACLMessage msg = new ACLMessage(ACLMessage.INFORM);\n msg.addReceiver(new AID(AgentAIDs[2].getLocalName(), AID.ISLOCALNAME));\n msg.setContent(\"Inform!!!\");\n send(msg);\n String stripedValue = \"\";\n msg = receive();\n if (msg != null) {\n // Message received. Process it\n String val = msg.getContent().toString();\n stripedValue = (val.replaceAll(\"[\\\\s+a-zA-Z :]\", \"\"));\n //PV\n if (val.contains(\"PV\")) {\n System.out.println(val);\n PV = Double.parseDouble(stripedValue);\n appletVal.playButton.setEnabled(true);\n appletVal.SetAgentData(PV, 0, 2);\n }\n\n } else {\n block();\n }\n\n }\n }\n });\n\n }", "public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }", "protected void loadInfo() {\n\t\tboolean isSuccess = true;\n\t\ttry {\n\t\t\tsmt = conn.createStatement();\n\t\t\trs = smt.executeQuery(\"select * from Google_Auth\");\n\t\t\totp_username = rs.getString(\"username\");\n\t\t\totp_SECRET_KEY = aria.Decrypt(rs.getString(\"secretcode\"));\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n isSuccess = false;\n }\n }", "@Override\n\t\tpublic void alive() {\n\t\t\tSystem.out.println(\"liverId is: \" + liverId); //liver id is a static variable of the Liver class, so we CAN access it directly. \n\t\t\tSystem.out.println(new Animal().age); //Just like a static method, the only way to access NON static vars here is to create an animal object, then access that age..\n\t\t}", "@Override\n\tprotected void load(int version, String agentType, List<property_t> properties) {\n\t\tsuper.load(version, agentType, properties);\n\t\tfor (int i = 0; i < properties.size(); ++i) {\n\t\t\tproperty_t p = properties.get(i);\n\n\t\t\tif (p.name .equals(\"Frames\")) {\n\t\t\t\tint pParenthesis = p.value.indexOf('(');\n\n\t\t\t\tif (pParenthesis == -1) {\n\t\t\t\t\tthis.m_frames = AgentMeta.ParseProperty(p.value);\n\t\t\t\t} else {\n\t\t\t\t\tthis.m_frames = AgentMeta.ParseMethod(p.value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private GRIDagent getTestAgent()\n {\n String agtID = \"testAgent001\",\n currentLink = \"401538273_2_r\", // 40963664_0 106292026_0 1to2 17005466_7_r\n currentIntrx = \"401538273_2_r\", // 1040921516 // 1to2\n destIntrx = \"17005466_7_r\"; // 72823276_0 99to99 24to25 401538273_2_r\n // 864162469 - 1400447055 99282649_0_r [72823276_0 problem link]\n\n GRIDagent myAgent = new GRIDagent(agtID,currentLink,currentIntrx,destIntrx, false, false);\n\n return myAgent;\n }", "protected void setup(){\n this.setEnabledO2ACommunication(true, 0);\n \n showMessage(\"Agent (\" + getLocalName() + \") .... [OK]\");\n \n // Register the agent to the DF\n ServiceDescription sd1 = new ServiceDescription();\n sd1.setType(UtilsAgents.BOAT_COORDINATOR);\n sd1.setName(getLocalName());\n sd1.setOwnership(UtilsAgents.OWNER);\n DFAgentDescription dfd = new DFAgentDescription();\n dfd.addServices(sd1);\n dfd.setName(getAID());\n try {\n DFService.register(this, dfd);\n showMessage(\"Registered to the DF\");\n }catch (FIPAException e) {\n System.err.println(getLocalName() + \" registration with DF \" + \"unsucceeded. Reason: \" + e.getMessage());\n doDelete();\n }\n \n //Search for the CentralAgent\n ServiceDescription searchBoatCoordCriteria = new ServiceDescription();\n searchBoatCoordCriteria.setType(UtilsAgents.COORDINATOR_AGENT);\n this.coordinatorAgent = UtilsAgents.searchAgent(this, searchBoatCoordCriteria);\n\n // Register response behaviours\n //TODO canviar i posar l'altra content\n MessageTemplate mt = MessageTemplate.MatchContent(\"Movement request\");\n this.addBehaviour(new RequestResponseBehaviour(this,mt ));\n }", "public java.lang.String getAgentName() {\r\n return agentName;\r\n }", "public interface GuidesDataAgent {\n\n void loadGuides();\n}", "public java.lang.String getAgentNumber() {\r\n return agentNumber;\r\n }", "public static List<Object[]> getServerDetails(){\n\t\t\n\t\tString filePath = Holders.getFlatConfig().get(\"statusFile.use\").toString();\n\n\t\treturn getServerDetailsFromCSV(filePath, \"hostname\", \"user\",\"password\");\n\t}", "protected void setup() {\n\t\tSystem.out.println(\"Messenger agent \"+getAID().getName()+\" is ready.\");\r\n\t\tagentList = new ArrayList();\r\n\t\trefreshActiveAgents();\r\n\r\n\t\tmessageGUI = new MessageAgentGui(this);\r\n\t\tmessageGUI.displayGUI();\r\n\r\n\t\tDFAgentDescription dfd = new DFAgentDescription();\r\n\t\tdfd.setName(getAID());\r\n\t\tServiceDescription sd = new ServiceDescription();\r\n\t\tsd.setType(\"messenger-agent\");\r\n\t\tsd.setName(getLocalName()+\"-Messenger agent\");\r\n\t\tdfd.addServices(sd);\r\n\t\ttry {\r\n\t\t\tDFService.register(this, dfd);\r\n\t\t}\r\n\t\tcatch (FIPAException fe) {\r\n\t\t\tfe.printStackTrace();\r\n\t\t}\r\n\t\taddBehaviour(new ReceiveMessage());\r\n\t}", "public abstract String globalInfo();", "public interface IPSAgent\n{\n /**\n * This method is the first one to be called by the Agent Manager just after\n * instantiating the implementing class object. This is called only once in\n * the object's life cycle.\n * @param configData - DOM Element representing the configuration data\n * defined in the configuration file. The implementor dictates the DTD for\n * the element depending on what he needs.\n * @throws PSAgentException if initialization fails for any reason\n */\n void init(Element configData) throws PSAgentException;\n\n /**\n * This method is the engine of the agent and called any time a service from\n * this agent is requested by the Agent Manager.\n * @param action - name of the action to be excuted by the agent.\n * @param params - Map (name, value pairs) of all parameters from the\n * request\n * @param response <code>IPSAgentHandlerResponse</code> object that can be\n * used to set the results of execution of the action. If the requested\n * action is not implmented or enough parameters are not supplied to execute\n * the action, the result can be set to error.\n */\n void executeAction(String action, Map params,\n IPSAgentHandlerResponse response);\n\n /**\n * This method is called by the Agent Manager while shuttingdown. May be\n * used to do any cleaning.\n */\n void terminate();\n}", "public final AgentIdentifier getAgent() {\n\t\treturn (this.__agent==null) ? null : this.__agent.get().getId();\n\t}", "private void setupAgents() {\r\n try {\r\n setupJade();\r\n //createAgent(Bank.class, \"Bank\");\r\n createAgent(ProductionAgent.class, \"Res1\");\r\n createAgent(ProductionAgent.class, \"Res2\");\r\n createAgent(SocialAgent.class, \"Soc\");\r\n createAgent(ClientAgent.class, \"Client\");\r\n\r\n } catch (Exception e) {\r\n e.printStackTrace(System.err);\r\n }\r\n }", "@Test(timeout = 10000L)\n public void testGetLoadBalancerInformation() throws Exception {\n CommonDriverAdminTests.testGetLoadBalancerInformation(client);\n }", "List<JavaAgent> getJavaAgents();", "String getInfo();", "boolean hasAgent();", "private void countAgents(){\r\n\t\t\tfor(Agent agent : agents){\r\n\t\t\t\tif(agent.isActive()) activeAgent ++;\r\n\t\t\t\telse if(agent.getJailTerm() > 0) jailedAgent ++;\r\n\t\t\t\telse quietAgent ++;\r\n\t\t\t}\r\n\t\t}", "public String getAgentName() {\n return (String)getAttributeInternal(AGENTNAME);\n }", "public int getLoad() {\n\t\treturn load;\n\t}", "public static void someApplicationBootupMethod() {\n if (!AgentLoader.loadAgentFromClasspath(\"avaje-ebeanorm-agent\", \"debug=1;packages=model.**\")) {\n System.out.println(\"avaje-ebeanorm-agent not found in classpath - not dynamically loaded\");\n }\n\n System.out.println(\"avaje-ebeanorm-agent loaded\");\n }", "public final Probe getAgentProbe() {\n\t\tSituatedAgent<?,?,?,?> ag = (this.__agent==null) ? null : this.__agent.get();\n\t\tif (ag!=null) {\n\t\t\treturn ag.getProbe();\n\t\t}\n\t\treturn null;\n\t}", "loadDetails createloadDetails(String name)\n {\n loadDetails iLoadDetails = iIncomingLobsFactory.createloadDetails(name);\n \n return initloadDetails(iLoadDetails);\n }", "public void launch(){\n try{\n System.out.println(\"Main: Creando agentes\");\n \tmap = visualizer.getMapToLoad();\n \tsatelite = new Satelite(id_satelite, map, visualizer);\n \tdrone = new Drone(new AgentID(\"Drone\"), map.getWidth(), map.getHeigh(), id_satelite);\n \tSystem.out.println(\"MAIN : Iniciando agentes...\");\n \tvisualizer.setSatelite(satelite);\n satelite.start();\n drone.start();\n }catch(Exception e){\n \tSystem.err.println(\"Main: Error al crear los agentes\");\n System.exit(-1);\n }\n\t}", "private void collectHostInformation() {\n java.lang.management.RuntimeMXBean rtMXB =\n java.lang.management.ManagementFactory.getRuntimeMXBean();\n final String jvmName = rtMXB.getName();\n try {\n metadata_.pid = Integer.parseInt(jvmName.split(\"@\")[0]);\n } catch (NumberFormatException e) {\n metadata_.pid = null;\n }\n\n metadata_.currentDir = System.getProperty(\"user.dir\");\n }", "public void addAgent(String name)\r\n {\n \r\n }", "public void onStart(LoadScenarioInfo loadScenarioInfo){\n }", "org.beangle.security.session.protobuf.Model.AgentOrBuilder getAgentOrBuilder();", "public String getTopagent() {\n return topagent;\n }", "public String getExternalLoadsFileName() { return analyzeTool().getExternalLoadsFileName(); }", "public String getAgentContext() {\n return (String)getAttributeInternal(AGENTCONTEXT);\n }", "public int getLoadTime(){\n return m_LoadTime;\n }", "public void setAgent(String agent)\n {\n this.agent = agent;\n }", "@java.lang.Override\n public org.beangle.security.session.protobuf.Model.Agent getAgent() {\n return agent_ == null ? org.beangle.security.session.protobuf.Model.Agent.getDefaultInstance() : agent_;\n }", "public void info(){\r\n System.out.println(\"Title : \" + title);\r\n System.out.println(\"Author . \" + author);\r\n System.out.println(\"Location : \" + location);\r\n if (isAvailable){\r\n System.out.println(\"Available\");\r\n }\r\n else {\r\n System.out.println(\"Not available\");\r\n }\r\n\r\n }", "public int getCpuLoad() { return cpuLoad; }", "public void getSystemInfo(){\n //get system info\n System.out.println(\"System Information\");\n System.out.println(\"------------------\");\n System.out.println(\"Available Processors: \"+Runtime.getRuntime().availableProcessors());\n System.out.println(\"Max Memory to JVM: \"+String.valueOf(Runtime.getRuntime().maxMemory()/1000000)+\" MB\");\n System.out.println(\"------------------\");\n System.out.println();\n }", "com.google.protobuf.ByteString\n getAgentIPBytes();", "public String getTitle() {\n\t\treturn new String(\"Loading Network\");\n\t}", "public static void main(String[] args) throws StaleProxyException\n {\n AgentController Data=main1.createNewAgent(\"Data\",\"test.Data\",null);\n Data.start();\n }", "public String getAppletInfo() {\r\n return \"NanoGong applet version \" + VERSION_NUMBER + \" by the Gong Project (http://gong.ust.hk)\";\r\n }", "protected void setup(){\n\n\t\tsuper.setup();\n\n\t\tfinal Object[] args = getArguments();\n\t\tif(args!=null && args[0]!=null && args[1]!=null){\n\t\t\tdeployAgent((Environment) args[0],(EntityType)args[1]);\n\t\t}else{\n\t\t\tSystem.err.println(\"Malfunction during parameter's loading of agent\"+ this.getClass().getName());\n System.exit(-1);\n }\n\t\t\n\t\t//############ PARAMS ##########\n\n\t\tthis.nbmodifsmin \t\t= 30;\t\t\t//nb modifs minimum pour renvoyer la carte\n\t\tthis.timeOut \t\t\t= 1000 * 4;\t\t//secondes pour timeout des messages (*1000 car il faut en ms)\n\t\tthis.sleepbetweenmove \t= 200;\t\t\t//in MS\n\t\tthis.nbmoverandom\t\t= 4;\t\t\t// nb random moves by default\n\t\t\n\t\t//#############################\n\t\t//setup graph\n\t\t//setupgraph();\n\t\tthis.graph = new SingleGraph(\"graphAgent\");\n\t\tinitMyGraph();\n\t\tthis.step = 0;\n\t\tthis.stepMap = new HashMap<String, Integer>();\n\t\tthis.path = new ArrayList<String>();\n\t\tthis.mailbox = new Messages(this);\n\t\tthis.lastMsg = null;\n\t\tthis.switchPath = true;\n\t\tthis.lastsender = null;\n\t\tthis.lastSentMap = new HashMap<String, Integer>(); //nbmodifs\n\t\tthis.remakepath = false; // changes to true if the map changed in a way that requires a new path\n\t\tthis.nbmoverandomoriginal = this.nbmoverandom;\n\t\t\n\t\tthis.toSendMap = new HashMap<String, Graph>(); //actual hashmap graph\n\t\t\n\t\tSystem.out.println(\"the agent \"+this.getLocalName()+ \" is started\");\n\t}", "@Override\r\n\tpublic List<Agent> agentWhole() {\n\t\treturn agentMapper.agentWhole();\r\n\t}", "@Override\n protected String getModuleName() {\n return LUMEN_AGENT_NAME;\n }", "public void setAgent(String agent) {\n this.agent = agent;\n }", "public void setAgent(String agent) {\n this.agent = agent;\n }", "private InformationManager() {\n\t\tlives = ConfigurationManager.getConfigurationManager().getConfiguration().getLives();\n\t\tshields = ConfigurationManager.getConfigurationManager().getConfiguration().getShields();\n\t}", "public String getAgentId() {\n return this.agentId;\n }", "@Override\n public NodeInfo getNodeInfo() {\n NodeInfo nodeInfo = new NodeInfo(this.nodeProbe.isGossipRunning(), this.nodeProbe.isThriftServerRunning(),\n this.nodeProbe.isNativeTransportRunning(), this.nodeProbe.getUptime(),\n this.nodeProbe.getExceptionCount());\n return nodeInfo;\n }", "public String getAgentId() {\n return agentId;\n }", "public String getHealthinfo() {\n return healthinfo;\n }", "public void load() {\n updater.load(-1); // -1 because Guest ID doesn't matter.\n }", "@java.lang.Override\n public boolean hasAgent() {\n return agent_ != null;\n }" ]
[ "0.6620241", "0.6022766", "0.5933258", "0.57688934", "0.57397", "0.5738323", "0.573477", "0.5705519", "0.56957394", "0.569433", "0.5565203", "0.5558185", "0.55458266", "0.5494464", "0.5489876", "0.5462639", "0.54592115", "0.5416237", "0.54094046", "0.53979075", "0.53821874", "0.5379129", "0.53732216", "0.5371357", "0.53603834", "0.5345855", "0.53002596", "0.52943385", "0.5259499", "0.525666", "0.5250762", "0.52421033", "0.52414733", "0.5240551", "0.52359545", "0.52220094", "0.52208304", "0.5211032", "0.52055", "0.5167804", "0.5154177", "0.51489395", "0.51409155", "0.5139388", "0.51261586", "0.5122792", "0.5119608", "0.511576", "0.51069134", "0.50991976", "0.5093211", "0.5089778", "0.50767094", "0.50739276", "0.5060988", "0.5057594", "0.505336", "0.50529796", "0.50521654", "0.504922", "0.5040728", "0.5039042", "0.5038711", "0.5036762", "0.50259703", "0.5024954", "0.5024529", "0.50088906", "0.5006649", "0.4995989", "0.4992607", "0.4984335", "0.49832624", "0.49738437", "0.49590045", "0.49553028", "0.49527985", "0.49455887", "0.49454814", "0.49423033", "0.49321428", "0.49299648", "0.49273628", "0.49114174", "0.49098697", "0.49086574", "0.49072215", "0.49041447", "0.48839903", "0.4883603", "0.48806292", "0.48783067", "0.48783067", "0.48690963", "0.48690158", "0.4861494", "0.4861214", "0.48547533", "0.4854173", "0.48527277" ]
0.56698096
10
/ Collect all the entity to party list, and then this list will be used to invoke Party service.
private void setPartyList(List<String> partyList, PolicyHeader policyHeader, String viewName) { if (!EXCLUDE_PARTY.equalsIgnoreCase(viewName)) { RecordSet underWriterRS = loadUnderwriterInformation(policyHeader); RecordSet agentRecordSet = loadAgentInformation(new Record(), policyHeader); Record policyRec = loadPolicyInformation(new Record(), policyHeader); Iterator underWriterIte = underWriterRS.getRecords(); String partyNumberId = ""; while (underWriterIte.hasNext()) { Record record = (Record) underWriterIte.next(); partyNumberId = record.getStringValue("entityId", ""); if (!partyList.contains(partyNumberId)) { partyList.add(partyNumberId); } } Iterator agentRSIte = agentRecordSet.getRecords(); while (agentRSIte.hasNext()) { Record record = (Record) agentRSIte.next(); partyNumberId = record.getStringValue("entityId", ""); if (!partyList.contains(partyNumberId)) { partyList.add(partyNumberId); } } String issueCompany = policyRec.getStringValue("issueCompanyEntityId", ""); if (!partyList.contains(issueCompany)) { partyList.add(issueCompany); } String policyHolderEntityId = policyHeader.getPolicyHolderNameEntityId(); if (!partyList.contains(policyHolderEntityId)) { partyList.add(policyHolderEntityId); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addParties(ArrayList<Party> others) {\n\n\t}", "public void addDataFromDBToList(ArrayList<SingleParty> partiesList){\n SingleParty p=new SingleParty();\n partiesList.add(p);\n partiesList.add(p);\n partiesList.add(p);\n partiesList.add(p);\n partiesList.add(p);\n partiesList.add(p);\n\n }", "public void updateClientParty()\n\t{\n\t\tfor(int i = 0; i < getParty().length; i++)\n\t\t\tupdateClientParty(i);\n\t}", "private void loadParty(PolicyPremiumInquiryRequestType policyPremiumInquiryRequest, PolicyPremiumInquiryResultType policyPremiumInquiryResult, List<String> partyList) {\r\n Logger l = LogUtils.getLogger(getClass());\r\n if (l.isLoggable(Level.FINER)) {\r\n l.entering(getClass().getName(), \"loadParty\", new Object[]{policyPremiumInquiryRequest, policyPremiumInquiryResult, partyList});\r\n }\r\n\r\n PartyInquiryResultType partyInquiryResult = null;\r\n\r\n PartyInquiryRequestType partyInquiryRequest = new PartyInquiryRequestType();\r\n partyInquiryRequest.setCorrelationId(policyPremiumInquiryRequest.getCorrelationId());\r\n partyInquiryRequest.setMessageId(policyPremiumInquiryRequest.getMessageId());\r\n partyInquiryRequest.setUserId(policyPremiumInquiryRequest.getUserId());\r\n\r\n Iterator it = partyList.iterator();\r\n while (it.hasNext()) {\r\n String entityId = (String) it.next();\r\n com.delphi_tech.ows.partyinquiryservice.PartyType party = new com.delphi_tech.ows.partyinquiryservice.PartyType();\r\n party.setPartyNumberId(entityId);\r\n PartyInquiryType partyInquiry = new PartyInquiryType();\r\n partyInquiry.setParty(party);\r\n PartyInquiryRequestParametersType partyInquiryRequestParameters = new PartyInquiryRequestParametersType();\r\n partyInquiryRequestParameters.setPartyInquiry(partyInquiry);\r\n partyInquiryRequest.getPartyInquiryRequestParameters().add(partyInquiryRequestParameters);\r\n }\r\n\r\n partyInquiryResult = getPartyInquiryServiceManager().loadParty(partyInquiryRequest);\r\n\r\n if (MessageStatusHelper.getInstance().isRejected(partyInquiryResult.getMessageStatus())) {\r\n MessageStatusAppException wsae = MessageStatusHelper.getInstance().handleRejectedServiceCall(\"Failure invoking the PolicyInquiryServiceManagerImpl\",\r\n partyInquiryResult.getMessageStatus());\r\n l.logp(Level.SEVERE, getClass().getName(), \"loadParty\", wsae.getMessage(), wsae);\r\n throw wsae;\r\n }\r\n\r\n Iterator orgIt = partyInquiryResult.getOrganization().iterator();\r\n while (orgIt.hasNext()) {\r\n policyPremiumInquiryResult.getOrganization().add((OrganizationType) orgIt.next());\r\n }\r\n\r\n Iterator persIt = partyInquiryResult.getPerson().iterator();\r\n while (persIt.hasNext()) {\r\n policyPremiumInquiryResult.getPerson().add((PersonType) persIt.next());\r\n }\r\n\r\n Iterator propIt = partyInquiryResult.getProperty().iterator();\r\n while (propIt.hasNext()) {\r\n policyPremiumInquiryResult.getProperty().add((PropertyType) propIt.next());\r\n }\r\n\r\n Iterator addIt = partyInquiryResult.getAddress().iterator();\r\n while (addIt.hasNext()) {\r\n policyPremiumInquiryResult.getAddress().add((AddressType) addIt.next());\r\n }\r\n\r\n if (l.isLoggable(Level.FINER)) {\r\n l.exiting(getClass().getName(), \"loadParty\");\r\n }\r\n }", "public void getEntities() {\n\t\t\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\tEntityA entityA = exampleDao.getOne(1);\r\n\t\tEntityB entityB3 = entityBDao.getOne(3);\r\n\t \tEntityB entityB2 = entityBDao.getOne(2);\r\n\t \tEntityB entityB1 = entityBDao.getOne(1);\r\n\r\n\t \t\r\n\r\n\t\tentityA.setEntityBList(Arrays.asList(entityB2,entityB3,entityB1));\r\n\r\n\t}", "private void populateGeofencesList() {\n ArrayList<GeofenceObjects> returnlist = currentList;\n geofences.clear();\n for (GeofenceObjects geofenceObjects : returnlist) {\n geofences.add(geofenceObjects.getGeofenceName());\n }\n }", "private List<EnrichmentEntity> enrichmentEntities (BirthCaseEnrichment birthCaseEnrichment) {\n ArrayList<EnrichmentEntity> entities = new ArrayList<>();\n\n// for(OrganisationsToInformResponse otir : birthCaseEnrichment.getOrganisationsToInform()) {\n for(OrganisationsToInformResponse otir : birthCaseEnrichment.getOrganisationsToInformResponse()) {\n entities.add(\n createEnrichmentEntity(birthCaseEnrichment.getCouncil(), otir.getOrganisation(), otir.isResponse() ) );\n }\n\n return entities;\n }", "public @RequestMapping(\n\t\t\tvalue = \"/party/all\",\n\t\t\tmethod = GET,\n\t\t\tproduces = JSON\n\t) Party[] getAllParties() {\n\t\treturn partyService.getAllParties();\n\t}", "List<? extends AutomaticEarlyTerminationElection> getPartyElection();", "private void populateEntitiesLists() {\n\t\tfor (StaticEntity entity : ((ClientTiledMap) map).staticEntities) {\n\t\t\tregisterStaticEntity(entity);\n\t\t}\n\t}", "@GetMapping(\"/parties\")\n\tpublic ResponseEntity<List<Party>> getAllParties() {\n\t\treturn new ResponseEntity<>(dataFetchService.getAllParties(), HttpStatus.OK);\n\t}", "@Override\r\n\tpublic List<PartyType> findAll() {\n\t\treturn null;\r\n\t}", "public void clearPartyList() {\n currentlyProcessingParties.clear();\n }", "@Override\n public List<Partnership> getPartnerships(AuthContext context) throws DSException {\n\n isContextValidFor(context, roleId -> { if(roleId == -1) throw new DSAuthException(\"Invalid Context\"); }, 1,3);\n List<Partnership> partnerships = new ArrayList<>();\n try {\n List<Map<String,Object>> data = get(\"SELECT * FROM TblPartnerships\");\n for(Map<String,Object> map: data) {\n Partnership p = new Partnership(map);\n List<OperationalOfficer> officers = new ArrayList<>();\n get(\"SELECT * FROM TblOperationalOfficers WHERE ptship = ?\",p.getPtshipNum()).forEach(\n stringObjectMap -> officers.add(new OperationalOfficer(stringObjectMap))\n );\n p.setOfficers(officers);\n partnerships.add(p);\n }\n return partnerships;\n } catch (SQLException e) {\n throw new DSFormatException(e.getMessage());\n }\n }", "public List<Object> retrieveIncrementalEntities() {\n List<Object> result = new ArrayList<Object>();\n for (ProvisioningEntityWrapper provisioningEntityWrapper : this.provisioningEntityWrappers) {\n \n if (provisioningEntityWrapper.getGrouperTargetEntity() != null) {\n result.add(provisioningEntityWrapper.getGrouperTargetEntity());\n } else if (provisioningEntityWrapper.getGrouperProvisioningEntity() != null) {\n result.add(provisioningEntityWrapper.getGrouperProvisioningEntity());\n } else if (provisioningEntityWrapper.getGcGrouperSyncMember() != null) {\n result.add(provisioningEntityWrapper.getGcGrouperSyncMember());\n } else if (provisioningEntityWrapper.getProvisioningStateEntity() != null) {\n result.add(provisioningEntityWrapper.getProvisioningStateEntity());\n }\n }\n return result;\n }", "public List<Entity> getPassengers() {\n/* 667 */ return Lists.newArrayList(Lists.transform((getHandle()).passengers, new Function<Entity, Entity>()\n/* */ {\n/* */ public Entity apply(Entity input) {\n/* 670 */ return input.getBukkitEntity();\n/* */ }\n/* */ }));\n/* */ }", "private void listarEntidades() {\r\n\t\tsetListEntidades(new ArrayList<EntidadDTO>());\r\n\t\tgetListEntidades().addAll(entidadController.encontrarTodos());\r\n\t\tif (!getListEntidades().isEmpty()) {\r\n\t\t\tfor (EntidadDTO entidadDTO : getListEntidades()) {\r\n\t\t\t\t// Conversión de decimales.\r\n\t\t\t\tDouble porcentaje = entidadDTO.getPorcentajeValorAsegurable() * 100;\r\n\t\t\t\tdouble por = Math.round(porcentaje * Math.pow(10, 2)) / Math.pow(10, 2);\r\n\t\t\t\tentidadDTO.setPorcentajeValorAsegurable(por);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "protected List<FloorDef> genEntities() {\n List<FloorDef> list = new ArrayList<>();\n\n // MUST ADD THE WORK IDS AFTER\n\n list.add(new FloorDef(1, 10, 7001));\n list.add(new FloorDef(2, 3, 7002));\n list.add(new FloorDef(3, 10, 7003));\n list.add(new FloorDef(4, 0, 7004));\n\n //int[] workIDs = new int[]{};\n\n //for (int i = 0; i < workIDs.length)\n\n return list;\n }", "public ArrayList<Poentity> get_all_poentity() throws Exception {\n\n \t\t log.setLevel(Level.INFO);\n\t log.info(\" service operation started !\");\n\n\t\ttry{\n\t\t\tArrayList<Poentity> Poentity_list;\n\n\t\t\tPoentity_list = Poentity_Activity_dao.get_all_poentity();\n\n \t\t\tlog.info(\" Object returned from service method !\");\n\t\t\treturn Poentity_list;\n\n\t\t}catch(Exception e){\n\n\t\t\tSystem.out.println(\"ServiceException: \" + e.toString());\n\t\t\tlog.error(\" service throws exception : \"+ e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\n\t}", "private void toBeAddedEntities()\n\t{\n\t\tif( entitiesToAdd.isEmpty() )\n\t\t{\n\t\t\treturn ;\n\t\t}\n\n\t\tfinal List<Event<?>> events = MalletList.<Event<?>>newList() ;\n\n\t\tfinal int size = entitiesToAdd.size() ;\n\t\tfor( int i = 0; i < size; ++i )\n\t\t{\n\t\t\tfinal Entity entity = entitiesToAdd.get( i ) ;\n\t\t\thookEntity( eventSystem, events, entity ) ;\n\t\t\tentities.add( entity ) ;\n\t\t}\n\t\tentitiesToAdd.clear() ;\n\t\t\n\t\tif( size > capacity )\n\t\t{\n\t\t\t// If the size of entitiesToAdd exceeds our capacity then \n\t\t\t// we want to resize the array - it's easy for an \n\t\t\t// array to expand, it's much harder to shrink it!\n\t\t\tentitiesToAdd = MalletList.<Entity>newList( capacity ) ;\n\t\t}\n\t}", "public List<Entity> shootoutEntities(List<Entity> ents, boolean simulate);", "public Party getParty() {\n return party;\n }", "@Override\n\tpublic List<IPartyGoer> getPartyGoers() {\n\t\treturn partyGoers;\n\t}", "List<ScPartyMember> selectAll();", "private void initializeEntities() {\n arrAttack = new ArrayList<>();\n arrCollidable = new ArrayList<>();\n entities = new ArrayList<>();\n\n arrAttack = scene.entityManager.getEntitiesWithComponents(attackComponent.getClass(), tool.getClass());\n\n arrCollidable = scene.entityManager.getEntitiesWithComponents(collidable.getClass(), Playable.class);\n\n for (int i = 0; i < arrAttack.size(); i++) {\n\n tool = scene.entityManager.getEntityComponentInstance(arrAttack.get(i), tool.getClass());\n\n //A -1 means that the entity is not attacking, at least with that weapon\n if (tool.currentActive != -1) {\n entities.add(arrAttack.get(i));\n }\n }\n\n //adding collidables to entities\n for (int i = 0; i < arrCollidable.size(); i++) {\n entities.add(arrCollidable.get(i));\n }\n }", "@Override\r\npublic List<ThirdPartyAppsList> findAll()\r\n{\nArrayList<ThirdPartyAppsList> appsList = new ArrayList<>();\r\n//adding providers to the List\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"My Data My Health\" ,\"Naveen\",\"Regidtered since: Dec-2020\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Virtual Viewer\",\"Snow bound\",\"Regidtered since: Mar-2017\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"hapi.fhir\",\"Apache\",\"Regidtered since: June-2017\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading3\",\"Dummy Owner Name\",\"Regidtered since: Aug-2016\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading4\",\"Dummy Owner Name\",\"Regidtered since: Sep-2018\"));\r\nappsList.add(new ThirdPartyAppsList(\"15645367\",\"Aetna\",\"Dummy Heading5\",\"Owner Name\",\"Regidtered since: Oct-2019\"));\r\nreturn appsList;\r\n}", "List<TransportEntity> getAllEntityOfQuery();", "public List<Entity> getEntities() {\n return entities;\n }", "private void populateEntityToDeletetList()\r\n\t{\r\n\t\tentityNameListDelete = new ArrayList<String>();\r\n\t\tentityNameListDelete.add(\"edu.wustl.catissuecore.domain.Quantity\");\r\n\t\tentityNameListDelete\r\n\t\t\t\t.add(\"edu.wustl.catissuecore.domain.SpecimenCollectionRequirementGroup\");\r\n\t}", "private List getActiveEntities() {\n \t\tList<String> chainIds = new ArrayList<String>();\n \t\tbioUnitTransformationsStructAssembly = bioUnitsStructAssembly.getBioUnitTransformationList(initialBioId);\n \t\tif (bioUnitTransformationsStructAssembly != null) {\n \t\t\tfor (ModelTransformationMatrix trans: bioUnitTransformationsStructAssembly) {\n \t\t\t\tchainIds.add(trans.ndbChainId);\n \t\t\t}\n \t\t}\n \t return chainIds;\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 }", "public void setParty(Party party) {\n this.party = party;\n }", "List<IViewEntity> getEntities();", "Party getParty();", "@Override\n\tpublic List<Entrust> select() {\n\t\treturn entrustServiceImpl.select();\n\t}", "@Override\r\n\tpublic List<Agent> agentWhole() {\n\t\treturn agentMapper.agentWhole();\r\n\t}", "private void getEcoleList(){\r\n\t\tEcoleRequestFactory rf = GWT.create(EcoleRequestFactory.class);\r\n\t\trf.initialize(this.getEventBus(), new EventSourceRequestTransport(this.getEventBus()));\r\n\t\tEcoleRequestContext rc = rf.ecoleRequest();\r\n\t\trc.listAllActive().fire(new Receiver<List<EcoleProxy>>(){\r\n\t\t\t@Override\r\n\t\t\tpublic void onSuccess(List<EcoleProxy> response){\r\n\t\t\t\tgetView().setEcoleAddList(response);\r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\tpublic void onFailure(ServerFailure error){\r\n\t\t\t\tWindow.alert(error.getMessage());\r\n\t\t\t}\r\n\t\t});\r\n\t}", "public void addCurrentlyProcessingParties(Party party) {\n currentlyProcessingParties.add(party);\n }", "private void populateProviderList()\n {\n synchronized(activeProvidersByName) {\n if(ModuleManager.getInstance() != null) {\n List<ModuleURN> providerUrns = ModuleManager.getInstance().getProviders();\n for(ModuleURN providerUrn : providerUrns) {\n String providerName = providerUrn.providerName();\n if(providerUrn.providerType().equals(MDATA) && !providerName.equals(MarketDataCoreModuleFactory.IDENTIFIER) && !activeProvidersByName.containsKey(providerName)) {\n List<ModuleURN> instanceUrns = ModuleManager.getInstance().getModuleInstances(providerUrn);\n if(!instanceUrns.isEmpty()) {\n ModuleURN instanceUrn = instanceUrns.get(0);\n ModuleInfo info = ModuleManager.getInstance().getModuleInfo(instanceUrn);\n if(info.getState() == ModuleState.STARTED) {\n ModuleProvider provider = new ModuleProvider(providerName,\n AbstractMarketDataModule.getFeedForProviderName(providerName));\n SLF4JLoggerProxy.debug(this,\n \"Creating market data provider proxy for {}\",\n providerName);\n addProvider(provider);\n }\n }\n }\n }\n }\n }\n }", "List<Edible> getEdibles();", "public void setParty(String party) {\n this.party = party;\n }", "@Override\r\n\tpublic void update(PartyType entity) {\n\t\t\r\n\t}", "@Override\n\tpublic List<Entity> getEntities( final List<Entity> _entities )\n\t{\n\t\t_entities.addAll( entities ) ;\n\t\t_entities.addAll( entitiesToAdd ) ;\n\t\treturn _entities ;\n\t}", "public void list()\n {\n for(Personality objectHolder : pList)\n {\n String toPrint = objectHolder.getDetails();\n System.out.println(toPrint);\n }\n }", "@Override\n public List<Part> findAll() {\n List<Part> resultList = new ArrayList<>();\n repositoryPart.findAll().iterator().forEachRemaining(resultList::add);\n return resultList;\n }", "public void initPeople() {\n this.people = new ArrayList<>();\n this.people.addAll(services.getPeopleList());\n }", "public List<Entity> getAll() {\n return entities;\n }", "List<T> getEntitiesByIds(List<ID_TYPE> ids) throws NotImplementedException;", "public static Iterable<Entity> getAllEntities() {\n\t\treturn Util.listEntities(\"RecetteId\", null, null);\n\t}", "public List<Class<?>> getEntities(){\n\t\tList<Class<?>> result = new ArrayList<Class<?>>();\n\t\t\n//\t\tresult.add(Equipo.class);\n\t\tresult.add(Formacion.class);\n\t\tresult.add(FormacionStrategy.class);\n\t\tresult.add(Habilidad.class);\n\t\tresult.add(Jugador.class);\n\t\tresult.add(Tecnico.class);\n\t\tresult.add(Titular.class);\n//\t\tresult.add(PartidoSimple.class);\n//\t\tresult.add(PartidoDeCopa.class);\n\t\t\n\t\treturn result;\n\t}", "private void listToString() {\n textList.clear();\n for (int x = 0; x < party.size(); x++) {\n Agent thisAgent = party.getMember(x);\n Statistics thisAgentStats = thisAgent.getStats();\n textList.add(thisAgent.getName());\n textList.add(\"HP:\" + thisAgentStats.getCurrentHP() + \"/\" + thisAgentStats.getMaxHP() + \" MP:\" + thisAgentStats.getCurrentMP() + \"/\" + thisAgentStats.getMaxMP());\n }\n }", "private List<Entity> getLoadableEntities() { \n ArrayList<Entity> choices = new ArrayList<Entity>();\n // If current entity is null, nothing to do\n if (ce() == null) {\n return choices;\n }\n List<Entity> entities = clientgui.getClient().getGame()\n .getEntitiesVector();\n for (Entity other : entities) { \n if (other.isSelectableThisTurn() && ce().canLoad(other, false)) {\n choices.add(other);\n }\n }\n return choices;\n }", "public List<Enemy> getEnemies();", "public List < Entity > getPassengers ( ) {\n\t\treturn extract ( handle -> handle.getPassengers ( ) );\n\t}", "protected List getAllRelationsForParty(String partyId, NbaTXLife nbaTXLife) {\n OLifE olife = nbaTXLife.getOLifE(); \n List relationList = new ArrayList();\n Relation relation = null;\n int relationCount = olife.getRelationCount();\n for (int index = 0; index < relationCount; index++) {\n relation = olife.getRelationAt(index);\n if (partyId.equals(relation.getOriginatingObjectID()) || partyId.equals(relation.getRelatedObjectID())) {\n relationList.add(relation);\n }\n }\n return relationList;\n }", "@Override\n protected Entity[] getObservedEntities() {\n return entities;\n }", "private void createActions() {\n\n\t\t//-----------------------------------------------\n\t\t// Check if Party Exists\n\t\t//-----------------------------------------------\n\t\tpartyExists = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {return emailaddressField.noValue();}\n\t\t\tprotected void send() {super.send(getValue(new PartyExists()));}\n\t\t\tprotected void receive(Party party) {\n\t\t\t\tif (party != null ) {setValue(party);}\n\t\t\t}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Read Party\n\t\t//-----------------------------------------------\n\t\tactorRead = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {return partyField.noValue();}\n\t\t\tprotected void send() {super.send(getValue(new ActorRead()));}\n\t\t\tprotected void receive(Party party){setValue(party);}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Update Party\n\t\t//-----------------------------------------------\n\t\tactorUpdate = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\tifMessage(AbstractRoot.noOrganizationid(), Level.TERSE, AbstractField.CONSTANTS.errOrganizationid(), partyField)\n\t\t\t\t\t\t|| ifMessage(partyField.noValue(), Level.TERSE, AbstractField.CONSTANTS.errId(), partyField)\n\t\t\t\t\t\t|| ifMessage(emailaddressField.noValue(), Level.ERROR, AbstractField.CONSTANTS.errEmailaddress(), emailaddressField)\n\t\t\t\t\t\t|| ifMessage(formatdateField.noValue(), Level.ERROR, CONSTANTS.formatdateError(), formatdateField)\n\t\t\t\t\t\t|| ifMessage(formatphoneField.noValue(), Level.ERROR, CONSTANTS.formatphoneError(), formatphoneField)\n\t\t\t\t\t\t|| ifMessage(!Party.isEmailAddress(emailaddressField.getValue()), Level.ERROR, AbstractField.CONSTANTS.errEmailaddress(), emailaddressField)\n//\t\t\t\t\t\t|| ifMessage((typesField.hasValue(Party.Type.Agent.name()) || typesField.hasValue(Party.Type.Organization.name())) && !partyField.hasValue(AbstractRoot.getOrganizationid()), Level.ERROR, CONSTANTS.partytypeError(), partyField)\n\t\t\t\t);\n\t\t\t}\n\t\t\tprotected void send() {super.send(getValue(new ActorUpdate()));}\n\t\t\tprotected void receive(Party party) {\n\t\t\t\tif (parentTable != null) {parentTable.execute(true);}\n\t\t\t\thide();\n\t\t\t}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Delete Party\n\t\t//-----------------------------------------------\n\t\tactorDelete = new GuardedRequest<Party>() {\n\t\t\tprotected String popup() {return AbstractField.CONSTANTS.errDeleteOK();}\n\t\t\tpublic void cancel() {state = oldstate;}\n\t\t\tprotected boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\tifMessage(partyField.noValue(), Level.TERSE, AbstractField.CONSTANTS.errId(), partyField)\n\t\t\t\t);\n\t\t\t}\n\t\t\tprotected void send() {super.send(getValue(new ActorDelete()));}\n\t\t\tprotected void receive(Party party){\n\t\t\t\tif (parentTable != null) {parentTable.execute(true);}\n\t\t\t\thide();\n\t\t\t}\n\t\t};\t\n\t}", "public static void main(String[] args) {\n Client clientIP = new IndividualEntrepreneur(100000);\n System.out.println(clientIP);\n// client.deposit(555);\n// System.out.println(client);\n// client.deposit(1234);\n// System.out.println(client);\n// client.withdraw(1498);\n// System.out.println(client);\n\n Client clientOOO= new legalEntity(200000);\n System.out.println(clientOOO);\n// client1.deposit(1234);\n// System.out.println(client1);\n// client1.withdraw(10000);\n// System.out.println(client1);\n clientOOO.send(clientIP,2000);\n System.out.println(clientIP);\n System.out.println(clientOOO);\n clientIP.getInformation();\n clientOOO.getInformation();\n\n System.out.println(\"Hah Set \" + clientIP.getClientSet());\n System.out.println(clientIP.getClientSet());\n clientIP.getClientSet().clear();\n System.out.println(clientIP.getClientSet());\n Client clientInd = new Individual(50000);\n System.out.println(clientIP.getClientSet());\n clientIP.getClientSet().add(clientInd);\n clientIP.getClientSet().add(clientInd);\n System.out.println(clientIP.getClientSet());\n\n }", "@Override\r\n public List<HarvestResponseDto> getAllHarvests(){\r\n return harvestRepository.findAll()\r\n .stream()\r\n .map(harvestMapper::mapToDto)\r\n .collect(Collectors.toList());\r\n }", "@ManyToMany//(cascade = {CascadeType.PERSIST, CascadeType.MERGE})\n public List<Person> getParticipants() {\n return participants;\n }", "@Inject\n public LocalApiImpl() {\n entityList= new ArrayList<>();\n for (int i=0; i<10; i++){\n PostEntity postEntity = new PostEntity();\n postEntity.setPostId(i);\n entityList.add(postEntity);\n }\n }", "public List<OrderDetails> fetchOderList(){\n List<OrderDetails> orderDetails = null;\n orderDetails = mongoDbConnector.fetchOderList();\n return orderDetails;\n }", "public List<PostalAddress> newServiceProvidingRequest() {\n UserSession session = app.getCurrentSession();\n String email = session.getEmailUser();\n ClientRecords rc = company.getClientRecords();\n cli = rc.getClientByEmail(email);\n List<PostalAddress> led = cli.getPostalAddresses();\n return led;\n }", "@Override\n\tpublic List<ParticipantDTO> getAllEnrolledParticipant() {\n\t\tList<ParticipantDTO> participantList = eManager.createQuery(\n\t\t\t\t\"SELECT p FROM ParticipantDTO p\", ParticipantDTO.class)\n\t\t\t\t.getResultList();\n\n\t\treturn participantList;\n\t}", "private void getAll(){\n if (!LOADED_ALL) {\n Message msg_getpersons = Message.obtain(getPersonsHandlerThread.getHandler());\n msg_getpersons.what = GetPersonsHandlerThread.TASK_GET_PERSONS;\n int table1 = TABLE_ALL;\n msg_getpersons.arg1 = table1;\n Log.d(TAG, \"DbOperationsRunnable: run(): preparing message msg_getperson with following attributes:\");\n Log.d(TAG, \"DbOperationsRunnable: run(): msg_getpersons.what = \" + msg_getpersons.what);\n Log.d(TAG, \"DbOperationsRunnable: run(): msg_getpersons.arg1 = \" + msg_getpersons.arg1);\n Log.d(TAG, \"DbOperationsRunnable: run(): sending message...\");\n msg_getpersons.sendToTarget();\n while (true) {\n if (DONE_TASK_GETPERSONS) {\n DONE_TASK_GETPERSONS = false;\n break;\n }\n }\n LOADED_ALL = true;\n } else {\n persons_list.clear();\n persons_list.addAll(all_list);\n }\n }", "@Override\n\tpublic List<Pedido> toEntity(List<PedidoDTO> dtoList) {\n\t\treturn null;\n\t}", "private static ImmutableList<Class<?>> applicationEntities() {\n List<String> paths = new ArrayList<>(List.of(PREFIX_STRING));\n if (additionalPaths != null) {\n paths.addAll(additionalPaths);\n }\n\n final List<Class<?>> collect = paths\n .stream()\n .map(path -> {\n logger.info(\"Scanning {} for Hibernate entities\", path);\n final Reflections reflections = new Reflections(path);\n final Set<Class<?>> entities = reflections.getTypesAnnotatedWith(Entity.class);\n logger.info(\"Found {} Hibernate entities\", entities.getClass());\n if (logger.isDebugEnabled()) {\n entities.forEach((entity) -> logger.debug(\"Registered {}.\", entity.getName()));\n }\n return entities;\n })\n .flatMap(Collection::stream)\n .collect(Collectors.toList());\n\n return ImmutableList.copyOf(collect);\n }", "public List<EntityObject> getEntities() {\n\t\treturn entities;\n\t}", "@SuppressWarnings(\"unchecked\")\n public <T> List<T> list() {\n return (List<T>) journal\n .retrieve(BarbelQueries.all(id), queryOptions(orderBy(ascending(BarbelQueries.EFFECTIVE_FROM))))\n .stream().map(d -> processingState.expose(context, (Bitemporal) d)).collect(Collectors.toList());\n }", "public List<Entity> getAllEntities()\n\t{\n\t\treturn this.entities;\n\t}", "public ArrayList<Entity> getEntities() {\n\t\treturn entities;\n\t}", "@Override\n public ArrayList<Entity> getEntities() {\n ArrayList<Entity> enemies = new ArrayList<>();\n\n // Fire Dragon (Near Starting Area)\n enemies.add(new Enemy(\"Dracoflame\", 31, 32) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Evil Tree (Far Right)\n enemies.add(new Enemy(\"Trevil\", 90, 40) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Evil Mushroom (Bottom Left)\n enemies.add(new Enemy(\"Mycovolence\", 72, 80) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n // Ship\n enemies.add(new Enemy(\"SailingShip\", 11, 76) {\n @Override\n public void doAction() {\n //Globals.SBG.enterState(Globals.STATES.get(\"CHALLENGE\"));\n }\n });\n\n return enemies;\n }", "public void sendPeerListToAll() {\r\n\t\tPacket packet = new Packet();\r\n\t\tpacket.eventCode = 1;\r\n\t\tfor(int i = 0; i < peerClientNodeConnectionList.size(); i++) {\r\n\t\t\tPeer peer = new Peer();\r\n\t\t\tpeer.peerID = peerClientNodeConnectionList.get(i).peerClientID;\r\n\t\t\tpeer.peerIP = peerClientNodeConnectionList.get(i).peerClientIP;\r\n\t\t\tpeer.peerPort = peerClientNodeConnectionList.get(i).peerClientListeningPort;\r\n\t\t\tpacket.peerList.add(peer);\r\n\t\t}\r\n\t\t\r\n\t\tfor(int i = 0; i < peerClientNodeConnectionList.size(); i++) {\r\n\t\t\ttry {\r\n\t\t\t\tpeerClientNodeConnectionList.get(i).outStream.writeObject(packet);\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t}", "public void addPartner(SalesOrderHeaderPartner... entity) {\r\n if (toPartner == null) {\r\n toPartner = Lists.newArrayList();\r\n }\r\n toPartner.addAll(Lists.newArrayList(entity));\r\n }", "@RequestMapping(value = \"/listallentities\", method = RequestMethod.GET)\n\tpublic @ResponseBody String listAllEntities() {\n\t\ttry {\n\t\t\t// System.out.println(\"USER ID FROM SESSION : \" +\n\t\t\t// session.getAttribute(\"userId\"));\n\t\t\tString requestURI = request.getRequestURI();\n\n\t\t\tSystem.out.println(\"Called list entity : \" + requestURI);\n\n\t\t\tString requestFromMethod = \"listAllEntities\";\n\t\t\treturn entityService.listEntities(null, requestFromMethod);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic ArrayList<E> getEntities() {\n\t\treturn (ArrayList<E>) entities.clone();\n\t}", "public interface Pledge_Service {\n\n PledgeEnt getPledge(String id);\n List<PledgeEnt> getPledgeList(String line_no,String CUSTCOD);\n\n}", "@GetMapping(\"/households\")\n public ResultEntity<List<ItemDTO>> getAllHousehold()\n {\n\n return itemService.getItemsBySubCategory(ConstantUtil.TYPE_SALE_RENT,\"Household\");\n }", "public List<PartDto> getAllParts(){\n var result = this.repoParts.findAll();\n ArrayList<PartDto> parts = new ArrayList<>();\n return mapper.mapList(result, false);\n }", "public static ArrayList<? extends Entity>getEntities(){\n\t\tArrayList<Entity> totalEntities = new ArrayList<Entity>();\n\t\ttotalEntities.addAll(humans);\n\t\ttotalEntities.addAll(zombies);\n\n\t\treturn totalEntities;\n\t}", "@Override\r\n\tpublic void save(PartyType entity) {\n\t\t\r\n\t}", "List<Goods> getGoodsList();", "@Override\n public List<Person> getPeople() {\n return this.personRepository.findAll();\n }", "protected void handleEntitiesIndividually() {\n\n\t\tfinal Set<Long> originalBatch = getUidsToLoad();\n\t\tfinal Set<Long> batchOfOne = new HashSet<Long>();\n\n\t\t/**\n\t\t * We replace the batch of all the uids with our own which we'll only put one uid at a time.\n\t\t */\n\t\tsetBatch(batchOfOne);\n\n\t\tLOG.info(\"Loading \" + originalBatch.size() + \" entities individually\");\n\n\t\tfor (final Long uid : originalBatch) {\n\n\t\t\ttry {\n\n\t\t\t\tbatchOfOne.clear();\n\t\t\t\tbatchOfOne.add(uid);\n\n\t\t\t\tfinal Collection<ENTITY> loadedEntity = loadBatch();\n\t\t\t\tgetPipelinePerformance().addCount(\"loader:entities_loaded_individually\", loadedEntity.size());\n\n\t\t\t\tfor (final ENTITY entity : loadedEntity) {\n\t\t\t\t\tgetNextStage().send(entity);\n\t\t\t\t\tgetPipelinePerformance().addCount(\"loader:entities_out\", 1);\n\n\t\t\t\t}\n\t\t\t} catch (final Exception e) {\n\t\t\t\tgetPipelinePerformance().addCount(\"loader:individual_entity_loading_failures\", 1);\n\n\t\t\t\tLOG.error(\"Could not load entity with uid \" + uid + \" for indexing, this entity will not be indexed. \", e);\n\t\t\t}\n\n\t\t}\n\n\t\t/** Put the original set of uids back. */\n\t\tsetBatch(originalBatch);\n\n\t}", "List<ObjectExpenseEntity> getAllObjectExpenses();", "public void inject() {\n for (IMixinPlatformAgent agent : this.agents) {\n MixinContainer.logger.debug(\"Processing inject() for {}\", agent);\n agent.inject();\n }\n }", "public void setPartyId(Long partyId) {\n this.partyId = partyId;\n }", "Collection<Class<?>> registerEntities();", "ImmutableList<SchemaOrgType> getMainEntityList();", "public void setEntities(ArrayList<Entity> entities) {\n this.entities = entities;\n }", "public String getParty() {\n return party;\n }", "@Command(\n name = \"list\",\n permission = \"aperf.cmd.module.entity.list\",\n parentName = \"aperf.cmd.module.entity\",\n syntax = \"/aperf entity <command>\",\n alias = {\"l\"})\n public static CommandResponse listEntitiesCommand(ICommandSender sender, List<String> args) {\n String groupName;\n IFilter grouperFilter = null;\n if (args.size() >= 1 && args.get(0) != null) {\n groupName = args.get(0);\n grouperFilter = loadGroup(groupName);\n }\n\n // Get Filter\n String filterArg;\n IFilter filter = null;\n if (args.size() >= 2 && args.get(1) != null) {\n filterArg = args.get(1);\n filter = loadFilter(\"Multi\", filterArg);\n }\n\n // Get Limit\n int limitStart = 0;\n int limitCount = 0;\n if (args.size() >= 3 && args.get(2) != null) {\n String limitArg = args.get(2);\n String[] limitArgParts = limitArg.split(\"-\");\n limitStart = Integer.parseInt(limitArgParts[0]);\n\n if (limitArgParts.length > 1) {\n limitCount = Integer.parseInt(limitArgParts[1]);\n }\n }\n\n Grouper<Entity> grouper = new Grouper<Entity>(filter, grouperFilter);\n\n ChatManager.send(sender, new ChatComponentText(\"----------------------------------\").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.GRAY)));\n for (WorldServer world : MinecraftServer.getServer().worldServers) {\n List<?> list = world.loadedEntityList;\n if (list.size() <= 0) continue;\n int total = 0;\n List<Map.Entry<String, Integer>> groups = grouper.group((List<Entity>) list);\n for (Map.Entry<String, Integer> e : groups) {\n total += e.getValue();\n }\n\n if (total > 0) {\n ChatManager.send(sender, new ChatComponentFormatted(\"{a|%s [%s], %s %s}\", world.provider.getDimensionName(), world.provider.dimensionId, total, total == 1 ? \"entity\" : \"entities\"));\n sendCountedList(sender, \" \", groups, limitStart, limitCount);\n }\n }\n ChatManager.send(sender, new ChatComponentText(\"----------------------------------\").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.GRAY)));\n\n return CommandResponse.DONE;\n }", "private BirthCaseEnrichment enrichmentEntityListAsBirthCaseEnrichment(List<EnrichmentEntity> entities) {\n\n BirthCaseEnrichment bce=new BirthCaseEnrichment();\n\n // If there's something to do ....\n if(entities.size()>0) {\n bce.setCouncil(entities.get(0).getCouncil());\n for(EnrichmentEntity enrichment:entities){\n\n boolean b = !(enrichment.getResponse()==null\n || enrichment.getResponse().equals(\"\")\n || enrichment.getResponse().equals(\"FALSE\"));\n\n OrganisationsToInformResponse r=new OrganisationsToInformResponse();\n r.setOrganisation(enrichment.getOrganisation());\n r.setResponse(b);\n// bce.addOrganisationsToInformItem(r);\n bce.addOrganisationsToInformResponseItem(r);\n\n }\n }\n\n return bce;\n }", "public List<Partner> getListaPartners() {\n return null;\n }", "private void writeResults() {\n\t\tgetContext().writeName(\"searchResults\");\n\t // Open the Array of affectedParties\n\t TypeContext itemTypeContext = getContext().writeOpenArray();\n\t \n\t for(Person person : results){\n\t\t\t// Add a comma after each affectedParty object is written\n if (!itemTypeContext.isFirst()){\n \tgetContext().writeComma();\n }\n itemTypeContext.setFirst(false);\n\t\t\t\n // Open the affectedParty object and write the fields\n\t\t\tgetContext().writeOpenObject();\n\t\t\t\n\t\t\t// Write out the fields\n\t\t getContext().writeName(\"id\");\n\t\t getContext().transform(person.getId());\n\t\t getContext().writeComma();\n\t\t \n\t\t getContext().writeName(\"name\");\n\t\t getContext().transform(person.getName());\n\t\t getContext().writeComma();\n\n\t\t getContext().writeName(\"sex\");\n\t\t getContext().transform(person.getSex());\n\t\t getContext().writeComma();\n\t\t \n\t\t getContext().writeName(\"dob\");\n\t\t getContext().transform(person.getDob() == null?null:new SimpleDateFormat(\"dd/MM/yyyy\").format(person.getDob()));\n\t\t getContext().writeComma();\n\t\t \n\t\t getContext().writeName(\"dod\");\n\t\t getContext().transform(person.getDod() == null?null:new SimpleDateFormat(\"dd/MM/yyyy\").format(person.getDod()));\n\t\t getContext().writeComma();\n\t\t \n\t\t getContext().writeName(\"placeOfBirth\");\n\t\t getContext().transform(person.getPlaceOfBirth());\n\t\t getContext().writeComma();\n\t\t \n\t\t getContext().writeName(\"placeOfDeath\");\n\t\t getContext().transform(person.getPlaceOfDeath());\n\t\t getContext().writeComma();\n \t getContext().writeName(\"href\");\n \t getContext().transform(url + \"/\" + person.getId());\n\t\t\t\n \t // Close the affectedParty object\n \t getContext().writeCloseObject();\n }\n\t\t// Close the Array of affectedParties\n getContext().writeCloseArray();\n\t}", "public static List<EventEntity> getEvents(int partnerId) {\n int size = lstEvents.size();\n // List<EventEntity> eventPartners = new ArrayList<EventEntity>();\n List<EventEntity> allPartners = new ArrayList<>();\n\n for (int i = 0; i < size; i++) {\n EventEntity entity = lstEvents.get(i);\n if (entity.getPartnerId() == 0 || entity.getPartnerId() == partnerId) {\n allPartners.add(entity);\n }\n /*\n * if (entity.getPartnerId() == partnerId) {\n * eventPartners.add(entity); onlyPartner = true; }\n */\n }\n List<EventEntity> retEvents;\n /*\n * if (onlyPartner) { retEvents = eventPartners; } else {\n */\n retEvents = allPartners;\n // }\n\n return retEvents;\n }", "@Override // java.util.concurrent.Callable\n public final Result<List<? extends Entity>> call() {\n DataManager instance = DataManager.getInstance();\n Intrinsics.checkNotNullExpressionValue(instance, \"DataManager.getInstance()\");\n return EntityConvertUtils.convertEntityList(instance.getGson(), FakeDanmakuData.access$createJson(this.this$0));\n }", "public static List<Enseignant> getAll() {\n\n // Creation de l'entity manager\n EntityManager em = GestionFactory.factory.createEntityManager();\n\n // Recherche\n @SuppressWarnings(\"unchecked\")\n List<Enseignant> list = em.createQuery(\"SELECT e FROM Enseignant e\").getResultList();\n\n return list;\n }", "private void carregarPacienteAtivoList() {\n\t\tthis.setPacienteList(new ArrayList<Paciente>());\n\t\tthis.getPacienteList().addAll(this.getPacienteDAO().getPacienteAtivoList());\n\t}", "public static void cylinderorderlist(){\n\t\tAccount a = (Account) Cache.get(\"authUser\");\r\n\t\t\r\n\t\t\r\n\t\tList<OrderCylinder> o = OrderCylinder.findAll();\r\n\t\t\r\n\t\tSystem.out.println(\"The Dealers for Whom Order has beed placed \"+ o);\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"Current Dealer Logged in\"+a);\r\n\t\t\r\n\t\t// Get the Dealer Details of him\r\n\t\tDealer d = Dealer.find(\"byDealershipId\",a.uniquenumber).first();\r\n\t\t\r\n\t\tSystem.out.println(\"Dealer for the Account\"+d);\r\n\t\t// Now, get the Ordered Cylinders\r\n\t\tList<OrderCylinder> l = OrderCylinder.find(\"byDealerId\", d).fetch();\r\n\t\t\r\n\t\t//Orders placed for the Dealer are as follows\r\n\t\t\r\n\t\tSystem.out.println(\"Orders Placed for Dealer are as follows\"+l);\r\n\t\t\r\n\t\trender(a,l);\r\n\t\t\r\n\t}" ]
[ "0.61575323", "0.60183126", "0.5975875", "0.5903896", "0.59002554", "0.5837804", "0.58133644", "0.5803974", "0.5770496", "0.574214", "0.5728061", "0.56969947", "0.56201065", "0.56153077", "0.5594306", "0.55918825", "0.5585636", "0.55078477", "0.5504962", "0.54546815", "0.544927", "0.5442645", "0.5398757", "0.53965265", "0.53707236", "0.5370042", "0.535989", "0.5347734", "0.5322301", "0.5273236", "0.5272781", "0.527167", "0.5246123", "0.52426016", "0.52215445", "0.5220082", "0.5199043", "0.51616013", "0.51459515", "0.51414657", "0.5139576", "0.51394683", "0.5138481", "0.51357937", "0.5103117", "0.51029086", "0.50946707", "0.50881433", "0.5085687", "0.5081001", "0.5080925", "0.50780594", "0.50709087", "0.50685817", "0.50642705", "0.5063454", "0.5061778", "0.50561154", "0.5054807", "0.505011", "0.5046718", "0.504078", "0.5037941", "0.50321513", "0.5024624", "0.5022976", "0.502288", "0.5015665", "0.50108236", "0.5010288", "0.5009938", "0.5004679", "0.4997522", "0.49968103", "0.4993265", "0.49932635", "0.49911308", "0.4990187", "0.49860093", "0.49808377", "0.49799266", "0.49743497", "0.49688697", "0.49661484", "0.49613938", "0.49511403", "0.49479485", "0.49438527", "0.49355528", "0.49344698", "0.49127132", "0.49071974", "0.4899392", "0.48983872", "0.48944464", "0.48890772", "0.48890272", "0.4886525", "0.4883989", "0.48724213" ]
0.56355333
12
/ Invoke Party Service to load party information.
private void loadParty(PolicyPremiumInquiryRequestType policyPremiumInquiryRequest, PolicyPremiumInquiryResultType policyPremiumInquiryResult, List<String> partyList) { Logger l = LogUtils.getLogger(getClass()); if (l.isLoggable(Level.FINER)) { l.entering(getClass().getName(), "loadParty", new Object[]{policyPremiumInquiryRequest, policyPremiumInquiryResult, partyList}); } PartyInquiryResultType partyInquiryResult = null; PartyInquiryRequestType partyInquiryRequest = new PartyInquiryRequestType(); partyInquiryRequest.setCorrelationId(policyPremiumInquiryRequest.getCorrelationId()); partyInquiryRequest.setMessageId(policyPremiumInquiryRequest.getMessageId()); partyInquiryRequest.setUserId(policyPremiumInquiryRequest.getUserId()); Iterator it = partyList.iterator(); while (it.hasNext()) { String entityId = (String) it.next(); com.delphi_tech.ows.partyinquiryservice.PartyType party = new com.delphi_tech.ows.partyinquiryservice.PartyType(); party.setPartyNumberId(entityId); PartyInquiryType partyInquiry = new PartyInquiryType(); partyInquiry.setParty(party); PartyInquiryRequestParametersType partyInquiryRequestParameters = new PartyInquiryRequestParametersType(); partyInquiryRequestParameters.setPartyInquiry(partyInquiry); partyInquiryRequest.getPartyInquiryRequestParameters().add(partyInquiryRequestParameters); } partyInquiryResult = getPartyInquiryServiceManager().loadParty(partyInquiryRequest); if (MessageStatusHelper.getInstance().isRejected(partyInquiryResult.getMessageStatus())) { MessageStatusAppException wsae = MessageStatusHelper.getInstance().handleRejectedServiceCall("Failure invoking the PolicyInquiryServiceManagerImpl", partyInquiryResult.getMessageStatus()); l.logp(Level.SEVERE, getClass().getName(), "loadParty", wsae.getMessage(), wsae); throw wsae; } Iterator orgIt = partyInquiryResult.getOrganization().iterator(); while (orgIt.hasNext()) { policyPremiumInquiryResult.getOrganization().add((OrganizationType) orgIt.next()); } Iterator persIt = partyInquiryResult.getPerson().iterator(); while (persIt.hasNext()) { policyPremiumInquiryResult.getPerson().add((PersonType) persIt.next()); } Iterator propIt = partyInquiryResult.getProperty().iterator(); while (propIt.hasNext()) { policyPremiumInquiryResult.getProperty().add((PropertyType) propIt.next()); } Iterator addIt = partyInquiryResult.getAddress().iterator(); while (addIt.hasNext()) { policyPremiumInquiryResult.getAddress().add((AddressType) addIt.next()); } if (l.isLoggable(Level.FINER)) { l.exiting(getClass().getName(), "loadParty"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Party getParty();", "public void setParty(String party) {\n this.party = party;\n }", "public void setParty(Party party) {\n this.party = party;\n }", "@Override\n\tpublic void loadService() {\n\t\t\n\t}", "@Override\r\n\tpublic PartyType load(String id) {\n\t\treturn null;\r\n\t}", "public static void loadService() {\n Optional<EconomyService> optService = Sponge.getServiceManager().provide(EconomyService.class);\n if(optService.isPresent()) {\n service = optService.get();\n isLoaded = true;\n } else {\n isLoaded = false;\n }\n }", "public String getParty()\n {\n return party;\n}", "public Party getParty() {\n return party;\n }", "private static void displayParty(Player player, Party party) {\n player.openInterface(InterfaceType.MAIN, 507);\n\n /* build the party members statistics */\n StringBuilder leaderInformation = new StringBuilder();\n\n /* team leader information */\n Player partyLeader = party.getLeader();\n leaderInformation.append(\"<col=ffffff>\").append(partyLeader.getName()).append(\"</col>\").append(\"|\");\n leaderInformation.append(partyLeader.getCombat().getLevel()).append(\"|\");\n leaderInformation.append(partyLeader.getStats().totalLevel).append(\"|\");\n for (StatType stat : CLIENT_ORDER)\n leaderInformation.append(partyLeader.getStats().get(stat).fixedLevel).append(\"|\");\n player.getPacketSender().sendClientScript(1517, \"is\", 0, leaderInformation.toString());\n\n /* party members information */\n if (party.getMembers().size() != 0) {\n for (int i = 0; i < party.getMembers().size(); i++) {\n if (party.getMembers().get(i) == party.getLeader())\n continue;\n StringBuilder memberInformation = new StringBuilder();\n memberInformation.append(\"<col=9f9f9f>\").append(party.getMembers().get(i).getName()).append(\"</col>\").append(\"|\");\n memberInformation.append(party.getMembers().get(i).getCombat().getLevel()).append(\"|\");\n memberInformation.append(party.getMembers().get(i).getStats().totalLevel).append(\"|\");\n for (StatType stat : CLIENT_ORDER)\n memberInformation.append(party.getMembers().get(i).getStats().get(stat).fixedLevel).append(\"|\");\n player.getPacketSender().sendClientScript(1517, \"is\", i + 1, memberInformation.toString());\n }\n }\n\n player.getPacketSender().sendClientScript(1524, \"siii\",\n \"Raiding Party of \" + partyLeader.getName() + \" (\" + (party.getMembers().size()) + \")\",\n player == partyLeader ? 2 : player.raidsParty == party ? 1 : 0,\n player.advertisingParty ? 1 : 0,\n player.partyAdvertisementsRemaining);\n\n /* if we're not on a party, set the party we're viewing */\n if (player.raidsParty == null)\n player.viewingParty = party;\n }", "public Object getService(String service) {\n try {\n Socket authServer = new Socket(AUTH_ADDRESS, AUTH_PORT); //Connect to authentication server.\n //Set up objects to read and write responses to and from them server.\n ObjectInputStream objIn = new ObjectInputStream(authServer.getInputStream());\n ObjectOutputStream objOut = new ObjectOutputStream(authServer.getOutputStream());\n //Challenge the server and verify it.\n PublicKey serverKey = AuctionSecurity.getPublicKey(\"Server\");\n System.out.print(\"Verifying server.... \");\n if (!AuctionSecurity.initiateChallenge(objIn, objOut, serverKey)) { //If we can't verify, then we exit.\n System.out.println(\"Signature of server does not match nonce challenge, invalid server connection.\");\n return null;\n }\n System.out.println(\"Server verified!\");\n //Identify ourselves with the server\n System.out.print(\"Authenticating credentials.... \");\n objOut.writeObject(this.name); //State who we are to the server\n AuctionSecurity.recieveChallenge(objIn, objOut, privateKey); //Await and deal with our challenge\n if (!objIn.readObject().equals(\"verified\")) { //Check servers result\n System.out.println(\"Server rejected verification of user.\");\n return null;\n }\n System.out.println(\"Credentials confirmed!\");\n objOut.writeObject(service); //Send our service request string.\n return getServiceObject((SealedObject[]) objIn.readObject()); //Retreive our service object the server is sending us.\n } catch (IOException ex) {\n System.out.println(\"Can't aquire service: \" + service + \" from authentication server.\");\n System.exit(1);\n } catch (ClassNotFoundException ex) {\n System.out.println(\"Service not found.\");\n }\n\n return null;\n }", "void loadParticipant();", "public void setPartyId(Long partyId) {\n this.partyId = partyId;\n }", "public String getParty() {\n return party;\n }", "PartyType getImporterParty();", "private ResolverService(Peer peer, EndpointService epService)\n {\n super(peer, RESSERVICE_NAME);\n\n // init fields\n initFields();\n \n \n this.epService = epService;\n epService.addListener(serviceName, this); //adding listener to end\n // point service\n\n cache = Cache.createInstance(); //creating cache\n cache.addResource(peer);\n \n\n // get SeedPeerList\n EndpointAddress[] seedPeerList = getSeedURIs();\n \n if (seedPeerList != null && seedPeerList.length > 0)\n {\n int seedListSize = (neighbors > seedPeerList.length ? seedPeerList.length : neighbors);\n seedURI = new EndpointAddress[seedListSize][1];\n for (int i = 0; i < seedListSize; i++)\n {\n seedURI[i][0] = seedPeerList[i];\n }\n }\n// try\n// {\n// mcastURI = new EndpointAddress(null, null, 0);\n// } catch (Exception e)\n// {\n// e.printStackTrace();\n// }\n\n// myPeer = peer;\n peerId = peer.getID().toString(); //TBD kuldeep - Is this needed?\n// peername = myPeer.getName();\n }", "protected void doInvocation(){\n org.omg.CORBA.portable.Delegate delegate=StubAdapter.getDelegate(\n _target);\n // Initiate Client Portable Interceptors. Inform the PIHandler that\n // this is a DII request so that it knows to ignore the second\n // inevitable call to initiateClientPIRequest in createRequest.\n // Also, save the RequestImpl object for later use.\n _orb.getPIHandler().initiateClientPIRequest(true);\n _orb.getPIHandler().setClientPIInfo(this);\n InputStream $in=null;\n try{\n OutputStream $out=delegate.request(null,_opName,!_isOneWay);\n // Marshal args\n try{\n for(int i=0;i<_arguments.count();i++){\n NamedValue nv=_arguments.item(i);\n switch(nv.flags()){\n case ARG_IN.value:\n nv.value().write_value($out);\n break;\n case ARG_OUT.value:\n break;\n case ARG_INOUT.value:\n nv.value().write_value($out);\n break;\n }\n }\n }catch(Bounds ex){\n throw _wrapper.boundsErrorInDiiRequest(ex);\n }\n $in=delegate.invoke(null,$out);\n }catch(ApplicationException e){\n // REVISIT - minor code.\n // This is already handled in subcontract.\n // REVISIT - uncomment.\n //throw new INTERNAL();\n }catch(RemarshalException e){\n doInvocation();\n }catch(SystemException ex){\n _env.exception(ex);\n // NOTE: The exception should not be thrown.\n // However, JDK 1.4 and earlier threw the exception,\n // so we keep the behavior to be compatible.\n throw ex;\n }finally{\n delegate.releaseReply(null,$in);\n }\n }", "public String getPartyName(){\n return this.partyName;\n }", "public void loadIngredients(){\n LoadIngredientsService service = new LoadIngredientsService();\n if (service.getState() == Service.State.SUCCEEDED){\n service.reset();\n service.start();\n } else if (service.getState() == Service.State.READY){\n service.start();\n }\n\n //When the service has successfully run set the return ingredients to various listViews and comboBoxs where\n //ingredients from database are saved\n service.setOnSucceeded(new EventHandler<WorkerStateEvent>() {\n @Override\n public void handle(WorkerStateEvent workerStateEvent) {\n ingredientsFromDatabase = service.getValue();\n ingredientsList.setItems(ingredientsFromDatabase);\n ingredientsBrowseCombo.setItems(ingredientsFromDatabase);\n allIngredientsCupboardPane.setItems(ingredientsFromDatabase);\n }\n });\n }", "private void retrieveCurrencyData() {\n Log.d(TAG, \" startService\");\n service = new Intent(this, CurrencyLoaderService.class);\n startService(service); //Starting the service\n bindService(service, mConnection, Context.BIND_AUTO_CREATE);\n\n }", "ThingsResponse loadThingsDetails(ThingsRequest request);", "private void startAdvertising() {\n client.startAdvertising(codeName,getResources().getString(R.string.service_id), connectionLifecycleCallback, new AdvertisingOptions(STRATEGY));\n }", "PartyType getFreightForwarderParty();", "private void startDiscovery() {\n client.startDiscovery(getResources().getString(R.string.service_id), endpointDiscoveryCallback, new DiscoveryOptions(STRATEGY));\n }", "@Override\n public void onServiceConnected(ComponentName componentName, IBinder iBinder) {\n selfServiceMethodSolver = (ISelfMethod) iBinder;\n Log.d(\"BindLog\", \"Client - SelfService已Bind成功,并获取了代理\");\n }", "void loadStartHouses(HouseRepositoryContract.GetStartHousesCallback callback);", "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\thandlHttpRequest(url, trackerinfo.get_info_hash(), Settings.PEER_DEFAULT_ID);\n\t\t\t\t\t}", "public void updateClientParty()\n\t{\n\t\tfor(int i = 0; i < getParty().length; i++)\n\t\t\tupdateClientParty(i);\n\t}", "@Override\n\t\tpublic void getService(String system_id) throws RemoteException {\n\t\t\tSystem.out.println(\"get service invoke on \" + system_id);\n\t\t}", "public Long getPartyId() {\n return partyId;\n }", "public void setPartyID(org.apache.axis.types.Token partyID) {\n this.partyID = partyID;\n }", "@Override\n public Object invoke(Object proxy, Method method, Object[] args)\n throws Throwable {\n if (method.getDeclaringClass() == Object.class) {\n return method.invoke(this, args);\n }\n ServiceMethod<Object, Object> serviceMethod =\n (ServiceMethod<Object, Object>) loadServiceMethod(method);\n ServiceCall<Object> serviceCall = new ServiceCall<>(serviceMethod, args);\n return serviceMethod.adapt(serviceCall, args);\n }", "public Party() {\n // empty constructor\n }", "private void triggerFetchThroughStartedService(String cityName) {\n Log.v(TAG, \"MainActivity.triggerFetchThroughStartedService() - One Way communication example\");\n startService(MyStartedService.ContractHelper.makeOneWayIntent(this, cityName));\n }", "@Override\n public void loadArticles() {\n // start service here => loads articles to DB\n mServiceBinder.startService();\n }", "private void doLocalCall() {\n\n // Create the intent used to identify the bound service\n final Intent boundIntent = new Intent(this, MyLocalBoundService.class);\n\n // Lets get a reference to it (asynchronously, hence the ServiceConnection object)\n bindService(boundIntent, new ServiceConnection() {\n @Override\n public void onServiceConnected(ComponentName name, IBinder service) {\n // Let's call it!\n ((MyLocalBoundServiceContract) service).doSomething(10);\n // We're done. Free the reference to the service\n unbindService(this);\n }\n\n @Override\n public void onServiceDisconnected(ComponentName name) {\n // Called upon unbind, just in case we need some cleanup\n }\n }, Context.BIND_AUTO_CREATE);\n }", "public com.dosmil_e.mall.core.ifc.MallPartyIfc getParty( EAIMMCtxtIfc theCtxt) throws EAIException;", "@Override\n public void run() {\n JSONObject ronfinfo = ConnectService\n .getIncidentbyHttpGet(AppConfig.URL_PUBLIC\n + \"Friend/ToApproveList?rongCloudIDs=\"\n + newbuilder);\n Log.e(\"url\", AppConfig.URL_PUBLIC\n + \"Friend/ToApproveList?rongCloudIDs=\" + newbuilder);\n List<AddFriend> addinfo = formatFrinds(ronfinfo);\n if (addinfo.size() > 0) {\n setFriendsNameTel(addinfo);\n }\n handler.obtainMessage(AppConfig.LOAD_FINISH).sendToTarget();\n }", "@AfterReturning(value=\"(execution(* com.tkhts.service.*.*(..)))\") \n public void givePartyGift(JoinPoint joinPoint) { \n // get method arguments \n Object[] args = joinPoint.getArgs(); \n \n // getting the method argument using Joinpoint API \n PartyPeople partyPeople = (PartyPeople)args[0]; \n \n System.out.println(partyPeople.getName()+\" got party gift.\"); \n }", "PartyType getNotifyParty();", "public LoadIntentService(String name) {\n super(name);\n }", "public void callHouseOwner() {\n\t\tSystem.out.println(\"联系房东\");\n\t}", "go.micro.runtime.RuntimeOuterClass.Service getService();", "go.micro.runtime.RuntimeOuterClass.Service getService();", "go.micro.runtime.RuntimeOuterClass.Service getService();", "protected NegotiationParty init() throws InstantiateException {\n\t\tNegotiationParty party1 = load();\n\t\tprotocolClassPath = party1.getProtocol().getCanonicalName();\n\t\tinitialized = true;\n\t\treturn party1;\n\t}", "@Override\n\tpublic int update(Object party) {\n\t\t\n\t\tint res = session.update(\"party.update_party_full\",party);\n\t\t\n\t\treturn res;\n\t}", "@Override\n\t\tprotected Void doInBackground(String... params) {\n\t\t\tGetPhoneDetailsSOAP getPhoneDetailsSOAP = new GetPhoneDetailsSOAP(\n\t\t\t\t\tgetApplicationContext().getResources().getString(\n\t\t\t\t\t\t\tR.string.WSDL_TARGET_NAMESPACE),\n\t\t\t\t\tgetApplicationContext().getResources().getString(\n\t\t\t\t\t\t\tR.string.SOAP_URL), getApplicationContext()\n\t\t\t\t\t\t\t.getResources().getString(\n\t\t\t\t\t\t\t\t\tR.string.METHOD_UPDATE_PHONE_DETAILS)\n\t\t\t\t\t\t\t\t\t);\n\n\t\t\ttry {\n\t\t\t\tgetPhoneDetailsSOAP.getPhoneDetails(memberid, Build.MANUFACTURER.toString(), AppVersion);\n\t\t\t} catch (SocketTimeoutException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (SocketException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (SoapFault e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn null;\n\t\t}", "void turnOn() throws ActorServiceCallException;", "@Override\n\tpublic void setUs(Party party) throws CTPException {\n\t\t\n\t}", "private void startLoading() {\n\t\tJSONObject obj = new JSONObject();\r\n\t\tobj.put(\"userId\", new JSONString(User.id));\r\n\t\tobj.put(\"userSID\", new JSONString(User.SID));\r\n\t\tapi.execute(RequestType.GetUserInfo, obj, this);\r\n\t}", "private void triggerFetchThroughIntentService(String cityName) {\n Log.v(TAG, \"MainActivity.triggerFetchThroughIntentService() - One Way communication example\");\n startService(MyIntentService.ContractHelper.makeOneWayIntent(this, cityName));\n }", "@Override\r\n\tpublic void startService(ServerAgentParameters params) {\n\t\tString publishAddress = \"http://192.168.1.100:8080/meterReadingService\";\r\n\t\tlogger.info(\"launching MeterReadingService at address \" + publishAddress + \" ...\");\r\n\t\tMeterReadingServiceImpl meterReadingService = new MeterReadingServiceImpl();\r\n\t\tserviceEndpoint = Endpoint.publish(publishAddress, meterReadingService); // TODO check for java.net.BindException\r\n\t\tif(serviceEndpoint.isPublished()) {\r\n\t\t\tlogger.info(\"MeterReadingService launched successfully.\");\r\n\t\t} else {\r\n\t\t\tlogger.error(\"MeterReadingService could not be launched. Exiting to system\");\r\n\t\t\tSystem.exit(0); // no point in keeping the server agent running when no web service can be initialized\r\n\t\t}\r\n\t}", "void loadForRentHouses(HouseRepositoryContract.GetForRentHousesCallback callback);", "private void getProfessionalInfo() {\n if (Utility.isOnline(this)) {\n final CircleDotDialog dotDialog = new CircleDotDialog(BecomeHostLoginActivity.this);\n dotDialog.show();\n\n ServiceCaller serviceCaller = new ServiceCaller(this);\n serviceCaller.callGetProfessionalInfoService(phoneStr, new IAsyncWorkCompletedCallback() {\n @Override\n public void onDone(String result, boolean isComplete) {\n if (isComplete) {\n ContentMybooking data = new Gson().fromJson(result, ContentMybooking.class);\n if (data != null) {\n if (data.getPartnerDetailsForPartner() != null) {\n DbHelper dbHelper = new DbHelper(BecomeHostLoginActivity.this);\n dbHelper.deleteProfessionalData();\n dbHelper.insertProfessionalUserData(data.getPartnerDetailsForPartner());\n Toast.makeText(BecomeHostLoginActivity.this, \"Login Successfully.\", Toast.LENGTH_LONG).show();\n Intent intent = new Intent(BecomeHostLoginActivity.this, ProfessionalWorkSheetActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n } else {\n Toast.makeText(BecomeHostLoginActivity.this, \"Login not Successfully!\", Toast.LENGTH_LONG).show();\n }\n }\n } else {\n Utility.alertForErrorMessage(Contants.Error, BecomeHostLoginActivity.this);\n }\n if (dotDialog.isShowing()) {\n dotDialog.dismiss();\n }\n }\n });\n } else {\n Utility.alertForErrorMessage(Contants.OFFLINE_MESSAGE, this);//off line msg....\n }\n\n }", "@Override\n\t\t\tpublic void start() {\n\t\t\t\tinitResource();\n\t\t\t\t//获取通讯录信息\n\t\t\t\tinitContactsData();\n\t\t\t\t//同步通讯录\n\t\t\t\tupLoadPhones();\n\t\t\t}", "ICoveredParty withCoveredParty();", "public boolean hasParty( EAIMMCtxtIfc theCtxt, com.dosmil_e.mall.core.ifc.MallPartyIfc theParty) throws EAIException;", "private void SetInitialPoliticalParty() {\n\t\tif(debug) logger.info(\"SetInitialPoliticalParty: Entering\");\n\t\tint rand = Random.randomInt(100);\t\t \n\t\tif(debug) logger.info(\"SetInitialPoliticalParty: rand = \" + rand);\n\t\tif (rand < 50) {\n\t\t\tsetDemocratElected(true);\t\t\t\n\t\t}\n\t\telse {\n\t\t\tsetDemocratElected(false);\n\t\t}\n\t\tif(debug) logger.info(\"SetInitialPoliticalParty: Returning\");\n\t}", "@RemoteServiceRelativePath(\"retrieveQuest\")\npublic interface QuestRetrieverService extends RemoteService {\n ArrayList<QuestEntity> retrieveQuests();\n QuestEntity retrieveAQuest(long questId);\n String addDummyQuest();//For testing delete later\n}", "ConferenceScheduleBuilderService startLunch();", "@Override \n public void run() {\n\t\tString path = Urls.URL_14;\n\t\t\n\t\tMap<String, String> map = new HashMap<String, String>();\n\n\t \tList<BasicNameValuePair> params = HttpUtils.setParams(map);\n\n\t \tLog.i(TAG, path);\n\t\t\n\t\tApkInfoItem apk = new ApkInfoItem();\n\t\ttry {\n\t\t\tString jsonStr = RequestService.getInstance().getRequest(params, path, new HashMap<String, String>());\n\t\t \tJSONObject jsonObject = new JSONObject(jsonStr);\n\t\t \t\n\t\t\tapk.setApkPath(jsonObject.getString(\"apkPath\"));\n\t\t\tapk.setVersion(jsonObject.getString(\"apkVersion\"));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tMessage msg = new Message();\n\t\t\tmsg.obj = apk;\n\t\t\tmsg.what = Constants.GET_UPDATEINFO_ERROR;\n\t\t\thandler.sendMessage(msg);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tMessage msg = new Message();\n\t\tmsg.obj = apk;\n\t\tmsg.what = Constants.UPDATE_CLIENT;\n\t\thandler.sendMessage(msg);\n }", "void fetchStartHousesData();", "public void initial(){\t\t\r\n\t\tfundRateService=new FundRateService();\r\n\t}", "public Ice.AsyncResult begin_startService(String service);", "PartyType getConsigneeParty();", "@Override\n public void onServiceConnected(ComponentName componentName, IBinder iBinder) {\n remoteServiceMethodSolver = IRemoteServiceMethod.Stub.asInterface(iBinder);\n Log.d(\"BindLog\", \"bind远程服务连接已成功,并获取了代理\");\n }", "@Override\r\n\tpublic void serviceVehicle() {\n\t\t\r\n\t\tVehicle vehicle = (ThreeWhleer)context.getBean(\"vehicle3.bean\");\r\n\t\t\r\n\t\tvehicle.serviceVehicle();\r\n\t}", "private void init()\n {\n SystrayActivator.bundleContext\n .addServiceListener(new ProtocolProviderServiceListener());\n \n ServiceReference[] protocolProviderRefs = null;\n try\n {\n protocolProviderRefs\n = SystrayActivator.bundleContext.getServiceReferences(\n ProtocolProviderService.class.getName(),null);\n }\n catch (InvalidSyntaxException ex)\n {\n // this shouldn't happen since we're providing no parameter string\n // but let's log just in case.\n logger .error(\"Error while retrieving service refs\", ex);\n return;\n }\n \n // in case we found any\n if (protocolProviderRefs != null)\n {\n \n for (int i = 0; i < protocolProviderRefs.length; i++)\n {\n ProtocolProviderService provider\n = (ProtocolProviderService) SystrayActivator.bundleContext\n .getService(protocolProviderRefs[i]);\n \n this.addAccount(provider);\n }\n }\n }", "protected void startFetchAddressIS() {\n Intent intent = new Intent(this, FetchAddressIntentService.class);\n addressResultReceiver = new AddressResultReceiver(new Handler());\n intent.putExtra(Constants.RECEIVER, addressResultReceiver);\n intent.putExtra(Constants.LOCATION_DATA_EXTRA, mCurrentLocation);\n startService(intent);\n }", "public Ice.AsyncResult begin_startService(String service, java.util.Map<String, String> __ctx);", "InvocationResult invoke(RemoteService service, MethodInvocation invocation);", "protected void setup(){\n this.setEnabledO2ACommunication(true, 0);\n \n showMessage(\"Agent (\" + getLocalName() + \") .... [OK]\");\n \n // Register the agent to the DF\n ServiceDescription sd1 = new ServiceDescription();\n sd1.setType(UtilsAgents.BOAT_COORDINATOR);\n sd1.setName(getLocalName());\n sd1.setOwnership(UtilsAgents.OWNER);\n DFAgentDescription dfd = new DFAgentDescription();\n dfd.addServices(sd1);\n dfd.setName(getAID());\n try {\n DFService.register(this, dfd);\n showMessage(\"Registered to the DF\");\n }catch (FIPAException e) {\n System.err.println(getLocalName() + \" registration with DF \" + \"unsucceeded. Reason: \" + e.getMessage());\n doDelete();\n }\n \n //Search for the CentralAgent\n ServiceDescription searchBoatCoordCriteria = new ServiceDescription();\n searchBoatCoordCriteria.setType(UtilsAgents.COORDINATOR_AGENT);\n this.coordinatorAgent = UtilsAgents.searchAgent(this, searchBoatCoordCriteria);\n\n // Register response behaviours\n //TODO canviar i posar l'altra content\n MessageTemplate mt = MessageTemplate.MatchContent(\"Movement request\");\n this.addBehaviour(new RequestResponseBehaviour(this,mt ));\n }", "private void loadService() {\n if (!isServiceRunning(ShakeService.class)) {\n Intent intent = new Intent(this, ShakeService.class);\n this.startService(intent);\n }\n }", "private void createActions() {\n\n\t\t//-----------------------------------------------\n\t\t// Check if Party Exists\n\t\t//-----------------------------------------------\n\t\tpartyExists = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {return emailaddressField.noValue();}\n\t\t\tprotected void send() {super.send(getValue(new PartyExists()));}\n\t\t\tprotected void receive(Party party) {\n\t\t\t\tif (party != null ) {setValue(party);}\n\t\t\t}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Read Party\n\t\t//-----------------------------------------------\n\t\tactorRead = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {return partyField.noValue();}\n\t\t\tprotected void send() {super.send(getValue(new ActorRead()));}\n\t\t\tprotected void receive(Party party){setValue(party);}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Update Party\n\t\t//-----------------------------------------------\n\t\tactorUpdate = new GuardedRequest<Party>() {\n\t\t\tprotected boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\tifMessage(AbstractRoot.noOrganizationid(), Level.TERSE, AbstractField.CONSTANTS.errOrganizationid(), partyField)\n\t\t\t\t\t\t|| ifMessage(partyField.noValue(), Level.TERSE, AbstractField.CONSTANTS.errId(), partyField)\n\t\t\t\t\t\t|| ifMessage(emailaddressField.noValue(), Level.ERROR, AbstractField.CONSTANTS.errEmailaddress(), emailaddressField)\n\t\t\t\t\t\t|| ifMessage(formatdateField.noValue(), Level.ERROR, CONSTANTS.formatdateError(), formatdateField)\n\t\t\t\t\t\t|| ifMessage(formatphoneField.noValue(), Level.ERROR, CONSTANTS.formatphoneError(), formatphoneField)\n\t\t\t\t\t\t|| ifMessage(!Party.isEmailAddress(emailaddressField.getValue()), Level.ERROR, AbstractField.CONSTANTS.errEmailaddress(), emailaddressField)\n//\t\t\t\t\t\t|| ifMessage((typesField.hasValue(Party.Type.Agent.name()) || typesField.hasValue(Party.Type.Organization.name())) && !partyField.hasValue(AbstractRoot.getOrganizationid()), Level.ERROR, CONSTANTS.partytypeError(), partyField)\n\t\t\t\t);\n\t\t\t}\n\t\t\tprotected void send() {super.send(getValue(new ActorUpdate()));}\n\t\t\tprotected void receive(Party party) {\n\t\t\t\tif (parentTable != null) {parentTable.execute(true);}\n\t\t\t\thide();\n\t\t\t}\n\t\t};\n\n\t\t//-----------------------------------------------\n\t\t// Delete Party\n\t\t//-----------------------------------------------\n\t\tactorDelete = new GuardedRequest<Party>() {\n\t\t\tprotected String popup() {return AbstractField.CONSTANTS.errDeleteOK();}\n\t\t\tpublic void cancel() {state = oldstate;}\n\t\t\tprotected boolean error() {\n\t\t\t\treturn (\n\t\t\t\t\t\tifMessage(partyField.noValue(), Level.TERSE, AbstractField.CONSTANTS.errId(), partyField)\n\t\t\t\t);\n\t\t\t}\n\t\t\tprotected void send() {super.send(getValue(new ActorDelete()));}\n\t\t\tprotected void receive(Party party){\n\t\t\t\tif (parentTable != null) {parentTable.execute(true);}\n\t\t\t\thide();\n\t\t\t}\n\t\t};\t\n\t}", "void fetchForRentHousesData();", "public interface RemoteAuctionService {\r\n\r\n AuctionPaymentRequest loadPaymentRequest(PaymentKey key) throws AuctionPaymentSyntaxException, ItemURLReferenceException, AuctionNotExpiredException;\r\n\r\n BasicAuctionDetails loadBasicDetails(PaymentKey key) throws AuctionPaymentSyntaxException, ItemURLReferenceException;\r\n\r\n}", "public interface InviteService extends Service, ActorService {\r\n\r\n @AsyncInvocation\r\n void save();\r\n @AsyncInvocation\r\n void insert(DbRow dbRow);\r\n @AsyncInvocation\r\n void update(DbRow dbRow);\r\n @AsyncInvocation\r\n void bindInviteCode(RoleInvitePo roleInvitePoFrom, RoleBeInvitePo roleBeInvitePo);\r\n\r\n}", "public void doService() {\n }", "private String setPartyId(String partyName){\n\n if (partyName.contains(\"REP\")) {\n return \"6\";\n }\n else if (partyName.contains(\"DEM\")) {\n return \"7\";\n }\n else {\n return \"16\";\n }\n }", "protected void startIntentService() {\n Intent intent = new Intent(this.getActivity(), FetchAddressIntentService.class);\n intent.putExtra(Constants.RECEIVER, mResultReceiver);\n intent.putExtra(Constants.LOCATION_DATA_EXTRA, mLastLocation);\n this.getActivity().startService(intent);\n }", "void addMember(final PartyMember member);", "private void initService() {\r\n\t}", "protected void setup() {\n\t\t\t\t\tDFAgentDescription dfd = new DFAgentDescription();\n\t\t\t\t\tdfd.setName(getAID());\n\t\t\t\t\tServiceDescription sd = new ServiceDescription();\n\t\t\t\t\tsd.setType(\"wHOST\");\n\t\t\t\t\tsd.setName(\"wumpus-host-\" + Math.random());\n\t\t\t\t\tdfd.addServices(sd);\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tDFService.register(this, dfd);\n\t\t\t\t\t\thostMap = new WumpusMapHost();\n\t\t\t\t\t\tSystem.out.println(\"Registered as a host in the DF Service.\");\n\t\t\t\t\t\tlogic = new WumpusLogic();\n\t\t\t\t\t\tlogic.setHostMap(hostMap.getMap());\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tcatch (FIPAException fe) {\n\t\t\t\t\t\tfe.printStackTrace();\n\t\t\t\t\t}\n\t\t\n\t\t// Printing out a message stating that the agent is ready for service.\n\t\tSystem.out.println(\"Wumpus host \"+getAID().getName()+\" is ready.\");\n\t\t\n\t\taddBehaviour(new TickerBehaviour(this, 1000) {\n\t\t\tprotected void onTick() {\n\t\t\t\tmyAgent.addBehaviour(new HandleRequest());\n\t\t\t}\n\t\t});\n\t \t\n\t\t\n\t}", "public void activateProjector() {\n try {\n //new thread so client and server can run concurrently\n new Thread() {\n public void run() {\n Empty request = Empty.newBuilder().build();\n\n ProjectorOnStatus response = blockingStub.activateProjector(request);\n\n ui.appendProjectorStatus(response.toString() + \"\\n\");\n\n }\n }.start();\n\n } catch (RuntimeException e) {\n System.out.println(\"RPC failed: \" + e);\n return;\n }\n }", "@Override\n\tpublic Object invoke(Object proxy, Method method, Object[] args) throws UnknownHostException, IOException, ClassNotFoundException {\n\t\tSocket sock = new Socket(IP_adr, Port);\n\t\tCommunicationModule cm = new CommunicationModule();\n\n\t\tTranSegment seg = new TranSegment(Obj_Key, method.getName(), args);\n\n\t\tboolean s = cm.SendObj(sock, seg);\n\t\tif (s) {\n\t\t\t//Get the invoking result returned from server end\n\t\t\tObject result = cm.RecObj(sock);\n\t\t\treturn result;\n\t\t}\n\t\treturn null;\n\t}", "@Override\n public IBinder onBind(Intent intent) {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.d(TAG,\"onBind packet client: \"+getApplicationContext().getPackageName()+\" 6\");\n Signature[] sigs = new Signature[0];\n\n try {\n sigs = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_SIGNATURES).signatures;\n } catch (PackageManager.NameNotFoundException e) {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.e(TAG,\"Error in get sign \"+e.getMessage());\n }\n for (Signature sig : sigs)\n {\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG)Log.i(TAG, \"Signature hashcode : \"+ sig.hashCode());\n }\n String[] paramets;\n if((paramets=checkPermission(this))!=null && paramets.length>0){\n PermissionRequestUtils.requestPermissions(this,paramets);\n }else{\n if(org.mcopenplatform.muoapi.BuildConfig.DEBUG){\n Log.d(TAG,\"The SDK has all the permissions\"); }\n }\n if(startIntent != null){\n intent=startIntent;\n }\n return engine.newClient(intent,this,false);\n }", "String getTheirPartyId();", "public void clientResolved (Name username, ClientObject clobj) {\n BootstrapData data = new BootstrapData();\n data.clientOid = clobj.getOid();\n data.services = EditorServer.invmgr.bootlist;\n\n // and configure the client to operate using the server's\n // distributed object manager\n _client.getContext().getClient().gotBootstrap(\n data, EditorServer.omgr);\n }", "public void findHouse() {\n System.out.println(\"-----Search House-----\");\n System.out.println(\"enter id: \");\n int findId = Utility.readInt();\n //call service search method\n House h = houseService.searchHouse(findId);\n if (h != null) {\n System.out.println(h);\n } else {\n System.out.println(\"no designate house found\");\n }\n }", "public BaseBallCoach(FortuneService theFortuneSerive) {\n\t\t\tfortuneService= theFortuneSerive;\n\t\t\t\n\t\t}", "private static void startService() {\n //noinspection deprecation\n setPort(configuration.getPort());\n get(\":version/route/:user\", (request, response) -> {\n try {\n String apiVersion = request.params(\":version\");\n String user = request.params(\":user\");\n String version = request.headers(\"version\"); \n if (!isValidApiVersion(apiVersion)) {\n response.status(400);\n return new RouteResponse(\"Wrong API version\", \"400\", \"\");\n }\n return new RouteResponse(splitter.getGroupForUser(user)); // no overhead measured compared to using string concat or StringBuilder\n } catch (Exception e) {\n logger.error(\"Problem serving the request.\", e);\n response.status(500);\n return new RouteResponse(e.getMessage(), \"500\", \"\");\n }\n }, new JsonTransformer());\n }", "public void updateClientParty(int i)\n\t{\n\t\tif(getParty()[i] != null)\n\t\t{\n\t\t\tString data = PokemonSpecies.getDefaultData().getPokemonByName(getParty()[i].getSpeciesName()).getPokedexNumber() + \",\" + getParty()[i].getName() + \",\" + getParty()[i].getHealth() + \",\"\n\t\t\t\t\t+ getParty()[i].getGender() + \",\" + (getParty()[i].isShiny() ? 1 : 0) + \",\" + getParty()[i].getStat(0) + \",\" + getParty()[i].getStat(1) + \",\" + getParty()[i].getStat(2) + \",\"\n\t\t\t\t\t+ getParty()[i].getStat(3) + \",\" + getParty()[i].getStat(4) + \",\" + getParty()[i].getStat(5) + \",\" + getParty()[i].getTypes()[0] + \",\"\n\t\t\t\t\t+ (getParty()[i].getTypes().length > 1 && getParty()[i].getTypes()[1] != null ? getParty()[i].getTypes()[1] + \",\" : \",\") + getParty()[i].getExp() + \",\" + getParty()[i].getLevel()\n\t\t\t\t\t+ \",\" + getParty()[i].getAbilityName() + \",\" + getParty()[i].getNature().getName() + \",\" + (getParty()[i].getMoves()[0] != null ? getParty()[i].getMoveName(0) : \"\") + \",\"\n\t\t\t\t\t+ (getParty()[i].getMoves()[1] != null ? getParty()[i].getMoveName(1) : \"\") + \",\" + (getParty()[i].getMoves()[2] != null ? getParty()[i].getMoveName(2) : \"\") + \",\"\n\t\t\t\t\t+ (getParty()[i].getMoves()[3] != null ? getParty()[i].getMoveName(3) : \"\") + \",\"\n\t\t\t\t\t+ (this.getParty()[i].getMoves()[0] != null ? this.getParty()[i].getMove(0).getMove().getType().toString() : \"\") + \",\"\n\t\t\t\t\t+ (this.getParty()[i].getMoves()[1] != null ? this.getParty()[i].getMove(1).getMove().getType().toString() : \"\") + \",\"\n\t\t\t\t\t+ (this.getParty()[i].getMoves()[2] != null ? this.getParty()[i].getMove(2).getMove().getType().toString() : \"\") + \",\"\n\t\t\t\t\t+ (this.getParty()[i].getMoves()[3] != null ? this.getParty()[i].getMove(3).getMove().getType().toString() : \"\") + \",\" + this.getParty()[i].getItemName() + \",\"\n\t\t\t\t\t+ (int) this.getParty()[i].getExpForLevel(this.getParty()[i].getLevel()) + \",\" + (int) this.getParty()[i].getExpForLevel(this.getParty()[i].getLevel() + 1) + \",\"\n\t\t\t\t\t+ this.getParty()[i].getOriginalTrainer();\n\t\t\tServerMessage message = new ServerMessage(ClientPacket.INIT_POKEMON);\n\t\t\tmessage.addInt(i);\n\t\t\tmessage.addString(data);\n\t\t\tgetSession().Send(message);\n\t\t\t/* Update move pp */\n\t\t\tfor(int j = 0; j < 4; j++)\n\t\t\t\tupdateClientPP(i, j);\n\t\t}\n\t}", "PartyType getCarrierParty();", "public void onServiceConnected(ComponentName className, IBinder service) {\n imService = ((FriendLocationService.IMBinder)service).getService(); \r\n \r\n \r\n }", "public Invitation(int personId, Party party, String status) {\n this.personId = personId;\n this.party = party;\n this.status = status;\n }", "@Override\n\tpublic void onResult(LoadPeopleResult arg0) {\n\t\t\n\t}", "public void setNumberInParty(String numberInParty) {\n this.numberInParty = numberInParty;\n }", "PartyType getConsignorParty();", "public void load (Object o) \n throws NoPeerException, SQLException, NotFoundException\n {\n PersistentPeer peer = getPeer(o);\n peer.setPersistentEngine (this);\n peer.load (o);\n }", "@Override \n public void run() {\n\t\tString path = Urls.URL_32;\n\t\t\n\t\tMap<String, String> map = new HashMap<String, String>();\n\t\tmap.put(\"login-name-or-mobile\", username);\n\t\tmap.put(\"pwd\", password);\n\t \tList<BasicNameValuePair> params = HttpUtils.setParams(map);\n\t \t\n\t\tMap<String, String> map2 = new HashMap<String, String>();\n\t \tmap2.put(\"Accept-Encoding\", \"gzip, deflate\");\n\t \tmap2.put(\"Accept\", \"application/json\");\n\n\t \tMap<String,String> info = new HashMap<String,String>();\n\t\tString jsonStr = \"\";\n\t\ttry {\n\t\t\tjsonStr = RequestService.getInstance().getRequest(params, path, map2);\n\t\t\t\n\t\t\tif(jsonStr==null || \"null\".equals(jsonStr) || \"\".equals(jsonStr)){\n\t\t\t\tinfo.put(\"available\", \"0\");\n\t\t\t}else{\n\t\t\t\tHttpUtils.parseJson(jsonStr, info, null);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tMessage msg = new Message(); \n\t msg.what = Constants.NETWORK_ERROR;\n\t handler.sendMessage(msg); \n\t return;\n\t\t}\n\t\t\n Message msg = new Message(); \n msg.obj = info;\n msg.what = Constants.GET_BALANCE_SUCCESS;\n handler.sendMessage(msg); \n }" ]
[ "0.58900106", "0.57431364", "0.559634", "0.5534292", "0.53684473", "0.5350832", "0.53269553", "0.5324183", "0.52909064", "0.5180015", "0.5179638", "0.516154", "0.5150557", "0.51241297", "0.50187975", "0.49794835", "0.4960695", "0.49359173", "0.492007", "0.48700204", "0.48538238", "0.48493192", "0.48490408", "0.48114267", "0.48108178", "0.48055506", "0.4798768", "0.47904208", "0.47889102", "0.47871155", "0.47788948", "0.47730014", "0.47559682", "0.47535872", "0.4748618", "0.47454375", "0.47363093", "0.47284314", "0.47111192", "0.47066122", "0.46950328", "0.4690236", "0.4690236", "0.4690236", "0.46884355", "0.46642107", "0.46532598", "0.46441865", "0.46346262", "0.46242574", "0.4607309", "0.46014485", "0.4578733", "0.4577583", "0.4576935", "0.45712593", "0.4569734", "0.45642334", "0.45640394", "0.4557469", "0.45554766", "0.4555242", "0.4553316", "0.45514104", "0.4550872", "0.45503297", "0.454345", "0.45374715", "0.45352867", "0.45329326", "0.45321774", "0.45197126", "0.45150357", "0.45132157", "0.45096835", "0.45052204", "0.45027208", "0.45024043", "0.44977614", "0.4496636", "0.44957712", "0.4492906", "0.44885802", "0.44873697", "0.44814178", "0.44788152", "0.44787365", "0.4471809", "0.44716567", "0.44689536", "0.44663426", "0.4460018", "0.44553554", "0.44534314", "0.4449982", "0.44452715", "0.44414207", "0.444061", "0.4432946", "0.44319817" ]
0.58947945
0
/ Add all the filter which has insuredId to filterList
private List<FilterType> getFilterInsuredList(PolicyPremiumInquiryResultParametersType policyPremiumInquiryResultParametersType) { List<FilterType> filterList = new ArrayList<FilterType>(); FilterType filter = policyPremiumInquiryResultParametersType.getFilter(); if (!StringUtils.isBlank(getFilterInsuredId(filter))) { filterList.add(filter); } return filterList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateFilterList() {\n filteredList.clear();\n filteredList.addAll(searchList);\n filteredList.retainAll(mediaCategoryList);\n }", "public void addFilter(List<SermonVideo> newList){\n filter = newList;\n notifyDataSetChanged();\n }", "List<FilterInfo> getZuulFiltersForFilterId(String filter_id);", "private static void addUserFilters() {\n List<FiltersByLocation> filtersByLocations=new ArrayList<>();\n List<String> listOfFilterNamesAlreadyAddedUnModified=HealthDataFilter.returnAllFilterNames();\n List<String> listOfFilterNamesAlreadyAdded=new ArrayList<>(listOfFilterNamesAlreadyAddedUnModified);\n\n Set <String> set1=new HashSet<>();\n set1.add(\"\");\n\n String whereForZipFilter1 = createWhereForZipFilter((HashSet<String>) set1);\n\n if (!listOfFilterNamesAlreadyAdded.contains(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME)){\n filtersByLocations.add(new FiltersByLocation(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME ,whereForZipFilter1));\n listOfFilterNamesAlreadyAdded.add(AppConstant.CURRENT_ZIP_CODE_FILTER_NAME);\n }\n\n Map<String, ?> userZipCodeFilters = PreferenceUtility.getUserZipCodeFilters();\n\n for (Map.Entry<String, ?> entry : userZipCodeFilters.entrySet()) {\n //Upper case\n String filterName=entry.getKey().substring(AppConstant.USER_PREF_ZIP_FILTER_PREFIX.length()).toUpperCase();\n String whereForZipFilter = createWhereForZipFilter((HashSet<String>) entry.getValue());\n if (!listOfFilterNamesAlreadyAdded.contains(filterName)){\n filtersByLocations.add(new FiltersByLocation(filterName,whereForZipFilter));\n }\n }\n }", "public List<Integer> selectIdListByFilter( SubmitFilter filter, Plugin plugin )\n {\n List<Integer> suggestSubmitIdList = new ArrayList<Integer>( );\n List<String> listStrFilter = new ArrayList<String>( );\n String strOrderBy = null;\n\n if ( filter.containsIdSuggest( ) )\n {\n listStrFilter.add( SQL_FILTER_ID_SUGGEST );\n }\n\n if ( filter.containsIdSuggestSubmit( ) )\n {\n listStrFilter.add( SQL_FILTER_ID_SUGGEST_SUBMIT );\n }\n\n if ( filter.containsIdSuggestSubmitState( ) )\n {\n listStrFilter.add( SQL_FILTER_ID_SUGGEST_SUBMIT_STATE );\n }\n\n if ( filter.containsIdCategory( ) )\n {\n listStrFilter.add( SQL_FILTER_ID_CATEGORY );\n }\n\n if ( filter.containsDateFirst( ) )\n {\n listStrFilter.add( SQL_FILTER_DATE_FIRST_SUBMIT );\n }\n\n if ( filter.containsDateLast( ) )\n {\n listStrFilter.add( SQL_FILTER_DATE_LAST_SUBMIT );\n }\n\n if ( filter.containsIdReported( ) )\n {\n listStrFilter.add( SQL_FILTER_REPORTED );\n }\n\n if ( filter.containsNumberVote( ) )\n {\n listStrFilter.add( SQL_FILTER_NUMBER_VOTE );\n }\n\n if ( filter.containsIdPinned( ) )\n {\n listStrFilter.add( SQL_FILTER_IS_PINNED );\n }\n if ( filter.containsLuteceUserKey())\n {\n listStrFilter.add( SQL_FILTER_LUTECE_USER_KEY);\n }\n\n if ( filter.containsIdType( ) )\n {\n listStrFilter.add( SQL_FILTER_ID_TYPE );\n }\n \n \n \n\n if ( filter.containsIdContainsCommentDisable( ) )\n {\n listStrFilter.add( ( filter.getIdContainsCommentDisable( ) == SubmitFilter.ID_TRUE )\n ? SQL_FILTER_CONTAINS_COMMENT_DISABLE : SQL_FILTER_NOT_CONTAINS_COMMENT_DISABLE );\n }\n\n if ( filter.containsSortBy( ) )\n {\n strOrderBy = getOrderBy( filter.getSortBy( ) );\n }\n\n //\t\tif(filter.isOrderByScore())\n //\t\t{\n //\t\t\tstrSQL += SQL_ORDER_BY_SCORE;\n //\t\t}\n //\t\telse if(filter.isOrderByCommentNumber())\n //\t\t{\n //\t\t\tstrSQL += SQL_ORDER_BY_COMMENT_NUMBER_ASC;\n //\t\t}\n //\t\telse\n //\t\t{\n //\t\t\tstrSQL += SQL_ORDER_BY_DATE_RESPONSE;\n //\t\t}\n String strSQL = SuggestUtils.buildRequestWithFilter( SQL_QUERY_SELECT_ID_SUGGEST_SUBMIT_BY_FILTER, listStrFilter,\n strOrderBy );\n DAOUtil daoUtil = new DAOUtil( strSQL, plugin );\n int nIndex = 1;\n\n if ( filter.containsIdSuggest( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdSuggest( ) );\n nIndex++;\n }\n\n if ( filter.containsIdSuggestSubmit( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdSuggestSubmit( ) );\n nIndex++;\n }\n\n if ( filter.containsIdSuggestSubmitState( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdSuggestSubmitState( ) );\n nIndex++;\n }\n\n if ( filter.containsIdCategory( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdCategory( ) );\n nIndex++;\n }\n\n if ( filter.containsDateFirst( ) )\n {\n daoUtil.setTimestamp( nIndex, filter.getDateFirst( ) );\n nIndex++;\n }\n\n if ( filter.containsDateLast( ) )\n {\n daoUtil.setTimestamp( nIndex, filter.getDateLast( ) );\n nIndex++;\n }\n\n if ( filter.containsIdReported( ) )\n {\n daoUtil.setBoolean( nIndex, filter.convertIdBoolean( filter.getIdReported( ) ) );\n nIndex++;\n }\n\n if ( filter.containsNumberVote( ) )\n {\n daoUtil.setInt( nIndex, filter.getNumberVote( ) );\n nIndex++;\n }\n\n if ( filter.containsIdPinned( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdPinned( ) );\n nIndex++;\n }\n \n if ( filter.containsLuteceUserKey())\n {\n \t daoUtil.setString( nIndex, filter.getLuteceUserKey());\n \t nIndex++;\n }\n\n if ( filter.containsIdType( ) )\n {\n daoUtil.setInt( nIndex, filter.getIdType( ) );\n nIndex++;\n }\n \n\n daoUtil.executeQuery( );\n\n while ( daoUtil.next( ) )\n {\n suggestSubmitIdList.add( daoUtil.getInt( 1 ) );\n }\n\n daoUtil.free( );\n\n return suggestSubmitIdList;\n }", "public void addFilters(cwterm.service.rigctl.xsd.Filter param) {\n if (localFilters == null) {\n localFilters = new cwterm.service.rigctl.xsd.Filter[] {};\n }\n localFiltersTracker = true;\n java.util.List list = org.apache.axis2.databinding.utils.ConverterUtil.toList(localFilters);\n list.add(param);\n this.localFilters = (cwterm.service.rigctl.xsd.Filter[]) list.toArray(new cwterm.service.rigctl.xsd.Filter[list.size()]);\n }", "public void addBusinessFilterToPolicyEntries(ViewerFilter filter);", "public RegisterFilter() {\n\t\tqueryList = new ArrayList<QueryPart>();\n\t\torderList = new ArrayList<OrderPart>();\n\t}", "public void addFilterToPolicyEntries(ViewerFilter filter);", "void updateFilteredListsToShowAll();", "public void filterByMyDisplayAll(){\n // add them into the new list\n for (int i = 0; i < moodListBeforeFilterMy.getCount(); i++ ){\n moodListAfterFilter.add(moodListBeforeFilterMy.getMoodEvent(i));\n }\n }", "FilterInfo addFilter(String filtercode, String filter_type, String filter_name, String disableFilterPropertyName, String filter_order);", "private void updateFilter(BasicOutputCollector collector) {\n if (updateFilter()){\n \tValues v = new Values();\n v.add(ImmutableList.copyOf(filter));\n \n collector.emit(\"filter\",v);\n \t\n }\n \n \n \n }", "public void addFilterToIncomingLinks(ViewerFilter filter);", "public void addFilterToAnotations(ViewerFilter filter);", "public void addFilterToAnotations(ViewerFilter filter);", "public void addBusinessFilterToAnotations(ViewerFilter filter);", "public void addBusinessFilterToAnotations(ViewerFilter filter);", "public void setfilter(ArrayList<FoodInformation> newList) {\n foodTruckList = new ArrayList<>();\n foodTruckList.addAll(newList);\n notifyDataSetChanged();\n }", "public Set<SearchFilterItem> setActiveFilterParams(Model model, HttpServletRequest request) {\n Map<String, String[]> parameterMap = request.getParameterMap();\n model.addAttribute(\"parameterMap\", parameterMap);\n\n\n // exclude non-filter query parameters\n Map<String, String[]> filtersOnlyMap = parameterMap.entrySet().stream()\n .filter(entry -> FILTER_PARAMETER_NAMES.contains(entry.getKey())\n || (\"filterJournals\").equals(entry.getKey()))\n .collect(Collectors.toMap(entry -> entry.getKey(), entry -> entry.getValue()));\n\n Set<SearchFilterItem> activeFilterItems = new LinkedHashSet<>();\n filtersOnlyMap.forEach((filterName, filterValues) -> buildActiveFilterItems(activeFilterItems,\n parameterMap, filterName, filterValues));\n return activeFilterItems;\n }", "public void addPrimaryFilter(String key, Object value) {\n Set<Object> thisPrimaryFilter = primaryFilters.get(key);\n if (thisPrimaryFilter == null) {\n thisPrimaryFilter = new HashSet<Object>();\n primaryFilters.put(key, thisPrimaryFilter);\n }\n thisPrimaryFilter.add(value);\n }", "public void addFilterToAttributes(ViewerFilter filter);", "public void addBusinessFilterToIncomingLinks(ViewerFilter filter);", "public void setIdFilter(Long id) {\n this.idFilter = id;\n }", "void updateFilteredListToShowAll();", "void updateFilteredListToShowAll();", "public void addBusinessFilterToReader(ViewerFilter filter);", "public void addBusinessFilterToAttributes(ViewerFilter filter);", "public void setFilter(ArrayList<ProductImageModel> newList) {\n list = new ArrayList<>();\n list.addAll(newList);\n notifyDataSetChanged();\n }", "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 saveFilterValues(String filterCriteria);", "Collection<T> doFilter(RepositoryFilterContext context);", "public void filter(List<String> filters){\n filteredList.clear();\n\n if(filters == null || filters.size() == 0 || filters.get(0).toLowerCase().equals(\"NONE\")){\n filteredList = new ArrayList<>(sensorList);\n }\n\n for(int i=0; i<sensorList.size(); i++) {\n for (int j = 0; j < filters.size(); j++) {\n if(!filteredList.contains(sensorList.get(i))) {\n if (sensorList.get(i).getSensor_Type().equals(filters.get(j))) {\n filteredList.add(sensorList.get(i));\n }\n if (filters.get(j).equals(\"Heartbeat=0\")) {\n if (sensorList.get(i).getSensor_Type().equals(\"HeartRate\") && sensorList.get(i).getSensor_Val() == 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Tripped Vibration Sensor\")) {\n if (sensorList.get(i).getSensor_Type().equals(\"Vibration\") && sensorList.get(i).getSensor_Val() > 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Health=Service\")) {\n if (sensorList.get(i).getSensorHealth().equals(\"Service\")) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Health=EOL\")) {\n if (sensorList.get(i).getSensorHealth().equals(\"EOL\")) {\n filteredList.add(sensorList.get(i));\n }\n }\n if (filters.get(j).equals(\"Dead Battery\")) {\n if (sensorList.get(i).getBattery() == 0) {\n filteredList.add(sensorList.get(i));\n }\n }\n }\n }\n }\n filteredListForSearch.clear();\n filteredListForSearch.addAll(filteredList);\n removeDuplicates();\n notifyDataSetChanged();\n }", "public void addFilter(Filter filter){\n removeEndQuery();\n setMainQuery(getMainQuery()+filter.getFilter()+\"}\");\n setCountQuery(getCountQuery()+filter.getFilter()+\"}\");\n }", "@Override\n public Filter getFilter() {\n return main_list_filter;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic static List<Filter> getFilters(AgentContext ctx) {\n\t\tString filtrs = ConfigurationManager.getProperty(Agent.getPropertyName(AGENT_GROUP_NAME, \"list\"));\n\t\tif (filtrs == null) \n {\n filtrs = DEFAULT_FILTERS;\n log.info(LogManager.getHeader(null, \"Filters is null!!!\", null));\n }\n else\n log.info(LogManager.getHeader(null, \"Filters is NOT null!!!\", null));\n\t\tList<String> filters = Arrays.asList(filtrs.split(\",\"));\n\t\tList<Filter> list = new ArrayList<Filter>();\n\t\tfor (String string : filters) {\n\t\t\ttry {\n\t\t\t log.info(LogManager.getHeader(null,\"Get Filters #\",string));\n Class cls = Class.forName(string.trim());\n\t\t\t\tObject obj = cls.newInstance();\n\t\t\t\tif (obj instanceof Filter) {\n\t\t\t\t\tFilter m = (Filter) obj;\n\t\t\t\t\tm.setContext(ctx);\n\t\t\t\t\tlist.add(m);\n\t\t\t\t}\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\tlog.info(LogManager.getHeader(null, \"oaidriver_error\",\n \"Class \"+string.trim()+\" not found\"),e);\n\t\t\t} catch (InstantiationException e) {\n\t\t\t\tlog.info(LogManager.getHeader(null, \"oaidriver_error\",\n\t\t\t\t\t\t\"Impossible to create instance of \"+string.trim()),e);\n\t\t\t} catch (IllegalAccessException e) {\n\t\t\t\tlog.info(LogManager.getHeader(null, \"oaidriver_error\",\n\t\t\t\t\t\t\"Class \"+string.trim()+\" doesn't have empty constructor\"),e);\n\t\t\t}\n\t\t}\n\t\treturn list;\n }", "List<String> getFilters();", "public void addFilterToReader(ViewerFilter filter);", "public void addFilters(){\r\n filter.getItems().clear();\r\n filter.setPromptText(\"Select Filter\");\r\n filter.setButtonCell(new ListCell<String>() {\r\n @Override\r\n protected void updateItem(String item, boolean empty) {\r\n super.updateItem(item, empty);\r\n if (empty || item == null)\r\n setText(\"Select Filter\");\r\n else\r\n setText(item);\r\n }\r\n });\r\n\r\n //Adds filters to filter combobox based on tx power rating and filter power rating\r\n\r\n DocumentBuilderFactory filteringFactory = DocumentBuilderFactory.newInstance();\r\n DocumentBuilder filterBuilder = null;\r\n try { filterBuilder = filteringFactory.newDocumentBuilder(); }\r\n catch (ParserConfigurationException e) { e.printStackTrace(); }\r\n\r\n Document filterDocument = null;\r\n try { filterDocument = Objects.requireNonNull(filterBuilder).parse(new File(\"maskFiltersCouplers.xml\")); }\r\n catch (SAXException | IOException e) { e.printStackTrace(); }\r\n\r\n List<sample.Filtering> theFilters = new ArrayList<sample.Filtering>();\r\n NodeList filtersNodeList = filterDocument.getDocumentElement().getChildNodes();\r\n for (int i = 0; i < filtersNodeList.getLength(); i++) {\r\n Node filtersNode = filtersNodeList.item(i);\r\n if (filtersNode.getNodeType() == Node.ELEMENT_NODE) {\r\n Element filtersElement = (Element) filtersNode;\r\n\r\n filterPower = Double.parseDouble((filtersElement.getElementsByTagName(\"Power\").item(0).getChildNodes().item(0).getNodeValue()));\r\n filterPIDDescription = filtersElement.getElementsByTagName(\"PIDDESCRIPTION\").item(0).getChildNodes().item(0).getNodeValue();\r\n filterSize = filtersElement.getElementsByTagName(\"Size\").item(0).getChildNodes().item(0).getNodeValue();\r\n filterPID = filtersElement.getElementsByTagName(\"PID\").item(0).getChildNodes().item(0).getNodeValue();\r\n\r\n if (filterPower > powerRating * 1000 || filterPower * cabinets > powerRating * 1000) { //powerRating is KW need to multiply by 1000 to get into watts\r\n theFilters.add(new sample.Filtering(filterPower, filterPIDDescription, filterSize, filterPID));//filterPower is set in watts (1,000 watts = 1KW)\r\n filter.getItems().add(filterPIDDescription + \" input size \" + filterSize);\r\n }\r\n }\r\n }\r\n }", "public void filterByFoDisplayAll(){\n // add them into the new list\n for (int i = 0; i < moodListBeforeFilterFo.getCount(); i++ ){\n moodListAfterFilter.add(moodListBeforeFilterFo.getMoodEvent(i));\n }\n }", "ListScanFilterResponse listScanFilters(ListScanFilterRequest request);", "public void addBusinessFilterToCreator(ViewerFilter filter);", "private void filter(List<String> filterIdList, List<RecommendedItem> recommendedList, Set<RecommendedItem> filterRecommendedSet, String filterType) {\r\n if (filterIdList != null && filterIdList.size() > 0) {\r\n for (String filterId : filterIdList) {\r\n for (RecommendedItem recommendedItem : recommendedList) {\r\n String recommendedId = null;\r\n if (StringUtils.equals(\"user\", filterType)) {\r\n recommendedId = recommendedItem.getUserId();\r\n } else if (StringUtils.equals(\"item\", filterType)) {\r\n recommendedId = recommendedItem.getItemId();\r\n }\r\n if (StringUtils.equals(filterId, recommendedId)) {\r\n filterRecommendedSet.add(recommendedItem);\r\n }\r\n }\r\n }\r\n }\r\n }", "public void addBusinessFilterToMethods(ViewerFilter filter);", "public List<StudentRecord> filter(IFilter filter) {\n\t\tList<StudentRecord> temporaryList = new ArrayList<>();\n\n\t\tfor (StudentRecord studentRecord : studentRecords) {\n\t\t\tif (filter.accepts(studentRecord)) {\n\t\t\t\ttemporaryList.add(studentRecord);\n\t\t\t}\n\t\t}\n\t\treturn temporaryList;\n\t}", "private void addEntityFiltering(Map params, List excludeProps, Object exampleEntity, int page) {\n\n\t\tparams.put(IReportDAO.FILTER, exampleEntity);\n\t\tparams.put(IReportDAO.EXCLUDE_PROP, excludeProps);\n\t\tparams.put(IReportDAO.PAGE, page);\n\t}", "FilterInfo getActiveFilterInfoForFilter(String filter_id);", "public void addFilterToCombo(ViewerFilter filter);", "public void setFilter(List<DataEntity> dataEntities) {\n dataEntityList = new ArrayList<>();\n dataEntityList.addAll(dataEntities);\n Log.d(\"ttt\", \"setFilter: \" + dataEntities.size());\n notifyDataSetChanged();\n\n }", "protected void addFilters(Builder urlBuilder, List<String> params,\n Map<String, String> filters) {\n\n final Pattern tailParamsKeyPattern = Pattern.compile(\"^tail\\\\..+$\");\n final HttpStoragePluginConfig config = subScan.tableSpec().config();\n if (!config.enableEnhancedParamSyntax()) {\n // If the request is a POST query and the user selected to push the filters to either JSON body\n // or the post body, do not add to the query string.\n if (subScan.tableSpec().connectionConfig().getMethodType() == HttpApiConfig.HttpMethod.GET ||\n (subScan.tableSpec().connectionConfig().getMethodType() == HttpApiConfig.HttpMethod.POST\n && subScan.tableSpec().connectionConfig().getPostLocation() == PostLocation.QUERY_STRING)\n ) {\n for (String param : params) {\n String value = filters.get(param);\n if (value != null) {\n urlBuilder.addQueryParameter(param, value);\n }\n }\n }\n } else {\n for (String param : params) {\n if (tailParamsKeyPattern.matcher(param).find()){\n String value = filters.get(param);\n if (value != null) {\n urlBuilder.addQueryParameter(param.substring(5), value);\n }\n }\n }\n }\n }", "private void filterHandler(Request req, Supplier filter) throws SQLException {\n generalHandler(req);\n params.put(\"currFilter\", filter);\n params.put(\"products\", filter.getProducts());\n }", "public void addFilterToComboRO(ViewerFilter filter);", "public ArrayList<CampusEvent> eventListFilter (ArrayList<CampusEvent> campusEvents, Filters filter) {\n ArrayList<CampusEvent> newList = new ArrayList<CampusEvent>();\n //if all the filters are zero, return original list\n Log.d(Globals.TAGG, \"Showing what the filters are\");\n\n if (filter == null) {\n Log.d(Globals.TAGG, \"All filters are null\");\n return campusEvents;\n } else {\n if (filter.getfFood() == 0 && filter.getfEventType() == 0 && filter.getfProgramType() == 0 && filter.getfGender() == 0 && filter.getfGreekSociety() == 0 && filter.getfMajor() == 0 && filter.getfYear() == 0) {\n return campusEvents;\n }\n if (filter.getfFood() != 0) {\n for (CampusEvent event : campusEvents) {\n int scaleval = filter.getfFood() - 1;\n if (event.getFood() == scaleval) {\n newList.add(event);\n }\n }\n }\n if (filter.getfEventType() != 0) {\n for (CampusEvent event : campusEvents) {\n int scaleval = filter.getfEventType() - 1;\n if (event.getEventType() == scaleval) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfProgramType() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getProgramType() == filter.getfProgramType()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfYear() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getYear() == filter.getfYear()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfMajor() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getMajor() == filter.getfMajor()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfGender() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getGender() == filter.getfGender()) {\n newList.add(event);\n }\n }\n }\n\n if (filter.getfGreekSociety() != 0) {\n for (CampusEvent event : campusEvents) {\n if (event.getGreekSociety() == filter.getfGreekSociety()) {\n newList.add(event);\n }\n }\n }\n\n return newList;\n }\n }", "private void updateFilteredData() {\n mainApp.getFilteredData().clear();\n\n for (FilmItem p : mainApp.getFilmData()) {\n if (matchesFilter(p)) {\n \tmainApp.getFilteredData().add(p);\n }\n }\n }", "public void addFilterToCreator(ViewerFilter filter);", "private void updateFilters(Collection<Integer> datasetIds, String filterId) {\n selectedDatasetNumbers.clear();\n filtersSet.keySet().stream().map((keyFilterId) -> {\n DatasetPieChartFilter filter = filtersSet.get(keyFilterId);\n if (!keyFilterId.equalsIgnoreCase(filterId)) {\n filter.localUpdate(datasetIds, singlefilter);\n }\n return filter;\n }).forEachOrdered((filter) -> {\n selectedDatasetNumbers.add(filter.getSelectedDsIds().size());\n });\n\n }", "List<String> getActiveFilters();", "public void addBusinessFilterToParentLayer(ViewerFilter filter);", "@Override\n public javax.servlet.FilterRegistration.Dynamic addFilter(String filterName, Filter filter) {\n return null;\n }", "Get<K, C> addFilter(Filter<K, C> filter);", "public abstract void updateFilter();", "private String getWhereFilter(ArrayList<Object> prmList) {\n StringBuffer filterBuffer = new StringBuffer();\n /* set id filter */\n if (this.idFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" ndp.id = ? \");\n prmList.add(this.idFilter);\n }\n\n if (this.typeFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.type LIKE ? \");\n prmList.add(this.typeFilter);\n }\n\n if (this.propertyInfoFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.property_info LIKE ? \");\n prmList.add(this.propertyInfoFilter);\n }\n\n if (this.landCertificateFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.land_certificate LIKE ? \");\n prmList.add(this.landCertificateFilter);\n }\n\n if (this.landMapNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.land_map_number LIKE ? \");\n prmList.add(this.landMapNumberFilter);\n }\n\n if (this.landNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.land_number LIKE ? \");\n prmList.add(this.landNumberFilter);\n }\n\n if (this.landAddressFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.land_address LIKE ? \");\n prmList.add(this.landAddressFilter);\n }\n\n if (this.carLicenseNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.car_license_number LIKE ? \");\n prmList.add(this.carLicenseNumberFilter);\n }\n\n if (this.carRegistNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.car_regist_number LIKE ? \");\n prmList.add(this.carRegistNumberFilter);\n }\n\n if (this.carFrameNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.car_frame_number LIKE ? \");\n prmList.add(this.carFrameNumberFilter);\n }\n\n if (this.carMachineNumberFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.car_machine_number LIKE ? \");\n prmList.add(this.carMachineNumberFilter);\n }\n\n if (this.originKindFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" ndp.origin_kind LIKE ? \");\n prmList.add(this.originKindFilter);\n }\n\n if (this.releaseFlgFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" ndp.release_flg = ? \");\n prmList.add(this.releaseFlgFilter);\n }\n\n if (this.deleteFlgFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" ndp.delete_flg = ? \");\n prmList.add(this.deleteFlgFilter);\n }\n\n if (this.typeKeySearchFilter != null) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" npp.type LIKE ? \");\n prmList.add(this.typeKeySearchFilter);\n }\n\n if (this.keySearchFilter != null) {\n for (int i = 0; i < subKeys.size(); i++) {\n String subkey = subKeys.get(i);\n\n if (Constants.PLUS.equals(subkey)) {\n appendAnd(filterBuffer);\n filterBuffer.append(\" ( \");\n if (i == 0) {\n filterBuffer.append(\" ( \");\n }\n } else if (Constants.SPACE.equals(subkey)) {\n appendOr(filterBuffer);\n filterBuffer.append(\" ( \");\n } else {\n filterBuffer.append(\" MATCH(npp.property_info, npp.owner_info, npp.other_info, \" +\n \"ndp.prevent_in_book_number, ndp.prevent_person_info, ndp.prevent_doc_number, ndp.prevent_doc_summary, \" +\n \"ndp.prevent_note, ndp.release_in_book_number, ndp.release_person_info, \" +\n \"ndp.release_doc_number, ndp.release_doc_summary, ndp.release_note) \");\n filterBuffer.append(\" AGAINST(? IN BOOLEAN MODE) \");\n prmList.add(subkey);\n\n if (subkey.charAt(0) == '\"') {\n subkey = subkey.substring(1, subkey.length() - 1);\n }\n\n if (subkey.charAt(subkey.length() - 1) == '\"') {\n subkey = subkey.substring(0, subkey.length() - 2);\n }\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.property_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.owner_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.other_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_in_book_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_person_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n \n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_doc_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_doc_summary LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_note LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_in_book_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_person_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_doc_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_doc_summary LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_note LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n filterBuffer.append(\" ) \");\n }\n }\n filterBuffer.append(\" ) \");\n\n filterBuffer.append(\" ORDER BY \");\n for (int j = 1; j < subKeys.size(); j++) {\n String subkey = subKeys.get(j);\n if (!Constants.PLUS.equals(subkey) && !Constants.SPACE.equals(subkey)) {\n\n filterBuffer.append(\" ( \");\n filterBuffer.append(\" MATCH(npp.property_info, npp.owner_info, npp.other_info, \" +\n \"ndp.prevent_in_book_number, ndp.prevent_person_info, ndp.prevent_doc_number, ndp.prevent_doc_summary, \" +\n \"ndp.prevent_note, ndp.release_in_book_number, ndp.release_person_info, \" +\n \"ndp.release_doc_number, ndp.release_doc_summary, ndp.release_note) \");\n filterBuffer.append(\" AGAINST(? IN BOOLEAN MODE) \");\n prmList.add(subkey);\n\n if (subkey.charAt(0) == '\"') {\n subkey = subkey.substring(1, subkey.length() - 1);\n }\n\n if (subkey.charAt(subkey.length() - 1) == '\"') {\n subkey = subkey.substring(0, subkey.length() - 2);\n }\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.property_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.owner_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" npp.other_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_in_book_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_person_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n \n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_doc_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_doc_summary LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.prevent_note LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_in_book_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_person_info LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_doc_number LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_doc_summary LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n appendOr(filterBuffer);\n filterBuffer.append(\" ndp.release_note LIKE ? \");\n prmList.add(buildFilterString(subkey, FilterKind.MIDDLE.getValue()));\n\n if (j == subKeys.size() - 1) {\n filterBuffer.append(\" ) \");\n } else {\n filterBuffer.append(\" ) + \");\n }\n }\n }\n filterBuffer.append(\" DESC, prevent_doc_receive_date DESC \");\n }\n\n if (this.officeCode != null && !\"\".equals(this.officeCode)) {\n \tappendAnd(filterBuffer);\n filterBuffer.append(\" ndp.synchronize_id LIKE ? \");\n prmList.add(this.officeCode);\n }\n \n return filterBuffer.toString();\n }", "@RequestMapping(value = \"/clinicHistoryAddInfs\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<ClinicHistoryAddInf> getAll(@RequestParam(required = false) String filter) {\n if (\"clinic_add_inf-is-null\".equals(filter)) {\n log.debug(\"REST request to get all ClinicHistoryAddInfs where clinic_add_inf is null\");\n List clinicHistoryAddInfs = new ArrayList<ClinicHistoryAddInf>();\n for (ClinicHistoryAddInf clinicHistoryAddInf : clinicHistoryAddInfRepository.findAll()) {\n if (clinicHistoryAddInf.getClinicHistory()== null) {\n clinicHistoryAddInfs.add(clinicHistoryAddInf);\n }\n }\n return clinicHistoryAddInfs;\n }\n\n log.debug(\"REST request to get all ClinicHistoryAddInfs\");\n return clinicHistoryAddInfRepository.findAll();\n }", "public void addBusinessFilterToMethodArguments(ViewerFilter filter);", "public static void addFilterMap(WFJFilterMap filterMap) {\n validateFilterMap(filterMap);\n // Add this filter mapping to our registered set\n filterMaps.add(filterMap);\n }", "public void addBusinessFilterToReferencedLink(ViewerFilter filter);", "public void addBusinessFilterToImplements_(ViewerFilter filter);", "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 addFilterToReferencedLink(ViewerFilter filter);", "public void addBusinessFilterToParentModule(ViewerFilter filter);", "public void filterTable(String filter) {\n\t\tif (fullBackup.isEmpty() || fullBackup == null) {\n\t\t\tfullBackup.addAll(list);\n\t\t}\n\n\t\t// always clear selected items\n\t\tselectionModel.clear();\n\t\tlist.clear();\n\n\t\tif (filter.equalsIgnoreCase(\"\")) {\n\t\t\tlist.addAll(fullBackup);\n\t\t} else {\n\t\t\tfor (Attribute attr : fullBackup){\n\t\t\t\t// store facility by filter\n\t\t\t\tif (attr.getFriendlyName().toLowerCase().startsWith(filter.toLowerCase())) {\n\t\t\t\t\tlist.add(attr);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tdataProvider.flush();\n\t\tdataProvider.refresh();\n\t\tloaderImage.loadingFinished();\n\n\t}", "public void setFilterId(String filterId) {\n this.filterId = filterId;\n }", "public ArrayList<Sighting> filter(ArrayList<Sighting> rawSightings);", "public void addFilter(@NotNull final SceneFilter filter) {\n filters.add(filter);\n }", "private static Filter newFilter()\r\n {\r\n Filter filter = new Filter(\"filter1\", new Source(\"display1\", \"name1\", \"server\", \"key1\"));\r\n filter.getOtherSources().add(filter.getSource());\r\n Group group = new Group();\r\n group.addFilterCriteria(new Criteria(\"field1\", Conditional.EQ, \"123\"));\r\n Group group2 = new Group();\r\n group2.addFilterCriteria(new Criteria(\"field1\", Conditional.EQ, \"124\"));\r\n group.addFilterGroup(group2);\r\n filter.setFilterGroup(group);\r\n return filter;\r\n }", "private void applyFilters() {\n Task task = new Task() {\n @Override\n public Object call() {\n long start = System.currentTimeMillis();\n System.out.println(\"Applying filters! \" + filterList.size());\n filteredRowItemList = fullCustomerRowItemList;\n for (CustomerListFilter eachFilter : filterList) {\n eachFilter.setCustomerList(filteredRowItemList);\n filteredRowItemList = eachFilter.run();\n }\n System.out.println(\"Filtering took : \" + (System.currentTimeMillis() - start) + \" ms\");\n searchResultsTable.setItems(filteredRowItemList);\n customerCountStatus.setText(Integer.toString(filteredRowItemList.size()));\n return null;\n }\n };\n task.run();\n }", "protected List<Object> getPreFilters(List<Object> list, Class<T> entityClass, Pageable filter)\r\n {\r\n if (preFilterAccessor != null) {\r\n list.addAll(preFilterAccessor.getPreFilters(entityClass, filter));\r\n }\r\n return list;\r\n }", "Map<String, String> getFilters();", "public List<PedidoIndividual> filtrar(PedidoIndividual filtro);", "public void addFilter(Filter subfilter) {\n if (subfilter == null || !subfilter.isValid()) {\n return;\n }\n if (filter == null) {\n filter = new Filters();\n }\n filter.add(subfilter);\n }", "public void filterList(ArrayList<GroupChannel> filteredList) {\n }", "void addRecipeFilter(RecipeFilter recipeFilter);", "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 }", "public void addBusinessFilterToMigRelations(ViewerFilter filter);", "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 }", "private void isFiltersSatisfied() {\n Filter[] filters = rule.getFilters();\n for (int i = 0; i < filters.length; i++) {\n linkedList.add(filters[i]);\n }\n recursiveFiltering(linkedList.peek().filter.split(\":\"),null);\n }", "public Hashtable getFilters() {\n // we need to build the hashtable dynamically\n return globalFilterSet.getFilterHash();\n }", "public void addFilterToMethods(ViewerFilter filter);", "private void updateFilteredData() {\n\t\tswitch (currentTabScreen) {\n\t\tcase INVENTORY:\n\t\t\tpresentationInventoryData.clear();\n\n\t\t\tfor (RecordObj record: masterInventoryData) {\n\t\t\t\tif (matchesFilter(record)) {\n\t\t\t\t\tpresentationInventoryData.add(record);\n\t\t\t\t} // End if statement\n\t\t\t} // End for loop \n\t\t\tbreak;\n\t\tcase INITIAL:\n\t\t\tpresentationInitialData.clear();\n\n\t\t\tfor (RecordObj record: masterInitialData) {\n\t\t\t\tif (matchesFilter(record)) {\n\t\t\t\t\tpresentationInitialData.add(record);\n\t\t\t\t} // End if statement\n\t\t\t} // End for loop \n\t\t\tbreak;\n\t\tcase SEARCH:\n\t\t\tpresentationSearchData.clear();\n\n\t\t\tfor (RecordObj record: masterSearchData) {\n\t\t\t\tif (matchesFilter(record)) {\n\t\t\t\t\tpresentationSearchData.add(record);\n\t\t\t\t} // End if statement\n\t\t\t} // End for loop \n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}// End switch statement\n\t}", "FeatureHolder filter(FeatureFilter filter);", "public void filterBy(String id, Function<Trip, Boolean> flt) {\n filters.put(id, flt);\n modifiedSinceLastResult = true;\n }", "void onFilterChanged(ArticleFilter filter);", "private void addFilter(WebSocketConnector aConnector, Token aToken) {\n\t\tif (mService == null) {\n\t\t\tmService = new AdminPlugInService(NS_ADMIN, mNumberOfDays, getServer());\n\t\t}\n\n\t\tif (mLog.isDebugEnabled()) {\n\t\t\tmLog.debug(\"Processing 'addFilter'...\");\n\t\t}\n\n\t\tgetServer().sendToken(aConnector, mService.addFilter(aConnector, aToken));\n\t}", "public QueryFilter(List<ConditionalExpression> list) {\r\n\t\tthis.list = list;\r\n\t}", "public void updateAllFilteredListToShowAllActiveEntries();", "public List<AbstractFilter> getFilters(Long fileID) {\n return fileFiltersMap.computeIfAbsent(fileID, k -> new ArrayList<>());\n }", "public void onFilterSet(View view) {\n Spinner spnColor = (Spinner) findViewById(R.id.spnColor);\n Spinner spnImageSize = (Spinner) findViewById(R.id.spnImageSize);\n Spinner spnImageType = (Spinner) findViewById(R.id.spnImageType);\n EditText etSite = (EditText) findViewById(R.id.etSite);\n\n // load intent\n Intent data = new Intent();\n\n // FIXME: can I grab all the data at once and just build the object here? Instead of doing fromIntent? If so, make the image filter serializable\n String colorSpinner = spnColor.getSelectedItem().toString();\n String imageSizeSpinner = spnImageSize.getSelectedItem().toString();\n String imageTypeSpinner = spnImageType.getSelectedItem().toString();\n\n // don't set spinner defaults\n if (hasSpinnerPrompt(colorSpinner)) {\n colorSpinner = null;\n }\n if (hasSpinnerPrompt(imageSizeSpinner)) {\n imageSizeSpinner = null;\n }\n if (hasSpinnerPrompt(imageTypeSpinner)) {\n imageTypeSpinner = null;\n }\n\n data.putExtra(ImageFilter.COLOR, colorSpinner);\n data.putExtra(ImageFilter.SIZE, imageSizeSpinner);\n data.putExtra(ImageFilter.TYPE, imageTypeSpinner);\n data.putExtra(ImageFilter.SITE, etSite.getText().toString());\n\n setResult(RESULT_OK, data);\n\n this.finish();\n }", "private Filter ssoFilter() {\n\t\tCompositeFilter filter = new CompositeFilter();\n\t\tList<Filter> filters = new ArrayList<>();\n\t\tfilters.add(ssoFilter(facebook(), \"/login/facebook\"));\n\t\tfilters.add(ssoFilter(github(), \"/login/github\"));\n//\t\tfilters.add(ssoFilter(twitter(), \"/login/twitter\"));\n\t\tfilters.add(ssoFilter(linkedin(), \"/login/linkedin\"));\n\t\tfilter.setFilters(filters);\n\t\treturn filter;\n\t}", "List<ArticleDTO> getFilteredByTwo(ArticlesFilterDTO filterDTO) throws ApiException;", "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 }" ]
[ "0.6458943", "0.6338287", "0.61791366", "0.60500854", "0.60438", "0.60030824", "0.5949452", "0.5924983", "0.5914898", "0.5908532", "0.5893093", "0.5889975", "0.58747935", "0.5853774", "0.5853325", "0.5853325", "0.5844601", "0.5844601", "0.5828778", "0.5782706", "0.57707", "0.5753618", "0.57516116", "0.57195294", "0.57099825", "0.57099825", "0.57000655", "0.5666919", "0.5664135", "0.5662493", "0.5658532", "0.56465375", "0.55988777", "0.55842", "0.5573839", "0.55533415", "0.55470663", "0.5546538", "0.55410886", "0.5537151", "0.5524813", "0.5514942", "0.54925823", "0.54769117", "0.5467109", "0.54656446", "0.5463649", "0.545928", "0.54566884", "0.5453027", "0.54518855", "0.54514384", "0.54492164", "0.5444857", "0.54433584", "0.54306763", "0.5424706", "0.5423968", "0.54206467", "0.5420558", "0.5419748", "0.54088366", "0.53738946", "0.53659356", "0.5361962", "0.53607357", "0.5356996", "0.53509575", "0.5349896", "0.53438497", "0.53395426", "0.53390867", "0.53377795", "0.5333677", "0.53315526", "0.5329657", "0.532793", "0.53262275", "0.5316679", "0.5305287", "0.5304359", "0.52863234", "0.5285562", "0.52848166", "0.5283872", "0.52826905", "0.52777153", "0.5275034", "0.5267121", "0.5255952", "0.5246816", "0.5242081", "0.5232855", "0.5229081", "0.5228866", "0.5227128", "0.5217193", "0.52116686", "0.52097", "0.5205403" ]
0.6303551
2
String locationType = ((AppCompatSpinner) rootView.findViewById(R.id.location_layout)).getSelectedItem().toString();
@Override public void onClick(View v) { String secondData = ((android.support.design.widget.TextInputEditText) rootView.findViewById(R.id.secondtext)).getText().toString(); String location = ((android.support.design.widget.TextInputEditText) rootView.findViewById(R.id.location)).getText().toString()+","+secondData; if(location == null || location=="" ||locationType==null ||locationType=="") displayDialog(EMPTY_MESSAGE,getActivity()); else { Bundle bundle = new Bundle(); bundle.putString("locationType",locationType); bundle.putString("location",location); DashboardFragment fragment = new DashboardFragment(); fragment.setArguments(bundle); getActivity().getSupportFragmentManager().beginTransaction().add(R.id.fragment_container, fragment).disallowAddToBackStack().commit(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n SpinnerValue = (String)spinner.getSelectedItem();\n }", "String getSpinnerText();", "@Override\n public void onItemSelected(AdapterView<?> parent, View view,\n int position, long id) {\n\n\n try{\n String s = \"\";\n Log.e(\"mytag\",\"(String) parent.getItemAtPosition(position):\"+(String) parent.getItemAtPosition(position).toString().trim());\n if (parent.getItemAtPosition(position).toString().trim().equals(\"בחר\")){\n s = \"-1\";\n }else{\n s = String.valueOf(ctype_map.get(parent.getItemAtPosition(position).toString().trim()).getCtypeID());\n }\n setCcustomerSpinner(s);\n }catch(Exception e){\n helper.LogPrintExStackTrace(e);\n }\n Log.e(\"mytag\", (String) parent.getItemAtPosition(position));\n //statusID = db.getCallStatusByCallStatusName((String) parent.getItemAtPosition(position)).getCallStatusID();\n //statusName = db.getCallStatusByCallStatusName((String) parent.getItemAtPosition(position)).getCallStatusName();\n //Toast.makeText(getApplication(), \"status: \" + s, Toast.LENGTH_LONG).show();\n //Log.v(\"item\", (String) parent.getItemAtPosition(position));\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int pos, long arg3) {\n societyName = String.valueOf(societyNameSpinner\n .getSelectedItem());\n\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n String mselection = mSpinner.getSelectedItem().toString();\n Toast.makeText(getApplicationContext(), \"selected \" + mselection, 30).show();\n /**** do your code*****/\n\n if (mselection.equals(\"New Location\")){\n Intent i = new Intent(getApplicationContext(), NewLocation.class);\n startActivity(i);\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {\n spinnerItemSelected = parent.getItemAtPosition(pos).toString();\n }", "@Override\n public void onItemSelected(MaterialSpinner view, int position, long id, Object item) {\n\n if(item.equals(\"Other\")){\n othereditText.setVisibility(View.VISIBLE);\n serviceSelected = othereditText.getText().toString().trim();\n }else{\n serviceSelected = item+\"\";\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n recipeType = (String) recipeAdapter.getRecipeType(position);\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = (String) parent.getItemAtPosition(position);\n selectedSports = item;\n Log.d(\"testing Spinner\", \"Spinner item selected is: \" + selectedSports + \" \" + item.toString());\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = parent.getItemAtPosition(position).toString();\n\n // Showing selected spinner item\n Toast.makeText(parent.getContext(), \"Selected: \" + item, Toast.LENGTH_LONG).show();\n\n }", "public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n\n \t hometown=spinner1.getSelectedItem().toString();\n \t\n }", "public void onItemSelected(AdapterView<?> parent, View view, int pos, long id){\n this.mAssessmentType = parent.getItemAtPosition(pos).toString();\n }", "private void updateSpinner() {\n ArrayAdapter<CharSequence> adaptador = new ArrayAdapter(getContext(), android.R.layout.simple_spinner_item,nombresEnComboBox);\n spinner.setAdapter(adaptador);\n //guardo el item seleccionado del combo\n spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener(){\n @Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n nombreDeLocSeleccionada[0] = (String) spinner.getAdapter().getItem(i);\n for (int j=0 ; j < listaLocalidades.size() ; j++){\n if (listaLocalidades.get(j).getNombreLocalidad().equals(nombreDeLocSeleccionada[0])) {\n idLoc = listaLocalidades.get(j).getIdLocalidad() ;\n break;\n }\n }\n //Toast.makeText(getActivity(), nombreDeLocSeleccionada[0], Toast.LENGTH_SHORT).show();\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> adapterView) {\n\n }\n });\n }", "public void addListenerOnButton() {\n\n isempleado = (Spinner) findViewById(R.id.spinnerWifi);\n spinner2 = (Spinner) findViewById(R.id.spinner2);\n\n\n Toast.makeText(getApplicationContext(), \"Spinner 1 \"+String.valueOf(isempleado.getSelectedItem()) +\n \"Spinner 2 : \"+ String.valueOf(spinner2.getSelectedItem()), Toast.LENGTH_LONG).show();\n\n\n }", "@Override\r\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n switch (position) {\r\n case 0:\r\n mode = 1;\r\n //mode = spinner.getSelectedItem().toString();\r\n break;\r\n case 1:\r\n mode = 2;\r\n //mode = spinner.getSelectedItem().toString();\r\n break;\r\n case 2:\r\n mode = 3;\r\n //mode = spinner.getSelectedItem().toString();\r\n break;\r\n }\r\n }", "private void spinnerAction() {\n Spinner spinnerphonetype = (Spinner) findViewById(R.id.activity_one_phonetype_spinner);//phonetype spinner declaration\n ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this,\n R.array.phone_spinner, android.R.layout.simple_spinner_item); //create the spinner array\n adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); //set the drop down function\n spinnerphonetype.setAdapter(adapter); //set the spinner array\n }", "private void itemtypeSpinner() {\n ArrayAdapter<CharSequence> staticAdapter = ArrayAdapter\n .createFromResource(getContext(), R.array.select_array,\n android.R.layout.simple_spinner_item);\n\n // Specify the layout to use when the list of choices appears\n staticAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\n // Apply the adapter to the spinner\n mItemTypeSpinnerA2.setAdapter(staticAdapter);\n\n mItemTypeSpinnerA2.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view,\n int position, long id) {\n String itemtypeText = (String) parent.getItemAtPosition(position);\n if (itemtypeText.equals(\"Mobile Phones\")) {\n\n mInputLayoutSerialNoA2.setVisibility(View.VISIBLE);\n mInputLayoutSerialNoA2.setClickable(true);\n mInputLayoutItemImeiA2.setVisibility(View.VISIBLE);\n mInputLayoutItemImeiA2.setClickable(true);\n\n\n } else if (itemtypeText.equals(\"Laptops\")) {\n\n mInputLayoutSerialNoA2.setVisibility(View.VISIBLE);\n mInputLayoutSerialNoA2.setClickable(true);\n mInputLayoutItemImeiA2.setVisibility(View.GONE);\n mInputLayoutItemImeiA2.setClickable(false);\n\n } else {\n mInputLayoutSerialNoA2.setVisibility(View.GONE);\n mInputLayoutSerialNoA2.setClickable(false);\n mInputLayoutItemImeiA2.setVisibility(View.GONE);\n mInputLayoutItemImeiA2.setClickable(false);\n }\n\n\n\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n mItemTypeSpinnerA2.getItemAtPosition(0);\n mInputLayoutSerialNoA2.setVisibility(View.GONE);\n mInputLayoutSerialNoA2.setClickable(false);\n mInputLayoutItemImeiA2.setVisibility(View.GONE);\n mInputLayoutItemImeiA2.setClickable(false);\n\n\n }\n });\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = parent.getItemAtPosition(position).toString();\n\n //System.out.println(position);\n }", "private void spinner() {\n ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this,\n R.array.planets_array, R.layout.simple_spinner_item_new);\n// Specify the layout to use when the list of choices appears\n adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n// Apply the adapter to the spinner\n// dropDownViewTheme.\n planetsSpinner.setAdapter(adapter);\n planetsSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n Object itemAtPosition = parent.getItemAtPosition(position);\n Log.d(TAG, \"onItemSelected: \" + itemAtPosition);\n\n String[] stringArray = getResources().getStringArray(R.array.planets_array);\n Toast.makeText(DialogListActivity.this, \"选择 \" + stringArray[position], Toast.LENGTH_SHORT).show();\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n Toast.makeText(DialogListActivity.this, \"未选择\", Toast.LENGTH_SHORT).show();\n }\n });\n }", "@Override\n public void onItemSelected (AdapterView<?> parent, View view, int position, long id)\n {\n genderSelected = parent.getItemAtPosition(position).toString();\n }", "public void onItemSelected(AdapterView<?> parent, View view,\n int pos, long id) {\n\n if(parent.getId()==R.id.Branch_Spinner)\n mNotification.setBranch((String)parent.getItemAtPosition(pos));\n\n if(parent.getId()==R.id.Year_Spinner)\n mNotification.setYear((String)parent.getItemAtPosition(pos));\n\n if(parent.getId()==R.id.Section_Spinner)\n mNotification.setSection((String)parent.getItemAtPosition(pos));\n\n\n\n\n\n\n }", "private void setupLocationSpinner() {\n selectLocation = findViewById(R.id.spinnerLocation);\n ArrayAdapter<String> adapter =\n new ArrayAdapter(this, android.R.layout.simple_spinner_item, locations);\n adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n selectLocation.setAdapter(adapter);\n selectLocation.setOnItemSelectedListener(\n new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(\n AdapterView<?> adapterView, View view, int position, long id) {\n if (position >= 0 && position < options.length) {\n locationSelection = position;\n View recyclerView = findViewById(R.id.donations_list);\n assert recyclerView != null;\n setupRecyclerView((RecyclerView) recyclerView);\n } else {\n Toast.makeText(\n DonationsListActivity.this,\n \"Selected Category DNE\",\n Toast.LENGTH_SHORT)\n .show();\n }\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {}\n });\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n str_loc = Arraylist_location.get(arg2);\n str_loc_id = Arraylist_location_id.get(arg2);\n\n System.out.println(\"### ID : \" + str_loc + \" : \" + str_loc_id);\n\n\n\n }", "@Override\r\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\r\n\t\t\t\t\tint position, long id) {\n\r\n\t\t\t\tlocation_id = _locationAdapter.getItem(position).getStrId();\r\n\r\n\t\t\t}", "private void loadSupplierSpinner() {\n //Retrieve Suppliers list from database\n ArrayList<String> suppliers = getAllSuppliers();\n //Create Adapter for Spinner\n spinnerAdapter= new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, suppliers);\n // Specify dropdown layout style - simple list view with 1 item per line\n spinnerAdapter.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\n // attaching data adapter to spinner\n mSpinner.setAdapter(spinnerAdapter);\n mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener(){\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String supplier = parent.getItemAtPosition(position).toString();\n // Showing selected spinner item\n //Toast.makeText(parent.getContext(), \"You selected: \" + supplier, Toast.LENGTH_LONG).show();\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n //Nothing for now\n }\n });\n }", "private void setupSpinner() {\n // Create adapter for spinner. The list options are from the String array it will use\n // the spinner will use the default layout\n ArrayAdapter fruitSpinnerAdapter = ArrayAdapter.createFromResource(this,\n R.array.array_fruit_options, android.R.layout.simple_spinner_item);\n\n // Specify dropdown layout style - simple list view with 1 item per line\n fruitSpinnerAdapter.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\n\n // Apply the adapter to the spinner\n mTypeSpinner.setAdapter(fruitSpinnerAdapter);\n\n // Set the integer mSelected to the constant values\n mTypeSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String selection = (String) parent.getItemAtPosition(position);\n if (!TextUtils.isEmpty(selection)) {\n if (selection.equals(getString(R.string.apple))) {\n mFruit = FruitEntry.TYPE_APPLE;\n } else if (selection.equals(getString(R.string.banana))) {\n mFruit = FruitEntry.TYPE_BANANA;\n } else if (selection.equals(getString(R.string.peach))) {\n mFruit = FruitEntry.TYPE_PEACH;\n } else if (selection.equals(getString(R.string.pineapple))) {\n mFruit = FruitEntry.TYPE_PINEAPPLE;\n } else if (selection.equals(getString(R.string.strawberry))) {\n mFruit = FruitEntry.TYPE_STRAWBERRY;\n } else if (selection.equals(getString(R.string.watermelon))) {\n mFruit = FruitEntry.TYPE_WATERMELON;\n } else {\n mFruit = FruitEntry.TYPE_NOTSELECTED;\n }\n }\n }\n\n // Because AdapterView is an abstract class, onNothingSelected must be defined\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n mFruit = FruitEntry.TYPE_NOTSELECTED;\n }\n });\n }", "public String getAnswerText()\r\n\t {\r\n\t return spinner.getValue().toString();\r\n\t }", "public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2, long arg3) {\n userType = (int) arg3;\n /* 将mySpinner 显示*/\n arg0.setVisibility(View.VISIBLE);\n }", "public void onClick(View v) {\n showSchedule(v);\n league_selected = leagues_sp.getSelectedItemPosition();\n Log.d(\"MainActivity\", \"Selected league is \" +league_selected);\n team_selected = teams_sp.getSelectedItem().toString();\n Log.d(\"MainActivity\", \"Selected team is \" +team_selected);\n }", "@Override\n\tpublic void onItemSelected(AdapterView<?> parent, View view, int position,\n\t\t\tlong id) {\n\t\tString text = spnner_city.getSelectedItem().toString();\n\t\tToast.makeText(getApplicationContext(), text, Toast.LENGTH_LONG)\n\t\t.show();\n\n\t}", "@Override\n public void onItemSelected(AdapterView<?> parent, View spinnerView, int position,\n long spinnerId) {\n\n try {\n\n if (parent.getId() == R.id.aptNameSpinner) {\n\n if (SAConstants.OTHER.equals(apartmentNameSpinner.getItemAtPosition(position).toString())) {\n DialogFragment apartmentName = new NewApartmentDialog();\n apartmentName.show(getSupportFragmentManager(), \"\");\n }\n } else if (parent.getId() == R.id.aptTypeSpinnerSearch || parent.getId() == R.id.universityNamesSpinner) {\n addApartmentNames();\n }\n\n\n } catch (Exception e) {\n ErrorReporting.logReport(e);\n }\n\n }", "public void addCourseToStudent(View view) {\n Spinner mySpinner = (Spinner) findViewById(R.id.spinnerLocation);\n Spinner semesterSpinner = (Spinner) findViewById(R.id.spinnerSemester);\n\n String location = mySpinner.getSelectedItem().toString();\n String semester = semesterSpinner.getSelectedItem().toString();\n\n Toast.makeText(this, name + \" \" + location, Toast.LENGTH_SHORT).show();\n\n //Save to SharedPreferences\n save(this, name, location, semester);\n\n startActivity(new Intent(LocationChooserActivity.this, MainActivity.class));\n }", "@Override\n\t\tpublic void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\t\t\tListView listView = (ListView) parent;\n\t\t\tString item = (String) listView.getSelectedItem();\n//\t\t\tToast.makeText(SearchGroupActivity.this, \"onItemSelected = \" + item, Toast.LENGTH_LONG).show();\n\t\t}", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n item = parent.getItemAtPosition(position).toString();\n //beaconselected.setText(item);\n\n // Showing selected spinner item\n if(!item.equals(\"select a beacon\")){\n //Toast.makeText(parent.getContext(), \"Selected: \" + item, Toast.LENGTH_LONG).show();\n x++;\n beaconManager.stopRanging(beaconRegion);\n t=0;\n //Toast.makeText(this, \"Search stopped\", Toast.LENGTH_SHORT).show();\n }\n\n\n\n }", "void loadSpinner(Spinner sp){\n List<String> spinnerArray = new ArrayList<>();\n spinnerArray.add(\"Oui\");\n spinnerArray.add(\"Non\");\n\n// (3) create an adapter from the list\n ArrayAdapter<String> adapter = new ArrayAdapter<String>(\n this,\n android.R.layout.simple_spinner_item,\n spinnerArray\n );\n\n//adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n\n// (4) set the adapter on the spinner\n sp.setAdapter(adapter);\n\n }", "private String setupselectSpinner1(){\n String ret = \"unknown\";\n try{\n PartnerDB db = new PartnerDB((Context)this);\n SQLiteDatabase plcDB = db.openDB();\n Cursor cur = plcDB.rawQuery(\"select name from partner;\", new String[]{});\n ArrayList<String> al = new ArrayList<String>();\n while(cur.moveToNext()){\n try{\n al.add(cur.getString(0));\n }catch(Exception ex){\n android.util.Log.w(this.getClass().getSimpleName(),\"exception stepping thru cursor\"+ex.getMessage());\n }\n }\n partners = (String[]) al.toArray(new String[al.size()]);\n ret = (partners.length>0 ? partners[0] : \"unknown\");\n partnerAdapter = new ArrayAdapter<String>(this,android.R.layout.simple_spinner_dropdown_item, partners);\n selectSpinner1.setAdapter(partnerAdapter);\n selectSpinner1.setOnItemSelectedListener(this);\n }catch(Exception ex){\n android.util.Log.w(this.getClass().getSimpleName(),\"unable to setup partner spinner\");\n }\n return ret;\n }", "@Override\n public void onItemSelected(AdapterView<?> parentView, View selectedItemView, int position, long id) {\n String roomType = spinner.getSelectedItem().toString();\n mListener.onFragmentInteraction(roomType);\n String returnedFromMain = ((MainActivity)getActivity()).getShareInFragments();\n TextView descript = (TextView)view.findViewById(R.id.description);\n ((MainActivity)getActivity()).setRoomType(returnedFromMain);\n String displayR = ((MainActivity)getActivity()).hR.toString();\n descript.setText((displayR));\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n compaCategory = parent.getItemAtPosition(position).toString();\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n item = parent.getItemAtPosition(position).toString();\n\n // Showing selected spinner item\n //Toast.makeText(parent.getContext(), \"Selected: \" + item, Toast.LENGTH_LONG).show();\n /*Intent people_intent= new Intent();\n people_intent.putExtra(\"people\",item);\n setResult(RESULT_OK,people_intent);\n finish();*/\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n\n }", "@Override\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\tif (spinner.getSelectedItem().equals(\"Kgs\")) {\n\t\t\t\t\tweight_unit = \"kgs\";\n\t\t\t\t} else {\n\t\t\t\t\tweight_unit = \"lbs\";\n\t\t\t\t}\n\t\t\t}", "@Override\n public void onItemSelected(View view, int position) {\n }", "@Override\n\t\t\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\t\tmBookLocationStr = getLocationKey(arg2);\n\t\t\t\t\t\t// Log.e(\"LOCATION-INDEX\", arg2 + \"\");\n\t\t\t\t\t}", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n if(parent.getItemIdAtPosition(position) == 0){\n if(spinner.getSelectedItem().equals(\"Google Reviews\")){\n getGoogleRev(container);\n } else {\n getYelpRev(container);\n }\n } else if(parent.getItemIdAtPosition(position) == 1){\n\n if(spinner.getSelectedItem().equals(\"Google Reviews\")){\n getGoogleRevHRate(container);\n } else {\n getYelpRevHRate(container);\n }\n\n } else if(parent.getItemIdAtPosition(position) == 2){\n\n if(spinner.getSelectedItem().equals(\"Google Reviews\")){\n getGoogleRevLRate(container);\n } else {\n getYelpRevLRate(container);\n }\n\n } else if(parent.getItemIdAtPosition(position) == 3){\n\n if(spinner.getSelectedItem().equals(\"Google Reviews\")){\n getGoogleRevMRec(container);\n } else {\n getYelpRevMRec(container);\n }\n\n } else if(parent.getItemIdAtPosition(position) == 4){\n if(spinner.getSelectedItem().equals(\"Google Reviews\")){\n getGoogleRevLRec(container);\n } else {\n getYelpRevLRec(container);\n }\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n et_country = CountryNameSpinner.getSelectedItem().toString();\n et_mcode.setText(\"+\"+CountriesCode.get(position));\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n\n // To retrieve the user's selected item in the Spinner, use getItemAtPosition().\n String spinnerLabel = adapterView.getItemAtPosition(i).toString();\n displayToast(spinnerLabel);\n }", "@Override\n public void onItemSelected(AdapterView<?> arg1, View arg2, int position1, long id1) {\n\n crechCity = getResources().getStringArray(R.array.city_list)[position1];\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemSelected(AdapterView<?> adapter, View v,\n int position, long id) {\n mappos = position;\n findmapinfo(position , adapter.getItemAtPosition(position).toString());\n \n // Showing selected spinner item\n \n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n String taskType = adapterView.getItemAtPosition(i).toString();\n Log.d(TAG, \"SPINNER: \" + taskType);\n\n\n String[] tasks = getResources().getStringArray(R.array.tasktypelist);\n\n if (tasks.length > 0 && taskType.equals(tasks[0])) {\n taskParamsLayout.removeAllViews();\n\n piPointsNo = new EditText(MainActivity.this);\n piPointsNo.setInputType(InputType.TYPE_CLASS_NUMBER);\n piPointsNo.setHint(R.string.taskpi_help_points);\n\n taskParamsLayout.addView(piPointsNo);\n\n }\n\n else if (tasks.length > 1 && taskType.equals(tasks[1])) {\n taskParamsLayout.removeAllViews();\n\n Message msg=new Message();\n msg.obj=\"Wait! This task is a false one! :( \";\n toastHandler.sendMessage(msg);\n }\n\n else if (tasks.length > 2 && taskType.equals(tasks[2])) {\n taskParamsLayout.removeAllViews();\n\n Message msg=new Message();\n msg.obj=\"Wait! This task is a false one! :( \";\n toastHandler.sendMessage(msg);\n }\n\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n expertise_selected = adapterView.getItemAtPosition(i).toString();\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n nearest_city = input_add_new_nearest_city.getText().toString();\n\n db_table_result_rows_list.remove(0);\n db_table_result_rows_list.add(nearest_city);\n\n ArrayAdapter<String> spinnerArrayAdapterNearestCity = new ArrayAdapter<String>(AddNewLocation.this.getApplicationContext(), android.R.layout.simple_spinner_item, db_table_result_rows_list);\n spinnerArrayAdapterNearestCity.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); // The drop down view\n spinnerNearestCities.setAdapter(spinnerArrayAdapterNearestCity);\n\n spinnerNearestCities.setSelection(((ArrayAdapter<String>)spinnerNearestCities.getAdapter()).getPosition(nearest_city));\n }", "private void setUpSpinner(){\n ArrayAdapter paymentSpinnerAdapter =ArrayAdapter.createFromResource(this,R.array.array_gender_option,android.R.layout.simple_spinner_item);\n\n // Specify dropdown layout style - simple list view with 1 item per line, then apply adapter to the spinner\n paymentSpinnerAdapter.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\n mPaymentSpinner.setAdapter(paymentSpinnerAdapter);\n\n // To set the spinner to the selected payment method by the user when clicked from cursor adapter.\n if (payMode != null) {\n if (payMode.equalsIgnoreCase(\"COD\")) {\n mPaymentSpinner.setSelection(0);\n } else {\n mPaymentSpinner.setSelection(1);\n }\n mPaymentSpinner.setOnTouchListener(mTouchListener);\n }\n\n mPaymentSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String selectedPayment = (String)parent.getItemAtPosition(position);\n if(!selectedPayment.isEmpty()){\n if(selectedPayment.equals(getString(R.string.payment_cod))){\n mPaymentMode = clientContract.ClientInfo.PAYMENT_COD; // COD = 1\n }else{\n\n mPaymentMode = clientContract.ClientInfo.PAYMENT_ONLINE; // ONLINE = 0\n }\n }\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n\n }\n });\n\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int position,long id) {\n\n\n\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int position, long id) {\n switch (position)\n {\n case 1:\n break;\n case 2:\n Toast.makeText(this,appointmentTypes[position],Toast.LENGTH_LONG).show();\n /*Intent intent = new Intent(getApplicationContext(), AppointmentRequests.class);\n Bundle b = new Bundle();\n b.putString(\"userid\",userid);\n intent.putExtras(b);\n startActivity(intent);*/\n break;\n case 3:\n break;\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n\n\n }", "T getValueForSpinner(@IdRes int spinnerId);", "public Object getValue() {\n return spinner.getValue();\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position,\n long id) {\n\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int pos,\n long arg3) {\n financialYr = String.valueOf(chooseyrSpiner.getSelectedItem());\n\n }", "private void loadSpinner(View view) {\n\n ArrayAdapter<String> adapter = new ArrayAdapter<>(\n view.getContext(), android.R.layout.simple_spinner_item, getCategories());\n adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\n categorySpinner.setAdapter(adapter);\n\n\n }", "private SpinnerModel geSpinnerModel(){\n return new SpinnerNumberModel(0, 0, null, 1);\n }", "@Override\r\n public void onItemChosen(View labelledSpinner, AdapterView<?> adapterView, View itemView, int position, long id) {\r\n String selectedText = adapterView.getItemAtPosition(position).toString();\r\n switch (labelledSpinner.getId()) {\r\n case R.id.spinner_planets:\r\n //Toast.makeText(getActivity(), \"Selected: \" + selectedText, Toast.LENGTH_SHORT).show();\r\n selectTextSpinner = selectedText;\r\n break;\r\n // If you have multiple LabelledSpinners, you can add more cases here\r\n }\r\n }", "public void onNothingSelected(AdapterView<?> parent) {\n // Toast.makeText(getApplicationContext(), \"nada en el spinner\", Toast.LENGTH_LONG).show();\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = parent.getItemAtPosition(position).toString();\n tuning = position;\n setUpDisplay();\n\n // Showing selected spinner item\n if (tuner1 == 3) {\n Toast.makeText(TunerActivity.this, \"\" + item, Toast.LENGTH_LONG).show();\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n switch (parent.getId()) {\n case R.id.fromspinner:\n fromitem = parent.getItemAtPosition(position)\n .toString().replaceAll(\" \", \"_\").toLowerCase();\n break;\n case R.id.tospinner:\n toitem = parent.getItemAtPosition(position)\n .toString().replaceAll(\" \", \"_\").toLowerCase();\n break;\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n item = parent.getItemAtPosition(position).toString();\n isSelected = true;\n\n // Showing selected spinner item\n //Toast.makeText(parent.getContext(), \"Selected: \" + item, Toast.LENGTH_LONG).show();\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int pos,\n long arg3) {\n monthName = String.valueOf(monthsSpinner.getSelectedItem());\n\n }", "public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = parent.getItemAtPosition(position).toString();\n\n // Showing selected spinner item\n Toast.makeText(parent.getContext(), \"Selected: \" + item, Toast.LENGTH_LONG).show();\n }", "public void onItemSelected(AdapterView<?> parent, View view, int position, long id) \r\n\t{\n\t\tString food = parent.getItemAtPosition(position).toString();\r\n\t\t\r\n // Showing selected spinner item\r\n Toast.makeText(parent.getContext(), \"You selected: \" + food,\r\n Toast.LENGTH_LONG).show();\r\n\t\t\r\n\t}", "@Override\n public void onClick(View v) {\n Spinner spinnerMonthList=(Spinner) findViewById(R.id.monthSpinner);\n // get selected radio button from radioGroup\n int selectedId = instrumentGroup.getCheckedRadioButtonId();\n\n // find the radiobutton by returned id\n RadioButton ChosenButton = (RadioButton) findViewById(selectedId);\n //Check for the ID representation and write feedback to a textview accordingly\n if (ChosenButton == findViewById(R.id.radio_Accordian)) {\n String ChosenMonth=(String) spinnerMonthList.getSelectedItem();\n String feedbackString = \"You have enrolled for Accordian Lessons on \"+ChosenMonth;\n txtViewDisplay.setText(feedbackString);\n }\n // find the radiobutton by returned id\n //Check for the ID representation and write feedback to a textview accordingly\n if (ChosenButton == findViewById(R.id.radio_Bassoon)) {\n String ChosenMonth=(String) spinnerMonthList.getSelectedItem();\n String feedbackString = \"You have enrolled for Bassoon Lessons on \"+ChosenMonth;\n txtViewDisplay.setText(feedbackString);\n }\n // find the radiobutton by returned id\n //Check for the ID representation and write feedback to a textview accordingly\n if (ChosenButton == findViewById(R.id.radio_Cello)) {\n String ChosenMonth=(String) spinnerMonthList.getSelectedItem();\n String feedbackString = \"You have enrolled for Cello Lessons on \"+ChosenMonth;\n txtViewDisplay.setText(feedbackString);\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n brand_id = String.valueOf(brand_list.get(i).getBrandId());\n brandName = brand_list.get(i).getBrand_name();\n\n Log.d(\"fsdklj\", brand_id + brandName);\n\n hitSpinnerSeries(brand_id);\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n itemname = parent.getItemAtPosition(position).toString();\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n\n try {\n JSONObject dataClicked = units_array.getJSONObject(i);\n id_unit = dataClicked.getInt(\"id\");\n\n\n } catch (Exception e) {\n e.printStackTrace();\n\n }\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n district = input_add_new_district.getText().toString();\n\n db_table_result_rows_list.remove(0);\n db_table_result_rows_list.add(district);\n\n ArrayAdapter<String> spinnerArrayAdapterDistrict = new ArrayAdapter<String>(AddNewLocation.this.getApplicationContext(), android.R.layout.simple_spinner_item, db_table_result_rows_list);\n spinnerArrayAdapterDistrict.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); // The drop down view\n districtsSpinner.setAdapter(spinnerArrayAdapterDistrict);\n\n districtsSpinner.setSelection(((ArrayAdapter<String>)districtsSpinner.getAdapter()).getPosition(district));\n\n }", "@Override\n public void onItemSelected(OurPlace place) {\n\n Log.i(LOG_TAG, \"YES!\");\n }", "public void onItemSelected(AdapterView<?> parent, View v, int pos, long row) {\r\n \t\r\n \tString str;\r\n if( parent==spinner ){\r\n \tstr = String.format(\"Parent = (spinner), Objectset (%d), pos (%d), row *%d)\", objectSet, pos, row);\r\n \tLog.v(\"Debug\", str);\r\n \tglobalPos = pos;\r\n if( objectSet==0 ){\r\n textRA.setText(myMessiers.GetRA(pos));\r\n textDEC.setText(myMessiers.GetDEC(pos));\r\n objectName.setText(myMessiers.GetName(pos)); \r\n }\r\n \r\n if( objectSet==1 ){\r\n Calendar now = Calendar.getInstance(TimeZone.getTimeZone(\"GMT\"));\r\n myPlanets.UpdateRADEC((Calendar)now.clone(), pos);\r\n\r\n textRA.setText(myPlanets.GetRA(pos));\r\n textDEC.setText(myPlanets.GetDEC(pos));\r\n objectName.setText(myPlanets.GetName(pos));\r\n }\r\n \r\n if( objectSet==2 ){\r\n textRA.setText(myStars.GetRA(pos));\r\n textDEC.setText(myStars.GetDEC(pos));\r\n objectName.setText(myStars.GetName(pos)); \r\n }\r\n \r\n if( objectSet==3 ){\r\n \tif( myObjects == null )\r\n \t{\r\n\t textRA.setText(\"0h0\");\r\n\t textDEC.setText(\"0\");\r\n\t objectName.setText(\"None\"); \t\t\r\n \t}\r\n \telse\r\n \t{\r\n\t textRA.setText(myObjects.GetRA(pos));\r\n\t textDEC.setText(myObjects.GetDEC(pos));\r\n\t objectName.setText(myObjects.GetName(pos)); \r\n \t}\r\n }\r\n \r\n if( objectSet==4 ){\r\n textRA.setText(myClosestObjs.GetRA(pos));\r\n textDEC.setText(myClosestObjs.GetDEC(pos));\r\n objectName.setText(myClosestObjs.GetName(pos)); \r\n }\r\n }\r\n \r\n if( parent==spinner_group ){\r\n \tstr = String.format(\"Parent = (spinner_group), Objectset (%d), pos (%d), row *%d)\", objectSet, pos, row);\r\n \tLog.v(\"Debug\", str);\r\n\r\n if( pos == 0 ){\r\n\t adapterMessier.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n\t spinner.setAdapter(adapterMessier);\r\n\t objectSet = 0;\r\n } \r\n \r\n if( pos == 1 ){\r\n adapterPlanets.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n spinner.setAdapter(adapterPlanets);\r\n objectSet = 1;\r\n }\r\n \r\n if( pos == 2 ){\r\n\t adapterStars.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n\t spinner.setAdapter(adapterStars);\r\n\t objectSet = 2;\r\n } \r\n\r\n if( pos == 3 ){\r\n \tadapterUserObjects.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n\t spinner.setAdapter(adapterUserObjects);\r\n\t objectSet = 3;\r\n }\r\n \r\n if( pos == 4 ){\r\n \tadapterClosestObjects.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);\r\n\t spinner.setAdapter(adapterClosestObjects);\r\n\t objectSet = 4;\r\n } \r\n }\r\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position,\n long id) {\n nama_dokter2 = parent.getItemAtPosition(position).toString();\n\n // Showing selected spinner item\n Toast.makeText(parent.getContext(), \"You selected: \" + nama_dokter2,\n Toast.LENGTH_LONG).show();\n\n }", "@Override\n public void onItemSelected(AdapterView<?> arg0, View arg1, int position, long id) {\n Toast.makeText(getApplicationContext(),country[position] , Toast.LENGTH_LONG).show();\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n district = input_add_new_district.getText().toString();\n\n db_table_result_rows_list.remove(0);\n db_table_result_rows_list.add(district);\n\n ArrayAdapter<String> spinnerArrayAdapterDistrict = new ArrayAdapter<String>(AddNewLocation.this.getApplicationContext(), android.R.layout.simple_spinner_item, db_table_result_rows_list);\n spinnerArrayAdapterDistrict.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); // The drop down view\n districtsSpinner.setAdapter(spinnerArrayAdapterDistrict);\n\n districtsSpinner.setSelection(((ArrayAdapter<String>)districtsSpinner.getAdapter()).getPosition(district));\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View arg1, int position, long id) {\n if(parent.getId()==R.id.branch)\n branchRes=branches[position];\n else if (parent.getId()==R.id.interviewDifficulty)\n diffRes=difficulty[position];\n else if(parent.getId()==R.id.interviewMode)\n modeRes=interviewMode[position];\n }", "@Override\n\t\t\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n\t\t\t\t\t\tString sel = spinner.getSelectedItem().toString();\n\t\t\t\t\t\tLog.e(\"PowerSocketSensitive\", sel + \"\");\n\t\t\t\t\t}", "@Override\r\n\t\t\tpublic void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {\n\t\t\t\thasilSpinJurusan = parent.getItemAtPosition(pos).toString();\r\n\t\t\t\tString[] parts = hasilSpinJurusan.split(\"--\");\r\n\t\t\t\tString kode = parts[0];\r\n\t\t\t\tkodeJurusan=kode;\r\n\t\t\t}", "public void onItemSelected(AdapterView<?> parent, View view,\n int pos, long id) {\n\n Spinner spinner = (Spinner) parent;\n Integer tag = (Integer) spinner.getTag();\n int tagValue = tag.intValue();\n switch (tagValue)\n {\n case VIEWED_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByViewed))\n {\n bChange = true;\n }\n if (pos == 0)\n {\n orderByViewed = \"album_name ASC\";\n }\n else\n {\n orderByViewed = \"album_name DESC\";\n }\n if (bChange) {\n orderBy = orderByViewed;\n }\n }\n break;\n\n case PRICE_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByPrice))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByPrice = \"price DESC\";\n }\n else\n {\n orderByPrice = \"price ASC\";\n }\n if (bChange) {\n orderBy = orderByPrice;\n }\n }\n break;\n\n case RATINGS_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByRatings))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByRatings = \"ratings DESC\";\n }\n else\n {\n orderByRatings = \"ratings ASC\";\n }\n if (bChange) {\n orderBy = orderByRatings;\n }\n }\n break;\n\n case YEAR_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByYear))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByYear = \"year DESC\";\n }\n else\n {\n orderByYear = \"year ASC\";\n }\n if (bChange) {\n orderBy = orderByYear;\n }\n }\n break;\n\n case BEDS_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByBeds))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByBeds = \"beds DESC\";\n }\n else\n {\n orderByBeds = \"beds ASC\";\n }\n if (bChange) {\n orderBy = orderByBeds;\n }\n }\n break;\n\n case BATHS_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByBaths))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByBaths = \"baths DESC\";\n }\n else\n {\n orderByBaths = \"baths ASC\";\n }\n if (bChange) {\n orderBy = orderByBaths;\n }\n }\n break;\n\n case AREA_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByArea))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByArea = \"area DESC\";\n }\n else\n {\n orderByArea = \"area ASC\";\n }\n if (bChange) {\n orderBy = orderByArea;\n }\n }\n break;\n\n case MAKE_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByMake))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByMake = \"make ASC\";\n }\n else\n {\n orderByMake = \"make DESC\";\n }\n if (bChange) {\n orderBy = orderByMake;\n }\n }\n break;\n\n case MODEL_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByModel))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByModel = \"model ASC\";\n }\n else\n {\n orderByModel = \"model DESC\";\n }\n if (bChange) {\n orderBy = orderByModel;\n }\n }\n break;\n\n case COLOR_SPINNER_ID:\n {\n boolean bChange =false;\n if (orderBy.equals(orderByColor))\n {\n bChange = true;\n }\n if (pos == 0) {\n orderByColor = \"color ASC\";\n }\n else\n {\n orderByColor = \"color DESC\";\n }\n if (bChange) {\n orderBy = orderByColor;\n }\n }\n break;\n\n\n\n default:\n break;\n }\n\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) {\n String sizeAsString = adapterView.getItemAtPosition(i).toString();\n if(sizeAsString.equals(\"TINY\"))\n size = Dog.enumSize.TINY;\n\n else if(sizeAsString.equals(\"SMALL\"))\n size = Dog.enumSize.SMALL;\n\n else if(sizeAsString.equals(\"MEDIUM\"))\n size = Dog.enumSize.MEDIUM;\n\n else if(sizeAsString.equals(\"LARGE\"))\n size = Dog.enumSize.LARGE;\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n if (parent.getItemAtPosition(position).equals(\"Choose Your Workout\")) {\n // do nothing\n }\n else {\n //get the workout chosen by the user\n chosenWorkout = parent.getItemAtPosition(position).toString();\n Intent intent = new Intent(WorkoutActivity.this, DropDownActivity.class);\n startActivity(intent);\n }\n\n }", "private void initSpinnerTypeExam()\n {\n Spinner spinner = findViewById(R.id.iTypeExam);\n\n // Adapt\n final ArrayAdapter<String> adapter = new ArrayAdapter<>(\n this,\n R.layout.support_simple_spinner_dropdown_item\n );\n spinner.setAdapter(adapter);\n\n // ajout des types d'examens\n for(TypeExamen t : TypeExamen.values())\n {\n adapter.add(t.toString());\n }\n }", "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_new_event);\n Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n\n\n getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n\n Intent intent = getIntent();\n\n String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);\n //USER_ID = Integer.parseInt(message);\n\n\n mSpinner = (Spinner)findViewById(R.id.spinner1);\n MyDBHandler db = new MyDBHandler(this,null,null,2);\n Location[] locations = db.getLocationsFromUser(((myApp) this.getApplication()).getUSER_ID());\n int numLocations = locations.length;\n String[] items = new String[numLocations+3];\n items[0] = \"Choose Location\";\n items[1] = \"Test Location\";\n for (int i = 0; i<numLocations; i++){\n if (locations[i]!=null){\n Log.d(\"Location\" + i,locations[i].getLoc() );\n items[i+2] = locations[i].getLoc() + \", \" + locations[i].getID();\n }\n else{\n items[i+2] = \"\";\n }\n }\n items[numLocations+2] = \"New Location\";\n\n // String[] items = new String[]{\"The Ratty\", \"The VDub\", \"Andrews\", \"Joe's\"};\n\n ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_dropdown_item, items);\n mSpinner.setAdapter(adapter);\n int spinnerPosition = adapter.getPosition(\"Choose Location\");\n mSpinner.setSelection(spinnerPosition);\n\n mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> arg0, View arg1,\n int arg2, long arg3) {\n // TODO Auto-generated method stub\n String mselection = mSpinner.getSelectedItem().toString();\n Toast.makeText(getApplicationContext(), \"selected \" + mselection, 30).show();\n /**** do your code*****/\n\n if (mselection.equals(\"New Location\")){\n Intent i = new Intent(getApplicationContext(), NewLocation.class);\n startActivity(i);\n }\n }\n\n @Override\n public void onNothingSelected(AdapterView<?> arg0) {\n // TODO Auto-generated method stub\n //\n }\n });\n\n\n\n\n\n\n mButton = (Button)findViewById(R.id.createButton);\n mEdit = (EditText)findViewById(R.id.editTextDescrip);\n mDate = (DatePicker) findViewById(R.id.datePicker);\n mDate.setCalendarViewShown(false);\n mTime = (TimePicker) findViewById(R.id.timePicker);\n Calendar cal=Calendar.getInstance();\n int year=cal.get(Calendar.YEAR);\n int month=cal.get(Calendar.MONTH);\n int day=cal.get(Calendar.DAY_OF_MONTH);\n int hour=cal.get(Calendar.HOUR_OF_DAY);\n int min=cal.get(Calendar.MINUTE);\n\n mDate.updateDate(year, month, day);\n mTime.setCurrentHour(hour);\n mTime.setCurrentMinute(min);\n\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String item = parent.getItemAtPosition(position).toString();\n areaId = dbHendler.getAreaID(item);\n }", "@Override\n public void onItemSelected(AdapterView<?> adapterView,\n View view, int i, long l) {\n mSpinnerLabel = adapterView.getItemAtPosition(i).toString();\n showText(view);\n }", "private void setupSpinner() {\n // Create adapter for spinner. The list options are from the String array it will use\n // the spinner will use the default layout\n ArrayAdapter supplierSpinnerAdapter = ArrayAdapter.createFromResource(this,\n R.array.array_supplier_options, android.R.layout.simple_spinner_item);\n\n // Specify dropdown layout style - simple list view with 1 item per line\n supplierSpinnerAdapter.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);\n\n // Apply the adapter to the spinner\n mSupplierSpinner.setAdapter(supplierSpinnerAdapter);\n\n // Set the integer mSelected to the constant values\n mSupplierSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {\n @Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n String selection = (String) parent.getItemAtPosition(position);\n if (!TextUtils.isEmpty(selection)) {\n if (selection.equals(getString(R.string.supplier_one))) {\n mSupplier = BookEntry.SUPPLIER_ONE;\n } else if (selection.equals(getString(R.string.supplier_two))) {\n mSupplier = BookEntry.SUPPLIER_TWO;\n } else {\n mSupplier = BookEntry.SUPPLIER_UNKNOWN;\n }\n }\n }\n\n // Because AdapterView is an abstract class, onNothingSelected must be defined\n @Override\n public void onNothingSelected(AdapterView<?> parent) {\n mSupplier = BookEntry.SUPPLIER_UNKNOWN;\n }\n });\n }", "@Override\r\n\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\r\n\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\tlaboutTypeSelected= arg0.getItemAtPosition(arg2).toString();\r\n\t\t\t\tif(arg2!=0){\r\n\t\t\t\tToast.makeText(act, \"Selected:\"+laboutTypeSelected, Toast.LENGTH_LONG).show();\r\n\t\t\t\t\r\n\t\t\t\tLabourDetailsTask detailsTask=new LabourDetailsTask();\r\n\t\t\t\tdetailsTask.execute(laboutTypeSelected);\r\n\t\t\t\t}\r\n\t\t\t}", "public void onItemSelected(AdapterView<?> parent, View view, int position, long id)\r\n {\n State st = (State)mGender.getSelectedItem();\r\n\r\n // Show it via a toast\r\n toastState( \"onItemSelected\", st );\r\n }", "@Override\n public void onClick(View view) {\n\n if (material_type.getSelectedItem().equals(\"--Select Material Type--\")) {\n Toast.makeText(Activity_Sell.this, \"Select Material Type to continue\", Toast.LENGTH_SHORT).show();\n } else {\n\n// LoadMaterialTypeSpinner();\n alertDialog.dismiss();\n getMaterial();\n /* getMaterialClasses();\n getMaterialDetails();\n getMaterialUnits();*/\n\n }\n }", "private RoomType RoomTypeComboBoxValue()\r\n\t{\r\n\t\tRoomType o1 = (RoomType) rtComboBox.getSelectedItem();\r\n\t\treturn o1;\r\n\t}", "public void handleItemSpinnerChange(){\n String itemTypeText = itemType.getSelectedItem().toString();\n if(itemTypeText.equals(\"Computer\")){\n osTextView.setVisibility(View.VISIBLE);\n osInput.setVisibility(View.VISIBLE);\n printerTextView.setVisibility(View.INVISIBLE);\n printerType.setVisibility(View.GONE);\n }\n else if(itemTypeText.equals(\"Printer\")){\n osTextView.setVisibility(View.INVISIBLE);\n osInput.setVisibility(View.INVISIBLE);\n printerTextView.setVisibility(View.VISIBLE);\n printerType.setVisibility(View.VISIBLE);\n }\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n }", "private Room RoomComboBoxValue()\r\n\t{\r\n\t\tRoom r = (Room) roomComboBox.getSelectedItem();\r\n\t\treturn r;\r\n\t}" ]
[ "0.7521505", "0.7314812", "0.70084834", "0.69307804", "0.6836942", "0.67624223", "0.6746724", "0.66816485", "0.6657495", "0.66194284", "0.65839535", "0.65824383", "0.6580834", "0.65504265", "0.6487076", "0.64777744", "0.6427842", "0.6415066", "0.6395797", "0.63797224", "0.63484913", "0.6332366", "0.6332301", "0.6328142", "0.6327134", "0.63134146", "0.6306212", "0.62957835", "0.6295465", "0.629385", "0.6272261", "0.6254381", "0.62535256", "0.6244946", "0.6240874", "0.6236535", "0.62340075", "0.62329686", "0.62153417", "0.62131053", "0.6170673", "0.61705", "0.61638635", "0.61585915", "0.6147851", "0.6120785", "0.61206234", "0.6113981", "0.6113981", "0.61100763", "0.6098087", "0.6090186", "0.6088957", "0.6081993", "0.60777134", "0.6077055", "0.60767037", "0.6072453", "0.60657656", "0.6062711", "0.6062305", "0.60598814", "0.6053804", "0.6053652", "0.6049814", "0.6049017", "0.60467625", "0.60448396", "0.6035646", "0.6027641", "0.6026705", "0.6023029", "0.60163337", "0.60154694", "0.6012661", "0.60088915", "0.60086566", "0.59962165", "0.59940434", "0.5988921", "0.59887624", "0.5981778", "0.5981118", "0.5973654", "0.59662503", "0.59618497", "0.5959128", "0.59586185", "0.5953943", "0.59462374", "0.594142", "0.59365946", "0.5933854", "0.5932725", "0.59229386", "0.5922393", "0.59209186", "0.59134245", "0.59134185", "0.59134185", "0.5896373" ]
0.0
-1
TODO Autogenerated method stub
@Override public void onLoadingStarted(String arg0, View arg1) { }
{ "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
TODO Autogenerated method stub
@Override public void onLoadingFailed(String arg0, View arg1, FailReason arg2) { }
{ "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
TODO Autogenerated method stub
@Override public void onLoadingComplete(String arg0, View arg1, Bitmap arg2) { }
{ "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
TODO Autogenerated method stub
@Override public void onLoadingCancelled(String arg0, View arg1) { }
{ "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
/ renamed from: a
public final C6150c mo41497a() { return this.f25735b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final C6150c mo41498a(String str) { if (TextUtils.isEmpty(str)) { return this.f25735b; } for (int i = 0; i < this.f25734a.size(); i++) { C6150c cVar = this.f25734a.get(i); if (cVar != null && cVar.mo41500a().equals(str)) { return cVar; } } C6150c cVar2 = new C6150c((byte) 0); cVar2.mo41502b(str); this.f25734a.add(cVar2); return cVar2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public final void mo41499b(String str) { if (!TextUtils.isEmpty(str)) { this.f25735b.mo41501a(str); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: a
public final String mo41500a() { return this.f25737b; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public final void mo41501a(String str) { this.f25736a = str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public final void mo41502b(String str) { this.f25737b = str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:22:0x007d
private HttpUrlUtil(int i, int i2, Proxy proxy, boolean z, byte b) { SSLContext sSLContext; this.f25726f = false; this.f25727g = -1; this.f25728h = 0; this.f25721a = i; this.f25722b = i2; this.f25725e = proxy; this.f25723c = HttpsDecisionUtil.m38585a().mo41872b(z); AuthConfigManager.m38493d(); if (HttpsDecisionUtil.m38587b()) { this.f25723c = false; } this.f25731l = null; try { this.f25729i = UUID.randomUUID().toString().replaceAll(Constants.ACCEPT_TIME_SEPARATOR_SERVER, "").toLowerCase(); } catch (Throwable th) { BasicLogHandler.m38679a(th, "ht", "ic"); } if (this.f25723c) { try { if (f25719k == null || f25719k.get() == null) { f25719k = new SoftReference<>(SSLContext.getInstance(SSLSocketFactoryFactory.DEFAULT_PROTOCOL)); } if (f25719k != null) { sSLContext = f25719k.get(); if (sSLContext == null) { try { sSLContext = SSLContext.getInstance(SSLSocketFactoryFactory.DEFAULT_PROTOCOL); } catch (Throwable th2) { BasicLogHandler.m38679a(th2, "ht", "ne"); } } sSLContext.init(null, null, null); this.f25724d = sSLContext; } } catch (Throwable unused) { } sSLContext = null; if (sSLContext == null) { } sSLContext.init(null, null, null); this.f25724d = sSLContext; } this.f25730j = new C6149b((byte) 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();\r\n \t\tfor (Object cell2 : cells) {\r\n \t\t\tif (cell2 instanceof JmtCell && ((JmtCell) cell2).parentChanged()) {\r\n \t\t\t\t// This cell was moved in, out or between blocking regions\r\n \t\t\t\tJmtCell cell = (JmtCell) cell2;\r\n \t\t\t\tObject key = ((CellComponent) cell.getUserObject()).getKey();\r\n \t\t\t\tObject oldRegionKey, newRegionKey;\r\n \t\t\t\tif (!(cell.getParent() instanceof BlockingRegion)) {\r\n \t\t\t\t\t// Object removed from blocking region\r\n \t\t\t\t\tputBack.add(cell2);\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Allow adding of removed objects to a new blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(true);\r\n \t\t\t\t} else if (cell.getPrevParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t// Object changed blocking region\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tmodel.addRegionStation(newRegionKey, key);\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Object added to a blocking region\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tif (!model.addRegionStation(newRegionKey, key)) {\r\n \t\t\t\t\t\t// object cannot be added to blocking region (for\r\n \t\t\t\t\t\t// example it's a source)\r\n \t\t\t\t\t\tcell.removeFromParent();\r\n \t\t\t\t\t\tgraph.getModel().insert(new Object[] { cell }, null, null, null, null);\r\n \t\t\t\t\t\tputBack.add(cell);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Doesn't allow adding of selected objects to a new\r\n \t\t\t\t\t// blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(false);\r\n \t\t\t\t}\r\n \t\t\t\t// Resets parent for this cell\r\n \t\t\t\tcell.resetParent();\r\n \t\t\t}\r\n \t\t\t// Avoid insertion of a blocking region in an other\r\n \t\t\telse if (cell2 instanceof BlockingRegion) {\r\n \t\t\t\tBlockingRegion region = (BlockingRegion) cell2;\r\n \t\t\t\tif (region.getParent() != null) {\r\n \t\t\t\t\tregion.removeFromParent();\r\n \t\t\t\t\tgraph.getModel().insert(new Object[] { region }, null, null, null, null);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Puts cells removed from blocking regiont on background\r\n \t\tgraph.getModel().toBack(putBack.toArray());\r\n \t}", "public abstract void removeBlock();", "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "public void cleanupOldBlocks (long threshTime) ;", "int numberOfBlocksToRemove();", "public int numberOfBlocksToRemove() {\r\n return 105;\r\n }", "@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "public void RemoveBlock(int NumOfB,ArrayList<Block> blocks,int[] i,int[] j){\r\n try {\r\n //2 blocks\r\n if (NumOfB == 2) {\r\n //update BlockList and map matrix\r\n map[i[0]][j[0]] = '0';\r\n map[i[1]][j[1]] = '0';\r\n blockList.RemovBlock(blockList.getBlock(blocks.get(0).getTypeOfBlock(), i[1], j[1]), blocks.get(1).getTypeOfBlock());\r\n blockList.RemovBlock(blockList.getBlock(blocks.get(0).getTypeOfBlock(), i[0], j[0]), blocks.get(0).getTypeOfBlock());\r\n }\r\n //3 blocks\r\n else {\r\n //update BlockList and map matrix\r\n map[i[0]][j[0]] = '0';\r\n map[i[1]][j[1]] = '0';\r\n map[i[2]][j[2]] = '0';\r\n blockList.RemovBlock(blocks.get(2), blocks.get(2).getTypeOfBlock());\r\n blockList.RemovBlock(blocks.get(1), blocks.get(1).getTypeOfBlock());\r\n blockList.RemovBlock(blocks.get(0), blocks.get(0).getTypeOfBlock());\r\n }\r\n gamePage.Sounds(2);//remove sound\r\n MoveBlock(2);//check if there is block will move down\r\n }catch (ArrayIndexOutOfBoundsException e) {\r\n\r\n }\r\n }", "public void collapseBlocks() {\n // Create it if it's null\n if (graph_bcc == null) {\n // Create graph parametrics (Only add linear time algorithms here...)\n graph_bcc = new BiConnectedComponents(graph);\n graph2p_bcc = new BiConnectedComponents(new UniTwoPlusDegreeGraph(graph));\n }\n BiConnectedComponents bcc = graph_bcc, bcc_2p = graph2p_bcc; if (bcc != null && bcc_2p != null) {\n // Get the vertex to block lookup\n Map<String,Set<MyGraph>> v_to_b = bcc.getVertexToBlockMap();\n // Go through the entities and accumulate the positions\n Map<MyGraph,Double> x_sum = new HashMap<MyGraph,Double>(), y_sum = new HashMap<MyGraph,Double>();\n Iterator<String> it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity)) {\n\t Iterator<MyGraph> it_mg = v_to_b.get(entity).iterator();\n\t while (it_mg.hasNext()) {\n\t MyGraph mg = it_mg.next();\n\t if (x_sum.containsKey(mg) == false) { x_sum.put(mg,0.0); y_sum.put(mg,0.0); }\n\t x_sum.put(mg,x_sum.get(mg)+pt.getX()); y_sum.put(mg,y_sum.get(mg)+pt.getY());\n\t }\n } else System.err.println(\"Vertex To Block Lookup missing \\\"\" + entity + \"\\\"\");\n }\n // Now position those entities that aren't cut vertices at the center of the graph\n it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity) && bcc.getCutVertices().contains(entity) == false) {\n MyGraph mg = v_to_b.get(entity).iterator().next();\n\t entity_to_wxy.put(entity, new Point2D.Double(x_sum.get(mg)/mg.getNumberOfEntities(),y_sum.get(mg)/mg.getNumberOfEntities()));\n\t transform(entity);\n\t}\n }\n // Re-render\n zoomToFit(); repaint();\n }\n }", "public void remove( int position )\n {\n caller = \"remove\";\n byte byteSize = memoryPool[position];\n Integer size = (int)byteSize;\n // remove the record starting at the given position\n for ( int i = 0; i < size; i++ )\n {\n memoryPool[position + i] = 0;\n }\n\n findBlock( position );\n freeBlock = new HashMap<Integer, Integer>( 1 );\n freeBlock.put( position, size );\n freeBlockList.add( freeBlock );\n Object[] keyArray =\n freeBlockList.getCurrentElement().keySet().toArray();\n int key = (Integer)keyArray[0];\n\n caller = \"check\";\n int currentValue = freeBlockList.getCurrentElement().get( key );\n int mergePoint1 = position + currentValue;\n int rightKeyMatch = findBlock( mergePoint1 );\n\n int mergePoint2 = position;\n int leftKeyMatch = -1;\n int priorValue = -1;\n int key2 = -1;\n if ( 1==1)\n {\n findBlock(mergePoint2);\n freeBlockList.previous();\n if ( !( freeBlockList.getCurrent().equals( freeBlockList.getHead() ) )\n && !( freeBlockList.getCurrent().equals( freeBlockList.getTail() ) ) &&\n !( freeBlockList.getCurrent().equals( null )))\n {\n Object[] keyArray2 =\n freeBlockList.getCurrentElement().keySet().toArray();\n key2 = (Integer)keyArray2[0];\n priorValue = freeBlockList.getCurrentElement().get( key2 );\n leftKeyMatch = key2 + priorValue;\n }\n\n }\n\n if ( rightKeyMatch == mergePoint1 )\n {\n findBlock(mergePoint1);\n freeBlockList.previous();\n freeBlockList.removeCurrent();\n int rightValue =\n freeBlockList.getCurrentElement().get( rightKeyMatch );\n\n freeBlockList.getCurrentElement().clear();\n freeBlockList.getCurrentElement().put(\n position,\n currentValue + rightValue );\n //if()\n }\n if(leftKeyMatch == mergePoint2) {\n findBlock(mergePoint2);\n freeBlockList.previous();\n freeBlockList.removeCurrent();\n int rightValue =\n freeBlockList.getCurrentElement().get(leftKeyMatch);\n\n freeBlockList.getCurrentElement().clear();\n freeBlockList.getCurrentElement().put(\n key2,\n priorValue + rightValue );\n }\n\n }", "int regionSplitBits4DownSampledTable();", "public boolean IsDisappearing(){\r\n for (int i = 2; i < 10; i++) {\r\n ArrayList<Block> blocks = blockList.GetBlockList(i);//get all blocks\r\n int[] indexI = new int[blocks.size()], indexJ = new int[blocks.size()];\r\n //put i and j of All blocks with same color on i&j arrays\r\n for (int j = 0; j < indexI.length; j++) {\r\n indexI[j] = blocks.get(j).getI();\r\n indexJ[j] = blocks.get(j).getJ();\r\n }\r\n //check if 2 block beside each other if yes return true\r\n if (CheckBoom(indexI, indexJ))\r\n return true;\r\n else if (blocks.size() == 3) {//else check if there is another block have same color if yes swap on i,j array\r\n int temp = indexI[2];\r\n indexI[2] = indexI[1];\r\n indexI[1] = temp;\r\n temp = indexJ[2];\r\n indexJ[2] = indexJ[1];\r\n indexJ[1] = temp;\r\n if (CheckBoom(indexI, indexJ))//check\r\n return true;\r\n else {//else check from another side\r\n temp = indexI[0];\r\n indexI[0] = indexI[2];\r\n indexI[2] = temp;\r\n temp = indexJ[0];\r\n indexJ[0] = indexJ[2];\r\n indexJ[2] = temp;\r\n if (CheckBoom(indexI, indexJ))//check\r\n return true;\r\n }\r\n }\r\n }\r\n //if not return true so its false\r\n return false;\r\n }", "@Override\n\tpublic int getReplaceBlock() {\n\t\treturn 0;\n\t}", "void removeBlock(Block block);", "@Test (timeout=180000)\n public void testRegionHole() throws Exception {\n TableName table =\n TableName.valueOf(\"tableRegionHole\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.HOLE_IN_REGION_CHAIN});\n // holes are separate from overlap groups\n assertEquals(0, hbck.getOverlapGroups(table).size());\n\n // fix hole\n doFsck(conf, true);\n\n // check that hole fixed\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length - 2 , countRows()); // lost a region so lost a row\n } finally {\n cleanupTable(table);\n }\n }", "private void repairGenome() {\n if (checkGenome(this.code)) {\n return;\n }\n int[] counters = new int[8];\n for (int c : code) { counters[c]++; }\n for (int i = 0; i < 8; ++i) {\n if (counters[i] == 0) {\n while (true) {\n int newPos = r.nextInt(GENOME_SIZE);\n if (counters[this.code[newPos]] > 1) {\n counters[this.code[newPos]]--;\n this.code[newPos] = i;\n break;\n }\n }\n }\n }\n }", "public void free(Block b) {\n if(b.length <= 0) return;\n\n if (b.start + b.length > limit) limit = b.start + b.length; // grows with free\n\n // query adjacent blocks\n Block prev = freeSpace.floor(b);\n Block next = freeSpace.higher(b);\n\n if (prev != null && prev.start + prev.length > b.start) {\n throw new RuntimeException(\"Corrupted. DEBUG PRV \" + prev.start + \"+\" + prev.length + \">\" + b.start);\n }\n if (next != null && next.start < b.start + b.length) {\n throw new RuntimeException(\"Corrupted. DEBUG NEX \" + next.start + \"<\" + b.start + \"+\" + b.length);\n }\n\n // merge them if possible\n \n Block n = Block.mergeBlocks(b, prev);\n if(n != null) { freeSpace.remove(prev); b = n; }\n\n n = Block.mergeBlocks(b, next);\n if(n != null) { freeSpace.remove(next); b = n; }\n\n freeSpace.add(b);\n }", "public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)\n {\n byte var6 = 0;\n byte var7 = 1;\n\n if (var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID)\n {\n var6 = 1;\n var7 = 0;\n }\n\n int var8;\n\n for (var8 = var3; var1.getBlockId(var2, var8 - 1, var4) == this.blockID; --var8)\n {\n ;\n }\n\n if (var1.getBlockId(var2, var8 - 1, var4) != Block.glowStone.blockID)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else\n {\n int var9;\n\n for (var9 = 1; var9 < 4 && var1.getBlockId(var2, var8 + var9, var4) == this.blockID; ++var9)\n {\n ;\n }\n\n if (var9 == 3 && var1.getBlockId(var2, var8 + var9, var4) == Block.glowStone.blockID)\n {\n boolean var10 = var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID;\n boolean var11 = var1.getBlockId(var2, var3, var4 - 1) == this.blockID || var1.getBlockId(var2, var3, var4 + 1) == this.blockID;\n\n if (var10 && var11)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else if ((var1.getBlockId(var2 + var6, var3, var4 + var7) != Block.glowStone.blockID || var1.getBlockId(var2 - var6, var3, var4 - var7) != this.blockID) && (var1.getBlockId(var2 - var6, var3, var4 - var7) != Block.glowStone.blockID || var1.getBlockId(var2 + var6, var3, var4 + var7) != this.blockID))\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n } else\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n }\n }", "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "@Override\r\n public int numberOfBlocksToRemove() {\r\n return blocks().size();\r\n }", "private static void registerBlock(Block b)\n\t{\n\t}", "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "static void hardDrop(Block b) {\n int[] pos = b.pos;\n char[][] piece = b.piece;\n\n while (canPlace(pos[0] + 1, pos[1], piece))\n pos[0]++;\n\n place(pos[0], pos[1], piece);\n }", "void ompleBlocsHoritzontals() {\r\n\r\n for (int i = 0; i < N; i = i + SRN) // for diagonal box, start coordinates->i==j \r\n {\r\n ompleBloc(i, i);\r\n }\r\n }", "@Test(timeout=120000)\n public void testMissingFirstRegion() throws Exception {\n TableName table = TableName.valueOf(\"testMissingFirstRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"\"), Bytes.toBytes(\"A\"), true,\n true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.FIRST_REGION_STARTKEY_NOT_EMPTY });\n // fix hole\n doFsck(conf, true);\n // check that hole fixed\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n }\n }", "int regionSplitBits4PVTable();", "@Test\r\n public void testCheckCollisionTankBlocks() {\r\n System.out.println(\"checkCollisionTankBlocks\");\r\n Rectangle r3 = new Rectangle(10, 10, 10, 10);\r\n boolean result = CollisionUtility.checkCollisionTankBlocks(r3);\r\n assertEquals(true, result);\r\n inblocks.remove(0);\r\n result = CollisionUtility.checkCollisionTankBlocks(r3);\r\n assertEquals(false, result);\r\n }", "@Override\n\tpublic void onNeighborBlockChange(World w, int x, int y, int z, Block bID)\n\t{\n\t}", "public void a()\r\n/* 49: */ {\r\n/* 50: 64 */ HashSet<BlockPosition> localHashSet = Sets.newHashSet();\r\n/* 51: */ \r\n/* 52: 66 */ int m = 16;\r\n/* 53: 67 */ for (int n = 0; n < 16; n++) {\r\n/* 54: 68 */ for (int i1 = 0; i1 < 16; i1++) {\r\n/* 55: 69 */ for (int i2 = 0; i2 < 16; i2++) {\r\n/* 56: 70 */ if ((n == 0) || (n == 15) || (i1 == 0) || (i1 == 15) || (i2 == 0) || (i2 == 15))\r\n/* 57: */ {\r\n/* 58: 74 */ double d1 = n / 15.0F * 2.0F - 1.0F;\r\n/* 59: 75 */ double d2 = i1 / 15.0F * 2.0F - 1.0F;\r\n/* 60: 76 */ double d3 = i2 / 15.0F * 2.0F - 1.0F;\r\n/* 61: 77 */ double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 62: */ \r\n/* 63: 79 */ d1 /= d4;\r\n/* 64: 80 */ d2 /= d4;\r\n/* 65: 81 */ d3 /= d4;\r\n/* 66: */ \r\n/* 67: 83 */ float f2 = this.i * (0.7F + this.d.rng.nextFloat() * 0.6F);\r\n/* 68: 84 */ double d6 = this.e;\r\n/* 69: 85 */ double d8 = this.f;\r\n/* 70: 86 */ double d10 = this.g;\r\n/* 71: */ \r\n/* 72: 88 */ float f3 = 0.3F;\r\n/* 73: 89 */ while (f2 > 0.0F)\r\n/* 74: */ {\r\n/* 75: 90 */ BlockPosition localdt = new BlockPosition(d6, d8, d10);\r\n/* 76: 91 */ Block localbec = this.d.getBlock(localdt);\r\n/* 77: 93 */ if (localbec.getType().getMaterial() != Material.air)\r\n/* 78: */ {\r\n/* 79: 94 */ float f4 = this.h != null ? this.h.a(this, this.d, localdt, localbec) : localbec.getType().a((Entity)null);\r\n/* 80: 95 */ f2 -= (f4 + 0.3F) * 0.3F;\r\n/* 81: */ }\r\n/* 82: 98 */ if ((f2 > 0.0F) && ((this.h == null) || (this.h.a(this, this.d, localdt, localbec, f2)))) {\r\n/* 83: 99 */ localHashSet.add(localdt);\r\n/* 84: */ }\r\n/* 85:102 */ d6 += d1 * 0.300000011920929D;\r\n/* 86:103 */ d8 += d2 * 0.300000011920929D;\r\n/* 87:104 */ d10 += d3 * 0.300000011920929D;\r\n/* 88:105 */ f2 -= 0.225F;\r\n/* 89: */ }\r\n/* 90: */ }\r\n/* 91: */ }\r\n/* 92: */ }\r\n/* 93: */ }\r\n/* 94:111 */ this.j.addAll(localHashSet);\r\n/* 95: */ \r\n/* 96:113 */ float f1 = this.i * 2.0F;\r\n/* 97: */ \r\n/* 98:115 */ int i1 = MathUtils.floor(this.e - f1 - 1.0D);\r\n/* 99:116 */ int i2 = MathUtils.floor(this.e + f1 + 1.0D);\r\n/* 100:117 */ int i3 = MathUtils.floor(this.f - f1 - 1.0D);\r\n/* 101:118 */ int i4 = MathUtils.floor(this.f + f1 + 1.0D);\r\n/* 102:119 */ int i5 = MathUtils.floor(this.g - f1 - 1.0D);\r\n/* 103:120 */ int i6 = MathUtils.floor(this.g + f1 + 1.0D);\r\n/* 104:121 */ List<Entity> localList = this.d.b(this.h, new AABB(i1, i3, i5, i2, i4, i6));\r\n/* 105:122 */ Vec3 localbrw = new Vec3(this.e, this.f, this.g);\r\n/* 106:124 */ for (int i7 = 0; i7 < localList.size(); i7++)\r\n/* 107: */ {\r\n/* 108:125 */ Entity localwv = (Entity)localList.get(i7);\r\n/* 109:126 */ if (!localwv.aV())\r\n/* 110: */ {\r\n/* 111:129 */ double d5 = localwv.f(this.e, this.f, this.g) / f1;\r\n/* 112:131 */ if (d5 <= 1.0D)\r\n/* 113: */ {\r\n/* 114:132 */ double d7 = localwv.xPos - this.e;\r\n/* 115:133 */ double d9 = localwv.yPos + localwv.getEyeHeight() - this.f;\r\n/* 116:134 */ double d11 = localwv.zPos - this.g;\r\n/* 117: */ \r\n/* 118:136 */ double d12 = MathUtils.sqrt(d7 * d7 + d9 * d9 + d11 * d11);\r\n/* 119:137 */ if (d12 != 0.0D)\r\n/* 120: */ {\r\n/* 121:141 */ d7 /= d12;\r\n/* 122:142 */ d9 /= d12;\r\n/* 123:143 */ d11 /= d12;\r\n/* 124: */ \r\n/* 125:145 */ double d13 = this.d.a(localbrw, localwv.getAABB());\r\n/* 126:146 */ double d14 = (1.0D - d5) * d13;\r\n/* 127:147 */ localwv.receiveDamage(DamageSource.a(this), (int)((d14 * d14 + d14) / 2.0D * 8.0D * f1 + 1.0D));\r\n/* 128: */ \r\n/* 129:149 */ double d15 = EnchantmentProtection.a(localwv, d14);\r\n/* 130:150 */ localwv.xVelocity += d7 * d15;\r\n/* 131:151 */ localwv.yVelocity += d9 * d15;\r\n/* 132:152 */ localwv.zVelocity += d11 * d15;\r\n/* 133:154 */ if ((localwv instanceof EntityPlayer)) {\r\n/* 134:155 */ this.k.put((EntityPlayer)localwv, new Vec3(d7 * d14, d9 * d14, d11 * d14));\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139: */ }\r\n/* 140: */ }", "void m63702c() {\n for (C17455a c17455a : this.f53839c) {\n c17455a.f53844b.clear();\n }\n }", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "private void b()\r\n/* 67: */ {\r\n/* 68: 73 */ this.c.clear();\r\n/* 69: 74 */ this.e.clear();\r\n/* 70: */ }", "public void unifyAdjacentChests(World par1World, int par2, int par3, int par4) {\n\t\tif (!par1World.isRemote) {\n\t\t\tBlock l = par1World.getBlock(par2, par3, par4 - 1);\n\t\t\tBlock i1 = par1World.getBlock(par2, par3, par4 + 1);\n\t\t\tBlock j1 = par1World.getBlock(par2 - 1, par3, par4);\n\t\t\tBlock k1 = par1World.getBlock(par2 + 1, par3, par4);\n\t\t\tBlock l1;\n\t\t\tBlock i2;\n\n\t\t\tbyte b0;\n\t\t\tint j2;\n\n\t\t\tif (l != this && i1 != this) {\n\t\t\t\tif (j1 != this && k1 != this) {\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (l.func_149730_j() && !i1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (i1.func_149730_j() && !l.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j1.func_149730_j() && !k1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 5;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (k1.func_149730_j() && !j1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 4;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tl1 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 - 1);\n\t\t\t\t\ti2 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 + 1);\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (j1 == this) {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 - 1, par3, par4);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 + 1, par3, par4);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j2 == 2) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((l.func_149730_j() || l1.func_149730_j()) && !i1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((i1.func_149730_j() || i2.func_149730_j()) && !l.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tl1 = par1World.getBlock(par2 - 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\ti2 = par1World.getBlock(par2 + 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\tb0 = 5;\n\n\t\t\t\tif (l == this) {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 - 1);\n\t\t\t\t} else {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 + 1);\n\t\t\t\t}\n\n\t\t\t\tif (j2 == 4) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\n\t\t\t\tif ((j1.func_149730_j() || l1.func_149730_j()) && !k1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\tb0 = 5;\n\t\t\t\t}\n\n\t\t\t\tif ((k1.func_149730_j() || i2.func_149730_j()) && !j1.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpar1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 3);\n\t\t}\n\t}", "private void DeleteBurnInsOnPreviousSamples() {\n\t\tif (gibbs_sample_num <= num_gibbs_burn_in + 1 && gibbs_sample_num >= 2){\n\t\t\tgibbs_samples_of_bart_trees[gibbs_sample_num - 2] = null;\n\t\t}\n\t}", "protected cxl a(Block parambec)\r\n/* 11: */ {\r\n/* 12:237 */ LinkedHashMap localLinkedHashMap = Maps.newLinkedHashMap(parambec.b());\r\n/* 13: */ \r\n/* 14:239 */ String str1 = bbf.M.toString((Comparable)localLinkedHashMap.remove(bbf.M));\r\n/* 15:240 */ localLinkedHashMap.remove(bbf.b);\r\n/* 16: */ \r\n/* 17:242 */ String str2 = ((Boolean)parambec.getData(bbf.b)).booleanValue() ? \"all\" : \"normal\";\r\n/* 18:243 */ return new cxl(str1 + \"_double_slab\", str2);\r\n/* 19: */ }", "void scanblocks() {\n\t\tint oldline, newline;\n\t\tint oldfront = 0; // line# of front of a block in old, or 0\n\t\tint newlast = -1; // newline's value during prev. iteration\n\n\t\tfor (oldline = 1; oldline <= oldinfo.maxLine; oldline++)\n\t\t\tblocklen[oldline] = 0;\n\t\tblocklen[oldinfo.maxLine + 1] = UNREAL; // starts a mythical blk\n\n\t\tfor (oldline = 1; oldline <= oldinfo.maxLine; oldline++) {\n\t\t\tnewline = oldinfo.other[oldline];\n\t\t\tif (newline < 0)\n\t\t\t\toldfront = 0; /* no match: not in block */\n\t\t\telse { /* match. */\n\t\t\t\tif (oldfront == 0)\n\t\t\t\t\toldfront = oldline;\n\t\t\t\tif (newline != (newlast + 1))\n\t\t\t\t\toldfront = oldline;\n\t\t\t\t++blocklen[oldfront];\n\t\t\t}\n\t\t\tnewlast = newline;\n\t\t}\n\t}", "@Override\n public void breakBlock(World world, int i, int j, int k, int lol, int meh) {\n byte byte0 = 4;\n int l = byte0 + 1;\n if (world.checkChunksExist(i - l, j - l, k - l, i + l, j + l, k + l)) {\n for (int i1 = -byte0; i1 <= byte0; i1++) {\n for (int j1 = -byte0; j1 <= byte0; j1++) {\n for (int k1 = -byte0; k1 <= byte0; k1++) {\n int l1 = world.getBlockId(i + i1, j + j1, k + k1);\n if (l1 != TropicraftMod.tropicLeaves.blockID) {\n continue;\n }\n int i2 = world.getBlockMetadata(i + i1, j + j1, k + k1);\n if ((i2 & 8) == 0) {\n world.setBlockMetadata(i + i1, j + j1, k + k1, i2 | 8);\n }\n }\n\n }\n\n }\n\n }\n }", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "private final void verifyGhostRegionValues(ComputationalComposedBlock block) throws MPIException {\n\t\tBoundaryIterator boundaryIterator = block.getBoundaryIterator();\n\t\tBoundaryIterator expectedValuesIterator = block.getBoundaryIterator();\n\t\tBoundaryId boundary = new BoundaryId();\n\t\tfor (int d=0; d<2*DIMENSIONALITY; d++) {\n\t\t\tblock.receiveDoneAt(boundary);\n\t\t\tboundaryIterator.setBoundaryToIterate(boundary);\n\t\t\tBoundaryId oppositeBoundary = boundary.oppositeSide();\n\t\t\texpectedValuesIterator.setBoundaryToIterate(oppositeBoundary);\n\t\t\twhile (boundaryIterator.isInField()) {\n\t\t\t\t// Check the ghost values outside the current element.\n\t\t\t\tfor (int offset=1; offset<extent; offset++) {\n\t\t\t\t\tint neighborOffset = offset-1;\n\t\t\t\t\tint directedOffset = boundary.isLowerSide() ? -offset : offset;\n\t\t\t\t\tint directedNeighborOffset = boundary.isLowerSide() ? -neighborOffset : neighborOffset;\n\t\t\t\t\tdouble expected = expectedValuesIterator.currentNeighbor(boundary.getDimension(), directedNeighborOffset);\n\t\t\t\t\tdouble actual = boundaryIterator.currentNeighbor(boundary.getDimension(), directedOffset);\n\t\t\t\t\tassertEquals(expected, actual, 4*Math.ulp(expected));\n\t\t\t\t}\n\t\t\t\tboundaryIterator.next();\n\t\t\t\texpectedValuesIterator.next();\n\t\t\t}\n\t\t}\n\t}", "public void Inverse_macroblock_partition_scanning_process(){\n\t\tx=InverseRasterScan(mbPartIdx, MbPartWidth(mb_type),MbPartHeight(mb_type),16,0);\n\t\ty=InverseRasterScan(mbPartIdx, MbPartWidth(mb_type),MbPartHeight(mb_type),16,1);\n\n\t}", "@Override\n\tpublic int getBlockNum() {\n\t\treturn 0;\n\t}", "private void resetMBPattern()\n {\n codedBlockPattern = 0;\n }", "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }", "SerializableState getInvalidRegion(Long id,\n\t\t\t\t ParameterBlock oldParamBlock,\n\t\t\t\t SerializableState oldHints,\n\t\t\t\t ParameterBlock newParamBlock,\n\t\t\t\t SerializableState newHints)\n\tthrows RemoteException;", "public void testBug1766646B() {\n XYBlockRenderer r = new XYBlockRenderer();\n Range range = r.findRangeBounds(null);\n DefaultXYZDataset emptyDataset = new DefaultXYZDataset();\n range = r.findRangeBounds(emptyDataset);\n }", "private void exitSequence_mainRegion_State2__region0_a() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}", "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }", "private void t3() {\n // write to a super region, read from a subregion: only keep write\n writeProtected();\n readDefault();\n }", "@Test\n\tpublic void testForwardNonFrameBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642114, PositionType.ZERO_BASED),\n\t\t\t\t\"TAAACA\", \"GTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.691-3_693delinsGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Trp231Val\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_ACCEPTOR),\n\t\t\t\tannotation1.effects);\n\n\t\t// deletion of three codons, insertion of one\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642126, PositionType.ZERO_BASED),\n\t\t\t\t\"GTGGTTCAA\", \"ACC\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(2, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.700_708delinsACC\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Val234_Gln236delinsThr\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION), annotation2.effects);\n\n\t\t// deletion of three codons, insertion of one, includes truncation of replacement ref from the right\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642134, PositionType.ZERO_BASED),\n\t\t\t\t\"AGTGGAGGAT\", \"CTT\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(2, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.708_716delinsCT\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Gln236Hisfs*16\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION), annotation3.effects);\n\t}", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "private void t2() {\n // read from a super region, write to a sub region: keep both\n readProtected();\n writeDefault();\n }", "@Test (timeout=180000)\n public void testSidelineOverlapRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"testSidelineOverlapRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap\n MiniHBaseCluster cluster = TEST_UTIL.getHBaseCluster();\n HMaster master = cluster.getMaster();\n HRegionInfo hriOverlap1 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"AB\"));\n master.assignRegion(hriOverlap1);\n master.getAssignmentManager().waitForAssignment(hriOverlap1);\n HRegionInfo hriOverlap2 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"AB\"), Bytes.toBytes(\"B\"));\n master.assignRegion(hriOverlap2);\n master.getAssignmentManager().waitForAssignment(hriOverlap2);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS, ERROR_CODE.OVERLAP_IN_REGION_CHAIN});\n assertEquals(3, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // mess around the overlapped regions, to trigger NotServingRegionException\n Multimap<byte[], HbckInfo> overlapGroups = hbck.getOverlapGroups(table);\n ServerName serverName = null;\n byte[] regionName = null;\n for (HbckInfo hbi: overlapGroups.values()) {\n if (\"A\".equals(Bytes.toString(hbi.getStartKey()))\n && \"B\".equals(Bytes.toString(hbi.getEndKey()))) {\n regionName = hbi.getRegionName();\n\n // get an RS not serving the region to force bad assignment info in to META.\n int k = cluster.getServerWith(regionName);\n for (int i = 0; i < 3; i++) {\n if (i != k) {\n HRegionServer rs = cluster.getRegionServer(i);\n serverName = rs.getServerName();\n break;\n }\n }\n\n HBaseFsckRepair.closeRegionSilentlyAndWait((HConnection) connection,\n cluster.getRegionServer(k).getServerName(), hbi.getHdfsHRI());\n admin.offline(regionName);\n break;\n }\n }\n\n assertNotNull(regionName);\n assertNotNull(serverName);\n try (Table meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService)) {\n Put put = new Put(regionName);\n put.add(HConstants.CATALOG_FAMILY, HConstants.SERVER_QUALIFIER,\n Bytes.toBytes(serverName.getHostAndPort()));\n meta.put(put);\n }\n\n // fix the problem.\n HBaseFsck fsck = new HBaseFsck(conf, hbfsckExecutorService);\n fsck.connect();\n fsck.setDisplayFullReport(); // i.e. -details\n fsck.setTimeLag(0);\n fsck.setFixAssignments(true);\n fsck.setFixMeta(true);\n fsck.setFixHdfsHoles(true);\n fsck.setFixHdfsOverlaps(true);\n fsck.setFixHdfsOrphans(true);\n fsck.setFixVersionFile(true);\n fsck.setSidelineBigOverlaps(true);\n fsck.setMaxMerge(2);\n fsck.onlineHbck();\n fsck.close();\n\n // verify that overlaps are fixed, and there are less rows\n // since one region is sidelined.\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertTrue(ROWKEYS.length > countRows());\n } finally {\n cleanupTable(table);\n }\n }", "protected int getChunkInRegion() {\n\t\treturn (rnd.nextInt(structurePosRange) + rnd.nextInt(structurePosRange)) / 2;\n\t}", "public void onBlockNeighborChange(int l) {}", "public abstract int[] findEmptyBlock(int processSize);", "@Override\n\tpublic void visitXblock(Xblock p) {\n\n\t}", "private void exitSequence_mainRegion_State2__region0_State4() {\n\t\texitSequence_mainRegion_State2__region0_State4__region0();\n\t}", "private c b(c blk, int i) {\n/* 585 */ int w = blk.g;\n/* 586 */ int h = blk.h;\n/* */ \n/* */ \n/* 589 */ if (blk.a() != 4) {\n/* 590 */ if (this.j == null || this.j.a() != 4) {\n/* 591 */ this.j = (c)new d();\n/* */ }\n/* 593 */ this.j.g = w;\n/* 594 */ this.j.h = h;\n/* 595 */ this.j.e = blk.e;\n/* 596 */ this.j.f = blk.f;\n/* 597 */ blk = this.j;\n/* */ } \n/* */ \n/* */ \n/* 601 */ float[] outdata = (float[])blk.b();\n/* */ \n/* */ \n/* 604 */ if (outdata == null || outdata.length < w * h) {\n/* 605 */ outdata = new float[h * w];\n/* 606 */ blk.a(outdata);\n/* */ } \n/* */ \n/* */ \n/* 610 */ if (i >= 0 && i <= 2) {\n/* */ int j;\n/* */ \n/* */ \n/* 614 */ if (this.m == null)\n/* 615 */ this.m = new e(); \n/* 616 */ if (this.n == null)\n/* 617 */ this.n = new e(); \n/* 618 */ if (this.o == null)\n/* 619 */ this.o = new e(); \n/* 620 */ this.o.g = blk.g;\n/* 621 */ this.o.h = blk.h;\n/* 622 */ this.o.e = blk.e;\n/* 623 */ this.o.f = blk.f;\n/* */ \n/* */ \n/* 626 */ this.m = (e)this.e.getInternCompData((c)this.m, 0);\n/* 627 */ int[] data0 = (int[])this.m.b();\n/* 628 */ this.n = (e)this.e.getInternCompData((c)this.n, 1);\n/* 629 */ int[] data1 = (int[])this.n.b();\n/* 630 */ this.o = (e)this.e.getInternCompData((c)this.o, 2);\n/* 631 */ int[] data2 = (int[])this.o.b();\n/* */ \n/* */ \n/* 634 */ blk.k = (this.m.k || this.n.k || this.o.k);\n/* */ \n/* 636 */ blk.i = 0;\n/* 637 */ blk.j = w;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 642 */ int k = w * h - 1;\n/* 643 */ int k0 = this.m.i + (h - 1) * this.m.j + w - 1;\n/* 644 */ int k1 = this.n.i + (h - 1) * this.n.j + w - 1;\n/* 645 */ int k2 = this.o.i + (h - 1) * this.o.j + w - 1;\n/* */ \n/* 647 */ switch (i) {\n/* */ \n/* */ case 0:\n/* 650 */ for (j = h - 1; j >= 0; j--) {\n/* 651 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 652 */ outdata[k] = 0.299F * data0[k0] + 0.587F * data1[k1] + 0.114F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 658 */ k0 -= this.m.j - w;\n/* 659 */ k1 -= this.n.j - w;\n/* 660 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 1:\n/* 666 */ for (j = h - 1; j >= 0; j--) {\n/* 667 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 668 */ outdata[k] = -0.16875F * data0[k0] - 0.33126F * data1[k1] + 0.5F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 674 */ k0 -= this.m.j - w;\n/* 675 */ k1 -= this.n.j - w;\n/* 676 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 2:\n/* 682 */ for (j = h - 1; j >= 0; j--) {\n/* 683 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 684 */ outdata[k] = 0.5F * data0[k0] - 0.41869F * data1[k1] - 0.08131F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ k0 -= this.m.j - w;\n/* 691 */ k1 -= this.n.j - w;\n/* 692 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ } \n/* */ } else {\n/* 697 */ if (i >= 3) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 702 */ e indb = new e(blk.e, blk.f, w, h);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 707 */ this.e.getInternCompData((c)indb, i);\n/* 708 */ int[] indata = (int[])indb.b();\n/* */ \n/* */ \n/* 711 */ int k = w * h - 1;\n/* 712 */ int k0 = indb.i + (h - 1) * indb.j + w - 1;\n/* 713 */ for (int j = h - 1; j >= 0; j--) {\n/* 714 */ for (int mink = k - w; k > mink; k--, k0--) {\n/* 715 */ outdata[k] = indata[k0];\n/* */ }\n/* */ \n/* 718 */ k0 += indb.g - w;\n/* */ } \n/* */ \n/* */ \n/* 722 */ blk.k = indb.k;\n/* 723 */ blk.i = 0;\n/* 724 */ blk.j = w;\n/* 725 */ return blk;\n/* */ } \n/* */ \n/* */ \n/* 729 */ throw new IllegalArgumentException();\n/* */ } \n/* 731 */ return blk;\n/* */ }", "public static void wipeBlocks() {\n for (String location : MyZ.instance.getBlocksConfig().getKeys(false))\n actOnBlock(location, false);\n MyZ.instance.saveBlocksConfig();\n }", "public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}", "public void RemoveRowsIfStackedTooHigh() {\n \t\t\n while (rowHasBlocks(Parameters.RemoveBiggestPartialRowIfBlockInRow)) {\n int NoOfPiecesRemoved = \n eraseBiggestRowGreaterThan(Parameters.RemoveBiggestPartialRowIfBlockInRow);\n //remove points for each empty square\n ComputeScoreAndDelay(-(COLUMNS - NoOfPiecesRemoved) * Parameters.PointsSubtractedPerEmptySpaceFromPartialRow);\n \n }\n game_grid.repaint();\n LogEvent(\"row_removed\");\n }", "@Test(timeout = 30000)\n public void testMoveBlockFailure() {\n // Test copy\n testMoveBlockFailure(conf);\n // Test hardlink\n conf.setBoolean(DFSConfigKeys\n .DFS_DATANODE_ALLOW_SAME_DISK_TIERING, true);\n conf.setDouble(DFSConfigKeys\n .DFS_DATANODE_RESERVE_FOR_ARCHIVE_DEFAULT_PERCENTAGE, 0.5);\n testMoveBlockFailure(conf);\n }", "public void testConstructors()\n throws IOException\n {\n HeaderBlockWriter block = new HeaderBlockWriter();\n ByteArrayOutputStream output = new ByteArrayOutputStream(512);\n\n block.writeBlocks(output);\n byte[] copy = output.toByteArray();\n byte[] expected =\n {\n ( byte ) 0xD0, ( byte ) 0xCF, ( byte ) 0x11, ( byte ) 0xE0,\n ( byte ) 0xA1, ( byte ) 0xB1, ( byte ) 0x1A, ( byte ) 0xE1,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x3B, ( byte ) 0x00, ( byte ) 0x03, ( byte ) 0x00,\n ( byte ) 0xFE, ( byte ) 0xFF, ( byte ) 0x09, ( byte ) 0x00,\n ( byte ) 0x06, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0xFE, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0x00, ( byte ) 0x10, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0xFE, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0xFE, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00, ( byte ) 0x00,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF,\n ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF, ( byte ) 0xFF\n };\n\n assertEquals(expected.length, copy.length);\n for (int j = 0; j < 512; j++)\n {\n assertEquals(\"testing byte \" + j, expected[ j ], copy[ j ]);\n }\n\n // verify we can read a 'good' HeaderBlockWriter (also test\n // getPropertyStart)\n block.setPropertyStart(0x87654321);\n output = new ByteArrayOutputStream(512);\n block.writeBlocks(output);\n assertEquals(0x87654321,\n new HeaderBlockReader(new ByteArrayInputStream(output\n .toByteArray())).getPropertyStart());\n }", "public static void neighborhoodMaxLowMem(String szinputsegmentation,String szanchorpositions,\n int nbinsize, int numleft, int numright, int nspacing, \n\t\t\t\t\tboolean busestrand, boolean busesignal, String szcolfields,\n\t\t\t\t\tint noffsetanchor, String szoutfile,Color theColor, \n\t\t\t\t\t String sztitle,String szlabelmapping, boolean bprintimage, \n boolean bstringlabels, boolean bbrowser) throws IOException\n {\n\n\n\tboolean bchrommatch = false;//added in 1.23 to check for chromosome matches\n\t//an array of chromosome names\n\tArrayList alchromindex = new ArrayList();\n\n\tString szLine;\n\n\t//stores the largest index value for each chromosome\n\tHashMap hmchromMax = new HashMap();\n\n\t//maps chromosome names to index values\n\tHashMap hmchromToIndex = new HashMap();\n\tHashMap hmLabelToIndex = new HashMap(); //maps label to an index\n\tHashMap hmIndexToLabel = new HashMap(); //maps index string to label\n\t//stores the maximum integer label value\n\tint nmaxlabel=0;\n\tString szlabel =\"\";\n\tBufferedReader brinputsegment = Util.getBufferedReader(szinputsegmentation);\n\n\tboolean busedunderscore = false;\n //the number of additional intervals to the left and right to include\n \n \t//the center anchor position\n\tint numintervals = 1+numleft+numright;\n\n\n\t//this loops reads in the segmentation \n\twhile ((szLine = brinputsegment.readLine())!=null)\n\t{\n\t //added v1.24\n\t if (bbrowser)\n\t {\n\t\tif ((szLine.toLowerCase(Locale.ENGLISH).startsWith(\"browser\"))||(szLine.toLowerCase(Locale.ENGLISH).startsWith(\"track\")))\n\t\t{\n\t\t continue;\n\t\t}\n\t }\n\n\t StringTokenizer st;\n\t if (bstringlabels)\n\t {\n\t st = new StringTokenizer(szLine,\"\\t\");\n\t }\n\t else\n\t {\n\t st = new StringTokenizer(szLine,\"\\t \");\n\t }\n\n\t //added in v1.24\n\t int numtokens = st.countTokens();\n\t if (numtokens == 0)\n\t { \n\t //skip blank lines\n\t continue;\n\t }\n\t else if (numtokens < 4)\n\t {\n\t throw new IllegalArgumentException(\"Line \"+szLine+\" in \"+szinputsegmentation+\" only had \"+numtokens+\" token(s). Expecting at least 4\");\n\t }\n\n\t String szchrom = st.nextToken().trim();\n //assumes segments are in standard bed format which to get to \n\t //0-based inclusive requires substract 1 from the end\n\t //int nbegin = Integer.parseInt(st.nextToken().trim())/nbinsize; \n\t st.nextToken().trim();\n\t int nend = (Integer.parseInt(st.nextToken().trim())-1)/nbinsize; \n\t szlabel = st.nextToken().trim();\n\t short slabel;\n\n\t if (bstringlabels)\n\t {\n\t int nunderscoreindex = szlabel.indexOf(\"_\");\n\n\t if (nunderscoreindex >=0)\n\t {\n\t String szprefix = szlabel.substring(0,nunderscoreindex);\n\n try\n\t\t {\n\t slabel = (short) (Short.parseShort(szprefix));\n\t\t if (slabel > nmaxlabel)\n\t\t {\n\t nmaxlabel = slabel;\n\t\t }\n\t\t busedunderscore = true;\n\t\t hmLabelToIndex.put(szlabel, Short.valueOf(slabel));\n\t\t hmIndexToLabel.put(\"\"+slabel, szlabel);\n\t\t }\n catch (NumberFormatException ex)\n\t\t {\n try\n\t\t {\n\t\t slabel = (short) (Short.parseShort(szprefix.substring(1)));\n\t\t if (slabel > nmaxlabel)\n\t\t {\n\t\t nmaxlabel = slabel;\n\t\t }\n\t\t busedunderscore = true;\n\t\t hmLabelToIndex.put(szlabel, Short.valueOf(slabel));\n\t\t hmIndexToLabel.put(\"\"+slabel, szlabel);\n\t\t }\n\t\t catch (NumberFormatException ex2)\n\t\t {\n\t\t if (busedunderscore)\n\t\t {\n\t\t throw new IllegalArgumentException(\"Not a valid ID before '_' in \"+szlabel+\", while valid ID found for other entries\");\n\t\t }\n\t\t }\n\t\t }\n\t }\n\n\t if (!busedunderscore)\n\t {\n\t //handle string labels\n\t Short objshort = (Short) hmLabelToIndex.get(szlabel);\n\n\t if (objshort == null)\n\t {\n\t\t nmaxlabel = hmLabelToIndex.size()+1;\n\t\t slabel = (short) nmaxlabel;\n\t\t hmLabelToIndex.put(szlabel, Short.valueOf(slabel));\n\t\t hmIndexToLabel.put(\"\"+nmaxlabel, szlabel);\n\t\t }\n\t }\n\t }\n\t else\n\t {\n try\n\t {\n\t slabel = (short) (Short.parseShort(szlabel));\n\t }\n\t catch (NumberFormatException ex)\n\t {\n try\n\t {\n slabel = (short) (Short.parseShort(szlabel.substring(1)));\n\t }\n\t catch (NumberFormatException ex2)\n\t {\n\t throw new IllegalArgumentException(\"In fourth column neither state number or ID found in segmentation file. Use '-labels' option to run overlap enrichment treating fourth column as labels\");\n\t }\n\t }\n\t \n\t //alsegments.add(new SegmentRec(szchrom,nbegin,nend,slabel));\n\n\t if (slabel > nmaxlabel)\n\t {\n\t nmaxlabel = slabel;\n\t }\n\t }\n\n\t Integer objMax = (Integer) hmchromMax.get(szchrom);\n\t if (objMax == null)\n\t {\n\t\t//System.out.println(\"on chrom \"+szchrom);\n\t\thmchromMax.put(szchrom,Integer.valueOf(nend));\n\t\thmchromToIndex.put(szchrom, Integer.valueOf(hmchromToIndex.size()));\n\t\talchromindex.add(szchrom);\n\t }\n\t else\n\t {\n\t\tint ncurrmax = objMax.intValue();\n\t\tif (ncurrmax < nend)\n\t\t{\n\t\t hmchromMax.put(szchrom, Integer.valueOf(nend));\t\t \n\t\t}\n\t }\n\t}\n\tbrinputsegment.close();\n\n\t//stores a tally for each position relative to an anchor how frequently the label was observed\n\tdouble[][] tallyoverlaplabel = new double[numintervals][nmaxlabel+1]; \n\n\t//stores a tally for the total signal associated with each anchor position\n\tdouble[] dsumoverlaplabel = new double[numintervals];\n\n //a tally on how frequently each label occurs\n double[] tallylabel = new double[nmaxlabel+1];\n\n\n\tint numchroms = alchromindex.size();\n\n //short[][] labels = new short[numchroms][];\n\n\t//allocates space store all the segment labels for each chromosome\n\tfor (int nchrom = 0; nchrom < numchroms; nchrom++)\n\t{\n \t //stores all the segments in the data\n\t //ArrayList alsegments = new ArrayList();\n\t brinputsegment = Util.getBufferedReader(szinputsegmentation);\n\t String szchromwant = (String) alchromindex.get(nchrom);\n\t //System.out.println(\"processing \"+szchromwant);\n\t int nsize = ((Integer) hmchromMax.get(alchromindex.get(nchrom))).intValue()+1;\n\t short[] labels = new short[nsize];\n\t //this loops reads in the segmentation \n\n\n\t //short[] labels_nchrom = labels[nchrom];\n\t for (int npos = 0; npos < nsize; npos++)\n {\n labels[npos] = -1;\n }\n\t\t\n\t while ((szLine = brinputsegment.readLine())!=null)\n\t {\n\t //int numlines = alsegments.size();\n\t StringTokenizer st;\n\t if (bstringlabels)\n\t {\n\t st = new StringTokenizer(szLine,\"\\t\");\n\t }\n\t else\n\t {\n\t st = new StringTokenizer(szLine,\"\\t \");\n\t }\n\n\t String szchrom = st.nextToken().trim();\n\t if (!szchromwant.equals(szchrom))\n\t\t continue;\n\n\t bchrommatch = true;\n //assumes segments are in standard bed format which to get to \n\t //0-based inclusive requires substract 1 from the end\n\t int nbegin = Integer.parseInt(st.nextToken().trim())/nbinsize;\n\t int nend = (Integer.parseInt(st.nextToken().trim())-1)/nbinsize; \n\t szlabel = st.nextToken().trim();\n\t short slabel = -1;\n\n\t if (bstringlabels)\n\t {\n\t int nunderscoreindex = szlabel.indexOf(\"_\");\n\n\t\t if (nunderscoreindex >=0)\n\t\t {\n\t\t String szprefix = szlabel.substring(0,nunderscoreindex);\n\n try\n\t\t {\n\t\t slabel = (short) (Short.parseShort(szprefix));\n\t\t busedunderscore = true;\n\t\t }\n catch (NumberFormatException ex)\n\t\t {\n try\n\t\t {\n\t\t slabel = (short) (Short.parseShort(szprefix.substring(1)));\n\t\t\t busedunderscore = true;\n\t\t }\n\t\t catch (NumberFormatException ex2)\n\t\t {\n\t\t\t if (busedunderscore)\n\t\t\t {\n\t\t\t throw new IllegalArgumentException(\"Not a valid ID before '_' in \"+szlabel+\", while valid ID found for other entries\");\n\t\t\t }\n\t\t }\n\t\t }\n\t\t }\n\n\t\t if (!busedunderscore)\n\t\t {\n\t //handle string labels\n\t\t Short objshort = (Short) hmLabelToIndex.get(szlabel);\n\t\t slabel = ((Short) objshort).shortValue();\n\t }\n\t }\n\t else\n\t {\n try\n\t {\n\t\t slabel = (short) (Short.parseShort(szlabel));\n\t }\n\t catch (NumberFormatException ex)\n\t {\n try\n\t\t {\n slabel = (short) (Short.parseShort(szlabel.substring(1)));\n\t\t }\n\t\t catch (NumberFormatException ex2)\n\t\t {\n\t\t throw new IllegalArgumentException(\"In fourth column neither state number or ID found in segmentation file. Use '-labels' option to run overlap enrichment treating fourth column as labels\");\n\t\t }\n\t }\n\t }\n\n\t //this loop stores into labels the full segmentation\n\t //and a count of how often each label occurs\n\t //for (int nindex = 0; nindex < numlines; nindex++)\n\t //{\n\t //SegmentRec theSegmentRec = (SegmentRec) alsegments.get(nindex);\n\t //int nchrom = ((Integer) hmchromToIndex.get(theSegmentRec.szchrom)).intValue();\n\t //short[] labels_nchrom = labels[nchrom];\n\t //int nbegin = theSegmentRec.nbegin;\n\t //int nend = theSegmentRec.nend;\n\t //short slabel = theSegmentRec.slabel;\n\t for (int npos = nbegin; npos <= nend; npos++)\n\t {\n\t labels[npos] = slabel;\n\t }\n\n\t if (slabel >= 0)\n\t {\n\t tallylabel[slabel]+=(nend-nbegin)+1; \n\t }\t \n\t }\n\t brinputsegment.close();\n\n\n\t RecAnchorIndex theAnchorIndex = getAnchorIndex(szcolfields, busestrand, busesignal);\n\n \t //reads in the anchor position \n BufferedReader brcoords = Util.getBufferedReader(szanchorpositions);\n\t while ((szLine = brcoords.readLine())!=null)\n {\n\t if (szLine.trim().equals(\"\")) continue;\n\t String[] szLineA = szLine.split(\"\\\\s+\");\n\n String szchrom = szLineA[theAnchorIndex.nchromindex]; \n\t if (!szchrom.equals(szchromwant)) \n continue;\n\n\t int nanchor = (Integer.parseInt(szLineA[theAnchorIndex.npositionindex])-noffsetanchor);\n\t boolean bposstrand = true;\n\t if (busestrand)\n\t {\n\t String szstrand = szLineA[theAnchorIndex.nstrandindex];\t \n\t if (szstrand.equals(\"+\"))\n\t {\n\t bposstrand = true;\n\t }\n else if (szstrand.equals(\"-\"))\n {\n \t bposstrand = false;\n\t }\n\t else\n\t {\n \t throw new IllegalArgumentException(szstrand +\" is an invalid strand. Strand should be '+' or '-'\");\n\t\t }\t \n\t }\n\n\t double damount;\n\n\t if ((busesignal)&&(theAnchorIndex.nsignalindex< szLineA.length))\n\t {\n\t damount = Double.parseDouble(szLineA[theAnchorIndex.nsignalindex]);\n\t }\n\t else\n {\n\t damount = 1;\n\t }\n\n\t //updates the tallys for the given anchor position\n\t //Integer objChrom = (Integer) hmchromToIndex.get(szchrom);\n //if (objChrom != null)\n\t //{\n\t // int nchrom = objChrom.intValue();\n\t\t //short[] labels_nchrom = labels[nchrom];\n\n\t if (bposstrand)\n\t {\n\t int ntallyindex = 0;\n\t for(int noffset= -numleft; noffset <= numright; noffset++)\n\t {\n\t\t int nposindex = (nanchor + nspacing*noffset)/nbinsize;\n\n\t\t if ((nposindex >=0)&&(nposindex < labels.length)&&(labels[nposindex]>=0))\n\t\t {\n\t tallyoverlaplabel[ntallyindex][labels[nposindex]] += damount;\t\t \n\t\t }\n\t\t ntallyindex++;\n\t\t }\n\t\t }\n\t else\n\t {\n\t int ntallyindex = 0;\n\t for(int noffset= numright; noffset >= -numleft; noffset--)\n\t {\n\t\t int nposindex = (nanchor + nspacing*noffset)/nbinsize;\n\n\t\t if ((nposindex >=0)&&(nposindex < labels.length)&&(labels[nposindex]>=0))\n\t\t {\n\t tallyoverlaplabel[ntallyindex][labels[nposindex]]+=damount;\t\t \n\t\t }\n\t\t ntallyindex++;\n\t\t }\n\t\t //}\n\t\t }\n\t }\n brcoords.close(); \t \n\t}\n\n\tif (!bchrommatch)\n\t{\n\t throw new IllegalArgumentException(\"No chromosome name matches found between \"+szanchorpositions+\n \" and those in the segmentation file.\");\n\t}\n\n\toutputneighborhood(tallyoverlaplabel,tallylabel,dsumoverlaplabel,szoutfile,nspacing,numright,\n numleft,theColor,ChromHMM.convertCharOrderToStringOrder(szlabel.charAt(0)),sztitle,0,\n szlabelmapping,szlabel.charAt(0), bprintimage, bstringlabels, hmIndexToLabel);\n }", "public void MeasureMovement(int[] dupCellID, int numslices, int b){\r\n\t\tfor (int x = 1; x < b; x = x + 1){ \r\n\t\t\tIJ.selectWindow(dupCellID[x]);\r\n\t\t\tImagePlus TheDuplicate = WindowManager.getCurrentImage();\r\n\t\t\tIJ.run(\"Threshold...\",\"method='Default'\");\r\n\t\t\tnew WaitForUserDialog(\"Threshold\", \"Threshold yeast cell to select the nucleus, then click OK.\").show();\r\n\t\t\tResultsTable res = new ResultsTable();\r\n\t\t\tdouble[] SliceNumY = new double[numslices];\r\n\t\t\tdouble[] SliceNumX = new double[numslices];\r\n\t\t\t\tfor(int z = 1; z < numslices; z = z+1) {\r\n\t\t\t\t\tTheDuplicate.setSlice(z);\r\n\t\t\t\t\tIJ.run(TheDuplicate, \"Analyze Particles...\", \"size=100-550 pixel circularity=0.00-1.00 show=Nothing display clear include add slice\");\r\n\t\t\t\t\tres = Analyzer.getResultsTable();\r\n\t\t\t\t\t\r\n\t\t\t\t\tint MaxY = TheDuplicate.getHeight();\r\n\t\t\t\t\tint Midpoint = MaxY/2; \r\n\t\t\t\t\tint MaxCount = res.getCounter();\r\n\t\t\t\t\tdouble yVal = 0;\r\n\t\t\t\t\tdouble xVal = 0;\r\n\t\t\t\t\tif (MaxCount > 1){\r\n\t\t\t\t\t\tfor (int c = 0; c < (MaxCount - 1); c = c + 1){\r\n\t\t\t\t\t\t\tyVal = res.getValueAsDouble(7, c);\r\n\t\t\t\t\t\t\txVal = res.getValueAsDouble(6, c);\r\n\t\t\t\t\t\t\tif (Math.abs((yVal/0.13) - Midpoint) <= 10 ){\r\n\t\t\t\t\t\t\t\tyVal = res.getValueAsDouble(7, c);\r\n\t\t\t\t\t\t\t\txVal = res.getValueAsDouble(6, c);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\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 * if statement to only record the centre X Y \r\n\t\t\t\t\t * coordinate of the nucleus when 1 object has \r\n\t\t\t\t\t * been found. If more than 1 object is identified\r\n\t\t\t\t\t * then the XY coordinates default to zero to prevent \r\n\t\t\t\t\t * other fluorescent cell components from skewing the data\r\n\t\t\t\t\t */\r\n\t\t\t\t\tif (MaxCount > 0 && MaxCount <2) {\r\n\t\t\t\t\t\tyVal = res.getValueAsDouble(7, 0);\r\n\t\t\t\t\t\txVal = res.getValueAsDouble(6, 0);\r\n\t\t\t\t\t\tSliceNumY[z] = yVal;\r\n\t\t\t\t\t\tSliceNumX[z] = xVal; \r\n\t\t\t\t\t}\r\n\t\t\t\t\telse{\r\n\t\t\t\t\t\tSliceNumY[z] = 0;\r\n\t\t\t\t\t\tSliceNumX[z] = 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\toutputinfo(SliceNumY, SliceNumX, numslices); //Write the results to text file\r\n\t\t\tTheDuplicate.changes = false;\t\r\n\t\t\tTheDuplicate.close();\r\n\t\t}\r\n\t}", "public static void fix(World world) {\n \t\tFile regionFolder = new File(Bukkit.getWorldContainer() + File.separator + world.getName() + File.separator + \"region\");\r\n \t\tif (regionFolder.exists()) {\r\n \t\t\t// Loop through all region files of the world\r\n \t\t\tint dx, dz;\r\n \t\t\tint rx, rz;\r\n \t\t\tfor (String regionFileName : regionFolder.list()) {\r\n \t\t\t\t// Validate file\r\n \t\t\t\tFile file = new File(regionFolder + File.separator + regionFileName);\r\n \t\t\t\tif (!file.isFile() || !file.exists()) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \t\t\t\tString[] parts = regionFileName.split(\"\\\\.\");\r\n \t\t\t\tif (parts.length != 4 || !parts[0].equals(\"r\") || !parts[3].equals(\"mca\")) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \t\t\t\t// Obtain the chunk offset of this region file\r\n \t\t\t\ttry {\r\n \t\t\t\t\trx = Integer.parseInt(parts[1]) << 5;\r\n \t\t\t\t\trz = Integer.parseInt(parts[2]) << 5;\r\n \t\t\t\t} catch (Exception ex) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \r\n \t\t\t\t// Is it contained in the cache?\r\n \t\t\t\tReference<RegionFile> ref = RegionFileCacheRef.FILES.get(file);\r\n \t\t\t\tRegionFile reg = null;\r\n \t\t\t\tif (ref != null) {\r\n \t\t\t\t\treg = ref.get();\r\n \t\t\t\t}\r\n \t\t\t\tboolean closeOnFinish = false;\r\n \t\t\t\tif (reg == null) {\r\n \t\t\t\t\tcloseOnFinish = true;\r\n \t\t\t\t\t// Manually load this region file\r\n \t\t\t\t\treg = new RegionFile(file);\r\n \t\t\t\t}\r\n \t\t\t\t// Obtain all generated chunks in this region file\r\n \t\t\t\tfor (dx = 0; dx < 32; dx++) {\r\n \t\t\t\t\tfor (dz = 0; dz < 32; dz++) {\r\n \t\t\t\t\t\tif (reg.c(dx, dz)) {\r\n \t\t\t\t\t\t\t// Region file exists - add it\r\n\t\t\t\t\t\t\tfix(world, rx + dx, rz + dz, true);\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\tif (closeOnFinish) {\r\n \t\t\t\t\t// Close the region file stream - we are done with it\r\n \t\t\t\t\treg.c();\r\n \t\t\t\t}\r\n \t\t\t}\r\n\t\t} else {\r\n\t\t\tNoLagg.plugin.log(Level.WARNING, \"Failed to fix world '\" + world.getName() + \"': Region folder is missing!\");\r\n \t\t}\r\n \t}", "private void scanForBlockFarAway() {\r\n\t\tList<MapLocation> locations = gameMap.senseNearbyBlocks();\r\n\t\tlocations.removeAll(stairs);\r\n\t\tif (locations.size() == 0) {\r\n\t\t\tblockLoc = null;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t/* remove blocks that can be sensed */\r\n\t\tIterator<MapLocation> iter = locations.iterator();\r\n\t\twhile(iter.hasNext()) {\r\n\t\t\tMapLocation loc = iter.next();\r\n\t\t\tif (myRC.canSenseSquare(loc))\r\n\t\t\t\titer.remove();\r\n\t\t} \r\n\t\t\r\n\t\tlocations = navigation.sortLocationsByDistance(locations);\r\n\t\t//Collections.reverse(locations);\r\n\t\tfor (MapLocation block : locations) {\r\n\t\t\tif (gameMap.get(block).robotAtLocation == null){\r\n\t\t\t\t/* this location is unoccupied */\r\n\t\t\t\tblockLoc = block;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tblockLoc = null;\r\n\t}", "@Test\n public void testNonConsecutiveBlocks()\n {\n long blockSize = 1000;\n int noOfBlocks = (int)((testMeta.dataFile.length() / blockSize)\n + (((testMeta.dataFile.length() % blockSize) == 0) ? 0 : 1));\n\n testMeta.blockReader.beginWindow(1);\n\n for (int i = 0; i < 10; i++) {\n for (int j = 0; j < Math.ceil(noOfBlocks / 10.0); j++) {\n int blockNo = 10 * j + i;\n if (blockNo >= noOfBlocks) {\n continue;\n }\n BlockMetadata.FileBlockMetadata blockMetadata = new BlockMetadata.FileBlockMetadata(s3Directory + FILE_1,\n blockNo, blockNo * blockSize,\n blockNo == noOfBlocks - 1 ? testMeta.dataFile.length() : (blockNo + 1) * blockSize,\n blockNo == noOfBlocks - 1, blockNo - 1, testMeta.dataFile.length());\n testMeta.blockReader.blocksMetadataInput.process(blockMetadata);\n }\n }\n\n testMeta.blockReader.endWindow();\n\n List<Object> messages = testMeta.messageSink.collectedTuples;\n Assert.assertEquals(\"No of records\", testMeta.messages.size(), messages.size());\n\n Collections.sort(testMeta.messages, new Comparator<String[]>()\n {\n @Override\n public int compare(String[] rec1, String[] rec2)\n {\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n\n Collections.sort(messages, new Comparator<Object>()\n {\n @Override\n public int compare(Object object1, Object object2)\n {\n String[] rec1 = new String((byte[])object1).split(\",\");\n String[] rec2 = new String((byte[])object2).split(\",\");\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n for (int i = 0; i < messages.size(); i++) {\n byte[] msg = (byte[])messages.get(i);\n Assert.assertTrue(\"line \" + i, Arrays.equals(new String(msg).split(\",\"), testMeta.messages.get(i)));\n }\n }", "public void delete(){\r\n\t\tblocks = null;\r\n\t\ttry {\r\n\t\t\tfinalize();\r\n\t\t} catch (Throwable e) {\t}\r\n\t}", "private void removeMine(int i, int j) {\n current[i][j] = new Empty();\n for (int k = -1; k <= 1; k++) {\n for (int l = -1; l <= 1; l++) {\n //pas de omliggende vlaggetjes aan\n if ((k != 0 || l != 0) && inField(i + k, j + l) && current[i + k][j + l].isBound()) {\n current[i + k][j + l].increment();\n }\n }\n }\n }", "private void updateBlockBuffer() {\n for (Block b : blockBuffer) {\n if (++b.ttl > BLOCK_CACHE_THRESH) {\n blockBuffer.remove(b);\n }\n }\n\n prevBlockBufferSize = blockBuffer.size();\n }", "public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)\r\n {\r\n super.onBlockAdded(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n// this.func_149930_e(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n }", "public boolean willOverlap() {\n/* 208 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public final void mo118421b() {\n super.mo118421b();\n this.f120934a = null;\n }", "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "public int onBlockPlaced(World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9)\r\n/* 171: */ {\r\n/* 172:193 */ if (par9 < 12) {\r\n/* 173:194 */ return ForgeDirection.OPPOSITES[par5] + par9 & 0xF;\r\n/* 174: */ }\r\n/* 175:196 */ return par9 & 0xF;\r\n/* 176: */ }", "public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }", "public void clearAreaReset() {\n for(int x = 0; x < buildSize; x++) {\n for(int y = 4; y < 7; y++) {\n for(int z = 0; z < buildSize; z++) {\n myIal.removeBlock(x, y, z);\n }\n }\n }\n\n myIal.locx = 0; myIal.locy = 0; myIal.locz = 0;\n my2Ial.locx = 0; my2Ial.locy = 0; my2Ial.locz = 0;\n }", "private static Block registerBlockWithoutItem(String MODID, String name, Block b){\n return Registry.register(Registry.BLOCK, MODID+\":\"+name, b);\n }", "void removebranchGroupInU(int i,boolean dead)\n {\n if(dead==true)\n {\n \n if(controlArray[i]==true)\n {\n //branchGroupArray[i].detach();\n \n branchGroupArray[i]=null ;\n controlArray[i]=false ;\n }\n \n \n }\n \n else \n {\n if(controlArray[i]==true)\n {\n branchGroupArray[i].detach();\n //branchGroupArray[i]=null;\n controlArray[i]=false ;\n }\n }\n }", "@Test\n\tpublic void testForwardFrameShiftBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6647537, PositionType.ZERO_BASED),\n\t\t\t\t\"TGCCCCACCT\", \"CCC\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(6, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.1225_1234delinsCCC\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Cys409Profs*127\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION, VariantType.SPLICE_REGION),\n\t\t\t\tannotation1.effects);\n\t}", "@Test\n public void tesInvalidateMissingBlock() throws Exception {\n long blockSize = 1024;\n int heatbeatInterval = 1;\n HdfsConfiguration c = new HdfsConfiguration();\n c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heatbeatInterval);\n c.setLong(DFS_BLOCK_SIZE_KEY, blockSize);\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(c).\n numDataNodes(1).build();\n try {\n cluster.waitActive();\n DFSTestUtil.createFile(cluster.getFileSystem(), new Path(\"/a\"),\n blockSize, (short)1, 0);\n\n String bpid = cluster.getNameNode().getNamesystem().getBlockPoolId();\n DataNode dn = cluster.getDataNodes().get(0);\n FsDatasetImpl fsdataset = (FsDatasetImpl) dn.getFSDataset();\n List<ReplicaInfo> replicaInfos = fsdataset.getFinalizedBlocks(bpid);\n assertEquals(1, replicaInfos.size());\n\n ReplicaInfo replicaInfo = replicaInfos.get(0);\n String blockPath = replicaInfo.getBlockURI().getPath();\n String metaPath = replicaInfo.getMetadataURI().getPath();\n File blockFile = new File(blockPath);\n File metaFile = new File(metaPath);\n\n // Mock local block file not found when disk with some exception.\n fsdataset.invalidateMissingBlock(bpid, replicaInfo);\n\n // Assert local block file wouldn't be deleted from disk.\n assertTrue(blockFile.exists());\n // Assert block info would be removed from ReplicaMap.\n assertEquals(\"null\",\n fsdataset.getReplicaString(bpid, replicaInfo.getBlockId()));\n BlockManager blockManager = cluster.getNameNode().\n getNamesystem().getBlockManager();\n GenericTestUtils.waitFor(() ->\n blockManager.getLowRedundancyBlocksCount() == 1, 100, 5000);\n\n // Mock local block file found when disk back to normal.\n FsVolumeSpi.ScanInfo info = new FsVolumeSpi.ScanInfo(\n replicaInfo.getBlockId(), blockFile.getParentFile().getAbsoluteFile(),\n blockFile.getName(), metaFile.getName(), replicaInfo.getVolume());\n fsdataset.checkAndUpdate(bpid, info);\n GenericTestUtils.waitFor(() ->\n blockManager.getLowRedundancyBlocksCount() == 0, 100, 5000);\n } finally {\n cluster.shutdown();\n }\n }", "protected void processBlock() {\n\t\t// expand 16 word block into 64 word blocks.\n\t\t//\n\t\tfor (int t = 16; t <= 63; t++) {\n\t\t\tX[t] = Theta1(X[t - 2]) + X[t - 7] + Theta0(X[t - 15]) + X[t - 16];\n\t\t}\n\n\t\t//\n\t\t// set up working variables.\n\t\t//\n\t\tint a = H1;\n\t\tint b = H2;\n\t\tint c = H3;\n\t\tint d = H4;\n\t\tint e = H5;\n\t\tint f = H6;\n\t\tint g = H7;\n\t\tint h = H8;\n\n\t\tint t = 0;\n\t\tfor (int i = 0; i < 8; i++) {\n\t\t\t// t = 8 * i\n\t\t\th += Sum1(e) + Ch(e, f, g) + K[t] + X[t];\n\t\t\td += h;\n\t\t\th += Sum0(a) + Maj(a, b, c);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 1\n\t\t\tg += Sum1(d) + Ch(d, e, f) + K[t] + X[t];\n\t\t\tc += g;\n\t\t\tg += Sum0(h) + Maj(h, a, b);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 2\n\t\t\tf += Sum1(c) + Ch(c, d, e) + K[t] + X[t];\n\t\t\tb += f;\n\t\t\tf += Sum0(g) + Maj(g, h, a);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 3\n\t\t\te += Sum1(b) + Ch(b, c, d) + K[t] + X[t];\n\t\t\ta += e;\n\t\t\te += Sum0(f) + Maj(f, g, h);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 4\n\t\t\td += Sum1(a) + Ch(a, b, c) + K[t] + X[t];\n\t\t\th += d;\n\t\t\td += Sum0(e) + Maj(e, f, g);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 5\n\t\t\tc += Sum1(h) + Ch(h, a, b) + K[t] + X[t];\n\t\t\tg += c;\n\t\t\tc += Sum0(d) + Maj(d, e, f);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 6\n\t\t\tb += Sum1(g) + Ch(g, h, a) + K[t] + X[t];\n\t\t\tf += b;\n\t\t\tb += Sum0(c) + Maj(c, d, e);\n\t\t\t++t;\n\n\t\t\t// t = 8 * i + 7\n\t\t\ta += Sum1(f) + Ch(f, g, h) + K[t] + X[t];\n\t\t\te += a;\n\t\t\ta += Sum0(b) + Maj(b, c, d);\n\t\t\t++t;\n\t\t}\n\n\t\tH1 += a;\n\t\tH2 += b;\n\t\tH3 += c;\n\t\tH4 += d;\n\t\tH5 += e;\n\t\tH6 += f;\n\t\tH7 += g;\n\t\tH8 += h;\n\n\t\t//\n\t\t// reset the offset and clean out the word buffer.\n\t\t//\n\t\txOff = 0;\n\t\tfor (int i = 0; i < 16; i++) {\n\t\t\tX[i] = 0;\n\t\t}\n\t}", "private boolean complementsBlockBuffer(Block b) {\n for (Block i : blockBuffer) {\n if (b.prevHash.equals(i.hash)) {\n return true;\n }\n }\n return false;\n }", "void transform() {\n\t\tint oldline, newline;\n\t\tint oldmax = oldinfo.maxLine + 2; /* Count pseudolines at */\n\t\tint newmax = newinfo.maxLine + 2; /* ..front and rear of file */\n\n\t\tfor (oldline = 0; oldline < oldmax; oldline++)\n\t\t\toldinfo.other[oldline] = -1;\n\t\tfor (newline = 0; newline < newmax; newline++)\n\t\t\tnewinfo.other[newline] = -1;\n\n\t\tscanunique(); /* scan for lines used once in both files */\n\t\tscanafter(); /* scan past sure-matches for non-unique blocks */\n\t\tscanbefore(); /* scan backwards from sure-matches */\n\t\tscanblocks(); /* find the fronts and lengths of blocks */\n\t}", "private void cleanProblematicOverlappedRegions(RegionLocations locations) {\n RegionInfo region = locations.getRegionLocation().getRegion();\n\n boolean isLast = isEmptyStopRow(region.getEndKey());\n\n while (true) {\n Map.Entry<byte[], RegionLocations> overlap =\n isLast ? cache.lastEntry() : cache.lowerEntry(region.getEndKey());\n if (\n overlap == null || overlap.getValue() == locations\n || Bytes.equals(overlap.getKey(), region.getStartKey())\n ) {\n break;\n }\n\n if (LOG.isDebugEnabled()) {\n LOG.debug(\n \"Removing cached location {} (endKey={}) because it overlaps with \"\n + \"new location {} (endKey={})\",\n overlap.getValue(),\n Bytes.toStringBinary(overlap.getValue().getRegionLocation().getRegion().getEndKey()),\n locations, Bytes.toStringBinary(locations.getRegionLocation().getRegion().getEndKey()));\n }\n\n cache.remove(overlap.getKey());\n }\n }", "public void movB(){\r\n\t\tint aux1[][]= new int [3][1];\r\n\t\tint aux2[][]= new int [3][1];\r\n\t\tint aux3[][]= new int [3][1];\r\n\t\tint aux4[][]= new int [3][1];\r\n\t\t\r\n\t\taux1=this.cloneF(5, 2);//copiamos el del bloque 5 la fila 3\r\n\t\taux2=this.cloneC(2, 2);\r\n\t\taux3=this.cloneF(4, 0);\r\n\t\taux4=this.cloneC(0, 0);\r\n\t\t\r\n\t\tthis.copiaEnFilaUnaColumna(aux4, 5, 2);\r\n\t\tthis.copiaEnColumnaUnaFila(aux1, 2, 2);\r\n\t\tthis.copiaEnFilaUnaColumna(aux2, 4, 0);\r\n\t\tthis.copiaEnColumnaUnaFila(aux3, 0, 0);\r\n\t\t\r\n\t\t\r\n\t}", "protected void removeLine(int row) {\n\t\t// clear out the true values from row/filled blocks\n\t\tfor(int j = 0; j < blockMatrix[row].length; j++) { \n\t\t\tblockMatrix[row][j] = false; \n\t\t}\n\t}", "public void uncoverContiguous( int r , int c )\n { \n \n Stack<MineTile> stack = new Stack<MineTile>();\n stack.add(mineField[r][c]);\n \n while(!stack.empty())\n {\n MineTile curTile = stack.pop();\n r = curTile.getRow();\n c = curTile.getCol();\n for(int i = r-1; i <= r+1; i++)\n {\n for(int j = c-1; j <= c+1; j++)\n {\n if(isValid(i, j))\n {\n if(mineField[i][j].isCovered() & mineField[i][j].getCount() == 0)\n {\n stack.add(mineField[i][j]);\n }\n mineField[i][j].uncover();\n }\n \n } \n \n }\n \n }\n }", "public boolean generate(World paramaqu, Random paramRandom, BlockPosition paramdt)\r\n/* 13: */ {\r\n/* 14:22 */ while ((paramaqu.isEmpty(paramdt)) && (paramdt.getY() > 2)) {\r\n/* 15:23 */ paramdt = paramdt.down();\r\n/* 16: */ }\r\n/* 17:26 */ if (!a.apply(paramaqu.getBlock(paramdt))) {\r\n/* 18:27 */ return false;\r\n/* 19: */ }\r\n/* 20: */ int k;\r\n/* 21:31 */ for (int i = -2; i <= 2; i++) {\r\n/* 22:32 */ for (k = -2; k <= 2; k++) {\r\n/* 23:33 */ if ((paramaqu.isEmpty(paramdt.offset(i, -1, k))) && (paramaqu.isEmpty(paramdt.offset(i, -2, k)))) {\r\n/* 24:34 */ return false;\r\n/* 25: */ }\r\n/* 26: */ }\r\n/* 27: */ }\r\n/* 28:40 */ for (int i = -1; i <= 0; i++) {\r\n/* 29:41 */ for (k = -2; k <= 2; k++) {\r\n/* 30:42 */ for (int n = -2; n <= 2; n++) {\r\n/* 31:43 */ paramaqu.setBlock(paramdt.offset(k, i, n), this.c, 2);\r\n/* 32: */ }\r\n/* 33: */ }\r\n/* 34: */ }\r\n/* 35:49 */ paramaqu.setBlock(paramdt, this.d, 2);\r\n/* 36:50 */ for (EnumDirection localej : EnumHorizontalVertical.HORIZONTAL) {\r\n/* 37:51 */ paramaqu.setBlock(paramdt.offset(localej), this.d, 2);\r\n/* 38: */ }\r\n/* 39: */ int m;\r\n/* 40:55 */ for (int j = -2; j <= 2; j++) {\r\n/* 41:56 */ for (m = -2; m <= 2; m++) {\r\n/* 42:57 */ if ((j == -2) || (j == 2) || (m == -2) || (m == 2)) {\r\n/* 43:58 */ paramaqu.setBlock(paramdt.offset(j, 1, m), this.c, 2);\r\n/* 44: */ }\r\n/* 45: */ }\r\n/* 46: */ }\r\n/* 47:63 */ paramaqu.setBlock(paramdt.offset(2, 1, 0), this.b, 2);\r\n/* 48:64 */ paramaqu.setBlock(paramdt.offset(-2, 1, 0), this.b, 2);\r\n/* 49:65 */ paramaqu.setBlock(paramdt.offset(0, 1, 2), this.b, 2);\r\n/* 50:66 */ paramaqu.setBlock(paramdt.offset(0, 1, -2), this.b, 2);\r\n/* 51:69 */ for (int j = -1; j <= 1; j++) {\r\n/* 52:70 */ for (m = -1; m <= 1; m++) {\r\n/* 53:71 */ if ((j == 0) && (m == 0)) {\r\n/* 54:72 */ paramaqu.setBlock(paramdt.offset(j, 4, m), this.c, 2);\r\n/* 55: */ } else {\r\n/* 56:74 */ paramaqu.setBlock(paramdt.offset(j, 4, m), this.b, 2);\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }\r\n/* 60:80 */ for (int j = 1; j <= 3; j++)\r\n/* 61: */ {\r\n/* 62:81 */ paramaqu.setBlock(paramdt.offset(-1, j, -1), this.c, 2);\r\n/* 63:82 */ paramaqu.setBlock(paramdt.offset(-1, j, 1), this.c, 2);\r\n/* 64:83 */ paramaqu.setBlock(paramdt.offset(1, j, -1), this.c, 2);\r\n/* 65:84 */ paramaqu.setBlock(paramdt.offset(1, j, 1), this.c, 2);\r\n/* 66: */ }\r\n/* 67:87 */ return true;\r\n/* 68: */ }", "private void exitSequence_mainRegion_State2__region0_State5() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}", "@Test (timeout=180000)\n public void testLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(\"B\");\n\n // Delete one region from meta, but not hdfs, unassign it.\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, false);\n\n // Create a new meta entry to fake it as a split parent.\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n HRegionInfo a = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"B\"), Bytes.toBytes(\"BM\"));\n HRegionInfo b = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"BM\"), Bytes.toBytes(\"C\"));\n\n hri.setOffline(true);\n hri.setSplit(true);\n\n MetaTableAccessor.addRegionToMeta(meta, hri, a, b);\n meta.close();\n admin.flush(TableName.META_TABLE_NAME);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // regular repair cannot fix lingering split parent\n hbck = doFsck(conf, true);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN });\n assertFalse(hbck.shouldRerun());\n hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // fix lingering split parent\n hbck = new HBaseFsck(conf, hbfsckExecutorService);\n hbck.connect();\n hbck.setDisplayFullReport(); // i.e. -details\n hbck.setTimeLag(0);\n hbck.setFixSplitParents(true);\n hbck.onlineHbck();\n assertTrue(hbck.shouldRerun());\n hbck.close();\n\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITA_QUALIFIER).isEmpty());\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITB_QUALIFIER).isEmpty());\n admin.flush(TableName.META_TABLE_NAME);\n\n // fix other issues\n doFsck(conf, true);\n\n // check that all are fixed\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }", "public void BeforeClearSpaceBlockReplaced(BlockPos pos) {\n }", "public boolean renderAsNormalBlock()\r\n/* 166: */ {\r\n/* 167:184 */ return false;\r\n/* 168: */ }", "public void deleteSelected() {\r\n \t\tObject cells[] = graph.getSelectionCells();\r\n \t\tGraphModel graphmodel = graph.getModel();\r\n \r\n \t\t// If a cell is a blocking region avoid removing its edges and\r\n \t\t// select its element at the end of the removal process\r\n \t\tSet edges = new HashSet();\r\n \t\tSet<Object> select = new HashSet<Object>();\r\n \r\n \t\t// Set with all regions that can be deleted as its child were removed\r\n \t\tSet<Object> regions = new HashSet<Object>();\r\n \t\t// Set with all JmtCells that we are removing\r\n \t\tSet<Object> jmtCells = new HashSet<Object>();\r\n \r\n \t\t// Giuseppe De Cicco & Fabio Granara\r\n \t\t// for(int k=0; k<cells.length; k++){\r\n \t\t// if(cells[k] instanceof JmtEdge){\r\n \t\t// ((JmtCell)(graphmodel.getParent(graphmodel.getSource((JmtEdge)cells[k])))).SubOut();\r\n \t\t// ((JmtCell)(graphmodel.getParent(graphmodel.getTarget((JmtEdge)cells[k])))).SubIn();\r\n \t\t// }\r\n \t\t//\r\n \t\t// }\r\n \t\tfor (int i = 0; i < cells.length; i++) {\r\n \t\t\tif (!(cells[i] instanceof BlockingRegion)) {\r\n \t\t\t\t// Adds edge for removal\r\n \t\t\t\tedges.addAll(DefaultGraphModel.getEdges(graphmodel, new Object[] { cells[i] }));\r\n \t\t\t\t// Giuseppe De Cicco & Fabio Granara\r\n \t\t\t\t// quando vado a eliminare un nodo, a cui collegato un arco,\r\n \t\t\t\t// vado ad incrementare o diminuire il contatore per il\r\n \t\t\t\t// pulsanteAGGIUSTATUTTO\r\n \t\t\t\t// Iterator iter = edges.iterator();\r\n \t\t\t\t// while (iter.hasNext()) {\r\n \t\t\t\t// Object next = iter.next();\r\n \t\t\t\t// if (next instanceof JmtEdge){\r\n \t\t\t\t// ((JmtCell)(graphmodel.getParent(graphmodel.getSource((JmtEdge)next)))).SubOut();\r\n \t\t\t\t// ((JmtCell)(graphmodel.getParent(graphmodel.getTarget((JmtEdge)next)))).SubIn();\r\n \t\t\t\t// }\r\n \t\t\t\t//\r\n \t\t\t\t// }\r\n \t\t\t\t// Stores parents information and cell\r\n \t\t\t\tif (cells[i] instanceof JmtCell) {\r\n \t\t\t\t\tif (((JmtCell) cells[i]).getParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t\tregions.add(((JmtCell) cells[i]).getParent());\r\n \t\t\t\t\t}\r\n \t\t\t\t\tjmtCells.add(cells[i]);\r\n \t\t\t\t}\r\n \t\t\t} else {\r\n \t\t\t\t// Adds node for selection\r\n \t\t\t\tObject[] nodes = graph.getDescendants(new Object[] { cells[i] });\r\n \t\t\t\tfor (Object node : nodes) {\r\n \t\t\t\t\tif (node instanceof JmtCell || node instanceof JmtEdge) {\r\n \t\t\t\t\t\tselect.add(node);\r\n \t\t\t\t\t}\r\n \t\t\t\t}\r\n \t\t\t\t// Removes blocking region from data structure\r\n \t\t\t\tmodel.deleteBlockingRegion(((BlockingRegion) cells[i]).getKey());\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\tif (!edges.isEmpty()) {\r\n \t\t\tgraphmodel.remove(edges.toArray());\r\n \t\t}\r\n \t\t// removes cells from graph\r\n \t\tgraphmodel.remove(cells);\r\n \r\n \t\t// Checks if all children of a blocking region have been removed\r\n \t\tIterator<Object> it = regions.iterator();\r\n \t\twhile (it.hasNext()) {\r\n \t\t\tjmtCells.add(null);\r\n \t\t\tBlockingRegion region = (BlockingRegion) it.next();\r\n \t\t\tList child = region.getChildren();\r\n \t\t\tboolean empty = true;\r\n \t\t\tfor (int i = 0; i < child.size(); i++) {\r\n \t\t\t\tif (child.get(i) instanceof JmtCell && !jmtCells.contains(child.get(i))) {\r\n \t\t\t\t\tempty = false;\r\n \t\t\t\t\tbreak;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\tif (empty) {\r\n \t\t\t\tmodel.deleteBlockingRegion(region.getKey());\r\n \t\t\t\tgraphmodel.remove(new Object[] { region });\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\t// Removes cells from data structure\r\n \t\tfor (Object cell : cells) {\r\n \t\t\tif (cell instanceof JmtCell) {\r\n \t\t\t\tmodel.deleteStation(((CellComponent) ((JmtCell) cell).getUserObject()).getKey());\r\n \t\t\t} else if (cell instanceof JmtEdge) {\r\n \t\t\t\tJmtEdge link = (JmtEdge) cell;\r\n \t\t\t\tmodel.setConnected(link.getSourceKey(), link.getTargetKey(), false);\r\n \t\t\t}\r\n \t\t}\r\n \r\n \t\t// If no stations remains gray select and link buttons\r\n \t\tif (graph.getModel().getRootCount() == 0) {\r\n \t\t\tcomponentBar.clearButtonGroupSelection(0);\r\n \t\t\tsetConnect.setEnabled(false);\r\n \t\t\tsetSelect.setEnabled(false);\r\n \t\t}\r\n \r\n \t\t// Selects components from removed blocking regions\r\n \t\tif (select.size() > 0) {\r\n \t\t\tgraph.setSelectionCells(select.toArray());\r\n \t\t\t// Resets parent information of cells that changed parent\r\n \t\t\tit = select.iterator();\r\n \t\t\twhile (it.hasNext()) {\r\n \t\t\t\tObject next = it.next();\r\n \t\t\t\tif (next instanceof JmtCell) {\r\n \t\t\t\t\t((JmtCell) next).resetParent();\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t}", "private void m29109d() {\n PersistentConfiguration cVar = this.f22554b;\n if (cVar != null) {\n if (C6804i.m29033a(cVar.getString(\"UTDID2\"))) {\n String string = this.f22554b.getString(\"UTDID\");\n if (!C6804i.m29033a(string)) {\n m29110f(string);\n }\n }\n boolean z = false;\n String str = \"DID\";\n if (!C6804i.m29033a(this.f22554b.getString(str))) {\n this.f22554b.remove(str);\n z = true;\n }\n String str2 = \"EI\";\n if (!C6804i.m29033a(this.f22554b.getString(str2))) {\n this.f22554b.remove(str2);\n z = true;\n }\n String str3 = \"SI\";\n if (!C6804i.m29033a(this.f22554b.getString(str3))) {\n this.f22554b.remove(str3);\n z = true;\n }\n if (z) {\n this.f22554b.commit();\n }\n }\n }", "@Test\n public void testSafeBlocks() {\n IntStream.iterate(0, i -> i + 1).limit(LevelImpl.LEVEL_MAX).forEach(k -> {\n terrain = terrainFactory.create(level.getBlocksNumber());\n /* use 0 and 1 position because the margin blocks are inserted initially*/\n assertEquals(new Position(3 * TerrainFactoryImpl.CELL_DIMENSION * ScreenToolUtils.SCALE, \n TerrainFactoryImpl.CELL_DIMENSION * ScreenToolUtils.SCALE), terrain.getBlocks().get(0).getPosition());\n assertEquals(new Position(TerrainFactoryImpl.CELL_DIMENSION * ScreenToolUtils.SCALE,\n 3 * TerrainFactoryImpl.CELL_DIMENSION * ScreenToolUtils.SCALE), terrain.getBlocks().get(1).getPosition());\n level.levelUp();\n });\n }", "public LinearGenomeShrinkMutation(){\n\t\tnumberGenesToRemove = 1;\n\t}", "public void onNewBlock(long height);", "@Override\n \t/**\n \t * Called when the block is placed in the world.\n \t */\n \tpublic void auxiliaryOnBlockPlacedBy(TECarpentersBlock TE, World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack)\n \t{\n \t\tif (!entityLiving.isSneaking())\n \t\t{\n \t\t\t/* Match adjacent collapsible quadrant heights. */\n \t\t\t\n \t\t\tTECarpentersBlock TE_XN = world.getBlockId(x - 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x - 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_XP = world.getBlockId(x + 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x + 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_ZN = world.getBlockId(x, y, z - 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z - 1) : null;\n \t\t\tTECarpentersBlock TE_ZP = world.getBlockId(x, y, z + 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z + 1) : null;\n \n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNP));\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZNP));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZPN));\n \t\t\t}\n \t\t}\n \t}" ]
[ "0.60035694", "0.58804494", "0.58722514", "0.58620566", "0.57863706", "0.5742542", "0.57405627", "0.5642168", "0.5629643", "0.55668354", "0.55658466", "0.55267453", "0.5470609", "0.5428829", "0.5426803", "0.5419189", "0.5410558", "0.53977555", "0.53891355", "0.5383511", "0.53662467", "0.5360286", "0.53571534", "0.5354723", "0.5317377", "0.5292441", "0.5288306", "0.52854764", "0.5284478", "0.5281221", "0.52768743", "0.5240035", "0.52325207", "0.52301925", "0.52296245", "0.5228722", "0.5223488", "0.52128035", "0.5212085", "0.52094847", "0.5205731", "0.5181155", "0.51790047", "0.51763403", "0.5171394", "0.5144988", "0.51413953", "0.5140495", "0.51323247", "0.51288754", "0.5127715", "0.51249844", "0.5121759", "0.51174474", "0.5114496", "0.5106819", "0.5106706", "0.5096404", "0.5095006", "0.5088727", "0.50874865", "0.50862265", "0.50795835", "0.50720114", "0.5064719", "0.5064398", "0.50626016", "0.5059737", "0.5058636", "0.50582623", "0.5057913", "0.505358", "0.50526506", "0.5044436", "0.5037079", "0.50341874", "0.50336325", "0.50311655", "0.5028613", "0.5027604", "0.5025548", "0.50245196", "0.5023859", "0.5019801", "0.50180477", "0.5014579", "0.50129646", "0.5006963", "0.500633", "0.5005735", "0.50055426", "0.5003829", "0.5002184", "0.50011176", "0.4998903", "0.49976432", "0.4996437", "0.49931267", "0.49925378", "0.49790904", "0.49749187" ]
0.0
-1
/ renamed from: a
public static int m37637a(AbstractC6151au auVar) { try { if (AuthConfigManager.m38491b()) { return 4; } if (auVar != null && !auVar.mo41518i()) { return 1; } return 2 == (!AuthConfigManager.m38485a() ? (char) 1 : 2) ? 2 : 1; } catch (Throwable th) { SDKLogHandler.m37519b(th, "htu", "gt"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
private MySSLSocketFactory m37638a() { try { if (f25720m == null || f25720m.get() == null) { f25720m = new SoftReference<>(new MySSLSocketFactory(AuthConfigManager.f26522c, this.f25724d)); } MySSLSocketFactory atVar = f25719k != null ? f25720m.get() : null; return atVar == null ? new MySSLSocketFactory(AuthConfigManager.f26522c, this.f25724d) : atVar; } catch (Throwable th) { SDKLogHandler.m37519b(th, "ht", "gsf"); return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:72:0x0139 A[SYNTHETIC, Splitter:B:72:0x0139] / JADX WARNING: Removed duplicated region for block: B:77:0x0149 A[SYNTHETIC, Splitter:B:77:0x0149] / JADX WARNING: Removed duplicated region for block: B:82:0x0159 A[SYNTHETIC, Splitter:B:82:0x0159] / JADX WARNING: Removed duplicated region for block: B:87:0x0169 A[SYNTHETIC, Splitter:B:87:0x0169] / renamed from: a
private ResponseEntity m37639a(C6148a aVar) throws AMapCoreException, IOException { Throwable th; PushbackInputStream pushbackInputStream; InputStream inputStream; PushbackInputStream pushbackInputStream2; PushbackInputStream pushbackInputStream3; Throwable th2; List<String> list; String str = ""; ByteArrayOutputStream byteArrayOutputStream = null; try { long currentTimeMillis = System.currentTimeMillis(); HttpURLConnection httpURLConnection = aVar.f25732a; httpURLConnection.connect(); Map<String, List<String>> headerFields = httpURLConnection.getHeaderFields(); int responseCode = httpURLConnection.getResponseCode(); if (!(headerFields == null || (list = headerFields.get("gsid")) == null || list.size() <= 0)) { str = list.get(0); } if (responseCode == 200) { m37642a(aVar, false, currentTimeMillis, System.currentTimeMillis()); ByteArrayOutputStream byteArrayOutputStream2 = new ByteArrayOutputStream(); try { inputStream = httpURLConnection.getInputStream(); try { pushbackInputStream = new PushbackInputStream(inputStream, 2); try { byte[] bArr = new byte[2]; pushbackInputStream.read(bArr); pushbackInputStream.unread(bArr); FilterInputStream gZIPInputStream = (bArr[0] == 31 && bArr[1] == -117) ? new GZIPInputStream(pushbackInputStream) : pushbackInputStream; byte[] bArr2 = new byte[1024]; while (true) { int read = gZIPInputStream.read(bArr2); if (read == -1) { break; } byteArrayOutputStream2.write(bArr2, 0, read); } SDKLogHandler.m37520c(); ResponseEntity avVar = new ResponseEntity(); avVar.f25744a = byteArrayOutputStream2.toByteArray(); avVar.f25745b = headerFields; avVar.f25746c = this.f25729i; avVar.f25747d = str; try { byteArrayOutputStream2.close(); } catch (Throwable th3) { BasicLogHandler.m38679a(th3, "ht", "par"); } if (inputStream != null) { try { inputStream.close(); } catch (Throwable th4) { BasicLogHandler.m38679a(th4, "ht", "par"); } } try { pushbackInputStream.close(); } catch (Throwable th5) { BasicLogHandler.m38679a(th5, "ht", "par"); } try { gZIPInputStream.close(); } catch (Throwable th6) { BasicLogHandler.m38679a(th6, "ht", "par"); } return avVar; } catch (IOException unused) { byteArrayOutputStream = byteArrayOutputStream2; pushbackInputStream3 = null; try { throw new AMapCoreException("IO 操作异常 - IOException", str, this.f25729i); } catch (Throwable th7) { pushbackInputStream2 = pushbackInputStream3; th = th7; if (byteArrayOutputStream != null) { } if (inputStream != null) { } if (pushbackInputStream != null) { } if (pushbackInputStream2 != null) { } throw th; } } catch (Throwable th8) { byteArrayOutputStream = byteArrayOutputStream2; th = th8; pushbackInputStream2 = null; if (byteArrayOutputStream != null) { } if (inputStream != null) { } if (pushbackInputStream != null) { } if (pushbackInputStream2 != null) { } throw th; } } catch (IOException unused2) { pushbackInputStream = null; byteArrayOutputStream = byteArrayOutputStream2; pushbackInputStream3 = pushbackInputStream; throw new AMapCoreException("IO 操作异常 - IOException", str, this.f25729i); } catch (Throwable th9) { th2 = th9; pushbackInputStream = null; byteArrayOutputStream = byteArrayOutputStream2; th = th2; pushbackInputStream2 = pushbackInputStream; if (byteArrayOutputStream != null) { } if (inputStream != null) { } if (pushbackInputStream != null) { } if (pushbackInputStream2 != null) { } throw th; } } catch (IOException unused3) { inputStream = null; pushbackInputStream = null; byteArrayOutputStream = byteArrayOutputStream2; pushbackInputStream3 = pushbackInputStream; throw new AMapCoreException("IO 操作异常 - IOException", str, this.f25729i); } catch (Throwable th10) { th2 = th10; inputStream = null; pushbackInputStream = null; byteArrayOutputStream = byteArrayOutputStream2; th = th2; pushbackInputStream2 = pushbackInputStream; if (byteArrayOutputStream != null) { try { byteArrayOutputStream.close(); } catch (Throwable th11) { BasicLogHandler.m38679a(th11, "ht", "par"); } } if (inputStream != null) { try { inputStream.close(); } catch (Throwable th12) { BasicLogHandler.m38679a(th12, "ht", "par"); } } if (pushbackInputStream != null) { try { pushbackInputStream.close(); } catch (Throwable th13) { BasicLogHandler.m38679a(th13, "ht", "par"); } } if (pushbackInputStream2 != null) { try { pushbackInputStream2.close(); } catch (Throwable th14) { BasicLogHandler.m38679a(th14, "ht", "par"); } } throw th; } } else { AMapCoreException jVar = new AMapCoreException("网络异常原因:" + httpURLConnection.getResponseMessage() + " 网络异常状态码:" + responseCode + " " + str + " " + this.f25729i, str, this.f25729i); jVar.mo41849a(responseCode); throw jVar; } } catch (IOException unused4) { pushbackInputStream3 = null; inputStream = null; pushbackInputStream = null; throw new AMapCoreException("IO 操作异常 - IOException", str, this.f25729i); } catch (Throwable th15) { th = th15; pushbackInputStream2 = null; inputStream = null; pushbackInputStream = null; if (byteArrayOutputStream != null) { } if (inputStream != null) { } if (pushbackInputStream != null) { } if (pushbackInputStream2 != null) { } throw th; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test (timeout=180000)\n public void testLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(\"B\");\n\n // Delete one region from meta, but not hdfs, unassign it.\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, false);\n\n // Create a new meta entry to fake it as a split parent.\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n HRegionInfo a = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"B\"), Bytes.toBytes(\"BM\"));\n HRegionInfo b = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"BM\"), Bytes.toBytes(\"C\"));\n\n hri.setOffline(true);\n hri.setSplit(true);\n\n MetaTableAccessor.addRegionToMeta(meta, hri, a, b);\n meta.close();\n admin.flush(TableName.META_TABLE_NAME);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // regular repair cannot fix lingering split parent\n hbck = doFsck(conf, true);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN });\n assertFalse(hbck.shouldRerun());\n hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // fix lingering split parent\n hbck = new HBaseFsck(conf, hbfsckExecutorService);\n hbck.connect();\n hbck.setDisplayFullReport(); // i.e. -details\n hbck.setTimeLag(0);\n hbck.setFixSplitParents(true);\n hbck.onlineHbck();\n assertTrue(hbck.shouldRerun());\n hbck.close();\n\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITA_QUALIFIER).isEmpty());\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITB_QUALIFIER).isEmpty());\n admin.flush(TableName.META_TABLE_NAME);\n\n // fix other issues\n doFsck(conf, true);\n\n // check that all are fixed\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }", "@Test (timeout=180000)\n public void testValidLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(Bytes.toBytes(\"B\"));\n\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n // do a regular split\n byte[] regionName = location.getRegionInfo().getRegionName();\n admin.splitRegion(location.getRegionInfo().getRegionName(), Bytes.toBytes(\"BM\"));\n TestEndToEndSplitTransaction.blockUntilRegionSplit(conf, 60000, regionName, true);\n\n // TODO: fixHdfsHoles does not work against splits, since the parent dir lingers on\n // for some time until children references are deleted. HBCK erroneously sees this as\n // overlapping regions\n HBaseFsck hbck = doFsck(\n conf, true, true, false, false, false, true, true, true, false, false, false, null);\n assertErrors(hbck, new ERROR_CODE[] {}); //no LINGERING_SPLIT_PARENT reported\n\n // assert that the split hbase:meta entry is still there.\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertNotNull(result);\n assertNotNull(MetaTableAccessor.getHRegionInfo(result));\n\n assertEquals(ROWKEYS.length, countRows());\n\n // assert that we still have the split regions\n assertEquals(tbl.getStartKeys().length, SPLITS.length + 1 + 1); //SPLITS + 1 is # regions pre-split.\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }", "void reportSplit(HRegionInfo oldRegion, HRegionInfo newRegionA,\n HRegionInfo newRegionB) {\n \n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_SPLIT, oldRegion,\n (oldRegion.getRegionNameAsString() + \" split; daughters: \" +\n newRegionA.getRegionNameAsString() + \", \" +\n newRegionB.getRegionNameAsString()).getBytes()));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionA));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionB));\n }", "@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Test(timeout=75000)\n public void testSplitDaughtersNotInMeta() throws Exception {\n TableName table = TableName.valueOf(\"testSplitdaughtersNotInMeta\");\n Table meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(Bytes.toBytes(\"B\"));\n\n HRegionInfo hri = location.getRegionInfo();\n\n // Disable CatalogJanitor to prevent it from cleaning up the parent region\n // after split.\n admin.enableCatalogJanitor(false);\n\n // do a regular split\n byte[] regionName = location.getRegionInfo().getRegionName();\n admin.splitRegion(location.getRegionInfo().getRegionName(), Bytes.toBytes(\"BM\"));\n TestEndToEndSplitTransaction.blockUntilRegionSplit(conf, 60000, regionName, true);\n\n PairOfSameType<HRegionInfo> daughters =\n MetaTableAccessor.getDaughterRegions(meta.get(new Get(regionName)));\n\n // Delete daughter regions from meta, but not hdfs, unassign it.\n Map<HRegionInfo, ServerName> hris = tbl.getRegionLocations();\n undeployRegion(connection, hris.get(daughters.getFirst()), daughters.getFirst());\n undeployRegion(connection, hris.get(daughters.getSecond()), daughters.getSecond());\n\n List<Delete> deletes = new ArrayList<>();\n deletes.add(new Delete(daughters.getFirst().getRegionName()));\n deletes.add(new Delete(daughters.getSecond().getRegionName()));\n meta.delete(deletes);\n\n // Remove daughters from regionStates\n RegionStates regionStates = TEST_UTIL.getMiniHBaseCluster().getMaster().\n getAssignmentManager().getRegionStates();\n regionStates.deleteRegion(daughters.getFirst());\n regionStates.deleteRegion(daughters.getSecond());\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck,\n new ERROR_CODE[] { ERROR_CODE.NOT_IN_META_OR_DEPLOYED, ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN }); //no LINGERING_SPLIT_PARENT\n\n // now fix it. The fix should not revert the region split, but add daughters to META\n hbck = doFsck(\n conf, true, true, false, false, false, false, false, false, false, false, false, null);\n assertErrors(hbck,\n new ERROR_CODE[] { ERROR_CODE.NOT_IN_META_OR_DEPLOYED, ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN });\n\n // assert that the split hbase:meta entry is still there.\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertNotNull(result);\n assertNotNull(MetaTableAccessor.getHRegionInfo(result));\n\n assertEquals(ROWKEYS.length, countRows());\n\n // assert that we still have the split regions\n assertEquals(tbl.getStartKeys().length, SPLITS.length + 1 + 1); //SPLITS + 1 is # regions pre-split.\n assertNoErrors(doFsck(conf, false)); //should be fixed by now\n } finally {\n admin.enableCatalogJanitor(true);\n meta.close();\n cleanupTable(table);\n }\n }", "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Test\n public void testNonConsecutiveBlocks()\n {\n long blockSize = 1000;\n int noOfBlocks = (int)((testMeta.dataFile.length() / blockSize)\n + (((testMeta.dataFile.length() % blockSize) == 0) ? 0 : 1));\n\n testMeta.blockReader.beginWindow(1);\n\n for (int i = 0; i < 10; i++) {\n for (int j = 0; j < Math.ceil(noOfBlocks / 10.0); j++) {\n int blockNo = 10 * j + i;\n if (blockNo >= noOfBlocks) {\n continue;\n }\n BlockMetadata.FileBlockMetadata blockMetadata = new BlockMetadata.FileBlockMetadata(s3Directory + FILE_1,\n blockNo, blockNo * blockSize,\n blockNo == noOfBlocks - 1 ? testMeta.dataFile.length() : (blockNo + 1) * blockSize,\n blockNo == noOfBlocks - 1, blockNo - 1, testMeta.dataFile.length());\n testMeta.blockReader.blocksMetadataInput.process(blockMetadata);\n }\n }\n\n testMeta.blockReader.endWindow();\n\n List<Object> messages = testMeta.messageSink.collectedTuples;\n Assert.assertEquals(\"No of records\", testMeta.messages.size(), messages.size());\n\n Collections.sort(testMeta.messages, new Comparator<String[]>()\n {\n @Override\n public int compare(String[] rec1, String[] rec2)\n {\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n\n Collections.sort(messages, new Comparator<Object>()\n {\n @Override\n public int compare(Object object1, Object object2)\n {\n String[] rec1 = new String((byte[])object1).split(\",\");\n String[] rec2 = new String((byte[])object2).split(\",\");\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n for (int i = 0; i < messages.size(); i++) {\n byte[] msg = (byte[])messages.get(i);\n Assert.assertTrue(\"line \" + i, Arrays.equals(new String(msg).split(\",\"), testMeta.messages.get(i)));\n }\n }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "@Test (timeout=180000)\n public void testSidelineOverlapRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"testSidelineOverlapRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap\n MiniHBaseCluster cluster = TEST_UTIL.getHBaseCluster();\n HMaster master = cluster.getMaster();\n HRegionInfo hriOverlap1 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"AB\"));\n master.assignRegion(hriOverlap1);\n master.getAssignmentManager().waitForAssignment(hriOverlap1);\n HRegionInfo hriOverlap2 =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"AB\"), Bytes.toBytes(\"B\"));\n master.assignRegion(hriOverlap2);\n master.getAssignmentManager().waitForAssignment(hriOverlap2);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS, ERROR_CODE.OVERLAP_IN_REGION_CHAIN});\n assertEquals(3, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // mess around the overlapped regions, to trigger NotServingRegionException\n Multimap<byte[], HbckInfo> overlapGroups = hbck.getOverlapGroups(table);\n ServerName serverName = null;\n byte[] regionName = null;\n for (HbckInfo hbi: overlapGroups.values()) {\n if (\"A\".equals(Bytes.toString(hbi.getStartKey()))\n && \"B\".equals(Bytes.toString(hbi.getEndKey()))) {\n regionName = hbi.getRegionName();\n\n // get an RS not serving the region to force bad assignment info in to META.\n int k = cluster.getServerWith(regionName);\n for (int i = 0; i < 3; i++) {\n if (i != k) {\n HRegionServer rs = cluster.getRegionServer(i);\n serverName = rs.getServerName();\n break;\n }\n }\n\n HBaseFsckRepair.closeRegionSilentlyAndWait((HConnection) connection,\n cluster.getRegionServer(k).getServerName(), hbi.getHdfsHRI());\n admin.offline(regionName);\n break;\n }\n }\n\n assertNotNull(regionName);\n assertNotNull(serverName);\n try (Table meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService)) {\n Put put = new Put(regionName);\n put.add(HConstants.CATALOG_FAMILY, HConstants.SERVER_QUALIFIER,\n Bytes.toBytes(serverName.getHostAndPort()));\n meta.put(put);\n }\n\n // fix the problem.\n HBaseFsck fsck = new HBaseFsck(conf, hbfsckExecutorService);\n fsck.connect();\n fsck.setDisplayFullReport(); // i.e. -details\n fsck.setTimeLag(0);\n fsck.setFixAssignments(true);\n fsck.setFixMeta(true);\n fsck.setFixHdfsHoles(true);\n fsck.setFixHdfsOverlaps(true);\n fsck.setFixHdfsOrphans(true);\n fsck.setFixVersionFile(true);\n fsck.setSidelineBigOverlaps(true);\n fsck.setMaxMerge(2);\n fsck.onlineHbck();\n fsck.close();\n\n // verify that overlaps are fixed, and there are less rows\n // since one region is sidelined.\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertTrue(ROWKEYS.length > countRows());\n } finally {\n cleanupTable(table);\n }\n }", "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "public void cleanupOldBlocks (long threshTime) ;", "void transform() {\n\t\tint oldline, newline;\n\t\tint oldmax = oldinfo.maxLine + 2; /* Count pseudolines at */\n\t\tint newmax = newinfo.maxLine + 2; /* ..front and rear of file */\n\n\t\tfor (oldline = 0; oldline < oldmax; oldline++)\n\t\t\toldinfo.other[oldline] = -1;\n\t\tfor (newline = 0; newline < newmax; newline++)\n\t\t\tnewinfo.other[newline] = -1;\n\n\t\tscanunique(); /* scan for lines used once in both files */\n\t\tscanafter(); /* scan past sure-matches for non-unique blocks */\n\t\tscanbefore(); /* scan backwards from sure-matches */\n\t\tscanblocks(); /* find the fronts and lengths of blocks */\n\t}", "public void testNewSeqCloneNamedSrcConflict() throws Exception\n {\n String accid = \"T00513\";\n MSRawAttributes raw = new MSRawAttributes();\n raw.setOrganism(\"mouse, laboratory\");\n raw.setCellLine(\"HeLa\");\n MolecularSource ms =\n msProcessor.processNewSeqSrc(accid, raw);\n assertEquals(new Integer(-40), ms.getMSKey());\n // check qc tables\n String sql = \"select count(*) from QC_MS_NameConflict \" +\n \"where _jobstream_key = \" + jobkey;\n ResultsNavigator nav = radar.executeQuery(sql);\n RowReference row = nav.getRowReference();\n nav.next();\n assertEquals(new Integer(1), row.getInt(1));\n\n }", "@Test\n\tpublic void testForwardNonFrameBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642114, PositionType.ZERO_BASED),\n\t\t\t\t\"TAAACA\", \"GTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.691-3_693delinsGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Trp231Val\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_ACCEPTOR),\n\t\t\t\tannotation1.effects);\n\n\t\t// deletion of three codons, insertion of one\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642126, PositionType.ZERO_BASED),\n\t\t\t\t\"GTGGTTCAA\", \"ACC\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(2, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.700_708delinsACC\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Val234_Gln236delinsThr\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION), annotation2.effects);\n\n\t\t// deletion of three codons, insertion of one, includes truncation of replacement ref from the right\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642134, PositionType.ZERO_BASED),\n\t\t\t\t\"AGTGGAGGAT\", \"CTT\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(2, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.708_716delinsCT\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Gln236Hisfs*16\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION), annotation3.effects);\n\t}", "protected abstract void splitBAMs();", "private void repairGenome() {\n if (checkGenome(this.code)) {\n return;\n }\n int[] counters = new int[8];\n for (int c : code) { counters[c]++; }\n for (int i = 0; i < 8; ++i) {\n if (counters[i] == 0) {\n while (true) {\n int newPos = r.nextInt(GENOME_SIZE);\n if (counters[this.code[newPos]] > 1) {\n counters[this.code[newPos]]--;\n this.code[newPos] = i;\n break;\n }\n }\n }\n }\n }", "public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();\r\n \t\tfor (Object cell2 : cells) {\r\n \t\t\tif (cell2 instanceof JmtCell && ((JmtCell) cell2).parentChanged()) {\r\n \t\t\t\t// This cell was moved in, out or between blocking regions\r\n \t\t\t\tJmtCell cell = (JmtCell) cell2;\r\n \t\t\t\tObject key = ((CellComponent) cell.getUserObject()).getKey();\r\n \t\t\t\tObject oldRegionKey, newRegionKey;\r\n \t\t\t\tif (!(cell.getParent() instanceof BlockingRegion)) {\r\n \t\t\t\t\t// Object removed from blocking region\r\n \t\t\t\t\tputBack.add(cell2);\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Allow adding of removed objects to a new blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(true);\r\n \t\t\t\t} else if (cell.getPrevParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t// Object changed blocking region\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tmodel.addRegionStation(newRegionKey, key);\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Object added to a blocking region\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tif (!model.addRegionStation(newRegionKey, key)) {\r\n \t\t\t\t\t\t// object cannot be added to blocking region (for\r\n \t\t\t\t\t\t// example it's a source)\r\n \t\t\t\t\t\tcell.removeFromParent();\r\n \t\t\t\t\t\tgraph.getModel().insert(new Object[] { cell }, null, null, null, null);\r\n \t\t\t\t\t\tputBack.add(cell);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Doesn't allow adding of selected objects to a new\r\n \t\t\t\t\t// blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(false);\r\n \t\t\t\t}\r\n \t\t\t\t// Resets parent for this cell\r\n \t\t\t\tcell.resetParent();\r\n \t\t\t}\r\n \t\t\t// Avoid insertion of a blocking region in an other\r\n \t\t\telse if (cell2 instanceof BlockingRegion) {\r\n \t\t\t\tBlockingRegion region = (BlockingRegion) cell2;\r\n \t\t\t\tif (region.getParent() != null) {\r\n \t\t\t\t\tregion.removeFromParent();\r\n \t\t\t\t\tgraph.getModel().insert(new Object[] { region }, null, null, null, null);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Puts cells removed from blocking regiont on background\r\n \t\tgraph.getModel().toBack(putBack.toArray());\r\n \t}", "@Test\n public void testSplitOnCreatedSegment() throws Exception {\n InternalKnowledgeBase kbase1 = buildKnowledgeBase(\"r1\", \" A(1;) A(2;) B(1;) B(2;) C(1;) C(2;) X(1;) X(2;) E(1;) E(2;)\\n\");\n kbase1.addPackages( buildKnowledgePackage(\"r2\", \" A(1;) A(2;) B(1;) B(2;) C(1;) C(2;) X(1;) X(2;) E(1;) E(2;)\\n\") );\n kbase1.addPackages( buildKnowledgePackage(\"r3\", \" A(1;) A(2;) B(1;) B(2;) C(1;) C(2;) X(1;) X(2;)\\n\") );\n kbase1.addPackages( buildKnowledgePackage(\"r4\", \" A(1;) A(2;) B(1;) B(2;) C(1;) C(2;) \\n\") );\n\n InternalWorkingMemory wm = ((InternalWorkingMemory)kbase1.newKieSession());\n List list = new ArrayList();\n wm.setGlobal(\"list\", list);\n\n wm.insert(new X(1));\n wm.insert(new X(2));\n wm.insert(new X(3));\n wm.flushPropagations();\n\n RuleTerminalNode rtn1 = getRtn( \"org.kie.r1\", kbase1 );\n\n PathMemory pm1 = wm.getNodeMemory(rtn1);\n assertThat(pm1.getLinkedSegmentMask()).isEqualTo(2);\n SegmentMemory[] smems = pm1.getSegmentMemories();\n assertThat(smems.length).isEqualTo(4);\n assertThat(smems[0]).isNull();\n assertThat(smems[2]).isNull();\n assertThat(smems[3]).isNull();\n SegmentMemory sm = smems[1];\n assertThat(sm.getPos()).isEqualTo(1);\n assertThat(sm.getSegmentPosMaskBit()).isEqualTo(2);\n\n\n kbase1.addPackages( buildKnowledgePackage(\"r5\", \" A(1;) A(2;) B(1;) B(2;) C(1;) C(2;) X(1;) X(3;)\\n\") );\n wm.fireAllRules();\n\n assertThat(pm1.getLinkedSegmentMask()).isEqualTo(6);\n smems = pm1.getSegmentMemories();\n assertThat(smems.length).isEqualTo(5);\n assertThat(smems[0]).isNull();\n assertThat(smems[3]).isNull();\n assertThat(smems[4]).isNull();\n sm = smems[1];\n assertThat(sm.getPos()).isEqualTo(1);\n assertThat(sm.getSegmentPosMaskBit()).isEqualTo(2);\n\n sm = smems[2];\n assertThat(sm.getPos()).isEqualTo(2);\n assertThat(sm.getSegmentPosMaskBit()).isEqualTo(4);\n\n RuleTerminalNode rtn5 = getRtn( \"org.kie.r5\", kbase1 );\n PathMemory pm5 = wm.getNodeMemory(rtn5);\n assertThat(pm5.getLinkedSegmentMask()).isEqualTo(6);\n\n smems = pm5.getSegmentMemories();\n assertThat(smems.length).isEqualTo(3);\n assertThat(smems[0]).isNull();\n sm = smems[1];\n assertThat(sm.getPos()).isEqualTo(1);\n assertThat(sm.getSegmentPosMaskBit()).isEqualTo(2);\n\n sm = smems[2];\n assertThat(sm.getPos()).isEqualTo(2);\n assertThat(sm.getSegmentPosMaskBit()).isEqualTo(4);\n }", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}", "private void cleanMnemonicsConflict() {\n Enumeration enumer = mnemonicConflict.keys();\n \n while(enumer.hasMoreElements()) {\n String key = (String)enumer.nextElement();\n HashSet hs = (HashSet)mnemonicConflict.get(key);\n if(hs.size()==1)\n mnemonicConflict.remove(key);\n }\n \n }", "private void split(Map<Integer, SortedSet> invariants, Partition partition) {\n int nonEmptyInvariants = invariants.keySet().size();\n if (nonEmptyInvariants > 1) {\n List<Integer> invariantKeys = new ArrayList<Integer>();\n invariantKeys.addAll(invariants.keySet());\n partition.removeCell(currentBlockIndex);\n int k = currentBlockIndex;\n if (splitOrder == SplitOrder.REVERSE) {\n Collections.sort(invariantKeys);\n } else {\n Collections.sort(invariantKeys, Collections.reverseOrder());\n }\n for (int h : invariantKeys) {\n SortedSet setH = invariants.get(h);\n// System.out.println(\"adding block \" + setH + \" at \" + k + \" h=\" + h);\n partition.insertCell(k, setH);\n blocksToRefine.add(setH);\n k++;\n \n }\n // skip over the newly added blocks\n currentBlockIndex += nonEmptyInvariants - 1;\n }\n }", "@Test (timeout=180000)\n public void testMissingRegionInfoQualifier() throws Exception {\n Connection connection = ConnectionFactory.createConnection(conf);\n TableName table = TableName.valueOf(\"testMissingRegionInfoQualifier\");\n try {\n setupTable(table);\n\n // Mess it up by removing the RegionInfo for one region.\n final List<Delete> deletes = new LinkedList<Delete>();\n Table meta = connection.getTable(TableName.META_TABLE_NAME, hbfsckExecutorService);\n MetaScanner.metaScan(connection, new MetaScanner.MetaScannerVisitor() {\n\n @Override\n public boolean processRow(Result rowResult) throws IOException {\n HRegionInfo hri = MetaTableAccessor.getHRegionInfo(rowResult);\n if (hri != null && !hri.getTable().isSystemTable()) {\n Delete delete = new Delete(rowResult.getRow());\n delete.addColumn(HConstants.CATALOG_FAMILY, HConstants.REGIONINFO_QUALIFIER);\n deletes.add(delete);\n }\n return true;\n }\n\n @Override\n public void close() throws IOException {\n }\n });\n meta.delete(deletes);\n\n // Mess it up by creating a fake hbase:meta entry with no associated RegionInfo\n meta.put(new Put(Bytes.toBytes(table + \",,1361911384013.810e28f59a57da91c66\")).add(\n HConstants.CATALOG_FAMILY, HConstants.SERVER_QUALIFIER, Bytes.toBytes(\"node1:60020\")));\n meta.put(new Put(Bytes.toBytes(table + \",,1361911384013.810e28f59a57da91c66\")).add(\n HConstants.CATALOG_FAMILY, HConstants.STARTCODE_QUALIFIER, Bytes.toBytes(1362150791183L)));\n meta.close();\n\n HBaseFsck hbck = doFsck(conf, false);\n assertTrue(hbck.getErrors().getErrorList().contains(ERROR_CODE.EMPTY_META_CELL));\n\n // fix reference file\n hbck = doFsck(conf, true);\n\n // check that reference file fixed\n assertFalse(hbck.getErrors().getErrorList().contains(ERROR_CODE.EMPTY_META_CELL));\n } finally {\n cleanupTable(table);\n }\n connection.close();\n }", "private void m29109d() {\n PersistentConfiguration cVar = this.f22554b;\n if (cVar != null) {\n if (C6804i.m29033a(cVar.getString(\"UTDID2\"))) {\n String string = this.f22554b.getString(\"UTDID\");\n if (!C6804i.m29033a(string)) {\n m29110f(string);\n }\n }\n boolean z = false;\n String str = \"DID\";\n if (!C6804i.m29033a(this.f22554b.getString(str))) {\n this.f22554b.remove(str);\n z = true;\n }\n String str2 = \"EI\";\n if (!C6804i.m29033a(this.f22554b.getString(str2))) {\n this.f22554b.remove(str2);\n z = true;\n }\n String str3 = \"SI\";\n if (!C6804i.m29033a(this.f22554b.getString(str3))) {\n this.f22554b.remove(str3);\n z = true;\n }\n if (z) {\n this.f22554b.commit();\n }\n }\n }", "@Test\n public void undoCkpointTest() throws Exception {\n final int tableSize = PARAMETERS.NUM_ITERATIONS_LOW;\n final int trimPosition = tableSize / 2;\n final int snapshotPosition = trimPosition + 2;\n\n CountDownLatch latch = new CountDownLatch(1);\n\n t(1, () -> {\n\n CorfuRuntime rt = getNewRuntime();\n try {\n PersistentCorfuTable<String, Long> tableA = openTable(rt, streamNameA);\n\n // first, populate the map\n for (int i = 0; i < tableSize; i++) {\n tableA.insert(String.valueOf(i), (long) i);\n }\n\n // now, take a checkpoint and perform a prefix-trim\n MultiCheckpointWriter<PersistentCorfuTable<String, Long>> mcw1 = new MultiCheckpointWriter<>();\n mcw1.addMap(tableA);\n mcw1.appendCheckpoints(rt, author);\n\n // Trim the log\n Token token = new Token(rt.getLayoutView().getLayout().getEpoch(), trimPosition);\n rt.getAddressSpaceView().prefixTrim(token);\n rt.getAddressSpaceView().gc();\n rt.getAddressSpaceView().invalidateServerCaches();\n rt.getAddressSpaceView().invalidateClientCache();\n\n latch.countDown();\n } finally {\n rt.shutdown();\n }\n });\n\n AtomicBoolean trimExceptionFlag = new AtomicBoolean(false);\n\n // start a new runtime\n t(2, () -> {\n latch.await();\n CorfuRuntime rt = getNewRuntime();\n\n PersistentCorfuTable<String, Long> localm2A = openTable(rt, streamNameA);\n\n // start a snapshot TX at position snapshotPosition\n Token timestamp = new Token(0L, snapshotPosition - 1);\n rt.getObjectsView().TXBuild()\n .type(TransactionType.SNAPSHOT)\n .snapshot(timestamp)\n .build()\n .begin();\n\n // finally, instantiate the map for the snapshot and assert is has the right state\n try {\n localm2A.get(String.valueOf(0));\n } catch (TransactionAbortedException te) {\n assertThat(te.getAbortCause()).isEqualTo(AbortCause.TRIM);\n // this is an expected behavior!\n trimExceptionFlag.set(true);\n }\n\n try {\n if (!trimExceptionFlag.get()) {\n assertThat(localm2A.size())\n .isEqualTo(snapshotPosition);\n\n // check map positions 0..(snapshot-1)\n for (int i = 0; i < snapshotPosition; i++) {\n assertThat(localm2A.get(String.valueOf(i)))\n .isEqualTo(i);\n }\n\n // check map positions snapshot..(mapSize-1)\n for (int i = snapshotPosition; i < tableSize; i++) {\n assertThat(localm2A.get(String.valueOf(i))).isNull();\n }\n }\n } finally {\n rt.shutdown();\n }\n });\n }", "public synchronized void m6495a(int r6, int r7) throws fr.pcsoft.wdjava.geo.C0918i {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:fr.pcsoft.wdjava.geo.a.b.a(int, int):void. bs: [B:13:0x001d, B:18:0x0027, B:23:0x0031, B:28:0x003a, B:44:0x005d, B:55:0x006c, B:64:0x0079]\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:86)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/70807318.run(Unknown Source)\n*/\n /*\n r5 = this;\n r4 = 2;\n r1 = 0;\n r0 = 1;\n monitor-enter(r5);\n r5.m6487e();\t Catch:{ all -> 0x0053 }\n switch(r6) {\n case 2: goto L_0x0089;\n case 3: goto L_0x000a;\n case 4: goto L_0x0013;\n default: goto L_0x000a;\n };\t Catch:{ all -> 0x0053 }\n L_0x000a:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 3;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n L_0x0011:\n monitor-exit(r5);\n return;\n L_0x0013:\n r3 = new android.location.Criteria;\t Catch:{ all -> 0x0053 }\n r3.<init>();\t Catch:{ all -> 0x0053 }\n r2 = r7 & 2;\n if (r2 != r4) goto L_0x0058;\n L_0x001c:\n r2 = 1;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0056 }\n L_0x0020:\n r2 = r7 & 128;\n r4 = 128; // 0x80 float:1.794E-43 double:6.32E-322;\n if (r2 != r4) goto L_0x0065;\n L_0x0026:\n r2 = 3;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0063 }\n L_0x002a:\n r2 = r7 & 8;\n r4 = 8;\n if (r2 != r4) goto L_0x007f;\n L_0x0030:\n r2 = r0;\n L_0x0031:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0081 }\n r2 = r7 & 4;\n r4 = 4;\n if (r2 != r4) goto L_0x0083;\n L_0x0039:\n r2 = r0;\n L_0x003a:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0085 }\n r2 = r7 & 16;\n r4 = 16;\n if (r2 != r4) goto L_0x0087;\n L_0x0043:\n r3.setAltitudeRequired(r0);\t Catch:{ all -> 0x0053 }\n r0 = 0;\t Catch:{ all -> 0x0053 }\n r0 = r5.m6485a(r0);\t Catch:{ all -> 0x0053 }\n r1 = 1;\t Catch:{ all -> 0x0053 }\n r0 = r0.getBestProvider(r3, r1);\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n L_0x0053:\n r0 = move-exception;\n monitor-exit(r5);\n throw r0;\n L_0x0056:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0058:\n r2 = r7 & 1;\n if (r2 != r0) goto L_0x0020;\n L_0x005c:\n r2 = 2;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0061 }\n goto L_0x0020;\n L_0x0061:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0063:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0065:\n r2 = r7 & 64;\n r4 = 64;\n if (r2 != r4) goto L_0x0072;\n L_0x006b:\n r2 = 2;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0070 }\n goto L_0x002a;\n L_0x0070:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0072:\n r2 = r7 & 32;\n r4 = 32;\n if (r2 != r4) goto L_0x002a;\n L_0x0078:\n r2 = 1;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x007d }\n goto L_0x002a;\n L_0x007d:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x007f:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0031;\t Catch:{ all -> 0x0053 }\n L_0x0081:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0083:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x003a;\t Catch:{ all -> 0x0053 }\n L_0x0085:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0087:\n r0 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0043;\t Catch:{ all -> 0x0053 }\n L_0x0089:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 2;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: fr.pcsoft.wdjava.geo.a.b.a(int, int):void\");\n }", "public LinearGenomeShrinkMutation(){\n\t\tnumberGenesToRemove = 1;\n\t}", "@Test (timeout=180000)\n public void testNotInHdfsWithReplicas() throws Exception {\n TableName table =\n TableName.valueOf(\"tableNotInHdfs\");\n HBaseAdmin admin = new HBaseAdmin(conf);\n try {\n HRegionInfo[] oldHris = new HRegionInfo[2];\n setupTableWithRegionReplica(table, 2);\n assertEquals(ROWKEYS.length, countRows());\n NavigableMap<HRegionInfo, ServerName> map = MetaScanner.allTableRegions(TEST_UTIL.getConnection(),\n tbl.getName());\n int i = 0;\n // store the HRIs of the regions we will mess up\n for (Map.Entry<HRegionInfo, ServerName> m : map.entrySet()) {\n if (m.getKey().getStartKey().length > 0 &&\n m.getKey().getStartKey()[0] == Bytes.toBytes(\"B\")[0]) {\n LOG.debug(\"Initially server hosting \" + m.getKey() + \" is \" + m.getValue());\n oldHris[i++] = m.getKey();\n }\n }\n // make sure data in regions\n TEST_UTIL.getHBaseAdmin().flush(table.getName());\n\n // Mess it up by leaving a hole in the hdfs data\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), false, false, true); // don't rm meta\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {ERROR_CODE.NOT_IN_HDFS});\n\n // fix hole\n doFsck(conf, true);\n\n // check that hole fixed\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length - 2, countRows());\n\n // the following code checks whether the old primary/secondary has\n // been unassigned and the new primary/secondary has been assigned\n i = 0;\n HRegionInfo[] newHris = new HRegionInfo[2];\n // get all table's regions from meta\n map = MetaScanner.allTableRegions(TEST_UTIL.getConnection(), tbl.getName());\n // get the HRIs of the new regions (hbck created new regions for fixing the hdfs mess-up)\n for (Map.Entry<HRegionInfo, ServerName> m : map.entrySet()) {\n if (m.getKey().getStartKey().length > 0 &&\n m.getKey().getStartKey()[0] == Bytes.toBytes(\"B\")[0]) {\n newHris[i++] = m.getKey();\n }\n }\n // get all the online regions in the regionservers\n Collection<ServerName> servers = admin.getClusterStatus().getServers();\n Set<HRegionInfo> onlineRegions = new HashSet<HRegionInfo>();\n for (ServerName s : servers) {\n List<HRegionInfo> list = admin.getOnlineRegions(s);\n onlineRegions.addAll(list);\n }\n // the new HRIs must be a subset of the online regions\n assertTrue(onlineRegions.containsAll(Arrays.asList(newHris)));\n // the old HRIs must not be part of the set (removeAll would return false if\n // the set didn't change)\n assertFalse(onlineRegions.removeAll(Arrays.asList(oldHris)));\n } finally {\n cleanupTable(table);\n admin.close();\n }\n }", "private void ssMergeBackward(int r19, int[] r20, int r21, int r22, int r23, int r24, int r25) {\n /*\n r18 = this;\n r0 = r18;\n r4 = r0.SA;\n r17 = r24 - r23;\n r5 = r21 + r17;\n r17 = r24 - r23;\n r0 = r20;\n r1 = r21;\n r2 = r23;\n r3 = r17;\n ssBlockSwap(r0, r1, r4, r2, r3);\n r16 = 0;\n r17 = r5 + -1;\n r17 = r20[r17];\n if (r17 >= 0) goto L_0x0071;\n L_0x001d:\n r16 = r16 | 1;\n r17 = r5 + -1;\n r17 = r20[r17];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x0027:\n r17 = r23 + -1;\n r17 = r4[r17];\n if (r17 >= 0) goto L_0x0078;\n L_0x002d:\n r16 = r16 | 2;\n r17 = r23 + -1;\n r17 = r4[r17];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n L_0x0037:\n r17 = r24 + -1;\n r15 = r4[r17];\n r6 = r24 + -1;\n r8 = r5 + -1;\n r10 = r23 + -1;\n L_0x0041:\n r0 = r18;\n r1 = r25;\n r14 = r0.ssCompare(r12, r13, r1);\n if (r14 <= 0) goto L_0x009b;\n L_0x004b:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0063;\n L_0x004f:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a9;\n L_0x005f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0063:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x007f;\n L_0x006d:\n r20[r8] = r15;\n r6 = r7;\n L_0x0070:\n return;\n L_0x0071:\n r17 = r5 + -1;\n r17 = r20[r17];\n r12 = r19 + r17;\n goto L_0x0027;\n L_0x0078:\n r17 = r23 + -1;\n r17 = r4[r17];\n r13 = r19 + r17;\n goto L_0x0037;\n L_0x007f:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x0094;\n L_0x0089:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x0094:\n r17 = r20[r9];\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x009b:\n if (r14 >= 0) goto L_0x00fb;\n L_0x009d:\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x00b5;\n L_0x00a1:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x01a5;\n L_0x00b1:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x00b5:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x00e3;\n L_0x00c5:\n r9 = r8;\n L_0x00c6:\n r0 = r21;\n if (r0 >= r9) goto L_0x00d9;\n L_0x00ca:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x00c6;\n L_0x00d9:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x00e3:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x00f3;\n L_0x00e7:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00f3:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00fb:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0113;\n L_0x00ff:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a1;\n L_0x010f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0113:\n r7 = r6 + -1;\n r17 = r20[r8];\n r17 = r17 ^ -1;\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x0124;\n L_0x011f:\n r20[r8] = r15;\n r6 = r7;\n goto L_0x0070;\n L_0x0124:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x019f;\n L_0x012e:\n r6 = r7;\n L_0x012f:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x019c;\n L_0x013f:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x0143:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x0171;\n L_0x0153:\n r0 = r21;\n if (r0 >= r9) goto L_0x0166;\n L_0x0157:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x0153;\n L_0x0166:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x0171:\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x018e;\n L_0x0175:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x017d:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x0193;\n L_0x0181:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x018e:\n r17 = r20[r9];\n r12 = r19 + r17;\n goto L_0x017d;\n L_0x0193:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x019c:\n r10 = r11;\n r6 = r7;\n goto L_0x012f;\n L_0x019f:\n r6 = r7;\n goto L_0x0143;\n L_0x01a1:\n r8 = r9;\n r6 = r7;\n goto L_0x00ff;\n L_0x01a5:\n r10 = r11;\n r6 = r7;\n goto L_0x00a1;\n L_0x01a9:\n r8 = r9;\n r6 = r7;\n goto L_0x004f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.netty.handler.codec.compression.Bzip2DivSufSort.ssMergeBackward(int, int[], int, int, int, int, int):void\");\n }", "@Test (timeout=180000)\n public void testRegionHole() throws Exception {\n TableName table =\n TableName.valueOf(\"tableRegionHole\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.HOLE_IN_REGION_CHAIN});\n // holes are separate from overlap groups\n assertEquals(0, hbck.getOverlapGroups(table).size());\n\n // fix hole\n doFsck(conf, true);\n\n // check that hole fixed\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length - 2 , countRows()); // lost a region so lost a row\n } finally {\n cleanupTable(table);\n }\n }", "@Converted(kind = Converted.Kind.MANUAL_SEMANTIC,\n source = \"${LLVM_SRC}/llvm/tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp\", line = 324,\n old_source = \"${LLVM_SRC}/llvm/tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp\", old_line = 323,\n FQN=\"EmitBlockID\", NM=\"_ZL11EmitBlockIDjPKcRN4llvm15BitstreamWriterERNS1_15SmallVectorImplIyEE\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.clang.frontend/llvmToClangType ${LLVM_SRC}/llvm/tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp -nm=_ZL11EmitBlockIDjPKcRN4llvm15BitstreamWriterERNS1_15SmallVectorImplIyEE\")\n//</editor-fold>\npublic static void EmitBlockID(/*uint*/int ID, /*const*/char$ptr/*char P*/ Name, \n BitstreamWriter /*&*/ Stream, \n SmallVectorImplULong /*&*/ Record) {\n Record.clear();\n Record.push_back($uint2ullong(ID));\n Stream.EmitRecord(BlockInfoCodes.BLOCKINFO_CODE_SETBID.getValue(), Record);\n \n // Emit the block name if present.\n if (!(Name != null) || Name.$at(0) == 0) {\n return;\n }\n \n Record.clear();\n Name = Native.$tryClone(Name);\n while ((Name.$star() != 0)) {\n Record.push_back($char2ullong(Name.$postInc().$star()));\n }\n \n Stream.EmitRecord(BlockInfoCodes.BLOCKINFO_CODE_BLOCKNAME.getValue(), Record);\n}", "public ByteBuf duplicate()\r\n/* 95: */ {\r\n/* 96:112 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 97:113 */ return super.duplicate();\r\n/* 98: */ }", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "public ByteBuf retainedDuplicate()\r\n/* 83: */ {\r\n/* 84:100 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 85:101 */ return super.retainedDuplicate();\r\n/* 86: */ }", "@Test(timeout=120000)\n public void testMissingFirstRegion() throws Exception {\n TableName table = TableName.valueOf(\"testMissingFirstRegion\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the assignment, meta, and hdfs data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"\"), Bytes.toBytes(\"A\"), true,\n true, true);\n admin.enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.FIRST_REGION_STARTKEY_NOT_EMPTY });\n // fix hole\n doFsck(conf, true);\n // check that hole fixed\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n }\n }", "@Test (timeout=180000)\n public void testDupeStartKey() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeStartKey\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"A2\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "@Test\n public void testWhenDecreasingReplication() throws Exception {\n Configuration conf = new HdfsConfiguration();\n conf.setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, 1000L);\n conf.set(DFSConfigKeys.DFS_NAMENODE_RECONSTRUCTION_PENDING_TIMEOUT_SEC_KEY, Integer.toString(2));\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).numDataNodes(3).build();\n FileSystem fs = cluster.getFileSystem();\n final FSNamesystem namesystem = cluster.getNamesystem();\n\n try {\n final Path fileName = new Path(\"/foo1\");\n DFSTestUtil.createFile(fs, fileName, 2, (short) 3, 0L);\n DFSTestUtil.waitReplication(fs, fileName, (short) 3);\n\n ExtendedBlock block = DFSTestUtil.getFirstBlock(fs, fileName);\n corruptBlock(cluster, fs, fileName, 0, block);\n\n DFSTestUtil.waitReplication(fs, fileName, (short) 2);\n\n assertEquals(2, countReplicas(namesystem, block).liveReplicas());\n assertEquals(1, countReplicas(namesystem, block).corruptReplicas());\n\n namesystem.setReplication(fileName.toString(), (short) 2);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(2, countReplicas(namesystem, block).liveReplicas());\n assertEquals(0, countReplicas(namesystem, block).corruptReplicas());\n\n } finally {\n cluster.shutdown();\n }\n }", "static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\t Catch:{ Exception -> 0x000a }\n r1 = \"battery_watcher\";\t Catch:{ Exception -> 0x000a }\n r2 = 0;\t Catch:{ Exception -> 0x000a }\n r0.delete(r1, r2, r2);\t Catch:{ Exception -> 0x000a }\n L_0x000a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.b():void\");\n }", "@Test\n\tpublic void deleteA_useAwithB_danglingEdgeTest() {\n\t\tHenshinResourceSet resourceSet = new HenshinResourceSet(PATH);\n\n\t\t// Load the module:\n\t\tModule module = resourceSet.getModule(\"simpleTgRules.henshin\", false);\n\n\t\tUnit deleteAUnit = module.getUnit(\"deleteA\");\n\t\tRule deleteARule = (Rule) deleteAUnit;\n\n\t\tUnit useAwithBUnit = module.getUnit(\"useAwithB\");\n\t\tRule useAwithBRule = (Rule) useAwithBUnit;\n\n\t\tConflictAnalysis atomicCoreCPA = new ConflictAnalysis(deleteARule, useAwithBRule);\n\t\tList<ConflictAtom> computedConflictAtoms = atomicCoreCPA.computeConflictAtoms();\n\t\t// should be 0 due to dangling edge condition. First rule deletes a node\n\t\t// and second rule requires to have an edge on that node!\n\t\tAssert.assertEquals(0, computedConflictAtoms.size());\n\t\t// System.out.println(\"number of conflict atoms:\n\t\t// \"+computedConflictAtoms.size());\n\t\t// for(ConflictAtom conflictAtom : computedConflictAtoms){\n\t\t// System.out.println(conflictAtom);\n\t\t// }\n\n\t\tAtomCandidateComputation candComp = new AtomCandidateComputation(deleteARule, useAwithBRule);\n\t\tList<Span> conflictAtomCandidates = candComp.computeAtomCandidates();\n\n\t\tSet<MinimalConflictReason> reasons = new HashSet<>();//\n\t\tfor (Span candidate : conflictAtomCandidates) {\n\t\t\tnew MinimalReasonComputation(deleteARule, useAwithBRule).computeMinimalConflictReasons(candidate, reasons);\n\t\t}\n\t\t// should be 0 due to dangling edge condition. First rule deletes a node\n\t\t// and second rule requires to have an edge on that node!\n\t\tAssert.assertEquals(0, reasons.size());\n\n\t\t// Set<Span> minimalConflictReasons = reasons;\n\t\t// System.out.println(\"number of minimal conflict reasons:\n\t\t// \"+minimalConflictReasons.size());\n\t\t// for(Span minimalConflictReason : minimalConflictReasons){\n\t\t// System.out.println(minimalConflictReason);\n\t\t// }\n\t}", "public interface NotificationsSectionSplitter {\n Pair<List<Object>, List<NotificationsEdgeFields>> mo469a(List<Object> list, List<NotificationsEdgeFields> list2);\n\n void mo470a(Bundle bundle);\n}", "public static void fix(World world) {\n \t\tFile regionFolder = new File(Bukkit.getWorldContainer() + File.separator + world.getName() + File.separator + \"region\");\r\n \t\tif (regionFolder.exists()) {\r\n \t\t\t// Loop through all region files of the world\r\n \t\t\tint dx, dz;\r\n \t\t\tint rx, rz;\r\n \t\t\tfor (String regionFileName : regionFolder.list()) {\r\n \t\t\t\t// Validate file\r\n \t\t\t\tFile file = new File(regionFolder + File.separator + regionFileName);\r\n \t\t\t\tif (!file.isFile() || !file.exists()) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \t\t\t\tString[] parts = regionFileName.split(\"\\\\.\");\r\n \t\t\t\tif (parts.length != 4 || !parts[0].equals(\"r\") || !parts[3].equals(\"mca\")) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \t\t\t\t// Obtain the chunk offset of this region file\r\n \t\t\t\ttry {\r\n \t\t\t\t\trx = Integer.parseInt(parts[1]) << 5;\r\n \t\t\t\t\trz = Integer.parseInt(parts[2]) << 5;\r\n \t\t\t\t} catch (Exception ex) {\r\n \t\t\t\t\tcontinue;\r\n \t\t\t\t}\r\n \r\n \t\t\t\t// Is it contained in the cache?\r\n \t\t\t\tReference<RegionFile> ref = RegionFileCacheRef.FILES.get(file);\r\n \t\t\t\tRegionFile reg = null;\r\n \t\t\t\tif (ref != null) {\r\n \t\t\t\t\treg = ref.get();\r\n \t\t\t\t}\r\n \t\t\t\tboolean closeOnFinish = false;\r\n \t\t\t\tif (reg == null) {\r\n \t\t\t\t\tcloseOnFinish = true;\r\n \t\t\t\t\t// Manually load this region file\r\n \t\t\t\t\treg = new RegionFile(file);\r\n \t\t\t\t}\r\n \t\t\t\t// Obtain all generated chunks in this region file\r\n \t\t\t\tfor (dx = 0; dx < 32; dx++) {\r\n \t\t\t\t\tfor (dz = 0; dz < 32; dz++) {\r\n \t\t\t\t\t\tif (reg.c(dx, dz)) {\r\n \t\t\t\t\t\t\t// Region file exists - add it\r\n\t\t\t\t\t\t\tfix(world, rx + dx, rz + dz, true);\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\tif (closeOnFinish) {\r\n \t\t\t\t\t// Close the region file stream - we are done with it\r\n \t\t\t\t\treg.c();\r\n \t\t\t\t}\r\n \t\t\t}\r\n\t\t} else {\r\n\t\t\tNoLagg.plugin.log(Level.WARNING, \"Failed to fix world '\" + world.getName() + \"': Region folder is missing!\");\r\n \t\t}\r\n \t}", "public int numberOfBlocksToRemove() {\r\n return 105;\r\n }", "@Test\n public void testColocatedPartitionedRegion_NoFullPath() throws Throwable {\n createCacheInAllVms();\n redundancy = 0;\n localMaxmemory = 50;\n totalNumBuckets = 11;\n\n regionName = \"A\";\n colocatedWith = null;\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"B\";\n colocatedWith = \"A\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"C\";\n colocatedWith = \"A\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"D\";\n colocatedWith = \"B\";\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"E\";\n colocatedWith = \"B\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"F\";\n colocatedWith = \"B\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"G\";\n colocatedWith = \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"H\";\n colocatedWith = \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"I\";\n colocatedWith = \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"J\";\n colocatedWith = \"D\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"K\";\n colocatedWith = \"D\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"L\";\n colocatedWith = \"E\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"M\";\n colocatedWith = \"F\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"N\";\n colocatedWith = \"G\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"O\";\n colocatedWith = \"I\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"A\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"D\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"H\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"B\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"K\"));\n }", "@Test\n public void prefixTrimNotReachingSequencer() throws Exception {\n final int tableSize = PARAMETERS.NUM_ITERATIONS_LOW;\n CorfuRuntime rt = getNewRuntime();\n\n TestRule dropSequencerTrim = new TestRule()\n .requestMatches(msg -> msg.getPayload().getPayloadCase()\n .equals(CorfuMessage.RequestPayloadMsg.PayloadCase.SEQUENCER_TRIM_REQUEST))\n .drop();\n addClientRule(rt, dropSequencerTrim);\n\n try {\n PersistentCorfuTable<String, Long> tableA = openTable(rt, streamNameA);\n PersistentCorfuTable<String, Long> tableB = openTable(rt, streamNameB);\n\n // thread 1: populates the maps with mapSize items\n scheduleConcurrently(1, ignored_task_num -> {\n populateMaps(tableSize, tableA, tableB);\n });\n\n // thread 2: periodic checkpoint of the maps, repeating ITERATIONS_VERY_LOW times,\n // and immediate prefix-trim of the log up to the checkpoint position\n scheduleConcurrently(1, ignored_task_num -> {\n mapCkpointAndTrim(rt, tableA, tableB);\n });\n\n // thread 3: repeated ITERATION_LOW times starting a fresh runtime, and instantiating the maps.\n // they should rebuild from the latest checkpoint (if available).\n // performs some sanity checks on the map state\n\n // In this test checkpoints and trims are happening in a loop for several iterations,\n // so a trim exception can occur if after loading from the latest checkpoint,\n // updates to the stream have been already trimmed (1st trimmedException), the stream\n // is reset, and on the second iteration the same scenario can happen (2nd trimmedException)\n // which is the total number of retries.\n scheduleConcurrently(PARAMETERS.NUM_ITERATIONS_LOW, ignored_task_num -> {\n validateMapRebuild(tableSize, false, true);\n });\n\n executeScheduled(PARAMETERS.CONCURRENCY_SOME, PARAMETERS.TIMEOUT_LONG);\n\n // Verify that last trim cycle completed (async task) before validating map rebuild\n Token currentTrimMark = Token.UNINITIALIZED;\n while(currentTrimMark.getSequence() != lastValidCheckpoint.getSequence() + 1L) {\n currentTrimMark = getNewRuntime().getAddressSpaceView().getTrimMark();\n }\n\n // finally, after all three threads finish, again we start a fresh runtime and instantiate the maps.\n // This time we check that the new map instances contain all values\n validateMapRebuild(tableSize, true, false);\n } finally {\n rt.shutdown();\n }\n }", "public interface ConflictRegionStrategy extends AlgStrategy {}", "@Test\n public void testWithAllCorruptReplicas() throws Exception {\n Configuration conf = new HdfsConfiguration();\n conf.setLong(DFSConfigKeys.DFS_BLOCKREPORT_INTERVAL_MSEC_KEY, 1000L);\n conf.set(DFSConfigKeys.DFS_NAMENODE_RECONSTRUCTION_PENDING_TIMEOUT_SEC_KEY, Integer.toString(2));\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).numDataNodes(3).build();\n FileSystem fs = cluster.getFileSystem();\n final FSNamesystem namesystem = cluster.getNamesystem();\n\n try {\n final Path fileName = new Path(\"/foo1\");\n DFSTestUtil.createFile(fs, fileName, 2, (short) 3, 0L);\n DFSTestUtil.waitReplication(fs, fileName, (short) 3);\n\n ExtendedBlock block = DFSTestUtil.getFirstBlock(fs, fileName);\n corruptBlock(cluster, fs, fileName, 0, block);\n\n corruptBlock(cluster, fs, fileName, 1, block);\n\n corruptBlock(cluster, fs, fileName, 2, block);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(0, countReplicas(namesystem, block).liveReplicas());\n assertEquals(3, countReplicas(namesystem, block).corruptReplicas());\n\n namesystem.setReplication(fileName.toString(), (short) 1);\n\n // wait for 3 seconds so that all block reports are processed.\n try {\n Thread.sleep(3000);\n } catch (InterruptedException ignored) {\n }\n\n assertEquals(0, countReplicas(namesystem, block).liveReplicas());\n assertEquals(3, countReplicas(namesystem, block).corruptReplicas());\n\n } finally {\n cluster.shutdown();\n }\n }", "public void collapseBlocks() {\n // Create it if it's null\n if (graph_bcc == null) {\n // Create graph parametrics (Only add linear time algorithms here...)\n graph_bcc = new BiConnectedComponents(graph);\n graph2p_bcc = new BiConnectedComponents(new UniTwoPlusDegreeGraph(graph));\n }\n BiConnectedComponents bcc = graph_bcc, bcc_2p = graph2p_bcc; if (bcc != null && bcc_2p != null) {\n // Get the vertex to block lookup\n Map<String,Set<MyGraph>> v_to_b = bcc.getVertexToBlockMap();\n // Go through the entities and accumulate the positions\n Map<MyGraph,Double> x_sum = new HashMap<MyGraph,Double>(), y_sum = new HashMap<MyGraph,Double>();\n Iterator<String> it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity)) {\n\t Iterator<MyGraph> it_mg = v_to_b.get(entity).iterator();\n\t while (it_mg.hasNext()) {\n\t MyGraph mg = it_mg.next();\n\t if (x_sum.containsKey(mg) == false) { x_sum.put(mg,0.0); y_sum.put(mg,0.0); }\n\t x_sum.put(mg,x_sum.get(mg)+pt.getX()); y_sum.put(mg,y_sum.get(mg)+pt.getY());\n\t }\n } else System.err.println(\"Vertex To Block Lookup missing \\\"\" + entity + \"\\\"\");\n }\n // Now position those entities that aren't cut vertices at the center of the graph\n it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity) && bcc.getCutVertices().contains(entity) == false) {\n MyGraph mg = v_to_b.get(entity).iterator().next();\n\t entity_to_wxy.put(entity, new Point2D.Double(x_sum.get(mg)/mg.getNumberOfEntities(),y_sum.get(mg)/mg.getNumberOfEntities()));\n\t transform(entity);\n\t}\n }\n // Re-render\n zoomToFit(); repaint();\n }\n }", "@Test(timeout = 4000)\n public void test18() throws Throwable {\n DefaultNucleotideCodec defaultNucleotideCodec0 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray0 = new byte[9];\n defaultNucleotideCodec0.toString(byteArray0);\n defaultNucleotideCodec0.decodedLengthOf(byteArray0);\n defaultNucleotideCodec0.decodedLengthOf(byteArray0);\n defaultNucleotideCodec0.getUngappedLength(byteArray0);\n Nucleotide nucleotide0 = Nucleotide.Gap;\n Set<Nucleotide> set0 = nucleotide0.getBasesFor();\n byte[] byteArray1 = defaultNucleotideCodec0.encode((Collection<Nucleotide>) set0);\n DefaultNucleotideCodec defaultNucleotideCodec1 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec1.decode(byteArray0, 0);\n DefaultNucleotideCodec defaultNucleotideCodec2 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray2 = defaultNucleotideCodec2.encode((Collection<Nucleotide>) set0);\n DefaultNucleotideCodec defaultNucleotideCodec3 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec3.toString(byteArray1);\n DefaultNucleotideCodec defaultNucleotideCodec4 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec4.isGap(byteArray0, 1553);\n defaultNucleotideCodec0.getNumberOfGapsUntil(byteArray2, (-3166));\n DefaultNucleotideCodec defaultNucleotideCodec5 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec5.isGap(byteArray0, 75);\n DefaultNucleotideCodec defaultNucleotideCodec6 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray3 = new byte[0];\n // Undeclared exception!\n try { \n defaultNucleotideCodec6.isGap(byteArray3, (-1));\n fail(\"Expecting exception: BufferUnderflowException\");\n \n } catch(BufferUnderflowException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.nio.Buffer\", e);\n }\n }", "int numberOfBlocksToRemove();", "@Override\n protected void updateEliminations() {\n\n }", "private void step4(Node node) {\n\t\tHashMap<String, ArrayList<String>> svn = node.svN;\r\n\t\tHashMap<String, ArrayList<String>> cn = node.cN;\r\n\t\tArrayList<String> keys = node.keysN;\r\n\t\tString c = checksubset(cn);\r\n\r\n\t\tif (c != null) {\r\n\t\t\tfor (int i = 0; i < keys.size(); i++) {\r\n\t\t\t\tif (svn.get(keys.get(i)).contains(c)) {\r\n\t\t\t\t\tsvn.get(keys.get(i)).remove(c);\r\n\t\t\t\t\tif (svn.get(keys.get(i)).size() <= 1) {\r\n\t\t\t\t\t\tsvn.remove(keys.get(i));\r\n\t\t\t\t\t\tkeys.remove(i);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcn.remove(c);\r\n\t\t}\r\n\t}", "void showsame() {\n\t\tint count;\n\t\tprintstatus = idle;\n\t\tif (newinfo.other[printnewline] != printoldline) {\n\t\t\tSystem.err.println(\"BUG IN LINE REFERENCING\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tcount = blocklen[printoldline];\n\t\tprintoldline += count;\n\t\tprintnewline += count;\n\t}", "public void a()\r\n/* 49: */ {\r\n/* 50: 64 */ HashSet<BlockPosition> localHashSet = Sets.newHashSet();\r\n/* 51: */ \r\n/* 52: 66 */ int m = 16;\r\n/* 53: 67 */ for (int n = 0; n < 16; n++) {\r\n/* 54: 68 */ for (int i1 = 0; i1 < 16; i1++) {\r\n/* 55: 69 */ for (int i2 = 0; i2 < 16; i2++) {\r\n/* 56: 70 */ if ((n == 0) || (n == 15) || (i1 == 0) || (i1 == 15) || (i2 == 0) || (i2 == 15))\r\n/* 57: */ {\r\n/* 58: 74 */ double d1 = n / 15.0F * 2.0F - 1.0F;\r\n/* 59: 75 */ double d2 = i1 / 15.0F * 2.0F - 1.0F;\r\n/* 60: 76 */ double d3 = i2 / 15.0F * 2.0F - 1.0F;\r\n/* 61: 77 */ double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 62: */ \r\n/* 63: 79 */ d1 /= d4;\r\n/* 64: 80 */ d2 /= d4;\r\n/* 65: 81 */ d3 /= d4;\r\n/* 66: */ \r\n/* 67: 83 */ float f2 = this.i * (0.7F + this.d.rng.nextFloat() * 0.6F);\r\n/* 68: 84 */ double d6 = this.e;\r\n/* 69: 85 */ double d8 = this.f;\r\n/* 70: 86 */ double d10 = this.g;\r\n/* 71: */ \r\n/* 72: 88 */ float f3 = 0.3F;\r\n/* 73: 89 */ while (f2 > 0.0F)\r\n/* 74: */ {\r\n/* 75: 90 */ BlockPosition localdt = new BlockPosition(d6, d8, d10);\r\n/* 76: 91 */ Block localbec = this.d.getBlock(localdt);\r\n/* 77: 93 */ if (localbec.getType().getMaterial() != Material.air)\r\n/* 78: */ {\r\n/* 79: 94 */ float f4 = this.h != null ? this.h.a(this, this.d, localdt, localbec) : localbec.getType().a((Entity)null);\r\n/* 80: 95 */ f2 -= (f4 + 0.3F) * 0.3F;\r\n/* 81: */ }\r\n/* 82: 98 */ if ((f2 > 0.0F) && ((this.h == null) || (this.h.a(this, this.d, localdt, localbec, f2)))) {\r\n/* 83: 99 */ localHashSet.add(localdt);\r\n/* 84: */ }\r\n/* 85:102 */ d6 += d1 * 0.300000011920929D;\r\n/* 86:103 */ d8 += d2 * 0.300000011920929D;\r\n/* 87:104 */ d10 += d3 * 0.300000011920929D;\r\n/* 88:105 */ f2 -= 0.225F;\r\n/* 89: */ }\r\n/* 90: */ }\r\n/* 91: */ }\r\n/* 92: */ }\r\n/* 93: */ }\r\n/* 94:111 */ this.j.addAll(localHashSet);\r\n/* 95: */ \r\n/* 96:113 */ float f1 = this.i * 2.0F;\r\n/* 97: */ \r\n/* 98:115 */ int i1 = MathUtils.floor(this.e - f1 - 1.0D);\r\n/* 99:116 */ int i2 = MathUtils.floor(this.e + f1 + 1.0D);\r\n/* 100:117 */ int i3 = MathUtils.floor(this.f - f1 - 1.0D);\r\n/* 101:118 */ int i4 = MathUtils.floor(this.f + f1 + 1.0D);\r\n/* 102:119 */ int i5 = MathUtils.floor(this.g - f1 - 1.0D);\r\n/* 103:120 */ int i6 = MathUtils.floor(this.g + f1 + 1.0D);\r\n/* 104:121 */ List<Entity> localList = this.d.b(this.h, new AABB(i1, i3, i5, i2, i4, i6));\r\n/* 105:122 */ Vec3 localbrw = new Vec3(this.e, this.f, this.g);\r\n/* 106:124 */ for (int i7 = 0; i7 < localList.size(); i7++)\r\n/* 107: */ {\r\n/* 108:125 */ Entity localwv = (Entity)localList.get(i7);\r\n/* 109:126 */ if (!localwv.aV())\r\n/* 110: */ {\r\n/* 111:129 */ double d5 = localwv.f(this.e, this.f, this.g) / f1;\r\n/* 112:131 */ if (d5 <= 1.0D)\r\n/* 113: */ {\r\n/* 114:132 */ double d7 = localwv.xPos - this.e;\r\n/* 115:133 */ double d9 = localwv.yPos + localwv.getEyeHeight() - this.f;\r\n/* 116:134 */ double d11 = localwv.zPos - this.g;\r\n/* 117: */ \r\n/* 118:136 */ double d12 = MathUtils.sqrt(d7 * d7 + d9 * d9 + d11 * d11);\r\n/* 119:137 */ if (d12 != 0.0D)\r\n/* 120: */ {\r\n/* 121:141 */ d7 /= d12;\r\n/* 122:142 */ d9 /= d12;\r\n/* 123:143 */ d11 /= d12;\r\n/* 124: */ \r\n/* 125:145 */ double d13 = this.d.a(localbrw, localwv.getAABB());\r\n/* 126:146 */ double d14 = (1.0D - d5) * d13;\r\n/* 127:147 */ localwv.receiveDamage(DamageSource.a(this), (int)((d14 * d14 + d14) / 2.0D * 8.0D * f1 + 1.0D));\r\n/* 128: */ \r\n/* 129:149 */ double d15 = EnchantmentProtection.a(localwv, d14);\r\n/* 130:150 */ localwv.xVelocity += d7 * d15;\r\n/* 131:151 */ localwv.yVelocity += d9 * d15;\r\n/* 132:152 */ localwv.zVelocity += d11 * d15;\r\n/* 133:154 */ if ((localwv instanceof EntityPlayer)) {\r\n/* 134:155 */ this.k.put((EntityPlayer)localwv, new Vec3(d7 * d14, d9 * d14, d11 * d14));\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139: */ }\r\n/* 140: */ }", "@Test\n public void issue4712() throws IOException {\n Collection<FileAnnotation> warnings = new GccParser().parse(openFile(\"issue4712.txt\"));\n\n assertEquals(WRONG_NUMBER_OF_WARNINGS_DETECTED, 2, warnings.size());\n Iterator<FileAnnotation> iterator = warnings.iterator();\n checkWarning(iterator.next(),\n 352,\n \"&apos;s2.mepSector2::lubrications&apos; may be used\",\n \"main/mep.cpp\",\n TYPE, GCC_WARNING, Priority.NORMAL);\n checkWarning(iterator.next(),\n 1477,\n \"&apos;s2.mepSector2::lubrications&apos; was declared here\",\n \"main/mep.cpp\",\n TYPE, \"GCC note\", Priority.LOW);\n }", "@Test\n public void testColocatedPartitionedRegion() throws Throwable {\n createCacheInAllVms();\n redundancy = 0;\n localMaxmemory = 50;\n totalNumBuckets = 11;\n\n regionName = \"A\";\n colocatedWith = null;\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"B\";\n colocatedWith = SEPARATOR + \"A\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"C\";\n colocatedWith = SEPARATOR + \"A\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"D\";\n colocatedWith = SEPARATOR + \"B\";\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"E\";\n colocatedWith = SEPARATOR + \"B\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"F\";\n colocatedWith = SEPARATOR + \"B\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"G\";\n colocatedWith = SEPARATOR + \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"H\";\n colocatedWith = SEPARATOR + \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"I\";\n colocatedWith = SEPARATOR + \"C\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"J\";\n colocatedWith = SEPARATOR + \"D\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"K\";\n colocatedWith = SEPARATOR + \"D\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"L\";\n colocatedWith = SEPARATOR + \"E\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"M\";\n colocatedWith = SEPARATOR + \"F\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"N\";\n colocatedWith = SEPARATOR + \"G\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n regionName = \"O\";\n colocatedWith = SEPARATOR + \"I\";\n isPartitionResolver = Boolean.TRUE;\n attributeObjects = new Object[] {regionName, redundancy, localMaxmemory, totalNumBuckets,\n colocatedWith, isPartitionResolver};\n createPartitionedRegion(attributeObjects);\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"A\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"D\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"H\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"B\"));\n\n accessor.invoke(() -> PRColocationDUnitTest.validateColocatedRegions(\"K\"));\n }", "public void repair () {\n WriteableByteArray whole = new WriteableByteArray ();\n WriteableByteArray piece = new WriteableByteArray ();\n int [] offsets = new int [sequences.size ()];\n for (int index = 0;index < commonSequence.length;index++) {\n byte b = commonSequence [index];\n int i = 0;\n for (byte [] sequence : sequences)\n if (sequence [index + offsets [i++]] != b) {\n CommonSequence commonPiece = new CommonSequence ();\n i = 0;\n for (byte [] s : sequences) {\n piece.reset ();\n for (;;) {\n byte c = s [index + offsets [i]];\n if (c == b)\n break;\n piece.write (c);\n offsets [i]++;\n }\n commonPiece.add (piece.toByteArray ());\n i++;\n }\n whole.write (commonPiece.getCommonSequence ());\n break;\n }\n // all sequences now coincide at b\n whole.write (b);\n }\n commonSequence = whole.toByteArray ();\n matched = false;\n throw new NotTestedException ();\n }", "public static ULocale minimizeSubtags(ULocale loc) {\n/* 978 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "void ompleBlocsHoritzontals() {\r\n\r\n for (int i = 0; i < N; i = i + SRN) // for diagonal box, start coordinates->i==j \r\n {\r\n ompleBloc(i, i);\r\n }\r\n }", "void warningsForUnresolvedFragRefs()\n { \n FragRefs[] unresolved = (FragRefs[])fragRefs.values().toArray(new FragRefs[fragRefs.size()]);\n for (int i=0; i<unresolved.length; ++i)\n { \n FragRefs r = unresolved[i];\n for (int j=0; j < r.uris.size(); ++j)\n {\n Uri uri = (Uri)r.uris.get(j);\n XElem elem = (XElem)r.elems.get(j);\n warning(\"Unresolved fragment reference '\" + uri + \"'\", elem);\n }\n } \n }", "@Test\n\tpublic void testForwardFrameShiftBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6647537, PositionType.ZERO_BASED),\n\t\t\t\t\"TGCCCCACCT\", \"CCC\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(6, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.1225_1234delinsCCC\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Cys409Profs*127\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION, VariantType.SPLICE_REGION),\n\t\t\t\tannotation1.effects);\n\t}", "public final synchronized com.google.android.m4b.maps.bu.C4910a m21843a(java.lang.String r10) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r9.f17909e;\t Catch:{ all -> 0x0056 }\n r1 = 0;\n if (r0 != 0) goto L_0x0008;\n L_0x0006:\n monitor-exit(r9);\n return r1;\n L_0x0008:\n r0 = r9.f17907c;\t Catch:{ all -> 0x0056 }\n r2 = com.google.android.m4b.maps.az.C4733b.m21060a(r10);\t Catch:{ all -> 0x0056 }\n r0 = r0.m21933a(r2, r1);\t Catch:{ all -> 0x0056 }\n if (r0 == 0) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0014:\n r2 = r0.length;\t Catch:{ all -> 0x0056 }\n r3 = 9;\t Catch:{ all -> 0x0056 }\n if (r2 <= r3) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0019:\n r2 = 0;\t Catch:{ all -> 0x0056 }\n r2 = r0[r2];\t Catch:{ all -> 0x0056 }\n r4 = 1;\t Catch:{ all -> 0x0056 }\n if (r2 == r4) goto L_0x0020;\t Catch:{ all -> 0x0056 }\n L_0x001f:\n goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0020:\n r5 = com.google.android.m4b.maps.bs.C4891e.m21914c(r0, r4);\t Catch:{ all -> 0x0056 }\n r2 = new com.google.android.m4b.maps.ar.a;\t Catch:{ all -> 0x0056 }\n r7 = com.google.android.m4b.maps.de.C5350x.f20104b;\t Catch:{ all -> 0x0056 }\n r2.<init>(r7);\t Catch:{ all -> 0x0056 }\n r7 = new java.io.ByteArrayInputStream;\t Catch:{ IOException -> 0x0052 }\n r8 = r0.length;\t Catch:{ IOException -> 0x0052 }\n r8 = r8 - r3;\t Catch:{ IOException -> 0x0052 }\n r7.<init>(r0, r3, r8);\t Catch:{ IOException -> 0x0052 }\n r2.m20818a(r7);\t Catch:{ IOException -> 0x0052 }\n r0 = 2;\n r0 = r2.m20843h(r0);\t Catch:{ all -> 0x0056 }\n r10 = r10.equals(r0);\t Catch:{ all -> 0x0056 }\n if (r10 != 0) goto L_0x0042;\n L_0x0040:\n monitor-exit(r9);\n return r1;\n L_0x0042:\n r10 = new com.google.android.m4b.maps.bu.a;\t Catch:{ all -> 0x0056 }\n r10.<init>();\t Catch:{ all -> 0x0056 }\n r10.m22018a(r4);\t Catch:{ all -> 0x0056 }\n r10.m22020a(r2);\t Catch:{ all -> 0x0056 }\n r10.m22016a(r5);\t Catch:{ all -> 0x0056 }\n monitor-exit(r9);\n return r10;\n L_0x0052:\n monitor-exit(r9);\n return r1;\n L_0x0054:\n monitor-exit(r9);\n return r1;\n L_0x0056:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bs.b.a(java.lang.String):com.google.android.m4b.maps.bu.a\");\n }", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "public abstract void removeBlock();", "private void handleNonFrameShiftCaseStartsWithNoStopCodon() {\n\t\t\tif (aaChange.getPos() == 0) {\n\t\t\t\t// The mutation affects the start codon, is start loss (in the case of keeping the start codon\n\t\t\t\t// intact, we would have jumped into a shifted duplication case earlier.\n\t\t\t\tproteinChange = ProteinMiscChange.build(true, ProteinMiscChangeType.NO_PROTEIN);\n\t\t\t\tvarTypes.add(VariantEffect.START_LOST);\n\t\t\t\tvarTypes.add(VariantEffect.INFRAME_INSERTION);\n\t\t\t} else {\n\t\t\t\t// The start codon is not affected. Since it is a non-FS insertion, the stop codon cannot be\n\t\t\t\t// affected.\n\t\t\t\tif (varAAStopPos == varAAInsertPos) {\n\t\t\t\t\t// The insertion directly starts with a stop codon, is stop gain.\n\t\t\t\t\tproteinChange = ProteinSubstitution.build(true, toString(wtAASeq.charAt(varAAInsertPos)),\n\t\t\t\t\t\tvarAAInsertPos, \"*\");\n\t\t\t\t\tvarTypes.add(VariantEffect.STOP_GAINED);\n\n\t\t\t\t\t// Differentiate the case of disruptive and non-disruptive insertions.\n\t\t\t\t\tif (insertPos.getPos() % 3 == 0)\n\t\t\t\t\t\tvarTypes.add(VariantEffect.INFRAME_INSERTION);\n\t\t\t\t\telse\n\t\t\t\t\t\tvarTypes.add(VariantEffect.DISRUPTIVE_INFRAME_INSERTION);\n\t\t\t\t} else {\n\t\t\t\t\tif (varAAStopPos != -1 && wtAAStopPos != -1\n\t\t\t\t\t\t&& varAASeq.length() - varAAStopPos != wtAASeq.length() - wtAAStopPos) {\n\t\t\t\t\t\t// The insertion does not directly start with a stop codon but the insertion leads to a stop\n\t\t\t\t\t\t// codon in the affected amino acids. This leads to an \"delins\" protein annotation.\n\t\t\t\t\t\tproteinChange = ProteinIndel.buildWithSeqDescription(true,\n\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos)), varAAInsertPos,\n\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos + 1)), varAAInsertPos + 1,\n\t\t\t\t\t\t\tnew ProteinSeqDescription(),\n\t\t\t\t\t\t\tnew ProteinSeqDescription(varAASeq.substring(varAAInsertPos, varAAStopPos)));\n\t\t\t\t\t\tvarTypes.add(VariantEffect.STOP_GAINED);\n\n\t\t\t\t\t\taddNonFrameshiftInsertionEffect();\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// The changes on the amino acid level do not lead to a new stop codon, is non-FS insertion.\n\n\t\t\t\t\t\t// Differentiate the ins and the delins case.\n\t\t\t\t\t\tif (aaChange.getRef().equals(\"\")) {\n\t\t\t\t\t\t\t// Clean insertion.\n\t\t\t\t\t\t\tif (DuplicationChecker.isDuplication(wtAASeq, aaChange.getAlt(), varAAInsertPos)) {\n\t\t\t\t\t\t\t\t// We have a duplication, can only be duplication of AAs to the left because of\n\t\t\t\t\t\t\t\t// normalization in CDSExonicAnnotationBuilder constructor.\n\t\t\t\t\t\t\t\tif (aaChange.getAlt().length() == 1) {\n\t\t\t\t\t\t\t\t\tproteinChange = ProteinDuplication.buildWithSeqDescription(true,\n\t\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos - 1)), varAAInsertPos - 1,\n\t\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos - 1)), varAAInsertPos - 1,\n\t\t\t\t\t\t\t\t\t\tnew ProteinSeqDescription());\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tproteinChange = ProteinDuplication.buildWithSeqDescription(true,\n\t\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos - aaChange.getAlt().length())),\n\t\t\t\t\t\t\t\t\t\tvarAAInsertPos - aaChange.getAlt().length(),\n\t\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos - 1)), varAAInsertPos - 1,\n\t\t\t\t\t\t\t\t\t\tnew ProteinSeqDescription());\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\taddNonFrameshiftInsertionEffect();\n\t\t\t\t\t\t\t\tvarTypes.add(VariantEffect.DIRECT_TANDEM_DUPLICATION);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// We have a simple insertion.\n\t\t\t\t\t\t\t\tproteinChange = ProteinInsertion.buildWithSequence(true,\n\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos - 1)), varAAInsertPos - 1,\n\t\t\t\t\t\t\t\t\ttoString(wtAASeq.charAt(varAAInsertPos)), varAAInsertPos, aaChange.getAlt());\n\n\t\t\t\t\t\t\t\taddNonFrameshiftInsertionEffect();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// The delins/substitution case.\n\t\t\t\t\t\t\tproteinChange = ProteinIndel.buildWithSeqDescription(true, aaChange.getRef(),\n\t\t\t\t\t\t\t\tvarAAInsertPos, aaChange.getRef(), varAAInsertPos, new ProteinSeqDescription(),\n\t\t\t\t\t\t\t\tnew ProteinSeqDescription(aaChange.getAlt()));\n\t\t\t\t\t\t\taddNonFrameshiftInsertionEffect();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "@Test\n public void tesInvalidateMissingBlock() throws Exception {\n long blockSize = 1024;\n int heatbeatInterval = 1;\n HdfsConfiguration c = new HdfsConfiguration();\n c.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, heatbeatInterval);\n c.setLong(DFS_BLOCK_SIZE_KEY, blockSize);\n MiniDFSCluster cluster = new MiniDFSCluster.Builder(c).\n numDataNodes(1).build();\n try {\n cluster.waitActive();\n DFSTestUtil.createFile(cluster.getFileSystem(), new Path(\"/a\"),\n blockSize, (short)1, 0);\n\n String bpid = cluster.getNameNode().getNamesystem().getBlockPoolId();\n DataNode dn = cluster.getDataNodes().get(0);\n FsDatasetImpl fsdataset = (FsDatasetImpl) dn.getFSDataset();\n List<ReplicaInfo> replicaInfos = fsdataset.getFinalizedBlocks(bpid);\n assertEquals(1, replicaInfos.size());\n\n ReplicaInfo replicaInfo = replicaInfos.get(0);\n String blockPath = replicaInfo.getBlockURI().getPath();\n String metaPath = replicaInfo.getMetadataURI().getPath();\n File blockFile = new File(blockPath);\n File metaFile = new File(metaPath);\n\n // Mock local block file not found when disk with some exception.\n fsdataset.invalidateMissingBlock(bpid, replicaInfo);\n\n // Assert local block file wouldn't be deleted from disk.\n assertTrue(blockFile.exists());\n // Assert block info would be removed from ReplicaMap.\n assertEquals(\"null\",\n fsdataset.getReplicaString(bpid, replicaInfo.getBlockId()));\n BlockManager blockManager = cluster.getNameNode().\n getNamesystem().getBlockManager();\n GenericTestUtils.waitFor(() ->\n blockManager.getLowRedundancyBlocksCount() == 1, 100, 5000);\n\n // Mock local block file found when disk back to normal.\n FsVolumeSpi.ScanInfo info = new FsVolumeSpi.ScanInfo(\n replicaInfo.getBlockId(), blockFile.getParentFile().getAbsoluteFile(),\n blockFile.getName(), metaFile.getName(), replicaInfo.getVolume());\n fsdataset.checkAndUpdate(bpid, info);\n GenericTestUtils.waitFor(() ->\n blockManager.getLowRedundancyBlocksCount() == 0, 100, 5000);\n } finally {\n cluster.shutdown();\n }\n }", "boolean splitAndInsert(T t, Pair<String,LeafNode> ln){\n\n int splitTimes=0;\n\n Interval[] intervals = ln.second().getIntervals();\n assert intervals.length==leafNodeCapacity;\n Interval[] leftIntervals = new Interval[leafNodeCapacity];\n Interval[] rightIntervals = new Interval[leafNodeCapacity];\n Interval[] tempIntervals = null;\n\n int leftIntervalNumber=0;\n int rightIntervalNumber=0;\n TriangleShape lnTriangle = ln.second().triangle;\n String lnString=ln.first();\n TriangleShape leftTriangle=null;\n TriangleShape rightTriangle=null;\n String leftString=null;\n String rightString =null;\n\n while(leftIntervalNumber==0 || rightIntervalNumber==0){\n\n if(splitTimes==10000) {\n System.out.println(\"splitTimes=\"+splitTimes);\n System.out.println(\"you should increase the parameter leafNodeCapaity value!!!\");\n assert false;\n }\n else\n splitTimes++;\n\n leftTriangle=lnTriangle.leftTriangle();\n leftIntervalNumber=0;\n rightIntervalNumber=0;\n\n for(Interval i: intervals){\n if(Geom2DSuits.contains(leftTriangle,i.getLowerBound(),i.getUpperBound())){\n leftIntervals[leftIntervalNumber]=i;\n leftIntervalNumber++;\n }\n else{\n rightIntervals[rightIntervalNumber]=i;\n rightIntervalNumber++;\n }\n }\n\n if(leftIntervalNumber==0){//all located at left side\n rightTriangle = lnTriangle.rightTriangle();\n rightString = lnString+\"1\";\n leftString=lnString+\"0\";\n emptyNodes.add(leftString);\n lnTriangle = rightTriangle;\n lnString=rightString;\n\n tempIntervals=intervals;\n intervals=rightIntervals;\n rightIntervals=tempIntervals;\n }\n else if(rightIntervalNumber==0){//all located at right side\n rightString = lnString+\"1\";\n leftString=lnString+\"0\";\n emptyNodes.add(rightString);\n lnTriangle = leftTriangle;\n lnString=leftString;\n\n tempIntervals=intervals;\n intervals=leftIntervals;\n leftIntervals=tempIntervals;\n }\n else { //spit successfully\n\n leftString=lnString+\"0\";\n LeafNode leftNode = new LeafNode();\n leftNode.intervals=leftIntervals;\n leftNode.size=leftIntervalNumber;\n leftNode.triangle=leftTriangle;\n\n rightString = lnString+\"1\";\n LeafNode rightNode = new LeafNode();\n rightTriangle = lnTriangle.rightTriangle();\n rightNode.triangle=rightTriangle;\n rightNode.size=rightIntervalNumber;\n rightNode.intervals=rightIntervals;\n\n if(leftNode.insert(t)!=1){\n rightNode.insert(t);\n }\n\n Identifier lnPage =leafInfos.remove(ln.first());\n writeNode(leftNode,lnPage);\n Identifier rightPage = CommonSuits.createIdentifier(-1L);\n writeNode(rightNode,rightPage);\n\n leafInfos.put(leftString,lnPage);\n leafInfos.put(rightString,rightPage);\n return true;\n }\n }\n return false;\n }", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "public void unifyAdjacentChests(World par1World, int par2, int par3, int par4) {\n\t\tif (!par1World.isRemote) {\n\t\t\tBlock l = par1World.getBlock(par2, par3, par4 - 1);\n\t\t\tBlock i1 = par1World.getBlock(par2, par3, par4 + 1);\n\t\t\tBlock j1 = par1World.getBlock(par2 - 1, par3, par4);\n\t\t\tBlock k1 = par1World.getBlock(par2 + 1, par3, par4);\n\t\t\tBlock l1;\n\t\t\tBlock i2;\n\n\t\t\tbyte b0;\n\t\t\tint j2;\n\n\t\t\tif (l != this && i1 != this) {\n\t\t\t\tif (j1 != this && k1 != this) {\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (l.func_149730_j() && !i1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (i1.func_149730_j() && !l.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j1.func_149730_j() && !k1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 5;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (k1.func_149730_j() && !j1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 4;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tl1 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 - 1);\n\t\t\t\t\ti2 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 + 1);\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (j1 == this) {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 - 1, par3, par4);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 + 1, par3, par4);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j2 == 2) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((l.func_149730_j() || l1.func_149730_j()) && !i1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((i1.func_149730_j() || i2.func_149730_j()) && !l.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tl1 = par1World.getBlock(par2 - 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\ti2 = par1World.getBlock(par2 + 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\tb0 = 5;\n\n\t\t\t\tif (l == this) {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 - 1);\n\t\t\t\t} else {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 + 1);\n\t\t\t\t}\n\n\t\t\t\tif (j2 == 4) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\n\t\t\t\tif ((j1.func_149730_j() || l1.func_149730_j()) && !k1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\tb0 = 5;\n\t\t\t\t}\n\n\t\t\t\tif ((k1.func_149730_j() || i2.func_149730_j()) && !j1.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpar1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 3);\n\t\t}\n\t}", "@Test\n public void testMetaBlocks() throws Exception {\n metablocks(\"none\");\n metablocks(\"gz\");\n }", "@Test\n\tpublic void testForwardStartLoss() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6640669, PositionType.ZERO_BASED),\n\t\t\t\t\"ACG\", \"CGTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(1, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.1_3delinsCGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.0?\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.START_LOSS), annotation1.effects);\n\n\t\t// Delete chunk out of first exon, spanning start codon from the left.\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6640660, PositionType.ZERO_BASED),\n\t\t\t\t\"CCCTCCAGACC\", \"GTTG\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(1, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.-9_2delinsGTTG\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.0?\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.START_LOSS), annotation2.effects);\n\n\t\t// Delete chunk out of first exon, spanning start codon from the right.\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6640671, PositionType.ZERO_BASED),\n\t\t\t\t\"GGACGGCTCCT\", \"CTTG\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(1, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.3_13delinsCTTG\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.0?\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.START_LOSS), annotation3.effects);\n\n\t\t// Deletion from before transcript, reaching into the start codon.\n\t\tGenomeChange change4 = new GenomeChange(\n\t\t\t\tnew GenomePosition(refDict, '+', 1, 6640399, PositionType.ZERO_BASED),\n\t\t\t\t\"TCTCACCAGGCCCTTCTTCACGACCCTGGCCCCCCATCCAGCATCCCCCCTGGCCAATCCAATATGGCCCCCGGCCCCCGGGAGGCTGTCAGTGTGTTCCAGCCCTCCGCGTGCACCCCTCACCCTGACCCAAGCCCTCGTGCTGATAAATATGATTATTTGAGTAGAGGCCAACTTCCCGTTTCTCTCTCTTGACTCCAGGAGCTTTCTCTTGCATACCCTCGCTTAGGCTGGCCGGGGTGTCACTTCTGCCTCCCTGCCCTCCAGACCA\",\n\t\t\t\t\"ACCT\");\n\t\tAnnotation annotation4 = new BlockSubstitutionAnnotationBuilder(infoForward, change4).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation4.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation4.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.-69-201_1delinsACCT\", annotation4.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.0?\", annotation4.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.START_LOSS), annotation4.effects);\n\t}", "private ASMInstrumenter() {\n insertMutationProbes = SmartSHARKAdapter.getInstance().getMutationsWithLines();\n\n /*\n insertMutationProbes.put(\"de.ugoe.cs.testproject.A.<init>\", new TreeSet<Integer>(){{add(2);}});\n insertMutationProbes.put(\"de.ugoe.cs.testproject.A.method1\", new TreeSet<Integer>(){{add(25); add(29);}});\n insertMutationProbes.put(\"de.ugoe.cs.testproject.A.method2\", new TreeSet<Integer>(){{add(44);}});\n insertMutationProbes.put(\"de.ugoe.cs.testproject.A.metho5\", new TreeSet<Integer>(){{add(59);}});\n insertMutationProbes.put(\"de.ugoe.cs.testproject.B.method1\", new TreeSet<Integer>(){{add(25);}});\n */\n //System.out.println(insertMutationProbes);\n }", "private void ssMergeForward(int r16, int[] r17, int r18, int r19, int r20, int r21, int r22) {\n /*\n r15 = this;\n r3 = r15.SA;\n r13 = r20 - r19;\n r13 = r13 + r18;\n r4 = r13 + -1;\n r13 = r20 - r19;\n r0 = r17;\n r1 = r18;\n r2 = r19;\n ssBlockSwap(r0, r1, r3, r2, r13);\n r12 = r3[r19];\n r5 = r19;\n r7 = r18;\n r9 = r20;\n L_0x001b:\n r13 = r17[r7];\n r13 = r13 + r16;\n r14 = r3[r9];\n r14 = r14 + r16;\n r0 = r22;\n r11 = r15.ssCompare(r13, r14, r0);\n if (r11 >= 0) goto L_0x0044;\n L_0x002b:\n r6 = r5 + 1;\n r13 = r17[r7];\n r3[r5] = r13;\n if (r4 > r7) goto L_0x0037;\n L_0x0033:\n r17[r7] = r12;\n r5 = r6;\n L_0x0036:\n return;\n L_0x0037:\n r8 = r7 + 1;\n r13 = r3[r6];\n r17[r7] = r13;\n r13 = r17[r8];\n if (r13 < 0) goto L_0x00d5;\n L_0x0041:\n r7 = r8;\n r5 = r6;\n goto L_0x001b;\n L_0x0044:\n if (r11 <= 0) goto L_0x0079;\n L_0x0046:\n r6 = r5 + 1;\n r13 = r3[r9];\n r3[r5] = r13;\n r10 = r9 + 1;\n r13 = r3[r6];\n r3[r9] = r13;\n r0 = r21;\n if (r0 > r10) goto L_0x0072;\n L_0x0056:\n r8 = r7;\n L_0x0057:\n if (r8 >= r4) goto L_0x0068;\n L_0x0059:\n r5 = r6 + 1;\n r13 = r17[r8];\n r3[r6] = r13;\n r7 = r8 + 1;\n r13 = r3[r5];\n r17[r8] = r13;\n r8 = r7;\n r6 = r5;\n goto L_0x0057;\n L_0x0068:\n r13 = r17[r8];\n r3[r6] = r13;\n r17[r8] = r12;\n r9 = r10;\n r7 = r8;\n r5 = r6;\n goto L_0x0036;\n L_0x0072:\n r13 = r3[r10];\n if (r13 < 0) goto L_0x00d1;\n L_0x0076:\n r9 = r10;\n r5 = r6;\n goto L_0x001b;\n L_0x0079:\n r13 = r3[r9];\n r13 = r13 ^ -1;\n r3[r9] = r13;\n L_0x007f:\n r6 = r5 + 1;\n r13 = r17[r7];\n r3[r5] = r13;\n if (r4 > r7) goto L_0x008b;\n L_0x0087:\n r17[r7] = r12;\n r5 = r6;\n goto L_0x0036;\n L_0x008b:\n r8 = r7 + 1;\n r13 = r3[r6];\n r17[r7] = r13;\n r13 = r17[r8];\n if (r13 < 0) goto L_0x00ce;\n L_0x0095:\n r5 = r6;\n L_0x0096:\n r6 = r5 + 1;\n r13 = r3[r9];\n r3[r5] = r13;\n r10 = r9 + 1;\n r13 = r3[r6];\n r3[r9] = r13;\n r0 = r21;\n if (r0 > r10) goto L_0x00c2;\n L_0x00a6:\n if (r8 >= r4) goto L_0x00b7;\n L_0x00a8:\n r5 = r6 + 1;\n r13 = r17[r8];\n r3[r6] = r13;\n r7 = r8 + 1;\n r13 = r3[r5];\n r17[r8] = r13;\n r8 = r7;\n r6 = r5;\n goto L_0x00a6;\n L_0x00b7:\n r13 = r17[r8];\n r3[r6] = r13;\n r17[r8] = r12;\n r9 = r10;\n r7 = r8;\n r5 = r6;\n goto L_0x0036;\n L_0x00c2:\n r13 = r3[r10];\n if (r13 < 0) goto L_0x00cb;\n L_0x00c6:\n r9 = r10;\n r7 = r8;\n r5 = r6;\n goto L_0x001b;\n L_0x00cb:\n r9 = r10;\n r5 = r6;\n goto L_0x0096;\n L_0x00ce:\n r7 = r8;\n r5 = r6;\n goto L_0x007f;\n L_0x00d1:\n r9 = r10;\n r5 = r6;\n goto L_0x0046;\n L_0x00d5:\n r7 = r8;\n r5 = r6;\n goto L_0x002b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.netty.handler.codec.compression.Bzip2DivSufSort.ssMergeForward(int, int[], int, int, int, int, int):void\");\n }", "private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }", "@Test\r\n\t@Ignore\r\n\tpublic void shouldReturnLisOfBrokenByRegion() {\n\t}", "public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }", "@Test(timeout = 4000)\n public void test17() throws Throwable {\n DefaultNucleotideCodec defaultNucleotideCodec0 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray0 = new byte[9];\n defaultNucleotideCodec0.toString(byteArray0);\n defaultNucleotideCodec0.decodedLengthOf(byteArray0);\n defaultNucleotideCodec0.decodedLengthOf(byteArray0);\n defaultNucleotideCodec0.getUngappedLength(byteArray0);\n Nucleotide nucleotide0 = Nucleotide.Gap;\n Set<Nucleotide> set0 = nucleotide0.getBasesFor();\n byte[] byteArray1 = defaultNucleotideCodec0.encode((Collection<Nucleotide>) set0);\n DefaultNucleotideCodec defaultNucleotideCodec1 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec1.decode(byteArray0, 0);\n DefaultNucleotideCodec defaultNucleotideCodec2 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray2 = defaultNucleotideCodec2.encode((Collection<Nucleotide>) set0);\n DefaultNucleotideCodec defaultNucleotideCodec3 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec3.toString(byteArray1);\n DefaultNucleotideCodec defaultNucleotideCodec4 = DefaultNucleotideCodec.INSTANCE;\n DefaultNucleotideCodec defaultNucleotideCodec5 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec5.toString(byteArray0);\n DefaultNucleotideCodec defaultNucleotideCodec6 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec6.getNumberOfGapsUntil(byteArray1, 4);\n DefaultNucleotideCodec.values();\n defaultNucleotideCodec1.isGap(byteArray2, 0);\n defaultNucleotideCodec4.getGappedOffsetFor(byteArray1, (-16908803));\n defaultNucleotideCodec0.getNumberOfGapsUntil(byteArray0, 1497825280);\n // Undeclared exception!\n try { \n DefaultNucleotideCodec.valueOf(\"\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // No enum constant org.jcvi.jillion.core.residue.nt.DefaultNucleotideCodec.\n //\n verifyException(\"java.lang.Enum\", e);\n }\n }", "@Test(timeout = 4000)\n public void test13() throws Throwable {\n DefaultNucleotideCodec defaultNucleotideCodec0 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray0 = new byte[9];\n defaultNucleotideCodec0.toString(byteArray0);\n DefaultNucleotideCodec defaultNucleotideCodec1 = DefaultNucleotideCodec.INSTANCE;\n Nucleotide nucleotide0 = Nucleotide.Pyrimidine;\n Set<Nucleotide> set0 = nucleotide0.getBasesFor();\n byte[] byteArray1 = defaultNucleotideCodec1.encode((Collection<Nucleotide>) set0);\n DefaultNucleotideCodec defaultNucleotideCodec2 = DefaultNucleotideCodec.INSTANCE;\n defaultNucleotideCodec2.toString(byteArray1);\n defaultNucleotideCodec2.toString(byteArray1);\n // Undeclared exception!\n try { \n defaultNucleotideCodec0.getUngappedOffsetFor((byte[]) null, 12);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.nio.ByteBuffer\", e);\n }\n }", "SerializableState getInvalidRegion(Long id,\n\t\t\t\t ParameterBlock oldParamBlock,\n\t\t\t\t SerializableState oldHints,\n\t\t\t\t ParameterBlock newParamBlock,\n\t\t\t\t SerializableState newHints)\n\tthrows RemoteException;", "void combineAndCollectSnapshotBlocks(\n INode.ReclaimContext reclaimContext, INodeFile file, FileDiff removed) {\n BlockInfo[] removedBlocks = removed.getBlocks();\n if (removedBlocks == null) {\n FileWithSnapshotFeature sf = file.getFileWithSnapshotFeature();\n assert sf != null : \"FileWithSnapshotFeature is null\";\n if(sf.isCurrentFileDeleted())\n sf.collectBlocksAndClear(reclaimContext, file);\n return;\n }\n int p = getPrior(removed.getSnapshotId(), true);\n FileDiff earlierDiff = p == Snapshot.NO_SNAPSHOT_ID ? null : getDiffById(p);\n // Copy blocks to the previous snapshot if not set already\n if (earlierDiff != null) {\n earlierDiff.setBlocks(removedBlocks);\n }\n BlockInfo[] earlierBlocks =\n (earlierDiff == null ? new BlockInfoContiguous[]{} : earlierDiff.getBlocks());\n // Find later snapshot (or file itself) with blocks\n BlockInfo[] laterBlocks = findLaterSnapshotBlocks(removed.getSnapshotId());\n laterBlocks = (laterBlocks == null) ? file.getBlocks() : laterBlocks;\n // Skip blocks, which belong to either the earlier or the later lists\n int i = 0;\n for(; i < removedBlocks.length; i++) {\n if(i < earlierBlocks.length && removedBlocks[i] == earlierBlocks[i])\n continue;\n if(i < laterBlocks.length && removedBlocks[i] == laterBlocks[i])\n continue;\n break;\n }\n // Check if last block is part of truncate recovery\n BlockInfo lastBlock = file.getLastBlock();\n BlockInfo dontRemoveBlock = null;\n if (lastBlock != null && lastBlock.getBlockUCState().equals(\n HdfsServerConstants.BlockUCState.UNDER_RECOVERY)) {\n dontRemoveBlock = lastBlock.getUnderConstructionFeature()\n .getTruncateBlock();\n }\n // Collect the remaining blocks of the file, ignoring truncate block\n for (;i < removedBlocks.length; i++) {\n if(dontRemoveBlock == null || !removedBlocks[i].equals(dontRemoveBlock)) {\n reclaimContext.collectedBlocks().addDeleteBlock(removedBlocks[i]);\n }\n }\n }", "@Override\n \t/**\n \t * Called when the block is placed in the world.\n \t */\n \tpublic void auxiliaryOnBlockPlacedBy(TECarpentersBlock TE, World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack)\n \t{\n \t\tif (!entityLiving.isSneaking())\n \t\t{\n \t\t\t/* Match adjacent collapsible quadrant heights. */\n \t\t\t\n \t\t\tTECarpentersBlock TE_XN = world.getBlockId(x - 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x - 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_XP = world.getBlockId(x + 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x + 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_ZN = world.getBlockId(x, y, z - 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z - 1) : null;\n \t\t\tTECarpentersBlock TE_ZP = world.getBlockId(x, y, z + 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z + 1) : null;\n \n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNP));\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZNP));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZPN));\n \t\t\t}\n \t\t}\n \t}", "void scanafter() {\n\t\tint oldline, newline;\n\n\t\tfor (newline = 0; newline <= newinfo.maxLine; newline++) {\n\t\t\toldline = newinfo.other[newline];\n\t\t\tif (oldline >= 0) { /* is unique in old & new */\n\t\t\t\tfor (;;) { /* scan after there in both files */\n\t\t\t\t\tif (++oldline > oldinfo.maxLine)\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tif (oldinfo.other[oldline] >= 0)\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tif (++newline > newinfo.maxLine)\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tif (newinfo.other[newline] >= 0)\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t/*\n\t\t\t\t\t * oldline & newline exist, and aren't already matched\n\t\t\t\t\t */\n\n\t\t\t\t\tif (newinfo.symbol[newline] != oldinfo.symbol[oldline])\n\t\t\t\t\t\tbreak; // not same\n\n\t\t\t\t\tnewinfo.other[newline] = oldline; // record a match\n\t\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private static void registerBlock(Block b)\n\t{\n\t}", "private String[] getConflictedIds(String errorMsg){\n String startStr = \": \";\n String endStr = \";\";\n int startIndex = errorMsg.indexOf(startStr) + startStr.length();\n int endIndex = errorMsg.indexOf(endStr);\n return errorMsg.substring(startIndex, endIndex).split(\",\");\n }", "public boolean[] map(LocusContext context, SAMRecord read) {\n boolean[] errorsPerCycle = new boolean[read.getReadLength() + 1];\n \n byte[] bases = read.getReadBases();\n byte[] contig = context.getReferenceContig().getBases();\n byte[] sq = (byte[]) read.getAttribute(\"SQ\");\n \n int totalMismatches = 0;\n \n for (int cycle = 0, offset = (int) context.getPosition(); cycle < bases.length; cycle++, offset++) {\n byte compBase;\n \n switch (contig[offset]) {\n case 'A':\n case 'a': compBase = 'A'; break;\n case 'C':\n case 'c': compBase = 'C'; break;\n case 'G':\n case 'g': compBase = 'G'; break;\n case 'T':\n case 't': compBase = 'T'; break;\n default: compBase = '.'; break;\n }\n \n if (compBase != '.') {\n if (useNextBestBase) {\n int nextBestBaseIndex = QualityUtils.compressedQualityToBaseIndex(sq[cycle]);\n byte nextBestBase;\n switch (nextBestBaseIndex) {\n case 0: nextBestBase = 'A'; break;\n case 1: nextBestBase = 'C'; break;\n case 2: nextBestBase = 'G'; break;\n case 3: nextBestBase = 'T'; break;\n default: nextBestBase = '.'; break;\n }\n \n if (nextBestBase != '.') {\n errorsPerCycle[cycle] = !(bases[cycle] == compBase || nextBestBase == compBase);\n totalMismatches = (!(bases[cycle] == compBase || nextBestBase == compBase)) ? 1 : 0;\n }\n } else {\n errorsPerCycle[cycle] = !(bases[cycle] == compBase);\n totalMismatches += (!(bases[cycle] == compBase)) ? 1 : 0;\n }\n }\n }\n \n /*\n if (totalMismatches > 4) {\n for (int cycle = 0; cycle < bases.length; cycle++) { System.out.print((char) bases[cycle]); } System.out.print(\"\\n\");\n for (int cycle = 0, offset = (int) context.getPosition(); cycle < bases.length; cycle++, offset++) { System.out.print((char) contig[offset]); } System.out.print(\"\\n\");\n System.out.println(totalMismatches + \"\\n\");\n }\n */\n\n // We encode that we saw a read in the last position of the array.\n // That way we know what to normalize by, and we get thread safety!\n errorsPerCycle[errorsPerCycle.length - 1] = true;\n \n return errorsPerCycle;\n }", "private static void loadBlockFromArray(ArrayList<String> items, int start, int end) {\n int id = -1;\n String speciesName = null;\n Long speciesID = new Long(0);\n String label = null;\n //String command = null;\n boolean hasBreed = false;\n String breed = null;\n double xcor = 0.0, ycor = 0.0;\n int numSockets = 0;\n int[] socketBlockIDs = new int[0];\n int plugID = -1;\n int controlNextID = -1, controlPrevID = -1;\n String shapeName = null;\n boolean procedureShown = true;\n /*int correspondingParameterID = -1;*/\n boolean isBad = false;\n// boolean isPermanentlyBad = false;\n\n int i = start;\n while (i<end) {\n String item = items.get(i).toString();\n\n if (item.equals(\"species-name\")) {\n speciesName = items.get(i+1).toString();\n i += 2;\n //System.out.println(\"Species name \" + speciesName);\n continue;\n }\n\n if (item.equals(\"id\")) {\n String value = items.get(i+1).toString();\n id = Integer.parseInt(value);\n i += 2;\n //System.out.println(\"block id \" + id);\n continue;\n }\n\n if (item.equals(\"species-id\")) {\n String value = items.get(i+1).toString();\n speciesID = Long.valueOf(value);\n i += 2;\n //System.out.println(\"Species id \" + speciesID);\n continue;\n }\n\n if (item.equals(\"label\")) {\n label = items.get(i+1).toString();\n i += 2;\n //System.out.println(\"label \" + label);\n continue;\n }\n\n if (item.equals(\"command\")) {\n //command = items.get(i+1).toString();\n i += 2;\n //System.out.println(\"command \" + command);\n continue;\n }\n\n if (item.equals(\"has-breed\")) {\n String value = items.get(i+1).toString();\n hasBreed = (value.equals(\"true\"));\n i += 2;\n //System.out.println(\"has breed \" + hasBreed);\n continue;\n }\n\n if (item.equals(\"breed\")) {\n breed = items.get(i+1).toString();\n i += 2;\n //System.out.println(\"breed \" + breed);\n continue;\n }\n\n if (item.equals(\"xcor\")) {\n String value = items.get(i+1).toString();\n xcor = Double.parseDouble(value);\n i += 2;\n //System.out.println(\"xcor \" + xcor);\n continue;\n }\n\n if (item.equals(\"ycor\")) {\n String value = items.get(i+1).toString();\n ycor = Double.parseDouble(value);\n i += 2;\n //System.out.println(\"ycor \" + ycor);\n continue;\n }\n \n if (item.equals(\"is-bad\")) {\n String value = items.get(i+1).toString();\n isBad = value.equals(\"true\");\n i += 2;\n //System.out.println(\"has breed \" + hasBreed);\n continue;\n }\n \n if (item.equals(\"is-bad\")) {\n// String value = items.get(i+1).toString();\n// isPermanentlyBad = value.equals(\"true\");\n i += 2;\n //System.out.println(\"has breed \" + hasBreed);\n continue;\n }\n\n if (item.equals(\"plug\")) {\n String value = items.get(i+1).toString();\n plugID = Integer.parseInt(value);\n i += 2;\n //System.out.println(\"plug \" + plugID);\n continue;\n }\n\n if (item.equals(\"control-prev\")) {\n String value = items.get(i+1).toString();\n controlPrevID = Integer.parseInt(value);\n i += 2;\n //System.out.println(\"control prev \" + controlPrevID);\n continue;\n }\n\n if (item.equals(\"control-next\")) {\n String value = items.get(i+1).toString();\n controlNextID = Integer.parseInt(value);\n i += 2;\n //System.out.println(\"control next \" + controlNextID);\n continue;\n }\n\n if (item.equals(\"sockets\")) {\n String value = items.get(i+1).toString();\n //System.out.println(\"found sockets \" + value);\n numSockets = Integer.parseInt(value);\n i += 2;\n\n socketBlockIDs = new int[numSockets];\n\n for(int currentSocket = 0; currentSocket < numSockets; currentSocket++) {\n String sockLabel = items.get(i).toString();\n assert(sockLabel.equals(\"socket\"));\n socketBlockIDs[currentSocket] = Integer.parseInt(items.get(i+1).toString());\n //System.out.println(\"socket \" + currentSocket + \" block id \" + socketBlockIDs[currentSocket]);\n i += 2;\n }\n continue;\n }\n\n if(item.equals(\"shape-icon\")) {\n shapeName = items.get(i + 1).toString();\n i += 2;\n //System.out.println(\"shape-icon = \" + value);\n //shape = AvailableShapes.getShape(value);\n continue;\n }\n\n if (item.equals(\"procedure-shown\")) {\n String value = items.get(i+1).toString();\n i += 2;\n //System.out.println(\"procedure-shown \" + value);\n procedureShown = value.equalsIgnoreCase(\"true\");\n //this is the isMinimized value for procedures\n continue;\n }\n \n if (item.equals(\"parent\")) {\n //String value = items.get(i+1).toString();\n i += 2;\n //correspondingParameterID = Integer.parseInt(value);\n //System.out.println(\"parentID \" + value);\n continue;\n }\n\n // skip the next if we haven't found anything we know\n //System.out.println(\"unknown tag \" + items.get(i).toString());\n i+=2;\n }\n \n assert(id >= 0);\n //assert(speciesName != null);\n assert(speciesID >= 0);\n assert( (hasBreed && breed != null) || !hasBreed);\n \n //apply constraints if any\n VariableConstraints constraint = null;\n if(speciesName.equals(\"global-var-decl-num\") && (constraintsMap.containsKey(label))){\n \tconstraint = constraintsMap.get(label);\n }\n \n //instantiate block data\n BlockData bd = new BlockData(id, speciesName, speciesMap.get(speciesID+speciesName), \n label, xcor, ycor, socketBlockIDs, hasBreed, \n breed, plugID, controlNextID, controlPrevID, isBad, procedureShown, shapeName, constraint);\n \n //for run blocks: forever, runonce, runforsometime, set their labels to be\n //the breeds\n if(bd.getGenusName().equals(\"forever\") || bd.getGenusName().equals(\"runonce\") ||\n bd.getGenusName().equals(\"runforsometime\")){\n bd.setBreedLabels(pages);\n }\n \n //check if block has negative coors, if so translate the coors\n if(bd.getXCor() < 0)\n \tbd.setXCor(-bd.getXCor());\n if(bd.getYCor() < 0)\n \tbd.setYCor(-bd.getYCor());\n \n blocks.add(bd);\n \n if(DEBUG) \n \t System.out.println(\"Loaded: \"+bd);\n \n \n \n }", "@Test(timeout = 30000)\n public void testMoveBlockFailure() {\n // Test copy\n testMoveBlockFailure(conf);\n // Test hardlink\n conf.setBoolean(DFSConfigKeys\n .DFS_DATANODE_ALLOW_SAME_DISK_TIERING, true);\n conf.setDouble(DFSConfigKeys\n .DFS_DATANODE_RESERVE_FOR_ARCHIVE_DEFAULT_PERCENTAGE, 0.5);\n testMoveBlockFailure(conf);\n }", "public void markRecordsDroppedMerge() throws JNCException {\n markLeafMerge(\"recordsDropped\");\n }", "@Test (timeout=180000)\n public void testHDFSRegioninfoMissing() throws Exception {\n TableName table = TableName.valueOf(\"tableHDFSRegioninfoMissing\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by leaving a hole in the meta data\n admin.disableTable(table);\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, false, true, HRegionInfo.DEFAULT_REPLICA_ID);\n TEST_UTIL.getHBaseAdmin().enableTable(table);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.ORPHAN_HDFS_REGION,\n ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN});\n // holes are separate from overlap groups\n assertEquals(0, hbck.getOverlapGroups(table).size());\n\n // fix hole\n doFsck(conf, true);\n\n // check that hole fixed\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "public SequenceRegion sequencesBefore(Sequence sequence) {\n\tthrow new PasseException();\n/*\nudanax-top.st:15743:SequenceSpace methodsFor: 'smalltalk: passe'!\n{SequenceRegion} sequencesBefore: sequence {Sequence}\n\t\"Essential. All sequences less than or equal to the given sequence.\n\tShould this just be supplanted by CoordinateSpace::region ()?\"\n\t\n\tself passe.\n\t^SequenceRegion usingx: true\n\t\twith: (PrimSpec pointer arrayWith: (AfterSequence make: sequence))!\n*/\n}", "int regionSplitBits4PVTable();", "private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }", "public ByteBuf discardSomeReadBytes()\r\n/* 113: */ {\r\n/* 114:130 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 115:131 */ return super.discardSomeReadBytes();\r\n/* 116: */ }", "public String toStringDeleteriousBedLine(boolean collapse){\n\t\t//scan for deleterious mutations\n\t\tArrayList<Integer> bad = new ArrayList<Integer>();\n\t\tfor (int i=0; i< effects.length; i++){\n\t\t\tif (effects[i].contains(\"Non-synonymous\") || effects[i].contains(\"splice\")){\n\t\t\t\tif (collapse){\n\t\t\t\t\tString test = geneModel.getChrom()+\"_\"+ alleles[i].getStart()+ \"_\"+ alleles[i].getStop() +new String (numberWhiteSpace.matcher(effects[i]).replaceAll(\"\"));\n\t\t\t\t\tif (printedTranscripts.contains(test) == false) {\n\t\t\t\t\t\tbad.add(new Integer(i));\n\t\t\t\t\t\tprintedTranscripts.add(test);\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse bad.add(new Integer(i));\n\t\t\t}\n\t\t}\n\t\tif (bad.size()==0) return null;\n\t\t//get chrom\n\t\tString chrom = geneModel.getChrom()+\"\\t\";\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint[] badAlleles = Num.arrayListOfIntegerToInts(bad);\n\t\tfor (int i=0; i< badAlleles.length; i++){\n\t\t\t\n\t\t\t//add chrom\n\t\t\tsb.append(chrom);\n\t\t\t//watch out for INDELS\n\t\t\tint start = alleles[badAlleles[i]].getStart();\n\t\t\tint stop = alleles[badAlleles[i]].getStop();\n\t\t\tif (start == stop){\n\t\t\t\tstart--;\n\t\t\t\tstop++;\n\t\t\t}\n\t\t\tsb.append(start);\n\t\t\tsb.append(\"\\t\");\n\t\t\tsb.append(stop);\n\t\t\tsb.append(\"\\t\");\n\t\t\tString simple = geneModel.getNames(\"_\") +\"_|_\"+ alleles[badAlleles[i]].getNotes()+\"_|_\"+effects[badAlleles[i]];\n\t\t\tsimple = simple.trim();\n\t\t\tsimple = whiteSpace.matcher(simple).replaceAll(\"_\");\n\t\t\tsb.append(simple);\t\t\t\n\t\t\tsb.append(\"\\t1000\\t\");\n\t\t\tsb.append(geneModel.getStrand());\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\t\treturn sb.toString();\n\t}", "public void testMissingRouteAfterMerge() throws Exception {\n a=createNode(LON, \"A\", LON_CLUSTER, null);\n b=createNode(LON, \"B\", LON_CLUSTER, null);\n Util.waitUntilAllChannelsHaveSameView(30000, 1000, a, b);\n\n x=createNode(SFO, \"X\", SFO_CLUSTER, null);\n assert x.getView().size() == 1;\n\n RELAY2 ar=a.getProtocolStack().findProtocol(RELAY2.class),\n xr=x.getProtocolStack().findProtocol(RELAY2.class);\n\n assert ar != null && xr != null;\n\n JChannel a_bridge=null, x_bridge=null;\n for(int i=0; i < 20; i++) {\n a_bridge=ar.getBridge(SFO);\n x_bridge=xr.getBridge(LON);\n if(a_bridge != null && x_bridge != null && a_bridge.getView().size() == 2 && x_bridge.getView().size() == 2)\n break;\n Util.sleep(500);\n }\n\n assert a_bridge != null && x_bridge != null;\n\n System.out.println(\"A's bridge channel: \" + a_bridge.getView());\n System.out.println(\"X's bridge channel: \" + x_bridge.getView());\n assert a_bridge.getView().size() == 2 : \"bridge view is \" + a_bridge.getView();\n assert x_bridge.getView().size() == 2 : \"bridge view is \" + x_bridge.getView();\n\n Route route=getRoute(x, LON);\n System.out.println(\"Route at sfo to lon: \" + route);\n assert route != null;\n\n // Now inject a partition into site LON\n System.out.println(\"Creating partition between A and B:\");\n createPartition(a, b);\n\n System.out.println(\"A's view: \" + a.getView() + \"\\nB's view: \" + b.getView());\n assert a.getView().size() == 1 && b.getView().size() == 1;\n\n route=getRoute(x, LON);\n System.out.println(\"Route at sfo to lon: \" + route);\n assert route != null;\n\n View bridge_view=xr.getBridgeView(BRIDGE_CLUSTER);\n System.out.println(\"bridge_view = \" + bridge_view);\n\n // Now make A and B form a cluster again:\n View merge_view=new MergeView(a.getAddress(), 10, Arrays.asList(a.getAddress(), b.getAddress()),\n Arrays.asList(View.create(a.getAddress(), 5, a.getAddress()),\n View.create(b.getAddress(), 5, b.getAddress())));\n GMS gms=a.getProtocolStack().findProtocol(GMS.class);\n gms.installView(merge_view, null);\n gms=b.getProtocolStack().findProtocol(GMS.class);\n gms.installView(merge_view, null);\n\n Util.waitUntilAllChannelsHaveSameView(20000, 500, a, b);\n System.out.println(\"A's view: \" + a.getView() + \"\\nB's view: \" + b.getView());\n\n for(int i=0; i < 20; i++) {\n bridge_view=xr.getBridgeView(BRIDGE_CLUSTER);\n if(bridge_view != null && bridge_view.size() == 2)\n break;\n Util.sleep(500);\n }\n\n route=getRoute(x, LON);\n System.out.println(\"Route at sfo to lon: \" + route);\n assert route != null;\n }", "private void smoothAdjacentCollapsibles(TECarpentersBlock TE, int src_quadrant)\n \t{\n \t\tTECarpentersBlock TE_XN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_XP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_ZN = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_ZP = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZNN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZNP = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZPN = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZPP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\t\n \t\tint height = Collapsible.getQuadHeight(TE, src_quadrant);\n \t\t\n \t\tswitch (src_quadrant)\n \t\t{\n \t\tcase Collapsible.QUAD_XZNN:\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_XZNN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZNP:\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XZNP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPN:\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XZPN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPP:\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_XZPP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}", "@Test\n public void testPrefixTrimOnNonAddress() throws Exception {\n final int tableSize = PARAMETERS.NUM_ITERATIONS_LOW;\n final String streamName = \"test\";\n\n CorfuRuntime rt = getNewRuntime();\n CorfuRuntime runtime = getNewRuntime();\n\n try {\n PersistentCorfuTable<String, Long> testTable = rt.getObjectsView()\n .build()\n .setTypeToken(new TypeToken<PersistentCorfuTable<String, Long>>() {})\n .setStreamName(streamName)\n .open();\n\n // Checkpoint (should return -1 as no actual data is written yet)\n MultiCheckpointWriter<PersistentCorfuTable<String, Long>> mcw = new MultiCheckpointWriter<>();\n mcw.addMap(testTable);\n Token checkpointAddress = mcw.appendCheckpoints(rt, author);\n\n // Write several entries into the log.\n for (int i = 0; i < tableSize; i++) {\n try {\n testTable.insert(String.valueOf(i), (long) i);\n } catch (TrimmedException te) {\n // shouldn't happen\n te.printStackTrace();\n throw te;\n }\n }\n\n // Prefix Trim on checkpoint snapshot address\n rt.getAddressSpaceView().prefixTrim(checkpointAddress);\n rt.getAddressSpaceView().gc();\n rt.getAddressSpaceView().invalidateServerCaches();\n rt.getAddressSpaceView().invalidateClientCache();\n\n // Rebuild stream from fresh runtime\n try {\n PersistentCorfuTable<String, Long> localTestTable = openTable(runtime, streamName);\n for (int i = 0; i < localTestTable.size(); i++) {\n assertThat(localTestTable.get(String.valueOf(i))).isEqualTo(i);\n }\n assertThat(localTestTable.size()).isEqualTo(tableSize);\n } catch (TrimmedException te) {\n // shouldn't happen\n te.printStackTrace();\n throw te;\n }\n } finally {\n rt.shutdown();\n runtime.shutdown();\n }\n }", "public void mo42595b() {\n if (getAndIncrement() == 0) {\n Observer<? super R> a = this.f41312b;\n int missing = 1;\n while (!this.f41318h) {\n if (this.f41317g) {\n boolean empty = this.f41320j.get() == null;\n if (this.f41315e) {\n if (empty) {\n Throwable ex = (Throwable) this.f41316f.get();\n if (ex != null) {\n a.onError(ex);\n } else {\n a.onComplete();\n }\n return;\n }\n } else if (((Throwable) this.f41316f.get()) != null) {\n a.onError(this.f41316f.mo42732a());\n return;\n } else if (empty) {\n a.onComplete();\n return;\n }\n }\n SwitchMapInnerObserver<T, R> inner = (C13573a) this.f41320j.get();\n if (inner != null) {\n SpscLinkedArrayQueue<R> q = inner.f41309c;\n if (inner.f41310d) {\n boolean empty2 = q.isEmpty();\n if (this.f41315e) {\n if (empty2) {\n this.f41320j.compareAndSet(inner, null);\n }\n } else if (((Throwable) this.f41316f.get()) != null) {\n a.onError(this.f41316f.mo42732a());\n return;\n } else if (empty2) {\n this.f41320j.compareAndSet(inner, null);\n }\n }\n boolean retry = false;\n while (!this.f41318h) {\n if (inner != this.f41320j.get()) {\n retry = true;\n } else if (this.f41315e || ((Throwable) this.f41316f.get()) == null) {\n boolean d = inner.f41310d;\n R v = q.poll();\n boolean empty3 = v == null;\n if (d && empty3) {\n this.f41320j.compareAndSet(inner, null);\n retry = true;\n } else if (!empty3) {\n a.onNext(v);\n }\n } else {\n a.onError(this.f41316f.mo42732a());\n return;\n }\n if (retry) {\n continue;\n }\n }\n return;\n }\n missing = addAndGet(-missing);\n if (missing == 0) {\n return;\n }\n }\n }\n }", "private void mergeprocess(String givenbranch,\n boolean conflict, Comm splitpoint) {\n ArrayList<String> modifiedincurr =\n findchanged(splitpoint, branches.get(branch));\n ArrayList<String> modifiedingiven =\n findchanged(splitpoint, branches.get(givenbranch));\n ArrayList<String> addedincurr =\n findadded(splitpoint, branches.get(branch));\n ArrayList<String> addedingiven =\n findadded(splitpoint, branches.get(givenbranch));\n Comm topofcurr = branches.get(branch);\n Comm topofgiven = branches.get(givenbranch);\n for (String file: splitpoint.getContents().keySet()) {\n\n if (!modifiedincurr.contains(file)\n && modifiedingiven.contains(file)) {\n checkoutcomm(branches.get(givenbranch).getCommitID(), file);\n add(file);\n }\n if (modifiedincurr.contains(file)\n && modifiedingiven.contains(file)) {\n if (!(topofcurr.getContents()\n .get(file).getContent().equals(topofgiven\n .getContents().get(file).getContent()))) {\n\n conflict = true;\n mergeconflict(topofcurr.getContents().get(file),\n topofgiven.getContents().get(file));\n }\n }\n if (modifiedingiven.contains(file)\n && !getandadd().contains(file) && !conflict) {\n conflict = true;\n mergeconflictgiven(new Blob(new File(file)));\n }\n if (modifiedincurr.contains(file)\n && !topofgiven.getContents().containsKey(file)\n && !conflict) {\n conflict = true;\n mergeconflictcur(new Blob(new File(file)));\n }\n if (!modifiedincurr.contains(file)\n && !topofgiven.getContents().containsKey(file)) {\n if (stagingarea.containsKey(file)\n || topofcurr.getContents().containsKey(file)) {\n rm(file);\n }\n }\n }\n for (String f :addedingiven) {\n if (!addedincurr.contains(f)) {\n checkoutcomm(branches.get(givenbranch).getCommitID(), f);\n add(f);\n } else {\n conflict = true;\n mergeconflict(topofcurr.getContents().get(f),\n topofgiven.getContents().get(f));\n }\n }\n mergecleanup(conflict, givenbranch);\n }", "@Test (timeout=180000)\n public void testContainedRegionOverlap() throws Exception {\n TableName table =\n TableName.valueOf(\"tableContainedRegionOverlap\");\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // Mess it up by creating an overlap in the metadata\n HRegionInfo hriOverlap =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A2\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriOverlap);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriOverlap);\n ServerName server = regionStates.getRegionServerOfRegion(hriOverlap);\n TEST_UTIL.assertRegionOnServer(hriOverlap, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.OVERLAP_IN_REGION_CHAIN });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the problem.\n doFsck(conf, true);\n\n // verify that overlaps are fixed\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "void removeBrokenRefs() \r\n {\n\r\n if (LOG.isTraceOn()) LOG.trace(\"BEGIN removeBrokenRefs\"); \r\n\r\n Iterator compItr = new ComponentTreeIterator(\r\n (BComponent) BOrd.make(\"slot:/\").resolve(service, null).get());\r\n\r\n // check every component\r\n while (compItr.hasNext())\r\n {\r\n BComponent comp = (BComponent) compItr.next();\r\n HDict tags = BHDict.findTagAnnotation(comp);\r\n if (tags == null) continue;\r\n\r\n // check if any of the tags are a broken ref\r\n Set brokenRefs = null;\r\n Iterator tagItr = tags.iterator();\r\n while (tagItr.hasNext())\r\n {\r\n Map.Entry e = (Map.Entry) tagItr.next();\r\n String name = (String) e.getKey();\r\n HVal val = (HVal) e.getValue();\r\n\r\n if (val instanceof HRef)\r\n {\r\n // try to resolve the ref\r\n try\r\n {\r\n BComponent lookup = tagMgr.lookupComponent((HRef) val);\r\n if (lookup == null)\r\n throw new IllegalStateException(\"Cannot find component for \" + val);\r\n }\r\n // failed!\r\n catch (Exception e2)\r\n {\r\n LOG.warning(\r\n \"broken ref '\" + name + \"' found in \" + \r\n comp.getSlotPath());\r\n\r\n if (brokenRefs == null)\r\n brokenRefs = new HashSet();\r\n brokenRefs.add(name);\r\n }\r\n }\r\n }\r\n\r\n // at least one broken ref was found\r\n if (brokenRefs != null)\r\n {\r\n HDictBuilder hdb = new HDictBuilder();\r\n tagItr = tags.iterator();\r\n while (tagItr.hasNext())\r\n {\r\n Map.Entry e = (Map.Entry) tagItr.next();\r\n String name = (String) e.getKey();\r\n HVal val = (HVal) e.getValue();\r\n\r\n if (!brokenRefs.contains(name))\r\n hdb.add(name, val);\r\n }\r\n comp.set(\"haystack\", BHDict.make(hdb.toDict()));\r\n }\r\n }\r\n\r\n if (LOG.isTraceOn()) LOG.trace(\"END removeBrokenRefs\"); \r\n }" ]
[ "0.54925704", "0.5390915", "0.5353792", "0.5333012", "0.52565885", "0.5201731", "0.51155007", "0.51122504", "0.5083547", "0.5013584", "0.501192", "0.49779907", "0.4976968", "0.49754426", "0.49694443", "0.49686167", "0.49599206", "0.49415457", "0.49374273", "0.4935623", "0.48253316", "0.48229012", "0.48029092", "0.4777905", "0.47719505", "0.47562253", "0.47507825", "0.4713626", "0.4696808", "0.46776903", "0.46732667", "0.46618405", "0.46579713", "0.46487433", "0.4633008", "0.46302566", "0.46238992", "0.46147075", "0.4614584", "0.4610715", "0.46098265", "0.46065274", "0.4585878", "0.45836294", "0.45757404", "0.457098", "0.4567706", "0.45661682", "0.45611605", "0.4560636", "0.45575804", "0.45558658", "0.4549151", "0.45336965", "0.4530326", "0.4529846", "0.45274484", "0.45226157", "0.4517048", "0.4493608", "0.449298", "0.44922197", "0.44919378", "0.44779825", "0.4475476", "0.44743195", "0.44679272", "0.44630972", "0.44605872", "0.4458523", "0.44583142", "0.4454739", "0.4444802", "0.44391423", "0.44376847", "0.44363236", "0.44203478", "0.44179097", "0.4414821", "0.4399193", "0.4398592", "0.4397511", "0.43880522", "0.43870282", "0.43855268", "0.43805295", "0.43800664", "0.4378128", "0.43669793", "0.4357246", "0.43547043", "0.43544847", "0.43536943", "0.43493262", "0.43477738", "0.43438792", "0.43428382", "0.43402812", "0.43376952", "0.43363532", "0.4334237" ]
0.0
-1
/ renamed from: a
private static String m37640a(String str, String str2, int i) { if (i == 2 || i == 4) { try { if (!TextUtils.isEmpty(str2)) { return str2; } } catch (Throwable unused) { } } return str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
static String m37641a(Map<String, String> map) { if (map == null) { return null; } StringBuilder sb = new StringBuilder(); for (Map.Entry<String, String> entry : map.entrySet()) { String key = entry.getKey(); String value = entry.getValue(); if (value == null) { value = ""; } if (sb.length() > 0) { sb.append("&"); } sb.append(URLEncoder.encode(key)); sb.append("="); sb.append(URLEncoder.encode(value)); } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ JADX WARNING: Removed duplicated region for block: B:25:0x002e A[RETURN] / JADX WARNING: Removed duplicated region for block: B:26:0x002f / renamed from: a
private static void m37642a(C6148a aVar, boolean z, long j, long j2) { boolean z2; boolean z3; String str; boolean z4; String str2; boolean z5 = false; try { str2 = aVar.f25732a.getURL().toString(); try { z4 = aVar.f25733b == 3; } catch (Throwable unused) { z4 = false; str = str2; z2 = z4; z3 = false; if (TextUtils.isEmpty(str)) { } } try { if (aVar.f25733b == 2 || aVar.f25733b == 4) { z5 = true; } z3 = z5; str = str2; z2 = z4; } catch (Throwable unused2) { str = str2; z2 = z4; z3 = false; if (TextUtils.isEmpty(str)) { } } } catch (Throwable unused3) { str2 = null; z4 = false; str = str2; z2 = z4; z3 = false; if (TextUtils.isEmpty(str)) { } } if (TextUtils.isEmpty(str)) { AuthConfigManager.m38484a(str, z3, z2, z, Math.max(0L, j2 - j)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "public ItemStack func_70301_a(int par1)\n/* */ {\n/* 25 */ return null;\n/* */ }", "public ItemStack func_70298_a(int par1, int par2)\n/* */ {\n/* 35 */ return null;\n/* */ }", "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "protected cxl a(Block parambec)\r\n/* 11: */ {\r\n/* 12:237 */ LinkedHashMap localLinkedHashMap = Maps.newLinkedHashMap(parambec.b());\r\n/* 13: */ \r\n/* 14:239 */ String str1 = bbf.M.toString((Comparable)localLinkedHashMap.remove(bbf.M));\r\n/* 15:240 */ localLinkedHashMap.remove(bbf.b);\r\n/* 16: */ \r\n/* 17:242 */ String str2 = ((Boolean)parambec.getData(bbf.b)).booleanValue() ? \"all\" : \"normal\";\r\n/* 18:243 */ return new cxl(str1 + \"_double_slab\", str2);\r\n/* 19: */ }", "public void cleanupOldBlocks (long threshTime) ;", "public int getLiveRegion() {\n/* 1213 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "int numberOfBlocksToRemove();", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "public abstract void removeBlock();", "@Override\n\tpublic int getReplaceBlock() {\n\t\treturn 0;\n\t}", "@Test\r\n\t@Ignore\r\n\tpublic void shouldReturnLisOfBrokenByRegion() {\n\t}", "public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)\n/* */ {\n/* 125 */ return false;\n/* */ }", "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }", "@ActionTrigger(action=\"KEY-PRVBLK\", function=KeyFunction.PREVIOUS_BLOCK)\n\t\tpublic void spriden_PreviousBlock()\n\t\t{\n\t\t\t\n\t\t\t\texecuteAction(\"INVALID_FUNCTION_MSG\");\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "public synchronized void m6495a(int r6, int r7) throws fr.pcsoft.wdjava.geo.C0918i {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:fr.pcsoft.wdjava.geo.a.b.a(int, int):void. bs: [B:13:0x001d, B:18:0x0027, B:23:0x0031, B:28:0x003a, B:44:0x005d, B:55:0x006c, B:64:0x0079]\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:86)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/70807318.run(Unknown Source)\n*/\n /*\n r5 = this;\n r4 = 2;\n r1 = 0;\n r0 = 1;\n monitor-enter(r5);\n r5.m6487e();\t Catch:{ all -> 0x0053 }\n switch(r6) {\n case 2: goto L_0x0089;\n case 3: goto L_0x000a;\n case 4: goto L_0x0013;\n default: goto L_0x000a;\n };\t Catch:{ all -> 0x0053 }\n L_0x000a:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 3;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n L_0x0011:\n monitor-exit(r5);\n return;\n L_0x0013:\n r3 = new android.location.Criteria;\t Catch:{ all -> 0x0053 }\n r3.<init>();\t Catch:{ all -> 0x0053 }\n r2 = r7 & 2;\n if (r2 != r4) goto L_0x0058;\n L_0x001c:\n r2 = 1;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0056 }\n L_0x0020:\n r2 = r7 & 128;\n r4 = 128; // 0x80 float:1.794E-43 double:6.32E-322;\n if (r2 != r4) goto L_0x0065;\n L_0x0026:\n r2 = 3;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0063 }\n L_0x002a:\n r2 = r7 & 8;\n r4 = 8;\n if (r2 != r4) goto L_0x007f;\n L_0x0030:\n r2 = r0;\n L_0x0031:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0081 }\n r2 = r7 & 4;\n r4 = 4;\n if (r2 != r4) goto L_0x0083;\n L_0x0039:\n r2 = r0;\n L_0x003a:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0085 }\n r2 = r7 & 16;\n r4 = 16;\n if (r2 != r4) goto L_0x0087;\n L_0x0043:\n r3.setAltitudeRequired(r0);\t Catch:{ all -> 0x0053 }\n r0 = 0;\t Catch:{ all -> 0x0053 }\n r0 = r5.m6485a(r0);\t Catch:{ all -> 0x0053 }\n r1 = 1;\t Catch:{ all -> 0x0053 }\n r0 = r0.getBestProvider(r3, r1);\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n L_0x0053:\n r0 = move-exception;\n monitor-exit(r5);\n throw r0;\n L_0x0056:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0058:\n r2 = r7 & 1;\n if (r2 != r0) goto L_0x0020;\n L_0x005c:\n r2 = 2;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0061 }\n goto L_0x0020;\n L_0x0061:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0063:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0065:\n r2 = r7 & 64;\n r4 = 64;\n if (r2 != r4) goto L_0x0072;\n L_0x006b:\n r2 = 2;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0070 }\n goto L_0x002a;\n L_0x0070:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0072:\n r2 = r7 & 32;\n r4 = 32;\n if (r2 != r4) goto L_0x002a;\n L_0x0078:\n r2 = 1;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x007d }\n goto L_0x002a;\n L_0x007d:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x007f:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0031;\t Catch:{ all -> 0x0053 }\n L_0x0081:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0083:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x003a;\t Catch:{ all -> 0x0053 }\n L_0x0085:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0087:\n r0 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0043;\t Catch:{ all -> 0x0053 }\n L_0x0089:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 2;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: fr.pcsoft.wdjava.geo.a.b.a(int, int):void\");\n }", "@Override\n public void func_104112_b() {\n \n }", "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }", "static void complete_return_requirements(){\n\t\tString ad = memory.get(SP+1)+memory.get(SP);\n\t\tSP+=2;\n\t\tPC = hexa_to_deci(ad);\n\t\tmodified =true;\n\t}", "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }", "protected String codeBlockSource(Block block) {\n block.removeFirstOperation(); // aload_0\n block.removeFirstOperation(); // aload_1\n block.removeFirstOperation(); // iload_2\n block.removeFirstOperation(); // invokespecial <init>\n\n if (getTopBlock().getOperations().size() == 1 &&\n getTopBlock().getOperations().get(0) instanceof ReturnView) {\n return null;\n }\n\n return super.codeBlockSource(block);\n }", "public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}", "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();\r\n \t\tfor (Object cell2 : cells) {\r\n \t\t\tif (cell2 instanceof JmtCell && ((JmtCell) cell2).parentChanged()) {\r\n \t\t\t\t// This cell was moved in, out or between blocking regions\r\n \t\t\t\tJmtCell cell = (JmtCell) cell2;\r\n \t\t\t\tObject key = ((CellComponent) cell.getUserObject()).getKey();\r\n \t\t\t\tObject oldRegionKey, newRegionKey;\r\n \t\t\t\tif (!(cell.getParent() instanceof BlockingRegion)) {\r\n \t\t\t\t\t// Object removed from blocking region\r\n \t\t\t\t\tputBack.add(cell2);\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Allow adding of removed objects to a new blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(true);\r\n \t\t\t\t} else if (cell.getPrevParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t// Object changed blocking region\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tmodel.addRegionStation(newRegionKey, key);\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Object added to a blocking region\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tif (!model.addRegionStation(newRegionKey, key)) {\r\n \t\t\t\t\t\t// object cannot be added to blocking region (for\r\n \t\t\t\t\t\t// example it's a source)\r\n \t\t\t\t\t\tcell.removeFromParent();\r\n \t\t\t\t\t\tgraph.getModel().insert(new Object[] { cell }, null, null, null, null);\r\n \t\t\t\t\t\tputBack.add(cell);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Doesn't allow adding of selected objects to a new\r\n \t\t\t\t\t// blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(false);\r\n \t\t\t\t}\r\n \t\t\t\t// Resets parent for this cell\r\n \t\t\t\tcell.resetParent();\r\n \t\t\t}\r\n \t\t\t// Avoid insertion of a blocking region in an other\r\n \t\t\telse if (cell2 instanceof BlockingRegion) {\r\n \t\t\t\tBlockingRegion region = (BlockingRegion) cell2;\r\n \t\t\t\tif (region.getParent() != null) {\r\n \t\t\t\t\tregion.removeFromParent();\r\n \t\t\t\t\tgraph.getModel().insert(new Object[] { region }, null, null, null, null);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Puts cells removed from blocking regiont on background\r\n \t\tgraph.getModel().toBack(putBack.toArray());\r\n \t}", "public ItemStack b(int paramInt)\r\n/* 50: */ {\r\n/* 51: 66 */ if (this.a[paramInt] != null)\r\n/* 52: */ {\r\n/* 53: 67 */ ItemStack localamj = this.a[paramInt];\r\n/* 54: 68 */ this.a[paramInt] = null;\r\n/* 55: 69 */ return localamj;\r\n/* 56: */ }\r\n/* 57: 71 */ return null;\r\n/* 58: */ }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "public int numberOfBlocksToRemove() {\r\n return 105;\r\n }", "public final void mo51373a() {\n }", "public void mo23813b() {\n }", "@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "private void exitSequence_mainRegion_State2__region0_a() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}", "public boolean willOverlap() {\n/* 208 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }", "@Test\n\tpublic void testForwardNonFrameBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642114, PositionType.ZERO_BASED),\n\t\t\t\t\"TAAACA\", \"GTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.691-3_693delinsGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Trp231Val\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_ACCEPTOR),\n\t\t\t\tannotation1.effects);\n\n\t\t// deletion of three codons, insertion of one\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642126, PositionType.ZERO_BASED),\n\t\t\t\t\"GTGGTTCAA\", \"ACC\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(2, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.700_708delinsACC\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Val234_Gln236delinsThr\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION), annotation2.effects);\n\n\t\t// deletion of three codons, insertion of one, includes truncation of replacement ref from the right\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642134, PositionType.ZERO_BASED),\n\t\t\t\t\"AGTGGAGGAT\", \"CTT\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(2, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.708_716delinsCT\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Gln236Hisfs*16\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION), annotation3.effects);\n\t}", "private void exitSequence_mainRegion_State2__region0_State4() {\n\t\texitSequence_mainRegion_State2__region0_State4__region0();\n\t}", "private static void registerBlock(Block b)\n\t{\n\t}", "public void func_70299_a(int par1, ItemStack stack)\n/* */ {\n/* 54 */ if (!this.field_145850_b.field_72995_K) {\n/* 55 */ EntityItemGrate ei = new EntityItemGrate(this.field_145850_b, this.field_145851_c + 0.5D, this.field_145848_d + 0.6D, this.field_145849_e + 0.5D, stack.func_77946_l());\n/* 56 */ ei.field_70181_x = -0.1D;\n/* 57 */ ei.field_70159_w = 0.0D;\n/* 58 */ ei.field_70179_y = 0.0D;\n/* 59 */ this.field_145850_b.func_72838_d(ei);\n/* */ }\n/* */ }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "void m1864a() {\r\n }", "@Override\r\n\tpublic void visit(InstrumentBlock instrumentBlock) {\n\t\t\r\n\t}", "public void doElimination() {\n IR ir;\n\tIR defCode;\n\tIR useCode;\n int i, j, countOperand;\n JavaVariable v1, v2;\n short shortOpcode;\n short shortOpcode2;\n boolean singleDefCondition;\n BitSet[] reachingDef = cfg.getReachingDef();\n\n Iterator it = cfg.iterator();\n\twhile(it.hasNext()) {\n ir = (IR) it.next();\n //System.out.println(ir);\n countOperand = ir.getNumOfOperands();\n if (ir.hasAttribute(IRAttribute.ELIMINATED)) {\n // Removed code can't remove other code\n continue; \n }\n // eliminate single def. single use. (aload)\n for (i = 0; i < countOperand; i++) {\n if (ir.getNumOfDefs(i) ==1 && ir.getShortOpcode() != OpcodeConst.opc_areturn) { // single def\n defCode = cfg.getIRAtBpc (ir.getDefOfOperand(i, 0));\n if (defCode.hasAttribute(IRAttribute.ELIMINATED)) {\n // Eliminated code can't remove other codes\n continue;\n } \n\t shortOpcode= defCode.getShortOpcode();\n if (shortOpcode == OpcodeConst.opc_aload ||\n (shortOpcode >= OpcodeConst.opc_aload_0 && shortOpcode <= OpcodeConst.opc_aload_3)) {\n singleDefCondition = false;\n for (j = 0; j < defCode.getNumOfUses(0); j++) {\n singleDefCondition = true;\n // if the def is the only def for every the uses it can reach\n useCode = cfg.getIRAtBpc(defCode.getUseOfTarget(0, j));\n if (useCode.getNumOfDefs(defCode.getTarget(0)) != 1) {\n singleDefCondition = false;\n break;\n }\n if (cfg.getIRAtBpc(useCode.getDefOfOperand(defCode.getTarget(0), 0)).compareTo(defCode) != 0) {\n singleDefCondition = false;\n break;\n }\n // For dup\n // The Reaching Def of the operand of the copy and the Reaching Def of the operand of the useCode\n // should be the same.\n int reachToCopyCode, reachToUseCode;\n reachToCopyCode = getUniqueReachOfVariable(reachingDef[defCode.getBpc()], defCode.getOperand(0));\n reachToUseCode = getUniqueReachOfVariable(reachingDef[useCode.getBpc()], defCode.getOperand(0));\n if (reachToCopyCode != reachToUseCode) {\n singleDefCondition = false;\n break;\n }\n }\n if (singleDefCondition == true) {\n for (j = 0; j < defCode.getNumOfUses(0); j++) {\n useCode = cfg.getIRAtBpc(defCode.getUseOfTarget(0, j));\n if (useCode.hasAttribute(IRAttribute.ELIMINATED) \n /*|| defCode.hasAttribute(IRAttribute.ELIMINATED)*/) {\n continue;\n }\n //System.out.println(\"useCode:\" + useCode + \" defCode:\" + defCode);\n //System.out.println(\"Try to change usecode's operand from \" + defCode.getTarget(0) +\n // \" to \" + defCode.getOperand(0));\n useCode.changeOperand(defCode.getTarget(0), defCode.getOperand(0));\n defCode.setAttribute(IRAttribute.ELIMINATED);\n defCode.addDebugInfoString(\"Eliminated by BPC:\" + ir.getBpc());\n }\n }\n }\n }\n }\n\n // elimination of single use. single def. (astore)\n if (ir.getNumOfTargets() == 1) {\n if (ir.getNumOfUses(0) == 1) {\n v1 = ir.getTarget(0);\n useCode = cfg.getIRAtBpc(ir.getUseOfTarget(0, 0));\n if (useCode.hasAttribute(IRAttribute.ELIMINATED)) {\n // Removed code can't remove other code\n continue; \n }\n countOperand = useCode.getNumOfOperands();\n for (i = 0; i < countOperand; i++) {\n v2 = useCode.getOperand(i);\n if ((v1.compareTo(v2) == 0) && (useCode.getNumOfDefs(i) == 1)) {\n\t //shortOpcode=CFG.makeShortVal((byte)0,useCode.getBytecode().getOpcode());\n shortOpcode = useCode.getShortOpcode();\n if (shortOpcode == OpcodeConst.opc_astore\n || (shortOpcode >= OpcodeConst.opc_astore_0 && shortOpcode <= OpcodeConst.opc_astore_3)) {\n //System.out.println(useCode + \" can be absorbed by \" + ir);\n // 1. substitute the target of bytecode for the target of astore.\n ir.changeTarget(0, useCode.getTarget(0));\n // 2. and remove the astore operation\n useCode.setAttribute(IRAttribute.ELIMINATED);\n useCode.addDebugInfoString(\"Eliminated by BPC:\" + ir.getBpc());\n }\n }\n }\n }\n } \n }\n\n }", "private void handleBlocksTryCatchFinally(DetailAST aAstReturn) {\n\n\t\tif (aAstReturn != null) {\n\n\t\t\tif (aAstReturn.getType() == TokenTypes.LITERAL_RETURN) {\n\n\t\t\t\tlog(aAstReturn.getLineNo());\n\t\t\t}\n\t\t}\n\t}", "public void mo115190b() {\n }", "void reportSplit(HRegionInfo oldRegion, HRegionInfo newRegionA,\n HRegionInfo newRegionB) {\n \n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_SPLIT, oldRegion,\n (oldRegion.getRegionNameAsString() + \" split; daughters: \" +\n newRegionA.getRegionNameAsString() + \", \" +\n newRegionB.getRegionNameAsString()).getBytes()));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionA));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionB));\n }", "final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }", "@Override\n \tpublic void regionsRemoved(RegionEvent evt) {\n \t\t\n \t}", "private void b()\r\n/* 67: */ {\r\n/* 68: 73 */ this.c.clear();\r\n/* 69: 74 */ this.e.clear();\r\n/* 70: */ }", "void m5768b() throws C0841b;", "public int a() {\r\n/* 63 */ return 4;\r\n/* */ }", "public final synchronized void a(com.ss.android.ugc.aweme.base.e.b r11) {\n /*\n r10 = this;\n monitor-enter(r10)\n r8 = 1\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x0041 }\n r9 = 0\n r1[r9] = r11 // Catch:{ all -> 0x0041 }\n com.meituan.robust.ChangeQuickRedirect r3 = f34732a // Catch:{ all -> 0x0041 }\n r4 = 0\n r5 = 25164(0x624c, float:3.5262E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x0041 }\n java.lang.Class<com.ss.android.ugc.aweme.base.e.b> r2 = com.ss.android.ugc.aweme.base.e.b.class\n r6[r9] = r2 // Catch:{ all -> 0x0041 }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x0041 }\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x0041 }\n if (r1 == 0) goto L_0x0032\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x0041 }\n r1[r9] = r11 // Catch:{ all -> 0x0041 }\n com.meituan.robust.ChangeQuickRedirect r3 = f34732a // Catch:{ all -> 0x0041 }\n r4 = 0\n r5 = 25164(0x624c, float:3.5262E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x0041 }\n java.lang.Class<com.ss.android.ugc.aweme.base.e.b> r0 = com.ss.android.ugc.aweme.base.e.b.class\n r6[r9] = r0 // Catch:{ all -> 0x0041 }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x0041 }\n r2 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x0041 }\n monitor-exit(r10)\n return\n L_0x0032:\n java.util.ArrayList<com.ss.android.ugc.aweme.base.e.b<T>> r1 = r10.f34733b // Catch:{ all -> 0x0041 }\n boolean r1 = r1.contains(r11) // Catch:{ all -> 0x0041 }\n if (r1 != 0) goto L_0x003f\n java.util.ArrayList<com.ss.android.ugc.aweme.base.e.b<T>> r1 = r10.f34733b // Catch:{ all -> 0x0041 }\n r1.add(r11) // Catch:{ all -> 0x0041 }\n L_0x003f:\n monitor-exit(r10)\n return\n L_0x0041:\n r0 = move-exception\n monitor-exit(r10)\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.base.e.a.a(com.ss.android.ugc.aweme.base.e.b):void\");\n }", "private Block fixReturnStatement(Block block, Stack<Variable> variables) {\n for (ReturnStatement returnStat : block.nearestDescendants(ReturnStatement.class)) {\n String prev = lastElement;\n Expression e = returnStat.getExpression();\n Type type;\n if (!(e instanceof NameExpression) && (!(e instanceof MethodInvocation))) {\n System.err.println(\"You can only return Content in an inline code block, unknown expression: \" + e.toString());\n return block;\n } else {\n try {\n if (e instanceof NameExpression) {\n lastElement = ((NameExpression) e).name();\n type = e.getType();\n } else {\n // Check if we return Content\n NormalMethod method = (NormalMethod) ((MethodInvocation) e).getElement();\n type = method.returnType();\n if (type.name().equals(\"void\")) {\n returnStat.replaceWith(oFactory().createStatement(e));\n return block;\n }\n if (!subtypeOf(type, BASE_CLASS)) {\n System.err.println(\"You can only return Content in an inline code block, unknown expression: \" + e.toString());\n return block;\n }\n\n createAndAddLocalVar(type.name(), getVarName(), (Expression) e.clone(), variables, block);\n }\n } catch (LookupException e1) {\n System.err.println(e + \" has not been declared yet!\");\n lastElement = prev;\n return block;\n }\n\n block.removeStatement(returnStat);\n List<Expression> arguments = new ArrayList<>();\n arguments.add(eFactory().createNameExpression(lastElement));\n JavaMethodInvocation expr = eFactory().createNeioMethodInvocation(APPEND_CONTENT, eFactory().createNeioNameExpression(prev), arguments);\n block.addStatement(oFactory().createStatement(expr));\n // Resolve the right target using contexttypes\n try {\n Stack<Variable> vars = (Stack<Variable>) variables.clone();\n vars.pop();\n setThis(expr, expr.getTarget(), vars);\n block.removeStatement(expr.nearestAncestor(Statement.class));\n\n createAndAddLocalVar(type.name(), getVarName(), expr, variables, block);\n } catch (LookupException e1) {\n System.err.println(\"Error while setting this on \" + APPEND_CONTENT);\n }\n }\n }\n\n return block;\n }", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "public Item a(Block parambec, Random paramRandom, int paramInt)\r\n/* 76: */ {\r\n/* 77: 99 */ return null;\r\n/* 78: */ }", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "public final void mo1285b() {\n }", "static Object a(bu var0, y.c.d var1_1) {\n block4 : {\n var8_2 = fj.z;\n var2_3 = 0;\n var3_4 = false;\n var4_5 = var0.l(var1_1).j();\n while (var4_5.f()) {\n var5_6 = var4_5.a();\n var6_7 = var5_6.c();\n var7_8 = var5_6.d();\n v0 = Math.abs(var6_7.a() - var7_8.a()) DCMPG 1.0E-12;\n if (var8_2) break block4;\n if (v0 >= 0) ** GOTO lbl-1000\n var3_4 = true;\n if (var8_2) lbl-1000: // 2 sources:\n {\n if (Math.abs(var6_7.b() - var7_8.b()) >= 1.0E-12) return hV.a;\n var2_3 = 1;\n if (var8_2) {\n return hV.a;\n }\n }\n var4_5.g();\n if (!var8_2) continue;\n }\n v0 = var2_3;\n }\n if (v0 != 0 && var3_4) {\n v1 = hV.b;\n return v1;\n }\n v1 = hV.c;\n return v1;\n }", "public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)\r\n {\r\n super.onBlockAdded(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n// this.func_149930_e(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n }", "public final synchronized com.google.android.m4b.maps.bu.C4910a m21843a(java.lang.String r10) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r9.f17909e;\t Catch:{ all -> 0x0056 }\n r1 = 0;\n if (r0 != 0) goto L_0x0008;\n L_0x0006:\n monitor-exit(r9);\n return r1;\n L_0x0008:\n r0 = r9.f17907c;\t Catch:{ all -> 0x0056 }\n r2 = com.google.android.m4b.maps.az.C4733b.m21060a(r10);\t Catch:{ all -> 0x0056 }\n r0 = r0.m21933a(r2, r1);\t Catch:{ all -> 0x0056 }\n if (r0 == 0) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0014:\n r2 = r0.length;\t Catch:{ all -> 0x0056 }\n r3 = 9;\t Catch:{ all -> 0x0056 }\n if (r2 <= r3) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0019:\n r2 = 0;\t Catch:{ all -> 0x0056 }\n r2 = r0[r2];\t Catch:{ all -> 0x0056 }\n r4 = 1;\t Catch:{ all -> 0x0056 }\n if (r2 == r4) goto L_0x0020;\t Catch:{ all -> 0x0056 }\n L_0x001f:\n goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0020:\n r5 = com.google.android.m4b.maps.bs.C4891e.m21914c(r0, r4);\t Catch:{ all -> 0x0056 }\n r2 = new com.google.android.m4b.maps.ar.a;\t Catch:{ all -> 0x0056 }\n r7 = com.google.android.m4b.maps.de.C5350x.f20104b;\t Catch:{ all -> 0x0056 }\n r2.<init>(r7);\t Catch:{ all -> 0x0056 }\n r7 = new java.io.ByteArrayInputStream;\t Catch:{ IOException -> 0x0052 }\n r8 = r0.length;\t Catch:{ IOException -> 0x0052 }\n r8 = r8 - r3;\t Catch:{ IOException -> 0x0052 }\n r7.<init>(r0, r3, r8);\t Catch:{ IOException -> 0x0052 }\n r2.m20818a(r7);\t Catch:{ IOException -> 0x0052 }\n r0 = 2;\n r0 = r2.m20843h(r0);\t Catch:{ all -> 0x0056 }\n r10 = r10.equals(r0);\t Catch:{ all -> 0x0056 }\n if (r10 != 0) goto L_0x0042;\n L_0x0040:\n monitor-exit(r9);\n return r1;\n L_0x0042:\n r10 = new com.google.android.m4b.maps.bu.a;\t Catch:{ all -> 0x0056 }\n r10.<init>();\t Catch:{ all -> 0x0056 }\n r10.m22018a(r4);\t Catch:{ all -> 0x0056 }\n r10.m22020a(r2);\t Catch:{ all -> 0x0056 }\n r10.m22016a(r5);\t Catch:{ all -> 0x0056 }\n monitor-exit(r9);\n return r10;\n L_0x0052:\n monitor-exit(r9);\n return r1;\n L_0x0054:\n monitor-exit(r9);\n return r1;\n L_0x0056:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bs.b.a(java.lang.String):com.google.android.m4b.maps.bu.a\");\n }", "SerializableState getInvalidRegion(Long id,\n\t\t\t\t ParameterBlock oldParamBlock,\n\t\t\t\t SerializableState oldHints,\n\t\t\t\t ParameterBlock newParamBlock,\n\t\t\t\t SerializableState newHints)\n\tthrows RemoteException;", "public static java.lang.String m5217a() {\n /*\n r0 = f4109a;\n monitor-enter(r0);\n r1 = f4109a;\t Catch:{ all -> 0x003e }\n r1 = r1.isEmpty();\t Catch:{ all -> 0x003e }\n if (r1 == 0) goto L_0x000f;\n L_0x000b:\n r1 = \"\";\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n return r1;\n L_0x000f:\n r1 = new java.util.ArrayList;\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r1.<init>(r2);\t Catch:{ all -> 0x003e }\n r2 = f4109a;\t Catch:{ all -> 0x003e }\n r2.clear();\t Catch:{ all -> 0x003e }\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n r0 = new org.json.JSONArray;\n r0.<init>();\n r1 = r1.iterator();\n L_0x0025:\n r2 = r1.hasNext();\n if (r2 == 0) goto L_0x0039;\n L_0x002b:\n r2 = r1.next();\n r2 = (com.facebook.ads.internal.p047k.C1481b) r2;\n r2 = r2.m5216a();\n r0.put(r2);\n goto L_0x0025;\n L_0x0039:\n r0 = r0.toString();\n return r0;\n L_0x003e:\n r1 = move-exception;\n monitor-exit(r0);\t Catch:{ all -> 0x003e }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.k.c.a():java.lang.String\");\n }", "public static ULocale minimizeSubtags(ULocale loc) {\n/* 978 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "protected int handlePrevious(int position) {\n/* 289 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public int describeContents() {\n/* 48 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public synchronized void a(com.umeng.commonsdk.proguard.f r9) {\n /*\n r8 = this;\n monitor-enter(r8);\n r0 = \"UMSysLocation\";\n r1 = 1;\n r2 = new java.lang.Object[r1];\t Catch:{ all -> 0x00c8 }\n r3 = \"getSystemLocation\";\n r4 = 0;\n r2[r4] = r3;\t Catch:{ all -> 0x00c8 }\n com.umeng.commonsdk.statistics.common.e.a(r0, r2);\t Catch:{ all -> 0x00c8 }\n if (r9 == 0) goto L_0x00c6;\n L_0x0010:\n r0 = r8.d;\t Catch:{ all -> 0x00c8 }\n if (r0 != 0) goto L_0x0016;\n L_0x0014:\n goto L_0x00c6;\n L_0x0016:\n r8.e = r9;\t Catch:{ all -> 0x00c8 }\n r0 = r8.d;\t Catch:{ all -> 0x00c8 }\n r2 = \"android.permission.ACCESS_COARSE_LOCATION\";\n r0 = com.umeng.commonsdk.utils.UMUtils.checkPermission(r0, r2);\t Catch:{ all -> 0x00c8 }\n r2 = r8.d;\t Catch:{ all -> 0x00c8 }\n r3 = \"android.permission.ACCESS_FINE_LOCATION\";\n r2 = com.umeng.commonsdk.utils.UMUtils.checkPermission(r2, r3);\t Catch:{ all -> 0x00c8 }\n r3 = 0;\n if (r0 != 0) goto L_0x0039;\n L_0x002b:\n if (r2 == 0) goto L_0x002e;\n L_0x002d:\n goto L_0x0039;\n L_0x002e:\n r9 = r8.e;\t Catch:{ all -> 0x00c8 }\n if (r9 == 0) goto L_0x0037;\n L_0x0032:\n r9 = r8.e;\t Catch:{ all -> 0x00c8 }\n r9.a(r3);\t Catch:{ all -> 0x00c8 }\n L_0x0037:\n monitor-exit(r8);\n return;\n L_0x0039:\n r5 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n if (r5 == 0) goto L_0x00c4;\n L_0x003d:\n r5 = android.os.Build.VERSION.SDK_INT;\t Catch:{ Throwable -> 0x0098 }\n r6 = 21;\n if (r5 < r6) goto L_0x0054;\n L_0x0043:\n r5 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r6 = \"gps\";\n r5 = r5.isProviderEnabled(r6);\t Catch:{ Throwable -> 0x0098 }\n r6 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r7 = \"network\";\n r6 = r6.isProviderEnabled(r7);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x006c;\n L_0x0054:\n if (r2 == 0) goto L_0x005f;\n L_0x0056:\n r5 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r6 = \"gps\";\n r5 = r5.isProviderEnabled(r6);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x0060;\n L_0x005f:\n r5 = 0;\n L_0x0060:\n if (r0 == 0) goto L_0x006b;\n L_0x0062:\n r6 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r7 = \"network\";\n r6 = r6.isProviderEnabled(r7);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x006c;\n L_0x006b:\n r6 = 0;\n L_0x006c:\n if (r5 != 0) goto L_0x0070;\n L_0x006e:\n if (r6 == 0) goto L_0x0091;\n L_0x0070:\n r5 = \"UMSysLocation\";\n r6 = new java.lang.Object[r1];\t Catch:{ Throwable -> 0x0098 }\n r7 = \"getLastKnownLocation(LocationManager.PASSIVE_PROVIDER)\";\n r6[r4] = r7;\t Catch:{ Throwable -> 0x0098 }\n com.umeng.commonsdk.statistics.common.e.a(r5, r6);\t Catch:{ Throwable -> 0x0098 }\n if (r2 == 0) goto L_0x0086;\n L_0x007d:\n r0 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r2 = \"passive\";\n r0 = r0.getLastKnownLocation(r2);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x0092;\n L_0x0086:\n if (r0 == 0) goto L_0x0091;\n L_0x0088:\n r0 = r8.b;\t Catch:{ Throwable -> 0x0098 }\n r2 = \"network\";\n r0 = r0.getLastKnownLocation(r2);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x0092;\n L_0x0091:\n r0 = r3;\n L_0x0092:\n r2 = r8.e;\t Catch:{ Throwable -> 0x0098 }\n r2.a(r0);\t Catch:{ Throwable -> 0x0098 }\n goto L_0x00c4;\n L_0x0098:\n r0 = move-exception;\n r2 = \"UMSysLocation\";\n r1 = new java.lang.Object[r1];\t Catch:{ all -> 0x00c8 }\n r5 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c8 }\n r5.<init>();\t Catch:{ all -> 0x00c8 }\n r6 = \"e is \";\n r5.append(r6);\t Catch:{ all -> 0x00c8 }\n r5.append(r0);\t Catch:{ all -> 0x00c8 }\n r5 = r5.toString();\t Catch:{ all -> 0x00c8 }\n r1[r4] = r5;\t Catch:{ all -> 0x00c8 }\n com.umeng.commonsdk.statistics.common.e.a(r2, r1);\t Catch:{ all -> 0x00c8 }\n if (r9 == 0) goto L_0x00bf;\n L_0x00b5:\n r9.a(r3);\t Catch:{ Throwable -> 0x00b9 }\n goto L_0x00bf;\n L_0x00b9:\n r9 = move-exception;\n r1 = r8.d;\t Catch:{ all -> 0x00c8 }\n com.umeng.commonsdk.proguard.b.a(r1, r9);\t Catch:{ all -> 0x00c8 }\n L_0x00bf:\n r9 = r8.d;\t Catch:{ all -> 0x00c8 }\n com.umeng.commonsdk.proguard.b.a(r9, r0);\t Catch:{ all -> 0x00c8 }\n L_0x00c4:\n monitor-exit(r8);\n return;\n L_0x00c6:\n monitor-exit(r8);\n return;\n L_0x00c8:\n r9 = move-exception;\n monitor-exit(r8);\n throw r9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.umeng.commonsdk.proguard.d.a(com.umeng.commonsdk.proguard.f):void\");\n }", "public int getDrawingOrder() {\n/* 1068 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}", "public ItemStack func_82846_b(EntityPlayer par1EntityPlayer, int slot) {\n/* 82 */ ItemStack stack = ItemStack.field_190927_a;\n/* 83 */ Slot slotObject = (Slot)this.field_75151_b.get(slot);\n/* */ \n/* */ \n/* 86 */ if (slotObject != null && slotObject.func_75216_d()) {\n/* 87 */ ItemStack stackInSlot = slotObject.func_75211_c();\n/* 88 */ stack = stackInSlot.func_77946_l();\n/* */ \n/* 90 */ if (slot == 0) {\n/* 91 */ if (!func_75135_a(stackInSlot, 1, this.field_75151_b.size(), true)) {\n/* 92 */ return ItemStack.field_190927_a;\n/* */ }\n/* */ }\n/* 95 */ else if (!func_75135_a(stackInSlot, 0, 1, false)) {\n/* 96 */ return ItemStack.field_190927_a;\n/* */ } \n/* */ \n/* 99 */ if (stackInSlot.func_190916_E() == 0) {\n/* 100 */ slotObject.func_75215_d(ItemStack.field_190927_a);\n/* */ } else {\n/* 102 */ slotObject.func_75218_e();\n/* */ } \n/* */ } \n/* */ \n/* 106 */ return stack;\n/* */ }", "public int getRowSpan() {\n/* 3003 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }", "@Test\n\tpublic void testForwardFrameShiftBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6647537, PositionType.ZERO_BASED),\n\t\t\t\t\"TGCCCCACCT\", \"CCC\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(6, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.1225_1234delinsCCC\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Cys409Profs*127\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION, VariantType.SPLICE_REGION),\n\t\t\t\tannotation1.effects);\n\t}", "void m5771e() throws C0841b;", "private c b(c blk, int i) {\n/* 585 */ int w = blk.g;\n/* 586 */ int h = blk.h;\n/* */ \n/* */ \n/* 589 */ if (blk.a() != 4) {\n/* 590 */ if (this.j == null || this.j.a() != 4) {\n/* 591 */ this.j = (c)new d();\n/* */ }\n/* 593 */ this.j.g = w;\n/* 594 */ this.j.h = h;\n/* 595 */ this.j.e = blk.e;\n/* 596 */ this.j.f = blk.f;\n/* 597 */ blk = this.j;\n/* */ } \n/* */ \n/* */ \n/* 601 */ float[] outdata = (float[])blk.b();\n/* */ \n/* */ \n/* 604 */ if (outdata == null || outdata.length < w * h) {\n/* 605 */ outdata = new float[h * w];\n/* 606 */ blk.a(outdata);\n/* */ } \n/* */ \n/* */ \n/* 610 */ if (i >= 0 && i <= 2) {\n/* */ int j;\n/* */ \n/* */ \n/* 614 */ if (this.m == null)\n/* 615 */ this.m = new e(); \n/* 616 */ if (this.n == null)\n/* 617 */ this.n = new e(); \n/* 618 */ if (this.o == null)\n/* 619 */ this.o = new e(); \n/* 620 */ this.o.g = blk.g;\n/* 621 */ this.o.h = blk.h;\n/* 622 */ this.o.e = blk.e;\n/* 623 */ this.o.f = blk.f;\n/* */ \n/* */ \n/* 626 */ this.m = (e)this.e.getInternCompData((c)this.m, 0);\n/* 627 */ int[] data0 = (int[])this.m.b();\n/* 628 */ this.n = (e)this.e.getInternCompData((c)this.n, 1);\n/* 629 */ int[] data1 = (int[])this.n.b();\n/* 630 */ this.o = (e)this.e.getInternCompData((c)this.o, 2);\n/* 631 */ int[] data2 = (int[])this.o.b();\n/* */ \n/* */ \n/* 634 */ blk.k = (this.m.k || this.n.k || this.o.k);\n/* */ \n/* 636 */ blk.i = 0;\n/* 637 */ blk.j = w;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 642 */ int k = w * h - 1;\n/* 643 */ int k0 = this.m.i + (h - 1) * this.m.j + w - 1;\n/* 644 */ int k1 = this.n.i + (h - 1) * this.n.j + w - 1;\n/* 645 */ int k2 = this.o.i + (h - 1) * this.o.j + w - 1;\n/* */ \n/* 647 */ switch (i) {\n/* */ \n/* */ case 0:\n/* 650 */ for (j = h - 1; j >= 0; j--) {\n/* 651 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 652 */ outdata[k] = 0.299F * data0[k0] + 0.587F * data1[k1] + 0.114F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 658 */ k0 -= this.m.j - w;\n/* 659 */ k1 -= this.n.j - w;\n/* 660 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 1:\n/* 666 */ for (j = h - 1; j >= 0; j--) {\n/* 667 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 668 */ outdata[k] = -0.16875F * data0[k0] - 0.33126F * data1[k1] + 0.5F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 674 */ k0 -= this.m.j - w;\n/* 675 */ k1 -= this.n.j - w;\n/* 676 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 2:\n/* 682 */ for (j = h - 1; j >= 0; j--) {\n/* 683 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 684 */ outdata[k] = 0.5F * data0[k0] - 0.41869F * data1[k1] - 0.08131F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ k0 -= this.m.j - w;\n/* 691 */ k1 -= this.n.j - w;\n/* 692 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ } \n/* */ } else {\n/* 697 */ if (i >= 3) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 702 */ e indb = new e(blk.e, blk.f, w, h);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 707 */ this.e.getInternCompData((c)indb, i);\n/* 708 */ int[] indata = (int[])indb.b();\n/* */ \n/* */ \n/* 711 */ int k = w * h - 1;\n/* 712 */ int k0 = indb.i + (h - 1) * indb.j + w - 1;\n/* 713 */ for (int j = h - 1; j >= 0; j--) {\n/* 714 */ for (int mink = k - w; k > mink; k--, k0--) {\n/* 715 */ outdata[k] = indata[k0];\n/* */ }\n/* */ \n/* 718 */ k0 += indb.g - w;\n/* */ } \n/* */ \n/* */ \n/* 722 */ blk.k = indb.k;\n/* 723 */ blk.i = 0;\n/* 724 */ blk.j = w;\n/* 725 */ return blk;\n/* */ } \n/* */ \n/* */ \n/* 729 */ throw new IllegalArgumentException();\n/* */ } \n/* 731 */ return blk;\n/* */ }", "@Test\n public void test131() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Block block0 = (Block)errorPage0.legend();\n Block block1 = (Block)errorPage0.blockquote();\n Label label0 = (Label)errorPage0.del((Object) block1);\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n assertTrue(block1._isGeneratedId());\n }", "public boolean func_94041_b(int par1, ItemStack par2ItemStack)\n/* */ {\n/* 95 */ return this.field_145850_b.func_72805_g(this.field_145851_c, this.field_145848_d, this.field_145849_e) == 5;\n/* */ }", "private void exitSequence_mainRegion_State2() {\n\t\texitSequence_mainRegion_State2__region0();\n\t}", "private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }", "public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }", "@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }", "public IBlockData a(IBlockData iblockdata, EnumBlockMirror enumblockmirror) {\n/* 203 */ BlockPropertyTrackPosition blockpropertytrackposition = (BlockPropertyTrackPosition)iblockdata.get(SHAPE);\n/* */ \n/* 205 */ switch (enumblockmirror) {\n/* */ case LEFT_RIGHT:\n/* 207 */ switch (blockpropertytrackposition) {\n/* */ case null:\n/* 209 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.ASCENDING_SOUTH);\n/* */ case null:\n/* 211 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.ASCENDING_NORTH);\n/* */ case null:\n/* 213 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.NORTH_EAST);\n/* */ case null:\n/* 215 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.NORTH_WEST);\n/* */ case null:\n/* 217 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.SOUTH_WEST);\n/* */ case null:\n/* 219 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.SOUTH_EAST);\n/* */ } \n/* 221 */ return super.a(iblockdata, enumblockmirror);\n/* */ \n/* */ case FRONT_BACK:\n/* 224 */ switch (blockpropertytrackposition)\n/* */ { case null:\n/* 226 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.ASCENDING_WEST);\n/* */ case null:\n/* 228 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.ASCENDING_EAST);\n/* */ \n/* */ default:\n/* */ break;\n/* */ \n/* */ case null:\n/* 234 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.SOUTH_WEST);\n/* */ case null:\n/* 236 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.SOUTH_EAST);\n/* */ case null:\n/* 238 */ return iblockdata.set(SHAPE, BlockPropertyTrackPosition.NORTH_EAST);\n/* */ case null:\n/* 240 */ break; } return iblockdata.set(SHAPE, BlockPropertyTrackPosition.NORTH_WEST);\n/* */ } \n/* */ \n/* */ \n/* 244 */ return super.a(iblockdata, enumblockmirror);\n/* */ }", "TACBlock optimise(TACBlock code);", "private void t2() {\n // read from a super region, write to a sub region: keep both\n readProtected();\n writeDefault();\n }", "public boolean generate(World paramaqu, Random paramRandom, BlockPosition paramdt)\r\n/* 13: */ {\r\n/* 14:22 */ while ((paramaqu.isEmpty(paramdt)) && (paramdt.getY() > 2)) {\r\n/* 15:23 */ paramdt = paramdt.down();\r\n/* 16: */ }\r\n/* 17:26 */ if (!a.apply(paramaqu.getBlock(paramdt))) {\r\n/* 18:27 */ return false;\r\n/* 19: */ }\r\n/* 20: */ int k;\r\n/* 21:31 */ for (int i = -2; i <= 2; i++) {\r\n/* 22:32 */ for (k = -2; k <= 2; k++) {\r\n/* 23:33 */ if ((paramaqu.isEmpty(paramdt.offset(i, -1, k))) && (paramaqu.isEmpty(paramdt.offset(i, -2, k)))) {\r\n/* 24:34 */ return false;\r\n/* 25: */ }\r\n/* 26: */ }\r\n/* 27: */ }\r\n/* 28:40 */ for (int i = -1; i <= 0; i++) {\r\n/* 29:41 */ for (k = -2; k <= 2; k++) {\r\n/* 30:42 */ for (int n = -2; n <= 2; n++) {\r\n/* 31:43 */ paramaqu.setBlock(paramdt.offset(k, i, n), this.c, 2);\r\n/* 32: */ }\r\n/* 33: */ }\r\n/* 34: */ }\r\n/* 35:49 */ paramaqu.setBlock(paramdt, this.d, 2);\r\n/* 36:50 */ for (EnumDirection localej : EnumHorizontalVertical.HORIZONTAL) {\r\n/* 37:51 */ paramaqu.setBlock(paramdt.offset(localej), this.d, 2);\r\n/* 38: */ }\r\n/* 39: */ int m;\r\n/* 40:55 */ for (int j = -2; j <= 2; j++) {\r\n/* 41:56 */ for (m = -2; m <= 2; m++) {\r\n/* 42:57 */ if ((j == -2) || (j == 2) || (m == -2) || (m == 2)) {\r\n/* 43:58 */ paramaqu.setBlock(paramdt.offset(j, 1, m), this.c, 2);\r\n/* 44: */ }\r\n/* 45: */ }\r\n/* 46: */ }\r\n/* 47:63 */ paramaqu.setBlock(paramdt.offset(2, 1, 0), this.b, 2);\r\n/* 48:64 */ paramaqu.setBlock(paramdt.offset(-2, 1, 0), this.b, 2);\r\n/* 49:65 */ paramaqu.setBlock(paramdt.offset(0, 1, 2), this.b, 2);\r\n/* 50:66 */ paramaqu.setBlock(paramdt.offset(0, 1, -2), this.b, 2);\r\n/* 51:69 */ for (int j = -1; j <= 1; j++) {\r\n/* 52:70 */ for (m = -1; m <= 1; m++) {\r\n/* 53:71 */ if ((j == 0) && (m == 0)) {\r\n/* 54:72 */ paramaqu.setBlock(paramdt.offset(j, 4, m), this.c, 2);\r\n/* 55: */ } else {\r\n/* 56:74 */ paramaqu.setBlock(paramdt.offset(j, 4, m), this.b, 2);\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }\r\n/* 60:80 */ for (int j = 1; j <= 3; j++)\r\n/* 61: */ {\r\n/* 62:81 */ paramaqu.setBlock(paramdt.offset(-1, j, -1), this.c, 2);\r\n/* 63:82 */ paramaqu.setBlock(paramdt.offset(-1, j, 1), this.c, 2);\r\n/* 64:83 */ paramaqu.setBlock(paramdt.offset(1, j, -1), this.c, 2);\r\n/* 65:84 */ paramaqu.setBlock(paramdt.offset(1, j, 1), this.c, 2);\r\n/* 66: */ }\r\n/* 67:87 */ return true;\r\n/* 68: */ }", "@Override\n \t/**\n \t * Called when the block is placed in the world.\n \t */\n \tpublic void auxiliaryOnBlockPlacedBy(TECarpentersBlock TE, World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack)\n \t{\n \t\tif (!entityLiving.isSneaking())\n \t\t{\n \t\t\t/* Match adjacent collapsible quadrant heights. */\n \t\t\t\n \t\t\tTECarpentersBlock TE_XN = world.getBlockId(x - 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x - 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_XP = world.getBlockId(x + 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x + 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_ZN = world.getBlockId(x, y, z - 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z - 1) : null;\n \t\t\tTECarpentersBlock TE_ZP = world.getBlockId(x, y, z + 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z + 1) : null;\n \n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNP));\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZNP));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZPN));\n \t\t\t}\n \t\t}\n \t}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "void m5769c() throws C0841b;", "private synchronized void a(com.whatsapp.util.x r11, boolean r12) {\n /*\n r10 = this;\n r0 = 0;\n monitor-enter(r10);\n r2 = com.whatsapp.util.Log.h;\t Catch:{ all -> 0x0016 }\n r3 = com.whatsapp.util.x.a(r11);\t Catch:{ all -> 0x0016 }\n r1 = com.whatsapp.util.bl.b(r3);\t Catch:{ IllegalArgumentException -> 0x0014 }\n if (r1 == r11) goto L_0x0019;\n L_0x000e:\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0014 }\n r0.<init>();\t Catch:{ IllegalArgumentException -> 0x0014 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0014 }\n L_0x0014:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0016:\n r0 = move-exception;\n monitor-exit(r10);\n throw r0;\n L_0x0019:\n if (r12 == 0) goto L_0x0058;\n L_0x001b:\n r1 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x0052 }\n if (r1 != 0) goto L_0x0058;\n L_0x0021:\n r1 = r0;\n L_0x0022:\n r4 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r1 >= r4) goto L_0x0058;\n L_0x0026:\n r4 = r3.b(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = r4.exists();\t Catch:{ IllegalArgumentException -> 0x0050 }\n if (r4 != 0) goto L_0x0054;\n L_0x0030:\n r11.b();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2.<init>();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r3 = z;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = 24;\n r3 = r3[r4];\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = r2.append(r3);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r2.append(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0.<init>(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0050 }\n L_0x0050:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0052:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0054:\n r1 = r1 + 1;\n if (r2 == 0) goto L_0x0022;\n L_0x0058:\n r1 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r0 >= r1) goto L_0x008f;\n L_0x005c:\n r1 = r3.b(r0);\t Catch:{ all -> 0x0016 }\n if (r12 == 0) goto L_0x0088;\n L_0x0062:\n r4 = r1.exists();\t Catch:{ IllegalArgumentException -> 0x0126 }\n if (r4 == 0) goto L_0x008b;\n L_0x0068:\n r4 = r3.a(r0);\t Catch:{ all -> 0x0016 }\n r1.renameTo(r4);\t Catch:{ all -> 0x0016 }\n r5 = com.whatsapp.util.bl.e(r3);\t Catch:{ all -> 0x0016 }\n r6 = r5[r0];\t Catch:{ all -> 0x0016 }\n r4 = r4.length();\t Catch:{ all -> 0x0016 }\n r8 = com.whatsapp.util.bl.e(r3);\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8[r0] = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r6 = r8 - r6;\n r4 = r4 + r6;\n r10.i = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n if (r2 == 0) goto L_0x008b;\n L_0x0088:\n a(r1);\t Catch:{ IllegalArgumentException -> 0x0128 }\n L_0x008b:\n r0 = r0 + 1;\n if (r2 == 0) goto L_0x0058;\n L_0x008f:\n r0 = r10.e;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 + 1;\n r10.e = r0;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = 0;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 | r12;\n if (r0 == 0) goto L_0x00e0;\n L_0x00a0:\n r0 = 1;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012c }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = z;\t Catch:{ IllegalArgumentException -> 0x012c }\n r5 = 26;\n r4 = r4[r5];\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = r3.a();\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = 10;\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012c }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012c }\n if (r12 == 0) goto L_0x010f;\n L_0x00d4:\n r0 = r10.n;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 1;\n r4 = r4 + r0;\n r10.n = r4;\t Catch:{ IllegalArgumentException -> 0x012e }\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012e }\n if (r2 == 0) goto L_0x010f;\n L_0x00e0:\n r0 = r10.k;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.remove(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = z;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 25;\n r2 = r2[r4];\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = 10;\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x010f:\n r0 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r2 = r10.c;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 > 0) goto L_0x011d;\n L_0x0117:\n r0 = r10.f();\t Catch:{ IllegalArgumentException -> 0x0132 }\n if (r0 == 0) goto L_0x0124;\n L_0x011d:\n r0 = r10.d;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r1 = r10.j;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r0.submit(r1);\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0124:\n monitor-exit(r10);\n return;\n L_0x0126:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0128:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x012a:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012c }\n L_0x012c:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x012e:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0130:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0132:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.util.b6.a(com.whatsapp.util.x, boolean):void\");\n }", "void removeBlock(Block block);", "private int getRegion(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.getRegion(java.lang.String):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.worldphone.WorldPhoneOp01.getRegion(java.lang.String):int\");\n }", "public interface C3222n extends IInterface {\n /* renamed from: a */\n void mo13025a() throws RemoteException;\n\n /* renamed from: b */\n void mo13026b() throws RemoteException;\n}", "public void a()\r\n/* 49: */ {\r\n/* 50: 64 */ HashSet<BlockPosition> localHashSet = Sets.newHashSet();\r\n/* 51: */ \r\n/* 52: 66 */ int m = 16;\r\n/* 53: 67 */ for (int n = 0; n < 16; n++) {\r\n/* 54: 68 */ for (int i1 = 0; i1 < 16; i1++) {\r\n/* 55: 69 */ for (int i2 = 0; i2 < 16; i2++) {\r\n/* 56: 70 */ if ((n == 0) || (n == 15) || (i1 == 0) || (i1 == 15) || (i2 == 0) || (i2 == 15))\r\n/* 57: */ {\r\n/* 58: 74 */ double d1 = n / 15.0F * 2.0F - 1.0F;\r\n/* 59: 75 */ double d2 = i1 / 15.0F * 2.0F - 1.0F;\r\n/* 60: 76 */ double d3 = i2 / 15.0F * 2.0F - 1.0F;\r\n/* 61: 77 */ double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 62: */ \r\n/* 63: 79 */ d1 /= d4;\r\n/* 64: 80 */ d2 /= d4;\r\n/* 65: 81 */ d3 /= d4;\r\n/* 66: */ \r\n/* 67: 83 */ float f2 = this.i * (0.7F + this.d.rng.nextFloat() * 0.6F);\r\n/* 68: 84 */ double d6 = this.e;\r\n/* 69: 85 */ double d8 = this.f;\r\n/* 70: 86 */ double d10 = this.g;\r\n/* 71: */ \r\n/* 72: 88 */ float f3 = 0.3F;\r\n/* 73: 89 */ while (f2 > 0.0F)\r\n/* 74: */ {\r\n/* 75: 90 */ BlockPosition localdt = new BlockPosition(d6, d8, d10);\r\n/* 76: 91 */ Block localbec = this.d.getBlock(localdt);\r\n/* 77: 93 */ if (localbec.getType().getMaterial() != Material.air)\r\n/* 78: */ {\r\n/* 79: 94 */ float f4 = this.h != null ? this.h.a(this, this.d, localdt, localbec) : localbec.getType().a((Entity)null);\r\n/* 80: 95 */ f2 -= (f4 + 0.3F) * 0.3F;\r\n/* 81: */ }\r\n/* 82: 98 */ if ((f2 > 0.0F) && ((this.h == null) || (this.h.a(this, this.d, localdt, localbec, f2)))) {\r\n/* 83: 99 */ localHashSet.add(localdt);\r\n/* 84: */ }\r\n/* 85:102 */ d6 += d1 * 0.300000011920929D;\r\n/* 86:103 */ d8 += d2 * 0.300000011920929D;\r\n/* 87:104 */ d10 += d3 * 0.300000011920929D;\r\n/* 88:105 */ f2 -= 0.225F;\r\n/* 89: */ }\r\n/* 90: */ }\r\n/* 91: */ }\r\n/* 92: */ }\r\n/* 93: */ }\r\n/* 94:111 */ this.j.addAll(localHashSet);\r\n/* 95: */ \r\n/* 96:113 */ float f1 = this.i * 2.0F;\r\n/* 97: */ \r\n/* 98:115 */ int i1 = MathUtils.floor(this.e - f1 - 1.0D);\r\n/* 99:116 */ int i2 = MathUtils.floor(this.e + f1 + 1.0D);\r\n/* 100:117 */ int i3 = MathUtils.floor(this.f - f1 - 1.0D);\r\n/* 101:118 */ int i4 = MathUtils.floor(this.f + f1 + 1.0D);\r\n/* 102:119 */ int i5 = MathUtils.floor(this.g - f1 - 1.0D);\r\n/* 103:120 */ int i6 = MathUtils.floor(this.g + f1 + 1.0D);\r\n/* 104:121 */ List<Entity> localList = this.d.b(this.h, new AABB(i1, i3, i5, i2, i4, i6));\r\n/* 105:122 */ Vec3 localbrw = new Vec3(this.e, this.f, this.g);\r\n/* 106:124 */ for (int i7 = 0; i7 < localList.size(); i7++)\r\n/* 107: */ {\r\n/* 108:125 */ Entity localwv = (Entity)localList.get(i7);\r\n/* 109:126 */ if (!localwv.aV())\r\n/* 110: */ {\r\n/* 111:129 */ double d5 = localwv.f(this.e, this.f, this.g) / f1;\r\n/* 112:131 */ if (d5 <= 1.0D)\r\n/* 113: */ {\r\n/* 114:132 */ double d7 = localwv.xPos - this.e;\r\n/* 115:133 */ double d9 = localwv.yPos + localwv.getEyeHeight() - this.f;\r\n/* 116:134 */ double d11 = localwv.zPos - this.g;\r\n/* 117: */ \r\n/* 118:136 */ double d12 = MathUtils.sqrt(d7 * d7 + d9 * d9 + d11 * d11);\r\n/* 119:137 */ if (d12 != 0.0D)\r\n/* 120: */ {\r\n/* 121:141 */ d7 /= d12;\r\n/* 122:142 */ d9 /= d12;\r\n/* 123:143 */ d11 /= d12;\r\n/* 124: */ \r\n/* 125:145 */ double d13 = this.d.a(localbrw, localwv.getAABB());\r\n/* 126:146 */ double d14 = (1.0D - d5) * d13;\r\n/* 127:147 */ localwv.receiveDamage(DamageSource.a(this), (int)((d14 * d14 + d14) / 2.0D * 8.0D * f1 + 1.0D));\r\n/* 128: */ \r\n/* 129:149 */ double d15 = EnchantmentProtection.a(localwv, d14);\r\n/* 130:150 */ localwv.xVelocity += d7 * d15;\r\n/* 131:151 */ localwv.yVelocity += d9 * d15;\r\n/* 132:152 */ localwv.zVelocity += d11 * d15;\r\n/* 133:154 */ if ((localwv instanceof EntityPlayer)) {\r\n/* 134:155 */ this.k.put((EntityPlayer)localwv, new Vec3(d7 * d14, d9 * d14, d11 * d14));\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139: */ }\r\n/* 140: */ }", "private void t3() {\n // write to a super region, read from a subregion: only keep write\n writeProtected();\n readDefault();\n }", "private Block replaceMethodChain(Block oldBlock) throws LookupException {\n // The defined variables\n Stack<Variable> variables = new Stack<>();\n // The parameter passed to the {@code Constants.CREATE_DOCUMENT} method\n FormalParameter formalParameter = oldBlock.nearestAncestor(Method.class).formalParameter(0);\n variables.push(formalParameter);\n // Use a string as we constantly have to create new NameExpressions\n lastElement = null;\n\n Block block = new Block();\n oldBlock.replaceWith(block);\n Block loneCode = oFactory().createBlock();\n loneCode.setMetadata(new TagImpl(), Neio.LONE_CODE);\n int prevCodeId = -1;\n\n List<Statement> statements = new ArrayList<>(oldBlock.statements());\n for (int i = 0; i < statements.size(); i++) {\n Statement statement = statements.get(i);\n // Is this a block of lonecode\n if (statement.hasMetadata(Neio.LONE_CODE)) {\n int id = ((CodeTag) statement.metadata(Neio.LONE_CODE)).id();\n // New codeblock\n if (loneCode.nbStatements() <= 0) {\n prevCodeId = id;\n }\n // Statement in same block\n if (id == prevCodeId) {\n loneCode.addStatement(statement);\n // Accumulate all of the statements of the lonecode\n if (i < statements.size() - 1) {\n continue;\n }\n // Process the last instruction, aka the last lonecode\n else {\n statement = loneCode;\n }\n }\n // New lonecode\n else {\n prevCodeId = id;\n statement = loneCode;\n // We still have to process the second block\n i--;\n }\n }\n // Set the counter back by one and process the lonecode\n else if (loneCode.nbStatements() > 0) {\n i--;\n statement = loneCode;\n }\n\n // Handles a codeblock if there is one\n statement = fixCodeBlock(block, statement, variables, loneCode);\n if (statement == null) {\n continue;\n }\n\n Stack<RegularMethodInvocation> callStack = new Stack<>();\n // MethodInvocations start from the back so push the invocations on a stack to get the correct order\n RegularMethodInvocation inv;\n Element methodChain = statement;\n while ((inv = getInvocation(methodChain)) != null) {\n callStack.push(inv);\n methodChain = inv;\n if (inv.getTarget() instanceof ThisLiteral) {\n break;\n }\n }\n\n\n breakupMethodChain(callStack, variables, block, methodChain, statement);\n }\n\n return block;\n }", "@RegionEffects(\"writes test.D:Static\") // BAD\n public void n1() {\n s1 = 1;\n }", "private void m205c() {\r\n if (this.f161b != null && this.f161b.m543a()) {\r\n this.f161b.m545c();\r\n }\r\n this.f161b = null;\r\n }", "public abstract void mo53562a(C18796a c18796a);" ]
[ "0.59878963", "0.5938312", "0.58231163", "0.5639183", "0.56075627", "0.55356073", "0.5526779", "0.5499439", "0.5477343", "0.54709035", "0.5469244", "0.54631835", "0.5450055", "0.5449362", "0.54487616", "0.5408712", "0.54006714", "0.5387321", "0.5365755", "0.5360618", "0.5356807", "0.5355306", "0.5350364", "0.534617", "0.53443325", "0.531239", "0.5287514", "0.5280991", "0.52774054", "0.5266041", "0.5247021", "0.5246101", "0.52191806", "0.5216823", "0.5204026", "0.5199604", "0.5191713", "0.5177959", "0.5173042", "0.51693", "0.5165577", "0.5164782", "0.51579195", "0.5150678", "0.51441777", "0.5143965", "0.5128126", "0.51261914", "0.51220393", "0.51204515", "0.5116728", "0.5101896", "0.50917506", "0.50852627", "0.50671816", "0.5067128", "0.50663716", "0.5060673", "0.5055205", "0.50406057", "0.5033805", "0.5032208", "0.5028178", "0.50263065", "0.50241023", "0.49986315", "0.49984035", "0.4988232", "0.4984577", "0.49842006", "0.49839467", "0.49814072", "0.49801958", "0.49787948", "0.4978272", "0.49771294", "0.49759778", "0.49739227", "0.49713886", "0.49678195", "0.49660254", "0.49600026", "0.49591184", "0.49562982", "0.49556726", "0.49536523", "0.4952889", "0.4952711", "0.49470612", "0.4943553", "0.49422884", "0.492919", "0.49283832", "0.4927791", "0.49270323", "0.49263301", "0.49249697", "0.49227652", "0.49216986", "0.4917281", "0.49097398" ]
0.0
-1
/ renamed from: a
private void m37643a(Map<String, String> map, HttpURLConnection httpURLConnection) { if (map != null) { for (String str : map.keySet()) { httpURLConnection.addRequestProperty(str, map.get(str)); } } try { httpURLConnection.addRequestProperty("csid", this.f25729i); } catch (Throwable th) { BasicLogHandler.m38679a(th, "ht", "adh"); } httpURLConnection.setConnectTimeout(this.f25721a); httpURLConnection.setReadTimeout(this.f25722b); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public static boolean m37644a(int i) { return i == 2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
Created by D1m11n on 14.07.2015.
public interface QuestionNotifier { void notify(QuestionModel question, int position); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mo51373a() {\n }", "@Override\n public void perish() {\n \n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "public void mo38117a() {\n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\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}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "public void mo4359a() {\n }", "private void m50366E() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "private void poetries() {\n\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\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public final void mo91715d() {\n }", "public void gored() {\n\t\t\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public void mo12930a() {\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n protected void getExras() {\n }", "private void kk12() {\n\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\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 public int describeContents() { return 0; }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tprotected void interr() {\n\t}", "public Pitonyak_09_02() {\r\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "protected void mo6255a() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\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}", "public void mo12628c() {\n }", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public void mo21779D() {\n }", "public void mo21877s() {\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "public void mo55254a() {\n }", "public void mo6081a() {\n }", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public void mo21878t() {\n }", "public void mo9848a() {\n }", "public void m23075a() {\n }", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public void mo1531a() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tpublic void create() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void create () {\n\n\t}", "public void mo21785J() {\n }", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "public void mo97908d() {\n }", "public void mo3376r() {\n }", "public void mo21825b() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public void mo1403c() {\n }", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "public void mo3749d() {\n }", "@Override\r\n\tvoid func04() {\n\t\t\r\n\t}", "public void mo115190b() {\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}", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "private zza.zza()\n\t\t{\n\t\t}", "public abstract void mo70713b();" ]
[ "0.5918757", "0.58511204", "0.5761103", "0.573101", "0.57224375", "0.57034373", "0.56967676", "0.568984", "0.5673063", "0.5661519", "0.56433135", "0.56377643", "0.56334305", "0.56334305", "0.56184953", "0.561619", "0.5590906", "0.558578", "0.5579973", "0.5577244", "0.55566144", "0.5518643", "0.550072", "0.54752904", "0.5469726", "0.5469726", "0.5469726", "0.5469726", "0.5469726", "0.5469726", "0.5469726", "0.5469174", "0.54573905", "0.54443055", "0.5438484", "0.54273814", "0.5426649", "0.542399", "0.5419083", "0.5417987", "0.5406718", "0.540627", "0.540627", "0.5398175", "0.5384228", "0.5375863", "0.5374949", "0.53747404", "0.53706014", "0.5369259", "0.53586614", "0.53583604", "0.5356107", "0.5356107", "0.5356107", "0.5356107", "0.5356107", "0.5353356", "0.53521574", "0.53459156", "0.5338392", "0.53352165", "0.5328292", "0.5324757", "0.53205216", "0.5314695", "0.53028405", "0.5300227", "0.5291353", "0.5288337", "0.52872324", "0.52831775", "0.52803475", "0.52776647", "0.52744305", "0.5266536", "0.5258811", "0.5250022", "0.5243802", "0.5243529", "0.52433556", "0.52433556", "0.52383065", "0.5237161", "0.52328724", "0.52315927", "0.5229572", "0.52253956", "0.522372", "0.522372", "0.522372", "0.5222278", "0.5222187", "0.5220471", "0.5219886", "0.5219886", "0.5219886", "0.5219462", "0.52155125", "0.52152056", "0.52135235" ]
0.0
-1
includes some code from my homework 1
public void transform() { String delimiter = " "; System.out.println("Using pathname " + this.inputPath_ + "\n"); //create string to hold the entire input file String input = ""; try { //use a scanner to get the contents of the file into a string Scanner inputScanner = new Scanner(new File(this.inputPath_)); //use a delimiter that only matches the end of the file; this will give us the whole file input = inputScanner.useDelimiter("\\Z").next(); inputScanner.close(); } catch (Exception e) { System.err.println("Couldn't read " + this.inputPath_); System.exit(-100); } //if we are here, then there wasn't an exception //make sure not empty file if(input.isEmpty()) { System.err.print("Error: Empty file."); System.exit(-200); } //create an array for the line strings ArrayList<String> inputLines = new ArrayList<>(); //next, separate the input string into multiple strings, one for each line //delimiter string regex - only match line terminators String lineDelim = "(\n|\r|\r\n|\u0085|\u2028|\u2029)"; StringTokenizer inputLineTokenizer = new StringTokenizer(input, lineDelim); //create a string tokenizer //count number of lines int numberOfLines = inputLineTokenizer.countTokens(); //add the lines to the array for(int i = 0; i < numberOfLines; i++) inputLines.add(inputLineTokenizer.nextToken(lineDelim)); //split line into words //create arraylist of strings ArrayList<ArrayList<String>> lines = new ArrayList<>(); for(int i = 0; i < inputLines.size(); i++) { //printout("Read line: " + inputLines.get(i) + "\n"); //create a tokenizer and count number of tokens StringTokenizer tokenizer = new StringTokenizer(inputLines.get(i), delimiter); int numWords = tokenizer.countTokens(); //create array of strings ArrayList<String> currentLine = new ArrayList<>(); for(int j = 0; j < numWords; j++) { //add a word if it is valid String currentWord = cleanUpText(tokenizer.nextToken(delimiter)); if(!currentWord.isEmpty()) currentLine.add(currentWord); } //add the current line to the list of typed lines if it had any valid words if(currentLine.size() > 0) lines.add(currentLine); } if(lines.size() <= 0) { System.err.println("ERROR! File did not contain a line with any valid words. Please try again with a different inpput file."); System.exit(-444); } else { //send lines from array to pipe for(int i = 0; i < lines.size(); i++) { this.output_.put(lines.get(i)); } //send a null terminator? //this causes the other filter to give an exception //the exception is caught by the other filter, which breaks the loop it uses to get new lines this.output_.put(null); //printout("Done with file input.\n"); //stop the filter this.stop(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void doExercise3() {\n // TODO: Complete Exercise 3 Below\n\n }", "public static void doExercise5() {\n // TODO: Complete Exercise 5 Below\n\n }", "public static void doExercise4() {\n // TODO: Complete Exercise 4 Below\n\n }", "public static void doExercise2() {\n // TODO: Complete Exercise 2 Below\n\n }", "public static void doExercise1() {\n // TODO: Complete Exercise 1 Below\n\n }", "public static void listing5_14() {\n }", "public static void main(String[] args) {\n Homework1 hw1 = new Homework1();\n\n System.out.println(\"===Problem 1===\");\n hw1.problem1();\n\n System.out.println(\"===Problem 2===\");\n System.out.println(hw1.topInt(1.5));\n System.out.println(hw1.topInt(5.1));\n System.out.println(hw1.topInt(1.0));\n System.out.println(hw1.topInt(-4.2));\n\n\n System.out.println(\"===Problem 3===\");\n hw1.draw4x4('-');\n hw1.draw4x4('4');\n\n System.out.println(\"===Problem 4===\");\n System.out.println(hw1.citationName(\"Alastair\", \"Reynolds\"));\n System.out.println(hw1.citationName(\"Grace\", \"Hopper\"));\n\n System.out.println(\"===Problem 5===\");\n System.out.println(String.valueOf(hw1.min3(1.0, 2.0, 3.0)));\n System.out.println(String.valueOf(hw1.min3(4.0, 3.0, 2.0)));\n System.out.println(String.valueOf(hw1.min3(0.5, 0.1, 0.5)));\n \n System.out.println(\"===Problem 6===\");\n System.out.println(hw1.fibonacci(0));\n System.out.println(hw1.fibonacci(1));\n System.out.println(hw1.fibonacci(2));\n System.out.println(hw1.fibonacci(3));\n System.out.println(hw1.fibonacci(10));\n System.out.println(hw1.fibonacci(25));\n \n \n System.out.println(\"===Problem 7===\");\n //System.out.println(hw1.isPalindrome(\"racecar\"));\n //System.out.println(hw1.isPalindrome(\"cat\"));\n //System.out.println(hw1.isPalindrome(\"hannah\"));\n //System.out.println(hw1.isPalindrome(\"saippuakivikauppias\"));\n }", "Programming(){\n\t}", "public static void main(String[] args) {\n homework ();\n }", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\n\t\t\n\t ICCChamp2017();\n\t System.out.println(\"England\");\n\t FinalIndVsPAk();\n\t System.out.println(\"Finals India Lifted ICC 2017\");\n\t \n\t\tFirstUmpieRevire();\n\t\tSystem.out.println(\"Simon Taufel First Umpier Reviews the Score Board\");\n\t SecondUmpireReview();\n\t System.out.println(\"Billy Bowden Second Umpier Reviews the Score Board\");\n\t ThridUmpireReview();\n\t System.out.println(\"David Shepard Thrid Umpier Reviews the Score Board\");\n\t \n\t \n\t Firstcommentary();\n\t System.out.println(\"Ravi is the commentary\");\n\t Secondcommentary();\n\t System.out.println(\"Gavaskar is the commentary\");\n\t \n\t \n\t \n\t \n\t\t\n\t\t\n\t\tint Dhoni, Rahul, Sachin,Kholi;\n\t System.out.println(\"Enter four Batsman Score Display the Mini Score Of the Batsman \");\n\t in = new Scanner(System.in);\n\t \n\t \n\t \n\t \n\t Dhoni = in.nextInt();\n\t Kholi = in.nextInt();\n\t Rahul = in.nextInt();\n\t Sachin = in.nextInt();\n\t \n\t if ( Dhoni <= Kholi && Dhoni <= Rahul && Dhoni <= Sachin )\n\t System.out.println(\"Dhoni is the Mini Scored Btsmans.\");\n\t else\n\t \t if ( Kholi <= Dhoni && Kholi <= Rahul && Kholi <= Sachin )\n\t System.out.println(\"Kholi is the Min Scored Batsmans .\");\n\t else if ( Rahul <= Dhoni && Rahul <= Kholi && Rahul <= Sachin )\n\t System.out.println(\"Rahul is the Min Scored Batsmans.\");\n\t else if ( Sachin <= Dhoni && Sachin <= Kholi && Sachin <= Rahul ) \n\t \t System.out.println(\"Sachin is the Min Scored Batsmans.\"); \n\t else \n\t System.out.println(\"Every one Scored 0 Duck\");\n\t \n\t \n\t int Sami,Irfan, Jaffar,Imran;\n\t System.out.println(\"Enter four Blowers Who Taken Wickets Display the Mini Wickets Of the Match\");\n\t \n\t \n\t \n\t \n\t \n\t Sami = in.nextInt();\n\t Irfan = in.nextInt();\n\t Jaffar = in.nextInt();\n\t Imran = in.nextInt();\n\t \n\t if ( Sami <= Irfan && Sami <= Jaffar && Sami <= Imran )\n\t System.out.println(\"Sami is the Mini Scored Btsmans.\");\n\t else\n\t \t if ( Imran <= Irfan && Imran <= Jaffar && Imran <= Sami )\n\t System.out.println(\"Imran is the Min Scored Batsmans .\");\n\t else if ( Irfan <= Sami && Irfan <= Jaffar && Irfan <= Imran )\n\t System.out.println(\"Irfan is the Min Scored Batsmans.\");\n\t else if (Jaffar <= Irfan && Jaffar <= Jaffar &&Jaffar <= Imran ) \n\t \t System.out.println(\"Jaffar is the Min Scored Batsmans.\"); \n\t else \n\t System.out.println(\"No on Taken Wickets\");\n\t \n\t \n\t \n\t \n\t\t \n\t}", "public void solution() {\n\t\t\n\t}", "public static void main(String[] args) {\n\n\t\tboolean allergy=true;\n\t\t\n\t\tboolean petAllergy=false;\n\t\tboolean peanatAllergy=true;\n\t\tboolean pollenAllergy=false;\n\t\t\n\t\t\n\t\t\n\tif (allergy) {\n\t\tSystem.out.println(\"Lets do further check\");\n\t\tif (petAllergy) {\n\t\t\tSystem.out.println(\"Please no cats or dogs in the house\");\n\t\t\n\t\t\n\t\t} else if (peanatAllergy){\n\t\t\tSystem.out.println(\"Dont eat peanat butter\");\n\t\t}else if (pollenAllergy) {\n\t\t\tSystem.out.println(\"Dont clean \");}\n\t}else {\n\t\tSystem.out.println(\"You are lucky\");\n\t}\n\t\n\tSystem.out.println(\"-----------Example 2----------\");\n\t\n\t/*\n\t * If todays is friday we will watch movie but would like to check the date\n\t * if date is 13--> watching scary movie\n\t * and if its is not--> i will watch comedy, action\n\t * \n\t * if no Friday --> i am studying\n\t */\n\t\n\tboolean Friday=false;\n\tint date=4;\n\tboolean monday=true;\n\t\n\tif (Friday) {\n\t\tif (date==13) {\n\t\t\tSystem.out.println(\"We will watch a scary movie\");\n\t\t\n\t\t}else {\n\t\t\tSystem.out.println(\"Watch a comedy\");\n\t\t}\n\t\t\n\t\t\n\t}else {\n\t\t\n\t\tif(monday) {\n\t\tSystem.out.println(\"I am not studying,Im working\");\n\t}else {\n\t\tSystem.out.println(\"I have class at Syntax\");\n\t}\n\t}\n\t\n\tSystem.out.println(\"----------Example 3------\");\n\t/*\n\t * check if assignment is completed\n\t * if assignment is complited:\n\t * if score >90--> great job\n\t * if score >80--> good job;\n\t * if score >70--> please study more\n\t */\n\t\n\tboolean assignment=false;\n\tint score=92;\n\t\n\tif (assignment) {\n\t\tif(score>90) {\n\t\t\tSystem.out.println(\"Great job!\");\n\t\t}else if (score>80) {\n\t\t\tSystem.out.println(\"Good job\");\n\t\t}else if (score>70) {\n\t\t\tSystem.out.println(\"Pleaase study more\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Good job for trying,but must study!\");\n\t\t}\n\t\t\n\t\t\n\t}else {\n\t\tSystem.out.println(\"You should always complete all assignments\");\n\t}\n\t\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "static void homeworkHeader(){\n //homeworkHeader function which when called will produce the homework header\n putChars(30, '=');//displays 10 =\n System.out.println(\"Homework Header\");\n putChars(30, '=');//displays 10 =\n System.out.println(\"Ticket : 86713\");\n System.out.println( \"Course : CMPR 112 \");\n System.out.println( \"Student : Ben Halpern \");\n System.out.println( \"Instructor : Joel Kirscher\");\n System.out.println( \"Environment: Win 10 NetBeans \");\n System.out.println( \"Project Title : Assignment 05 - Java Methods \");\n System.out.println(\"\\n\\n\");\n //end homework header output\n }", "public static void main(String[] args) {demo6();\r\n\t\t\r\n\t}", "public void mo38117a() {\n }", "public static void main(String[] args) {\n practice_1_5 p =new practice_1_5();\n // p.quickfindArr();\n // p.quickunionArr();\n p.weightedquickunionArr();\n\t}", "void mo119581a();", "void mo28306a();", "void mo57277b();", "public void verliesLeven() {\r\n\t\t\r\n\t}", "public static void main(String[] args){\n\t\tPersonalData data1= new PersonalData(1982,01,11,234567890);\n\t\tPersonalData data2= new PersonalData(1992,10,19,876543210);\n\t\tPersonalData data3= new PersonalData(1989,04,27,928374650);\n\t\tPersonalData data4= new PersonalData(1993,07,05,819463750);\n\t\tPersonalData data5= new PersonalData(1990,11,03,321678950);\n\t\tPersonalData data6= new PersonalData(1991,11,11,463728190);\n\t\tStudent student1=new Student(\"Ali Cantolu\",5005,50,data1);\n\t\tStudent student2=new Student(\"Merve Alaca\",1234,60,data2);\n\t\tStudent student3=new Student(\"Gizem Kanca\",5678,70,data3);\n\t\tStudent student4=new Student(\"Emel Bozdere\",8902,70,data4);\n\t\tStudent student5=new Student(\"Merter Kazan\",3458,80,data5);\n\n\t\t//A course (let us call it CSE141) with a capacity of 3 is created\n\t\tCourse CSE141=new Course(\"CSE141\",3);\n\n\t\t//Any 4 of the students is added to CSE141.\n\t\tif (!CSE141.addStudent(student1)) System.out.println(student1.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student2)) System.out.println(student2.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student3)) System.out.println(student3.toString()+ \" is not added\");\n\t\tif (!CSE141.addStudent(student4)) System.out.println(student4.toString()+ \" is not added\");\n\n\n\t\t//All students of CSE141 are printed on the screen.\n System.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n CSE141.list();\n\n //The capacity of CSE141 is increased.\n CSE141.increaseCapacity();\n\n //Remaining 2 students are added to CSE141.\n\t \tCSE141.addStudent(student4);\n\t \tCSE141.addStudent(student5);\n\n\t \t//All students of CSE141 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n\t \tCSE141.list();\n\n\t \t//Student with ID 5005 is dropped from CSE141.\n\t \tCSE141.dropStudent(student1);\n\n\t \t//All students of CSE141 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE141.getCourseName()+\": \");\n\t \tCSE141.list();\n\n\t \t//Number of students enrolled to CSE141 is printed.\n\t \tSystem.out.println(\"\\nNumber of students enrolled to \"+CSE141.getCourseName()+\": \" + CSE141.getNumberOfStudents());\n\n\t \t//Birth year of best student of CSE141 is printed on the screen. (You should use getYear() method of java.util.Date class.)\n\t \tSystem.out.println(\"\\nBirth year of best student of CSE141 is \"+CSE141.getBestStudent().getPersonalData().getBirthDate().getYear());\n\n\t \t//A new course (let us call it CSE142) is created.\n\t \tCourse CSE142=new Course(\"CSE142\");\n\n\t \t//All students currently enrolled in CSE141 are added to CSE142. (You should use getStudents() method).\n\t \tStudent[] students = CSE141.getStudents();\n\t \tfor(int i=0;i<CSE141.getNumberOfStudents();i++)\n\t \t\tCSE142.addStudent(students[i]);\n\n\t \t//All students of CSE141 are removed from the course.\n\t \tCSE141.clear();\n\n\t \t//Student with ID 5005 is dropped from CSE141 and result of the operation is printed on the screen.\n\t \tSystem.out.println(\"\\nThe result of the operation 'Student with ID 5005 is dropped from \"+CSE141.getCourseName()+\"' is: \"+CSE141.dropStudent(student1));\n\n\t \t//All students of CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE142.getCourseName()+\": \");\n\t \tCSE142.list();\n\n\t \t//Best student of CSE142 is dropped from CSE142.\n\t \tCSE142.dropStudent(CSE142.getBestStudent());\n\n\t \t//All students of CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nAll students of \"+CSE142.getCourseName()+\": \");\n\t \tCSE142.list();\n\n\t \t//GPA of youngest student of CSE142 is printed on the screen.\n\t\tSystem.out.println(\"\\nThe Youngest Student's (\"+CSE142.getYoungestStudent()+\") GPA is \"+CSE142.getYoungestStudent().GPA());\n\n\t \t//Courses CSE141 and CSE142 are printed on the screen.\n\t \tSystem.out.println(\"\\nCourse Information for \"+CSE141.getCourseName()+\":\\n\" + CSE141.toString());\n\t \tSystem.out.println(\"\\nCourse Information for \"+CSE142.getCourseName()+\":\\n\" + CSE142.toString());\n\t }", "public static void listing5_16() {\n }", "public static void main(String[] args) {\n Last_coding_exercises.task17();\n\n\n }", "public static void listing5_15() {\n }", "void mo67924c();", "public static void main(String[] args) {\n\t\t\tinitCapFormat(\"bengaluru is my city\");\n\t\t// 2.TODO \"sumit\" - \"itsum\"\n\t\t\tinputsInterchangeable(\"sumit\", \"itsum\");\n\t\t// 3.TODO 6699 - 69\n\t\t\t// 6*9+6+9\n\t\t// 4.TODO LIKE operator\n\t\t\t// SQL_LINUX.odt\n\t\t// 5.TODO numbers div by 5 in 1....10/5cr\n\t\t\tcountDivisibles(1, 100, 5);\n\t\t// 6.TODO count vowels in statement\n\t\t\tgetCountofVowels(\"THIS website is aw3som3\");\n\t\t// 7.CSS bold\n\t\t\t// <strong> or <b> tag also, you can try with css <span style=\"font-weight:bold\">text</span>\n\n\t}", "public static void main(String[] args) {\n\t\tint birdsOnABranch = 4;\n\t\tint birdsThatFlyAway = 1;\n\t\tint birdsRemaining = birdsOnABranch - birdsThatFlyAway;\n\n /* Exercise 2\n 2. There are 6 birds and 3 nests. How many more birds are there than\n nests?\n */\n\t\t// ### EXAMPLE:\n\t\tint numberOfBirds = 6;\n\t\tint numberOfNests = 3;\n\t\tint numberOfExtraBirds = numberOfBirds - numberOfNests;\n\n /* Exercise 3\n 3. 3 raccoons are playing in the woods. 2 go home to eat dinner. How\n many raccoons are left in the woods?\n */\n\t\tint racoonsInWoods = 3;\n\t\tint racoonsEatingDinner = 2;\n\t\tint racoonsLeft = racoonsInWoods - racoonsEatingDinner;\n\n\n /* Exercise 4\n 4. There are 5 flowers and 3 bees. How many less bees than flowers?\n */\n\t\tint flowers = 5;\n\t\tint bees = 3;\n\t\tint flowersLeft = flowers - bees;\n\n\n /* Exercise 5\n 5. 1 lonely pigeon was eating breadcrumbs. Another pigeon came to eat\n breadcrumbs, too. How many pigeons are eating breadcrumbs now?\n */\n\t\tint lonelyPigeon = 1;\n\t\tint hungryPigeon = 1;\n\t\tint eatingPigeons = lonelyPigeon + hungryPigeon;\n\n\n /* Exercise 6\n 6. 3 owls were sitting on the fence. 2 more owls joined them. How many\n owls are on the fence now?\n */\n\t\tint owlsOnFence = 3;\n\t\tint friendlyOwls = 2;\n\t\tint totalOwlsOnFence = owlsOnFence + friendlyOwls;\n\n\n /* Exercise 7\n 7. 2 beavers were working on their home. 1 went for a swim. How many\n beavers are still working on their home?\n */\n\t\tint beaversWorking = 2;\n\t\tint beaversSwimming = 1;\n\t\tint beaversStillWorking = beaversWorking - beaversSwimming;\n\n\n /* Exercise 8\n 8. 2 toucans are sitting on a tree limb. 1 more toucan joins them. How\n many toucans in all?\n */\n\t\tint toucansOnTree = 2;\n\t\tint toucansJoiningTree = 1;\n\t\tint totalToucansOnTree = toucansOnTree + toucansJoiningTree;\n\n\n /* Exercise 9\n 9. There are 4 squirrels in a tree with 2 nuts. How many more squirrels\n are there than nuts?\n */\n\t\tint squirrelsInTree = 4;\n\t\tint nutsInTree = 2;\n\t\tint squirrelsWithoutNuts = squirrelsInTree - nutsInTree;\n\n\n /* Exercise 10\n 10. Mrs. Hilt found a quarter, 1 dime, and 2 nickels. How much money did\n she find?\n */\n\t\tdouble quarter = 0.25;\n\t\tdouble dime =0.10;\n\t\tdouble nickel = 2 * 0.05;\n\t\tdouble totalMoney = quarter + dime + nickel;\n\n\n /* Exercise 11\n 11. Mrs. Hilt's favorite first grade classes are baking muffins. Mrs. Brier's\n class bakes 18 muffins, Mrs. MacAdams's class bakes 20 muffins, and\n Mrs. Flannery's class bakes 17 muffins. How many muffins does first\n grade bake in all?\n */\n\t\tint mrsBrierClass = 18;\n\t\tint mrsFlanneryClass = 17;\n\t\tint mrsMacAdamClass = 20;\n\t\tint totalMuffins = mrsBrierClass + mrsMacAdamClass + mrsFlanneryClass;\n\n\n /* Exercise 12\n 12. Mrs. Hilt bought a yoyo for 24 cents and a whistle for 14 cents. How\n much did she spend in all for the two toys?\n */\n\t\tdouble yoyoCost = 0.24;\n\t\tdouble whistleCost = 0.14;\n\t\tdouble moneySpent = yoyoCost + whistleCost;\n\n\n /* Exercise 13\n 13. Mrs. Hilt made 5 Rice Krispie Treats. She used 8 large marshmallows\n and 10 mini marshmallows.How many marshmallows did she use\n altogether?\n */\n\t\tint largeMarshmallow = 8;\n\t\tint miniMarshmallow = 10;\n\t\tint totalMarshmallow = largeMarshmallow + miniMarshmallow;\n\n\n /* Exercise 14\n 14. At Mrs. Hilt's house, there was 29 inches of snow, and Brecknock\n Elementary School received 17 inches of snow. How much more snow\n did Mrs. Hilt's house have?\n */\n\t\tint hiltHouseSnow = 29;\n\t\tint brecknockElementarySnow = 17;\n\t\tint differenceInSnow = hiltHouseSnow - brecknockElementarySnow;\n\n\n /* Exercise 15\n 15. Mrs. Hilt has $10. She spends $3 on a toy truck and $2 on a pencil\n case. How much money does she have left?\n */\n\t\tdouble hiltWallet = 10.0;\n\t\tdouble toyTruckCost = 3.0;\n\t\tdouble pencilCaseCost = 2.0;\n\t\tdouble walletBalance = hiltWallet - toyTruckCost - pencilCaseCost;\n\n\n\n /* Exercise 16\n 16. Josh had 16 marbles in his collection. He lost 7 marbles. How many\n marbles does he have now?\n */\n\t\tint totalMarbles = 16;\n\t\tint marblesLost = 7;\n\t\tint marblesLeft = totalMarbles - marblesLost;\n\n\n /* Exercise 17\n 17. Megan has 19 seashells. How many more seashells does she need to\n find to have 25 seashells in her collection?\n */\n\t\tint desiredSeashellCount = 25;\n\t\tint currentSeashellCount = 19;\n\t\tint seashellsNeededCount = desiredSeashellCount - currentSeashellCount;\n\n\n /* Exercise 18\n 18. Brad has 17 balloons. 8 balloons are red and the rest are green. How\n many green balloons does Brad have?\n */\n\t\tint totalBalloons = 17;\n\t\tint redBalloons = 8;\n\t\tint greenBalloons = totalBalloons - redBalloons;\n\n\n /* Exercise 19\n 19. There are 38 books on the shelf. Marta put 10 more books on the shelf.\n How many books are on the shelf now?\n */\n\t\tint booksOnShelf = 38;\n\t\tint booksAdded = 10;\n\t\tint currentBooksOnShelf = booksOnShelf + booksAdded;\n\n\n /* Exercise 20\n 20. A bee has 6 legs. How many legs do 8 bees have?\n */\n\t\tint beeLegCount = 6;\n\t\tint numberOfBees = 8;\n\t\tint totalNumberOfLegs = beeLegCount * numberOfBees;\n\n\n /* Exercise 21\n 21. Mrs. Hilt bought an ice cream cone for 99 cents. How much would 2 ice\n cream cones cost?\n */\n\t\tdouble iceCreamCost = 0.99;\n\t\tint numberOfConesPurchased = 2;\n\t\tdouble totalCostOfIceCream= iceCreamCost * numberOfConesPurchased;\n\n\n /* Exercise 22\n 22. Mrs. Hilt wants to make a border around her garden. She needs 125\n rocks to complete the border. She has 64 rocks. How many more rocks\n does she need to complete the border?\n */\n\t\tint totalRocks = 125;\n\t\tint rocksOnHand = 64;\n\t\tint rocksNeededToComplete = totalRocks - rocksOnHand;\n\n\n /* Exercise 23\n 23. Mrs. Hilt had 38 marbles. She lost 15 of them. How many marbles does\n she have left?\n */\n\t\tint hiltTotalMarbles = 38;\n\t\tint hiltMarblesLost = 15;\n\t\tint hiltMarblesLeft = hiltTotalMarbles - hiltMarblesLost;\n\n\n /* Exercise 24\n 24. Mrs. Hilt and her sister drove to a concert 78 miles away. They drove 32\n miles and then stopped for gas. How many miles did they have left to drive?\n */\n\t\tint concertDistance = 78;\n\t\tint tripStop = 32;\n\t\tint distanceLeft = concertDistance - tripStop;\n\n\n /* Exercise 25\n 25. Mrs. Hilt spent 1 hour and 30 minutes shoveling snow on Saturday\n morning and 45 minutes shoveling snow on Saturday afternoon. How\n much total time (in minutes) did she spend shoveling snow?\n */\n\t\tint saturdayMorningShoveling = (1*60) + 30;\n\t\tint saturdayEveningShoveling = 45;\n\t\tint totalTimeShoveling = saturdayEveningShoveling + saturdayMorningShoveling;\n\n\n /* Exercise 26\n 26. Mrs. Hilt bought 6 hot dogs. Each hot dog cost 50 cents. How much\n money did she pay for all of the hot dogs?\n */\n\t\tdouble hotDogCost = 0.50;\n\t\tint hotDogCount = 6;\n\t\tdouble hotDogMoneySpent = hotDogCount * hotDogCost;\n\n\n\n /* Exercise 27\n 27. Mrs. Hilt has 50 cents. A pencil costs 7 cents. How many pencils can\n she buy with the money she has?\n */\n\t\tdouble hiltMoney = 0.50;\n\t\tdouble pencilCost = 0.07;\n\t\tint pencilsThatCanBeBought = (int) (hiltMoney / pencilCost);\n\n\n /* Exercise 28\n 28. Mrs. Hilt saw 33 butterflies. Some of the butterflies were red and others\n were orange. If 20 of the butterflies were orange, how many of them\n were red?\n */\n\t\tint butterFliesSeen = 33;\n\t\tint orangeButterflies = 20;\n\t\tint redButterflies = butterFliesSeen - orangeButterflies;\n\n\n /* Exercise 29\n 29. Kate gave the clerk $1.00. Her candy cost 54 cents. How much change\n should Kate get back?\n */\n\t\tdouble kateMoneyGiven = 1.00;\n\t\tdouble kateCandyCost = 0.54;\n\t\tdouble kateChange = kateMoneyGiven - kateCandyCost;\n\n\n /* Exercise 30\n 30. Mark has 13 trees in his backyard. If he plants 12 more, how many trees\n will he have?\n */\n\t\tint markTreesInYard = 13;\n\t\tint markPlantsTrees = 12;\n\t\tint markTotalTrees = markPlantsTrees + markTreesInYard;\n\n\n /* Exercise 31\n 31. Joy will see her grandma in two days. How many hours until she sees\n her?\n */\n\t\tint joyDaysToGrandma = 2;\n\t\tint hoursInADay = 24;\n\t\tint hoursToSeeGrandma = joyDaysToGrandma * hoursInADay;\n\n\n /* Exercise 32\n 32. Kim has 4 cousins. She wants to give each one 5 pieces of gum. How\n much gum will she need?\n */\n\t\tint kimCousins = 4;\n\t\tint kimGumDonation = 5;\n\t\tint neededGumCount = kimGumDonation * kimCousins;\n\n\n /* Exercise 33\n 33. Dan has $3.00. He bought a candy bar for $1.00. How much money is\n left?\n */\n\t\tdouble danWallet = 3.00;\n\t\tdouble candyCost = 1.00;\n\t\tdouble danMoneyLeft = danWallet - candyCost;\n\n /* Exercise 34\n 34. 5 boats are in the lake. Each boat has 3 people. How many people are\n on boats in the lake?\n */\n\t\tint boatsOnTheLake = 5;\n\t\tint peopleInEachBoats = 3;\n\t\tint peopleOnWater = boatsOnTheLake * peopleInEachBoats;\n\n\n /* Exercise 35\n 35. Ellen had 380 legos, but she lost 57 of them. How many legos does she\n have now?\n */\n\t\tint totalLegos = 380;\n\t\tint legosLost = 57;\n\t\tint leftsLeft= totalLegos - legosLost;\n\n\n /* Exercise 36\n 36. Arthur baked 35 muffins. How many more muffins does Arthur have to\n bake to have 83 muffins?\n */\n\t\tint wantsToBake = 83;\n\t\tint bakedMuffins = 35;\n\t\tint leftToBake = wantsToBake - bakedMuffins;\n\n\n /* Exercise 37\n 37. Willy has 1400 crayons. Lucy has 290 crayons. How many more\n crayons does Willy have then Lucy?\n */\n\t\tint willyCrayons = 1400;\n\t\tint lucyCrayons = 290;\n\t\tint differenceInCrayons = willyCrayons - lucyCrayons;\n\n\n /* Exercise 38\n 38. There are 10 stickers on a page. If you have 22 pages of stickers, how\n many stickers do you have?\n */\n\t\tint stickersPerPage = 10;\n\t\tint pagesOfStickers = 22;\n\t\tint totalStickers = stickersPerPage * pagesOfStickers;\n\n\n /* Exercise 39\n 39. There are 96 cupcakes for 8 children to share. How much will each\n person get if they share the cupcakes equally?\n */\n\t\tdouble totalCupcakes = 96;\n\t\tdouble numberOfChildren = 8;\n\t\tdouble cupcakesPerChild = totalCupcakes / numberOfChildren;\n\n\n /* Exercise 40\n 40. She made 47 gingerbread cookies which she will distribute equally in\n tiny glass jars. If each jar is to contain six cookies each, how many\n cookies will not be placed in a jar?\n */\n\t\tint totalCookies = 47;\n\t\tint cookiesInEachJar = 6;\n\t\tint leftoverCookies = totalCookies % cookiesInEachJar;\n\n\n /* Exercise 41\n 41. She also prepared 59 croissants which she plans to give to her 8\n neighbors. If each neighbor received and equal number of croissants,\n how many will be left with Marian?\n */\n\t\tint totalCroissants = 59;\n\t\tint croissantsToNeighbors = 8;\n\t\tint leftOverCroissants = totalCroissants % croissantsToNeighbors;\n\n\n\n /* Exercise 42\n 42. Marian also baked oatmeal cookies for her classmates. If she can\n place 12 cookies on a tray at a time, how many trays will she need to\n prepare 276 oatmeal cookies at a time?\n */\n\t\tint cookiesAtATime = 276;\n\t\tint cookiesPerTray = 12;\n\t\tint traysNeeded = cookiesAtATime / cookiesPerTray;\n\n\n /* Exercise 43\n 43. Marian’s friends were coming over that afternoon so she made 480\n bite-sized pretzels. If one serving is equal to 12 pretzels, how many\n servings of bite-sized pretzels was Marian able to prepare?\n */\n\t\tint pretzelsMade = 480;\n\t\tint oneServing = 12;\n\t\tint servingsPrepared = pretzelsMade / oneServing;\n\n\n /* Exercise 44\n 44. Lastly, she baked 53 lemon cupcakes for the children living in the city\n orphanage. If two lemon cupcakes were left at home, how many\n boxes with 3 lemon cupcakes each were given away?\n */\n\t\tint totalCupcakesForChildren = 53;\n\t\tint cupcakesPerBox = 3;\n\t\tint cupcakeBoxesGiven = totalCupcakesForChildren / cupcakesPerBox;\n\n\n\n /* Exercise 45\n 45. Susie's mom prepared 74 carrot sticks for breakfast. If the carrots\n were served equally to 12 people, how many carrot sticks were left\n uneaten?\n */\n\t\tint preparedSticks = 74;\n\t\tint sticksPerPerson = 12;\n\t\tint sticksLeft = preparedSticks % sticksPerPerson;\n\n\n /* Exercise 46\n 46. Susie and her sister gathered all 98 of their teddy bears and placed\n them on the shelves in their bedroom. If every shelf can carry a\n maximum of 7 teddy bears, how many shelves will be filled?\n */\n\t\tint totalTeddyBears = 98;\n\t\tint bearsPerShelf = 7;\n\t\tint shelfsNeeded = totalTeddyBears / bearsPerShelf;\n\n\n /* Exercise 47\n 47. Susie’s mother collected all family pictures and wanted to place all of\n them in an album. If an album can contain 20 pictures, how many\n albums will she need if there are 480 pictures?\n */\n\t\tint totalPictures = 480;\n\t\tint picsPerAlbum = 20;\n\t\tint numberOfAlbums = totalPictures / picsPerAlbum;\n\n\n /* Exercise 48\n 48. Joe, Susie’s brother, collected all 94 trading cards scattered in his\n room and placed them in boxes. If a full box can hold a maximum of 8\n cards, how many boxes were filled and how many cards are there in\n the unfilled box?\n */\n\t\tint totalCards = 94;\n\t\tint boxCanHold = 8;\n\t\tint boxesFilled = totalCards / boxCanHold;\n\t\tint cardsInUnfilledBox = totalCards % boxCanHold;\n\n\n /* Exercise 49\n 49. Susie’s father repaired the bookshelves in the reading room. If he has\n 210 books to be distributed equally on the 10 shelves he repaired,\n how many books will each shelf contain?\n */\n\t\tint totalBooks = 210;\n\t\tint shelves = 10;\n\t\tint booksPerShelve = totalBooks / shelves;\n\n\n /* Exercise 50\n 50. Cristina baked 17 croissants. If she planned to serve this equally to\n her seven guests, how many will each have?\n */\n\t\tdouble cristinaTotalCroissants = 17;\n\t\tdouble guests = 7;\n\t\tdouble croissantsPerGuest = cristinaTotalCroissants / guests;\n\n\n\t /* Exercise 51\n\t 51. Bill and Jill are house painters. Bill can paint a 12 x 14 room in 2.15 hours, while Jill averages\n\t 1.90 hours. How long will it take the two painters working together to paint 5 12 x 14 rooms?\n\t Hint: Calculate the hourly rate for each painter, combine them, and then divide the total walls in feet by the combined hourly rate of the painters.\n\t */\n\t\tdouble billHourlyRate = (12 * 14) / 2.15;\n\t\tdouble jillHourlyRate = (12 * 14) / 1.90;\n\t\tdouble timeToPaintBigRoom = (5 * 12 * 14) / (jillHourlyRate + billHourlyRate);\n\n\n\n\t /* Exercise 52\n\t 52. Create and assign variables to hold a first name, last name, and middle initial. Using concatenation,\n\t\tbuild an additional variable to hold the full name in the order of last name, first name, middle initial. The\n\t\tlast and first names should be separated by a comma followed by a space, and the middle initial must end\n\t\twith a period. Use \"Grace\", \"Hopper, and \"B\" for the first name, last name, and middle initial.\n\t\tExample: \"John\", \"Smith, \"D\" —> \"Smith, John D.\"\n\t */\n\t\tString first_Name = \"Grace\";\n\t\tString last_Name = \"Hopper\";\n\t\tString middle_Initial = \"B\";\n\t\tString full_Name = last_Name + \", \" + first_Name + \" \" + middle_Initial + \".\";\n\n\n\t /* Exercise 53\n\t 53. The distance between New York and Chicago is 800 miles, and the train has already travelled 537 miles.\n\t What percentage of the trip as a whole number has been completed?\n\t */\n\t\tdouble totalDistance = 800;\n\t\tdouble trainTravelled = 537;\n\t\tdouble percentageTravelledFraction = (trainTravelled / totalDistance) * 100;\n\t\tint percentageTravelled = (int)percentageTravelledFraction;\n\n\n\t}", "void mo5017a();", "void mo10148a();", "private void kk12() {\n\n\t}", "void mo21076g();", "public static void exercise10() {\n }", "public void mo21785J() {\n }", "public static void main(String[] args) throws IOException {\n// new Homework01();\n new Homework02();\n }", "void mo41086b();", "void mo21073d();", "public static void introduction()\r\n {\r\n System.out.println(\"this program will scanner the content in a file\");\r\n System.out.println(\"store words into a new file and count how many other same words appear\");\r\n System.out.println(\"all the output for all the word will be all lower case and in order\");\r\n System.out.println();\r\n }", "void mo71b();", "public static void demo() {\n\t\tlab_2_2_5();\n\n\t}", "public void intro ()\n {\n\tprintSlow (\"\\n\\nWelcome back to Hogwarts, the wonderful school of Witchcraft and Wizardry!\");\n\tprintSlow (\"As you may know already, Harry my boy, this is your third year at the school, and much is expected of you.\");\n\tprintSlow (\"... It seems that the school year has begun, go down to the main hall to hear what Professor Dumbledore \\nhas to say about the upcoming year!\\n\");\n\tprintSlow (\"~You start to walk through the halls, unsure of what to expect. Not much has changed, except for the new year of students approaching in boats.\\nEventually, you make it to the great hall, just in time for Dumbledore's speech.~\");\n\tprintSlow (\"\\nHello Students of Hogwarts. I am Professor Dumbledore, your headmaster here at Hogwarts.\");\n\tprintSlow (\"As some of you may know, it is a very dark time here at Hogwarts, and there are many dark forces among us.\");\n\tprintSlow (\"Should any students detect any such malicious sources, it would be in your best interest to \\ninform me, or any of my fellow teachers, and we will do our best to uphold the saftey we pride ourselves with here at Hogwarts.\\n\\n\");\n\n }", "void mo41083a();", "public static void main(String[] args) {\n\n ArrayClone();\n //ArrayToString();\n //ArrayReverse();\n\n //ForToForeach();\n //SaveOurRAM();\n\n //Homework_Example_1();\n //Homework_Example_2();\n }", "void mo1507n();", "void mo37810a();", "public static void main(String[] args) {\n\t\tString[] sA1 = {\"old\", \"cold\", \"new\", \"cool\", \"scary\", \"scared\", \"worrisome\", \"very big\", \"small\", \"powerful\", \"imaginative\", \"hungry\", \"sleepy\", \"tired\", \"aggresive\", \"handsome\", \"ambitious\", \"brave\", \"calm\", \"eager\", \"clean\", \"chubby\", \"colossal\", \"gigantic\", \"little\", \"gentle\", \"religious\", \"grumpy\", \"embarrassed\", \"bewildered\"};\n\t\tString[] sA2 = {\"catarpillar\", \"basketball player\", \"police man\", \"doctor\", \"waiter\", \"ducky\", \"puppy\", \"psychic\", \"kitty cat\", \"badger\", \"otter\", \"basilisk\", \"platypus\", \"martian\", \"italian man\", \"chef\", \"veterinarian\", \"student\", \"qa tester\", \"sysadmin\", \"project manager\", \"soccer player\", \"vegitarian\", \"eel\", \"fish\", \"baby\", \"water chestnut\", \"apple tree\", \"president\", \"mechanic\", \"salesman\", \"twitch streamer\", \"quarterback\", \"halfback\", \"coach\", \"jealous\"};\n\t\tString[] sA3 = {\"favorite\", \"epic\", \"awesome\", \"amazing\", \"gorgeous\", \"worst\", \"unique\", \"weird\", \"funny\", \"magic\", \"itchy\", \"silly\", \"wonderful\", \"magnificent\", \"nice\", \"jolly\", \"unsightly\", \"miniature\", \"microscopic\", \"massive\", \"best\", \"loltyler1.com discount code alpha\"};\n\t\tString[] sA4 = {\"bodyguard\", \"plates\", \"game\", \"stuffed animal\", \"stopwatch\", \"pillow\", \"victory royale\", \"xbox controller\", \"wallet\", \"chair\", \"racecar bed\", \"rocket\", \"water bed\", \"closet\", \"water bottle\", \"jetski\", \"headset\", \"printer\", \"hard drive\", \"cologne\", \"deoderant\", \"robe\", \"diamond pickaxe\", \"iron sword\", \"stone shovel\", \"usb flash drive\"};\n\t\tArrayList<Book> bookArr = new ArrayList<Book>();\n\t\tRandom r = new Random();\n\t\tBookTableGateway btg = new BookTableGateway();\n\t\tPublisherTableGateway ptg = new PublisherTableGateway();\n\t\tAuditTableGateway atg = new AuditTableGateway();\n\t\tbtg.setPTGate(ptg);\n\t\tbtg.setATGate(atg);\n\t\tString isbn;\n\t\tint isbnInt = 501242;\n\t\tfor(int i = 0; i < 100;i++) {\n\t\t\tbookArr.clear();\n\t\tfor(int j = 0; j < 1100;j++) {\n\t\t\tString name = \"The \" + sA1[r.nextInt(sA1.length)] + \" \" + sA2[r.nextInt(sA2.length)] + \" and his \" + sA3[r.nextInt(sA3.length)] + \" \" + sA4[r.nextInt(sA4.length)];\n\t\t\tint yearPublished = r.nextInt(1900) + 117;\n\t\t\tString summary = \"A book that exists\";\n\t\t\tint pSwitch = r.nextInt(7);\n\t\t\tint publisherID;\n\t\t\tswitch(pSwitch) {\n\t\t\tcase 0:\n\t\t\t\tpublisherID = 123;\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tpublisherID = 124;\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tpublisherID = 125;\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\tpublisherID = 126;\n\t\t\t\tbreak;\n\t\t\tcase 4:\n\t\t\t\tpublisherID = 128;\n\t\t\t\tbreak;\n\t\t\tcase 5:\n\t\t\t\tpublisherID = 129;\n\t\t\t\tbreak;\n\t\t\tcase 6:\n\t\t\t\tpublisherID = 127;\n\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\tpublisherID = 123;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tisbn = String.valueOf(isbnInt);\n\t\t\tisbnInt++;\n\t\t\tbookArr.add(new Book(0, yearPublished, name, summary, isbn, null, null, new Publisher(publisherID, null)));\n\t\t\tlogger.info(\"generated \" + name);\n\t\t}\n\t\tbtg.insertBookArray(bookArr);\n\t\t}\n\t\t\n\t}", "public static void main(String[] args){\n //The driver of the methods created above\n //first display homeowork header\n homeworkHeader();\n //calls driver method\n System.out.println(\"Calling driver method:\");\n driver(true);//runs choice driver\n //when prompted for a choice input 9 to see test driver\n System.out.println(\"End calling of driver method\");\n \n }", "public void mo4359a() {\n }", "public static void main(String args[]) {\n\t\t\r\n\t\tnew HuffmanEncode(\"book3.txt\", \"book3Comp.txt\");\r\n\t\t//do not add anything here\r\n\t}", "void mo21072c();", "void mo7350a();", "void mo1941j();", "private void generateSolution() {\n\t\t// TODO\n\n\t}", "private static void LessonFundamentals() {\n byte myNum1 = 100;\n System.out.println(myNum1);\n short myNum2 = 5000;\n System.out.println(myNum2);\n int myNum3 = 100000;\n System.out.println(myNum3);\n long myNum4 = 15000000000L;\n System.out.println(myNum4);\n float myNum5 = 5.75f;\n System.out.println(myNum5);\n double myNum6 = 19.99d;\n System.out.println(myNum6);\n boolean isJavaFun = true;\n boolean isFishTasty = false;\n System.out.println(isJavaFun);\n System.out.println(isFishTasty);\n char myGrade = 'B';\n System.out.println(myGrade);\n String greeting = \"Hello World\";\n System.out.println(greeting);\n\n //#4\n //Strings are non-primitive data types that are objects\n //Strings can be empty or null while primitive type can not\n //int a = null;\n String b = null;\n\n //#5\n List<String> stringList = new ArrayList<String>();\n stringList.add(\"Hello\");\n stringList.add(\"World\");\n stringList.add(\"Let's do this\");\n\n for(String oneStr : stringList) {\n System.out.println(oneStr);\n }\n\n //List can't have primitive types like int, char, double etc\n //List(int) characters = new ArrayList<int>()\n\n //#6\n //Lottery Variables\n String gameName = \"Powerball\";\n double jackpot = 20000000.00d;\n String drawingDate = \"1/2/2013\";\n List<String> winningNumbers = new ArrayList<String>();\n winningNumbers.add(\"3\");\n winningNumbers.add(\"7\");\n winningNumbers.add(\"13\");\n winningNumbers.add(\"25\");\n winningNumbers.add(\"47\");\n winningNumbers.add(\"13LB\");\n winningNumbers.add(\"5x\");\n\n }", "public void mo9848a() {\n }", "public void study() {\n\t\tSystem.out.println(\"I'm a good student.\");\n\t}", "private void level7() {\n }", "public static void main(String[] agrs){\n double kilometers = (1.609334 * 100);\n int highScore=50;\n\n if(highScore==50) {\n System.out.println(\"This is an expression\");\n }\n\n //Challenge\n //In the following code that i will type below, write downd\n //what parts of the code are expressinos\n\n int score = 100;\n if(score>90) {\n System.out.println(\"You got the high score!\");\n score=0;\n }\n\n //The expressions above are =,100, sout, the string in sout\n\n\n\n\n\n\n\n\n\n }", "public static void main(String[] args) {\n System.out.println(\"1.1\");\n System.out.println(\"Welcome to java\");\n System.out.println(\"Learning java now\");\n System.out.println(\"Programming is fun\");\n\n // Kapitel3.opgave 1.2 (display 5 messages)\n System.out.println(1.2);\n int i = 0;\n while (i <= 4) {\n System.out.println(\"I love java\");\n i++;\n }\n // Kapitel3.opgave 1.4 (print a table)\n System.out.println(\"1.4\");\n System.out.println(\"a a^2 a^3 a^4\");\n System.out.println(\"1 1 1 1\");\n System.out.println(\"2 4 8 16\");\n System.out.println(\"3 9 27 81\");\n System.out.println(\"4 16 64 256\");\n\n // Kapitel3.opgave 1.5\n System.out.println(1.5);\n System.out.print(\"(7.5 * 6.5 - 4.5 * 3)/(47.5 - 5.5 ) = \");\n System.out.println((7.5 * 6.5 - 4.5 * 3)/(47.5 - 5.5));\n\n // Kapitel3.opgave 1.6\n System.out.println(\"1.6\");\n System.out.print(\"1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = \");\n System.out.println(1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10);\n\n //Kapitel3.opgave 1.12\n System.out.println(\"1.12\");\n // vi skal omskrive miles til kilometer\n System.out.println(\"Miles to kilometers is \" + (24 * 1.6));\n // vi skal omskrive 1 time 40 min og 35 sek til sekunder\n System.out.println(\"Number of hour in fraction is \" + ((60 * 60) + (40 * 60) + 35)/ (60.0 * 60));\n\n System.out.println(\"he ran \" + (38.400000000000006 / 1.676388888888889 ) + \" kilometers per hour\");\n\n }", "void mo27575a();", "public void mainTest()\n {\n \tprintSimilarRatingsByYearAfterAndMinutes();\n }", "public static void hvitetest1w(){\r\n\t}", "void mo310e();", "void mo72114c();", "void mo38026a();", "public static void main(String[] args) {\r\n\t\t\r\n\t\t// Creation of the constructor nqMarkScheme with parameters 198 and 6 of the class NumericalQuestion.\r\n\t\tNumericalQuestion nqMarkScheme = new NumericalQuestion(198, 6);\r\n\t\t\r\n\t\t// Creation of the constructor bqMarkScheme with parameters true and 1 of the class BooleanQuestion.\r\n\t\tBooleanQuestion bqMarkScheme = new BooleanQuestion(true, 1);\r\n\t\t\r\n\t\t// Creation of the constructor mcpMarkScheme with parameters false, false, false and 3 of the class MultipleChoiceQuestion.\r\n\t\tMultipleChoiceQuestion mcpMarkScheme = new MultipleChoiceQuestion(false, false, false, 3);\r\n\t\t\r\n\t\t// Creation of the constructor markScheme with parameters nqMarkScheme, bqMarkScheme and mcpMarkScheme of the class Exam.\r\n\t\tExam markScheme = new Exam(nqMarkScheme, bqMarkScheme, mcpMarkScheme);\r\n\t\t\r\n\t\t// Creation of the constructor nqAttempt with parameters 196 and 0 of the class NumericalQuestion.\r\n\t\tNumericalQuestion nqAttempt = new NumericalQuestion(196, 0);\r\n\t\t\r\n\t\t// Creation of the constructor bqAttempt with parameters true and 0 of the class BooleanQuestion.\r\n\t\tBooleanQuestion bqAttempt = new BooleanQuestion(true, 0);\r\n\t\t\r\n\t\t// Creation of the constructor mcpAttempt with parameters false, false, false and 0 of the class MultipleChoiceQuestion.\r\n\t\tMultipleChoiceQuestion mcpAttempt = new MultipleChoiceQuestion(false, false, false, 0);\r\n\t\t\r\n\t\t// Creation of the constructor examAttempt with parameters nqAttempt, bqAttept and mcpAttempt of the class Exam.\r\n\t\tExam examAttempt = new Exam(nqAttempt, bqAttempt, mcpAttempt);\r\n\t\t\r\n\t\t// Creation of the object examMarker of the class Marker.\r\n\t\tMarker examMarker = new Marker();\r\n\t\t\r\n\t\t// Calling the method markAttempt using the object examMarker and passing examAttempt and markScheme as parameters. \r\n\t\texamMarker.markAttempt(examAttempt, markScheme);\r\n\t\t\r\n\t\t// Declaration and calculation of the variable mark, by adding together the mark of each of the three questions.\r\n\t\tint mark = examAttempt.getTotalMark();\r\n\t\t\r\n\t\t// Outputs the marks that the student has taken, out of the maximum available marks of the first question.\r\n\t\tSystem.out.println(\"Question1: \" + examMarker.getQuestion1Mark() + \" out of \" + nqMarkScheme.getMark());\r\n\t\t// Outputs the marks that the student has taken, out of the maximum available marks of the second question.\r\n\t\tSystem.out.println(\"Question2: \" + examMarker.getQuestion2Mark() + \" out of \" + bqMarkScheme.getMark());\r\n\t\t// Outputs the marks that the student has taken, out of the maximum available marks of the third question.\r\n\t\tSystem.out.println(\"Question3: \" + examMarker.getQuestion3Mark() + \" out of \" + mcpMarkScheme.getMark());\r\n\t\t\r\n\t\t// Output the total marks the student has taken.\r\n\t\tSystem.out.println(\"Total Mark awarded: \" + mark);\r\n\t\t\r\n\t\t// Calculates and prints the classification of the student based on their total mark.\r\n\t\tSystem.out.println(\"Classification: \" + examMarker.convertMarksToClassification(mark, 9, 7, 6));\r\n\t\r\n\t\t\r\n\t}", "public static void main(String[] args) {\nboolean day=false;\nint date=13;\nboolean monday=true;\nif (day)\n{\n\t\nif(date==13)\n\t\n{\nSystem.out.println(\"you can watch scary movie\");\n}\nelse {\n\t\n\tSystem.out.println(\"watch comedy\");\n\n\n\t}\n}else {\n\tif(monday) {\tSystem.out.println(\"Working\");}else {\n\n\t\n\tSystem.out.println(\"Syntax\");}\n\t\n\t\n\t\n\t\n\t\n\t} System.out.println(\"--------------------------------------------------------\");\n\n\t\n\t\n\t\n\t\n\tboolean assignment=true;\n\tint score=85;\n\tif (assignment)\n\t{\n\t\t\n\t\n\t\tif(score>90) {\n\t\tSystem.out.println(\"Great Job\");\n\n\t\t}\n\t\telse if(score>70) {\n\t\t\tSystem.out.println(\"Good Job\");\n\n\t}else if(score>80) {\n\t\tSystem.out.println(\"Study more\");}\n\t\telse {\t\tSystem.out.println(\"You must study\");\n\n}\n\t}\n\t\telse {\n\t\t\n\t\tSystem.out.println(\"Submit your assignment\");}\n\t\t\t\n\n\t}", "public static void main(String []args) {\n\t\tSystem.out.println(school);\n\t\tgetInfo1();\n\t\t\n\t}", "public static void main(String[] args) {\n\n String inputFile = \"data/input.txt\";\n String outputFile = \"data/output.txt\";\n String studentInfo = \"data/students_info.txt\";\n String studentData = \"\";\n BufferedReader reader = null;\n String[] data = null;\n boolean sex = false;\n try {\n reader = new BufferedReader(new FileReader(studentInfo));\n studentData = reader.readLine();\n data = studentData.split(\" \");\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n \n if (data[3].equals(\"1\")) {\n sex = true;\n }\n\n Student testStudent1 = new Student(Integer.parseInt(data[0]),data[1],sex,Integer.parseInt(data[3]));\n\n testStudent1.doHomework(inputFile,outputFile,\"Со\");\n\n }", "public static void main(String[] args) {\n // Q1: number of hours in a day (byte)\n byte numberOfHoursInaDay =24;\n System.out.println(\"\\nnumberOfHoursInaDay:24 \");\n // Q2.Max.no of days in an year\n short maxNumberOfTheDayInaYear = 366;\n System.out.println(\"\\nmaxNumberOfTheDaysInaYear:366\");\n // Q3.Total number of employees in an organization\n int totalNumberOfEmployeesInIbm = 50000;\n System.out.println(\"\\ntotalNumberOfEmployeesInIbm:50000\");\n //Q4.Population in a country\n long numberOfPopulation = 2000000000L;\n System.out.println(\"\\nnumberOfPopulation : 2000000000L\");\n //Q5.Interest rate\n float interestRate = 1.9f;\n System.out.println(\"\\\\nCurrent interest rate:\\\" + interestRate\");\n //Q6. Balance in a bank account\n long accountBalance = 50000000L;\n System.out.println(\"\\naccountBalance = 50000000L\");\n boolean doesTheSunRiseFromTheWest = true;\n System.out.println(\"doesTheSunRiseFromTheWest? : \" + doesTheSunRiseFromTheWest);\n\n // Q7.Initials of your name\n char firstInitial = 'S';\n char lastInitial = 'M';\n System.out.println(\"My initials: \" +firstInitial + lastInitial);\n\n\n\n\n\n }", "void mo98969a();", "public static void main(String[] args) {\n\t\tScanner DhakaCollege =new Scanner(System.in);\n\t\t\t\tSystem.out.println(\"This Student Got : \");\n\t\tint marks;\n\t\t\t\tmarks=DhakaCollege.nextInt();\n\t\t\n\t\tswitch (marks) {\n\t\tcase 750:\n\t\t\tSystem.out.println(\"Star Marks.Congratulation!\");\n\t\t\tbreak;\n\t\tcase 600:\n\t\t\tSystem.out.println(\"First Divition Marks.Best of Luck!\");\n\t\t\tbreak;\n\t\tcase 599:\n\t\t\tSystem.out.println(\"Second Divition Marks.Good Luck!\");\n\t\t\tbreak;\n\t\tcase 449:\n\t\t\tSystem.out.println(\" Third Divition Marks.Bad Luck!\");\n\t\t\tbreak;\n\t\tcase 359:\n\t\t\tSystem.out.println(\"Fail Marks.Try Again!\"); // not completed the program. because need to know 359-449 how to write? cte...\n\t\t\tbreak; }\n\t\t\n\t\t\t}", "public void smell() {\n\t\t\n\t}", "private static String homeworkLine(int homework)\n {\n return String.format(STR_FORMAT_1 + INT_FORMAT, HOMEWORK_STR, homework);\n }", "public static void main2(String[] args)\n\t{\n\t\tString designString = \"design23e\";\n\t\tdouble coolingRate = 1.0;\n\n\t\tDesign design = new Design(designString, coolingRate, \"distance-M1\", true, \"Unified\");\n\n\t\tSystem.out.println(\"FIGURE 1 160nt\");\n\t\tdouble distance = (160 * (1.0 / 3.0) * 1.8 * 1.8) * 1E-18;\n\t\tgetStats(distance, design);\n\n\t\tSystem.out.println(\"FIGURE 1 640nt\");\n\t\tdistance = (640 * (1.0 / 3.0) * 1.8 * 1.8) * 1E-18;\n\t\tgetStats(distance, design);\n\n\t\tSystem.out.println(\"SITUATION A\");\n\t\tdistance = (56 * (1.0 / 3.0) * 1.8 * 1.8 + 1 * 16.0 * 0.34 * 16 * 0.34) * 1E-18;\n\t\tgetStats(distance, design);\n\n\t\tSystem.out.println(\"SITUATION B\");\n\t\tdistance = ((48 * (1.0 / 3.0) + 1) * 1.8 * 1.8 + 1 * 16.0 * 0.34 * 16 * 0.34) * 1E-18;\n\t\tgetStats(distance, design);\n\t}", "void mo4833b();", "public static void main(String[] args) {\n\t\tStudy007();\n\n\t}", "private int choose_among_the_chapters_of_the_subject(String subject,String semester){\n\n int chapter=-1;\n File subject_index= new File(\"C://Manish//The_Test_Taker//All_Text_files//Quizes//\"+semester+\"//\"+subject+\"//Subject_index.txt\");\n Scanner chapter_read= null;\n try{\n chapter_read= new Scanner(subject_index);\n }catch(FileNotFoundException e){\n System.out.println(\"Some error occured while loading the questions.\");\n //chapter=choose_among_the_chapters_of_the_subject(subject,semester);\n return chapter;\n }\n float a[]= new float[4];\n if(subject.toUpperCase().equals(\"OOP\")){\n a= OOP;\n }else if(subject.toUpperCase().equals(\"DE\")){\n a=DE;\n }else if(subject.toUpperCase().equals(\"DSA\")){\n a=DSA;\n }\n\n //This will display the list of the chapters available in a subject by traversing the subject index of each subject\n String line_will_be_of_use_sometime=chapter_read.nextLine();\n while(!(line_will_be_of_use_sometime.equals(\"List of chapters:-\")))\n {\n line_will_be_of_use_sometime=chapter_read.nextLine();\n }\n int i=0;\n System.out.println(\"*************************************************************\");\n System.out.println(line_will_be_of_use_sometime);\n System.out.println(\"*************************************************************\");\n System.out.println(\"Chapter Name Status\");\n line_will_be_of_use_sometime=chapter_read.nextLine();\n int no_of_chapters=0;\n \n while(line_will_be_of_use_sometime.charAt(0)!='#'&&i<4){\n System.out.println(line_will_be_of_use_sometime +\" \"+(a[i]!=0?\"Attempted\":\"Yet to be Attempted\"));\n line_will_be_of_use_sometime=chapter_read.nextLine();\n no_of_chapters++;//To get the count of the chapters available\n i++;\n }\n System.out.println(\"************************************************\");\n\n\n //Asking user for his/her choice of Chapter.\n int chap;\n System.out.println(\"Enter the choice of the Chapter from above whose Quiz you want to take.\");\n //String chap1= input.next();\n //chap=Integer.parseInt(chap1);\n while(true){\n try{\n chap=input.nextInt();\n break;\n }catch(InputMismatchException e){\n System.out.println(\"Invalid Input. Please Enter your choice again.\");\n input.nextLine();\n }\n }\n if(chap>no_of_chapters){//If the user enters some wrong chapter_no then we'll call this function again and ask his/her to choose.\n System.out.println(\"You entered a wrong choice of Chapter.\");\n chapter=choose_among_the_chapters_of_the_subject(subject, semester);\n }else{\n if(a[chap-1]==0){\n chapter=chap;\n }else{\n System.out.println(\"You cannot attemp a quiz twice. Choose another chapter.\");\n chapter=choose_among_the_chapters_of_the_subject(subject, semester);\n }\n }\n chapter_read.close();\n return chapter;\n }", "public static void main(String[] args) {\n Course introProgramming = new IntroToProgrammingCourse(\"Intro to Programming\", \"330\", 2);\n Course introJava = new IntroJavaCourse(\"Intro to Java Programming\", \"331\", 3, \"Intro to Programming\");\n AdvancedJavaCourse advancedJava = new AdvancedJavaCourse(\"Advanced Java Programming\", \"332\", 4, \"Intro to Java Programming\");\n System.out.println(introProgramming.printCourse());\n System.out.println(introJava.printCourse());\n System.out.println(advancedJava.printCourse());\n }", "public static void main(String[] args) {\n Part2_2 part2_2 = new Part2_2();\n part2_2.testHowMany();\n Part2_3 part_23 = new Part2_3();\n part_23.testHowManyGenes();\n Part3_1 part3_1 = new Part3_1();\n part3_1.testCgRatio();\n }", "public static void main(String[] args) {\n // write your code here - this is called comment and it always starts with double slash\n // and comlier will ignore this because of the // sign.\n // I am gonna say hello\n // JAVA IS CASE SENSITIVE LANGUAGE\n // System and system are very different things in java\n //Hello AND hello are different for java\n // System.out.println(\"Hello Batch 15!\");\n // System.out.println(\"I am still here.\");\n // System.out.println(\"I love Java.\");\n\n // Write a program to display your information.\n // When you run it, it should have this outcome.\n // I am your name here\n // I am from batch 15\n // I am from your city here\n // I love Java\n\n System.out.println(\"I am Sevim.\");\n System.out.println(\"I am from Batch 15.\");\n System.out.println(\"I'm from New Jersey.\");\n System.out.println(\"I love Java.\");\n\n\n\n }", "public static void main(String[] args) {\n\t\tHashSetStud students = new HashSetStud();\n\t\tstudents.initial();\n\t\tstudents.print();\n\t\n\t\t//\n\t\t// li.them(1, 5);\n\t\t// System.out.print(\"\\nThem gia tri 5 vao vi tri 1- \");\n\t\t// li.xuat();\n\t\t//\n\t\t// li.sua(2, 6);\n\t\t// System.out.print(\"\\nSua phan tu 2 thanh 6 -\");\n\t\t// li.xuat();\n\t\t//\n\t\t// li.xoa(3);\n\t\t// System.out.print(\"\\nXoa phan tu 3 -\");\n\t\t// li.xuat();\n\t\t//\n\t\t// List<Integer> al1 = new ArrayList<Integer>();\n\t\t// al1.add(3);\n\t\t// al1.add(10);\n\t\t// al1.add(15);\n\t\t//\n\t\t// li.themSubList(al1);\n\t\t// System.out.print(\"\\nThem mot sub ArrayList -\");\n\t\t// li.xuat();\n\t\t//\n\t\t// System.out.print(\"\\nVi tri dau tien cua 3: \" + li.viTriDauTien(3));\n\t\t// System.out.print(\"\\nVi tri cuoi cung cua 5: \" + li.viTriCuoiCung(5));\n\t\t//\n\t\t// System.out.print(\"\\nTra ve sub ArrayList -\");\n\t\t// ListEx li1 = new ListEx();\n\t\t// li1.setAL(li.traVeSubList(1, 3));\n\t\t// li1.xuat();\n\t\t// MapEx hMap = new MapEx();\n\t\t// hMap.nhap();\n\t\t// System.out.print(\"\\n\");\n\t\t// hMap.xuat();\n\t\t\n//\t\tTreeSetEx tset = new TreeSetEx();\n//\t\ttset.nhapERR();\n//\t\tSystem.out.print(\"\\n\");\n//\t\ttset.xuat();\n\n\t}", "public static void main(String[] args) {\n int result=sumavg(50,50,49);\n if (result>70)\n \tSystem.out.println(\"grade1\");\n else if (result>=50) System.out.println(\"GradeII\");\n else System.out.println(\"GradeIII\");\n \n\t}", "public static void main(String[] args){\n int bananas = 34;\n System.out.println(bananas);\n\n int students = 400;\n System.out.println(students);\n\n int phonebook=100, textbook=200, computers=300;\n System.out.println(phonebook+textbook+computers);\n\n int peopleInCity=1000, birdsOnTree=2000, fishInLake=3000;\n System.out.println(peopleInCity);\n System.out.println(birdsOnTree);\n System.out.println(fishInLake);\n\n int studentsInNY = 25, studentsInVA = 50, studentsInCO = 5;\n System.out.println(studentsInNY);\n System.out.println(studentsInVA);\n System.out.println(studentsInCO);\n\n\n\n }", "public abstract void mo2624j();", "public static void main(String[] args) {\n Math math=new Math();\n System.out.println(math.sum(5, 13));\t\n\t System.out.println(math.sub(13, 5));\n\t System.out.println(math.mult(13, 5));\n\t System.out.println(\"Bölüm :\"+ math.divide(13, 5));\n\t System.out.println(math.getpi());\n\t System.out.println(math.areaOfCircle(5));\n\t System.out.println(math.volumeOfShpere(3));\n\t System.out.println(math.areaOfRectangularPrism(3, 4, 6));\n System.out.println(\"üçgenin Alanı :\"+math.areaOfTriangle(5, 4, 2));\n\t System.out.println(\"Üçgenin Çevresi :\"+math.perimeterOfTriangle(5, 4, 2));\t\n\t System.out.println(math.factoriyel(5));\n\t System.out.println(math.sumOfSmallNumbers(6));\n\t// System.out.println(math.theSumOfTheNumbersBetween(3, 6));\n\t}", "public void study() {\n\t\tSystem.out.println(\"学习Java\");\r\n\t}", "public static void main(String[] args) {\n\t\t\n\t\t\n\t\tAllMethods obj=new AllMethods();\n\t\tint large=obj.findLargest(300,500);\n\t\tSystem.out.println(large);\n\t\tboolean cond =obj.isOdd(large);\n\t\tSystem.out.println(cond);\n\t\t/*call method weekdayname\n\t\t * if(tuesday,wednesday,thusday)\n\t\t * it should print--I am learning java\n\t\t * \n\t\t */\n\t\tString Day=obj.weekDayName(6);\n\t\tif(Day.equals(\"Tuesday\")||Day.equals(\"Wednesday\")||Day.equals(\"Thusday\")||Day.equals(\"Saturday\")||Day.equals(\"Sunday\"))\n\t\t{\n\t\t\tSystem.out.println(\"We are learning Java\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.println(\"We are staying at home\");\n\t\t}\n\t\tTask obj1=new Task();\n\tint num=\tobj1.primeOrNotPrime(4);\n\tSystem.out.println(num);\n\tString email=obj1.email(\"John\", \"Mary\" ,\"@gmail.com\");\n\tSystem.out.println(email);\n\tchar grade=obj1.getGrade(95)\t;\n\tSystem.out.println(grade);\n\t\t\n\t}", "public static void main(String[] args) {\n String[][][] temp = soRandom();\n for (int i = 0; i < temp.length; i++) {\n for (int j = 0; j < temp[i].length; j++) {\n for (int k = 0; k < temp[i][j].length; k++) {\n temp[i][j][k] = coder();\n }\n }\n }\n //create empty array\n String[][][] temp2 = soRandom();\n //print array\n print(temp);\n print(temp2);\n //copy over array\n temp2 = holoport(temp, temp2);\n //print copied array\n print(temp2);\n //accept code for sampling()\n Scanner s = new Scanner(System.in);\n String code = \"\";\n boolean input = true;\n while (input) {\n System.out.println(\"Please enter a code\");\n code = s.next();\n if (code.length() == 6) {\n input = false;\n }\n }\n //run the rest of the methods with no return values\n sampling(temp2, code);\n percentage(temp, temp2);\n frankenstein(temp2);\n\n\n }", "public static void main(String[] args) {\n\t\tStudent ivan = new Student(\"Ivan Petrov\", \"Computer Science\");\n\t\tivan.grade=5.5;\n\t\tivan.yearInCollege=2;\n\t\tivan.money=500;\n\t\tivan.age=19;\n\t\t\n\t\tStudent teodor = new Student(\"Teodor Alexiev\", \"Computer Science\");\n\t\tteodor.grade=5.25;\n\t\tteodor.yearInCollege=3;\n\t\tteodor.money=300;\n\t\tteodor.age=20;\n\t\t\n\t\tStudent irina = new Student(\"Irina Paraskelova\", \"Computer Science\");\n\t\tirina.grade = 5.65;\n\t\tirina.money=400;\n\t\tirina.age=18;\n\t\t\n\t\tStudent vasilena = new Student (\"Vasilena Kremenlieva\", \"Computer Science\");\n\t\tvasilena.grade = 5.0;\n\t\tvasilena.money=1000;\n\t\tvasilena.age=18;\n\t\t\n\t\tStudent trifon = new Student(\"Trifon Stoimenov\", \"Computer Science\");\n\t\ttrifon.grade = 5.70;\n\t\ttrifon.yearInCollege=3;\n\t\ttrifon.money = 800;\n\t\ttrifon.age=21;\n\t\t\n\t\tStudent alexander = new Student (\"Alexander Dobrikov\", \"Finance\");\n\t\talexander.grade = 4.75;\n\t\talexander.yearInCollege = 2;\n\t\talexander.money = 600;\n\t\talexander.age = 20;\n\t\t\n\t\tStudent mirela = new Student (\"Mirela Kostadinova\", \"Finance\");\n\t\tmirela.grade = 5.5;\n\t\tmirela.yearInCollege=1;\n\t\tmirela.money=100;\n\t\tmirela.age=19;\n\t\t\n\t\tStudent velizar = new Student(\"Velizar Stoyanov\", \"Finance\");\n\t\tvelizar.grade = 6.0;\n\t\tvelizar.yearInCollege = 3;\n\t\tvelizar.money = 500;\n\t\tvelizar.age = 22;\n\t\t\n\t\tStudent antoaneta = new Student(\"Antoaneta Borisova\", \"Finance\");\n\t\tantoaneta.grade = 5.30;\n\t\tantoaneta.yearInCollege = 2;\n\t\tantoaneta.money = 750;\n\t\tantoaneta.age = 19;\n\t\t\n\t\tirina.upYear();\n\t\tSystem.out.println(\"Irina is in year \"+irina.yearInCollege+\" of college.\");\n\t\t\n\t\tvasilena.receiveScholarship(5.0, 350);\n\t\tSystem.out.println(vasilena.money);\n\t\t\n\t\tStudentGroup cs1 = new StudentGroup(\"Computer Science\");\n\t\tcs1.addStudent(ivan);\n\t\tcs1.addStudent(teodor);\n\t\tcs1.addStudent(irina);\n\t\tcs1.addStudent(vasilena);\n\t\tcs1.addStudent(trifon);\n\t\tteodor.upYear();\n\t\tSystem.out.println(teodor.isDegree);\n\t\t\n\t\tcs1.addStudent(velizar);\n\t\t\n\t\tcs1.printStudentsInGroup();\n\t\tSystem.out.println(cs1.theBestStudent());\n\t\t\n\t\tcs1.emptyGroup();\n\t\tcs1.printStudentsInGroup();\n\t\t\n\t\tStudentGroup fin1 = new StudentGroup(\"Finance\");\n\t\t\n\t\tfin1.addStudent(alexander);\n\t\tfin1.addStudent(mirela);\n\t\tfin1.addStudent(velizar);\n\t\tfin1.addStudent(antoaneta);\n\t\t\n\t\tfin1.printStudentsInGroup();\n\t\t\t\n\t\t\n\t}", "public void initSourceCode()\r\n\t{\r\n\t\tsc.addCodeLine(\"// Main method. Iterates over all stars. Delegates group finding to addAdjacentStars.\", null, 0, null);\t//0\r\n\t\tsc.addCodeLine(\"public void friendsOfFriends(double linkingLength, Set<Star> stars)\", null, 0, null);\r\n\t\tsc.addCodeLine(\"{\", null, 0, null);\r\n\t\tsc.addCodeLine(\" int groupID = 0;\", null, 0, null);\r\n\t\tsc.addCodeLine(\" \", null, 0, null);\r\n\t\tsc.addCodeLine(\" for(Star current : stars)\", null, 0, null);\t// 5\r\n\t\tsc.addCodeLine(\" {\", null, 0, null);\r\n\t\tsc.addCodeLine(\" if(!current.wasVisited())\", null, 0, null);\r\n\t\tsc.addCodeLine(\" {\", null, 0, null);\r\n\t\tsc.addCodeLine(\" groupID++;\", null, 0, null);\r\n\t\tsc.addCodeLine(\" current.setVisited(true);\", null, 0, null);\r\n\t\tsc.addCodeLine(\" current.group = groupID;\", null, 0, null);\r\n\t\tsc.addCodeLine(\" \", null, 0, null);\r\n\t\tsc.addCodeLine(\" addAdjacentStars(current, groupID, linkingLength, stars);\", null, 0, null);\t// 13\r\n\t\tsc.addCodeLine(\" }\", null, 0, null);\r\n\t\tsc.addCodeLine(\" }\", null, 0, null);\r\n\t\tsc.addCodeLine(\"};\", null, 0, null);\r\n\t\tsc.addCodeLine(\"\", null, 0, null);\r\n\t\tsc.addCodeLine(\"// Helper algorithm for FoF. Calls nearest neighbour search to get all adjacent stars.\", null, 0, null);\r\n\t\tsc.addCodeLine(\"private void addAdjacentStars(Star s, int groupID, double linkingLength, Set<Star> stars)\", null, 0, null);\t\t// 19\r\n\t\tsc.addCodeLine(\"{\", null, 0, null);\r\n\t\tsc.addCodeLine(\" Set<Star> adjacentStars = nearestNeighbourSearch(s, linkingLength, stars);\", null, 0, null);\r\n\t\tsc.addCodeLine(\" \", null, 0, null);\r\n\t\tsc.addCodeLine(\" for(Star current : adjacentStars)\", null, 0, null);\t\t// 23\r\n\t\tsc.addCodeLine(\" {\", null, 0, null);\r\n\t\tsc.addCodeLine(\" if(!current.wasVisited())\", null, 0, null);\r\n\t\tsc.addCodeLine(\" {\", null, 0, null);\r\n\t\tsc.addCodeLine(\" current.setVisited(true);\", null, 0, null);\r\n\t\tsc.addCodeLine(\" current.group = groupID;\", null, 0, null);\r\n\t\tsc.addCodeLine(\" \", null, 0, null);\r\n\t\tsc.addCodeLine(\" addAdjacentStars(current, groupID, linkingLength, stars);\", null, 0, null);\t// 30\r\n\t\tsc.addCodeLine(\" }\", null, 0, null);\r\n\t\tsc.addCodeLine(\" }\", null, 0, null);\r\n\t\tsc.addCodeLine(\"};\", null, 0, null);\r\n\t}", "void mo1501h();", "void mo1637a();", "public static void main(String[] args) {\n\t\t/* Project 1: Easy with plenty of time */\n\t\tSystem.out.println(\"You should \" + decision(12, 1) + \" Project 1\");\n\t\t/* Project 2: Hard with very little time */\n\t\tSystem.out.println(\"You should \" + decision(1, 9) + \" Project 2\");\n\t\t/* Project 3: Easy but with little time */\n\t\tSystem.out.println(\"You should \" + decision(2, 5) + \" Project 3\");\n\t\t/* Project 4: Hard but with lots of time */\n\t\tSystem.out.println(\"You should \" + decision(12, 8) + \" Project 4\");\n\t}", "void mo9693a();", "public static void experiment2() {\n\t\tList<String> lines = FileUtil.loadFrom(\"docs/corpus-search-results-new-408.txt\");\n\t\tString cipher = Ciphers.cipher[1].cipher;\n\t\tString plain = Ciphers.cipher[1].solution;\n\t\tfor (String line : lines) {\n\t\t\tint pos = plain.indexOf(line.toLowerCase());\n\t\t\tif (pos < 0) System.out.println(\"Could not find \" + line + \" in plaintext\");\n\t\t\telse {\n\t\t\t\tString sub = cipher.substring(pos, pos+line.length());\n\t\t\t\tInfo info = new Info(sub, 0);\n\t\t\t\tSystem.out.println(line + \", \" + sub + \", \" + info.probability);\n\t\t\t}\n\t\t}\n\t}", "public static void main(String[] args) {\n\n\t\tString urlClassification = \"http://www.hep.ucl.ac.uk/undergrad/0056/exam-data/2018-19/classification.txt\";\n\t\tString urlExpert = \"http://www.hep.ucl.ac.uk/undergrad/0056/exam-data/2018-19/expert.txt\";\n\t\tString urlLocations = \"http://www.hep.ucl.ac.uk/undergrad/0056/exam-data/2018-19/locations.txt\";\n\n\t\tArrayList<ImageData> classification = ImageData.classificationFromURL(urlClassification);\n\t\tArrayList<ImageData> expert = ImageData.expertFromURL(urlExpert);\n\t\tArrayList<ImageData> locations = ImageData.locationsFromURL(urlLocations);\n\t\t\n\t\t// For part 2. we need to print the number of images\n\t\t// This will be the length of expert list\n\n\t\tSystem.out.println(expert.size());\n\t\t\n\t\t// For part 3. we need to print the number of images classified by at least 1\n\t\t// volunteer. We will utilise the properties of Sets in java.\n\t\t\n\t\tHashSet<Integer> idsClassifiedByOne = new HashSet<Integer>();\n\t\tfor (ImageData image : classification) {\n\t\t\tidsClassifiedByOne.add(image.getIdentifier());\n\t\t}\n\t\tSystem.out.println(idsClassifiedByOne.size());\n\t\t\n\t\t// For part 4. we need to print details of the images classified by at least 10\n\t\t// volunteers. \n\t\t\n\t\tArrayList<ImageData> atLeast10Vols = new ArrayList<ImageData>();\n\t\tatLeast10Vols = ImageData.atLeast10(classification);\n\t\t\n\t\t// Must merge the information from classification, locations and expert lists\n\t\tArrayList<ImageData> atLeast10CompleteList = new ArrayList<ImageData>();\n\t\tatLeast10CompleteList = ImageData.collectAll(atLeast10Vols, expert, locations);\n\t\tArrayList<ImageData> clean10CompleteList = ImageData.clean(atLeast10CompleteList);\n\t\t\n\t\t// Printing out the data\n\t\t\n\t\tSystem.out.println(clean10CompleteList);\n\n\t}", "public void setup(){\n\t\tprogramGrade = keyboard.nextInt();\n\t\texamGrade = keyboard.nextInt();\n\t}", "void mo1493c();", "public static void main(String[] args) {\n int work=6*5*17;\n System.out.println(work);\n\n // Print the percentage of the coding hours in the semester if the average\n // work hours weekly is 52\n float avrage=52;\n float all =17*24*7;\n float parcantage = (52*17)/all*100;\n System.out.println(parcantage+\"%\");\n\n\n\n }" ]
[ "0.654188", "0.6507185", "0.6463169", "0.6319191", "0.62167054", "0.61410224", "0.6108767", "0.5991825", "0.59244525", "0.5883769", "0.58743584", "0.5831066", "0.5825006", "0.5800414", "0.5778792", "0.5777093", "0.5772291", "0.5763786", "0.5747476", "0.5741079", "0.5740074", "0.57327825", "0.5726454", "0.57241946", "0.5721439", "0.5720864", "0.5717198", "0.5711978", "0.5709989", "0.5709177", "0.5681618", "0.5679762", "0.5679462", "0.56705683", "0.5666238", "0.5663783", "0.5651215", "0.564429", "0.5642111", "0.5636755", "0.5636652", "0.5636268", "0.5635844", "0.5635454", "0.5626031", "0.56195086", "0.5609543", "0.56094587", "0.55972517", "0.55816615", "0.5575392", "0.55685526", "0.5568101", "0.5563169", "0.5558797", "0.5557913", "0.55536586", "0.55526423", "0.5552473", "0.5551629", "0.55491316", "0.554782", "0.55457896", "0.55409527", "0.55393595", "0.5534", "0.5528009", "0.5518144", "0.55181205", "0.55158246", "0.55144954", "0.5510197", "0.55100334", "0.55029446", "0.5501653", "0.5497579", "0.54923147", "0.54856235", "0.5484542", "0.5483441", "0.548042", "0.5471111", "0.54707503", "0.54669726", "0.5464485", "0.54644746", "0.54617465", "0.5460336", "0.5459633", "0.54595983", "0.5459084", "0.5456889", "0.5456869", "0.5456134", "0.54536676", "0.5449274", "0.54435647", "0.54413843", "0.54402745", "0.54359794", "0.54350156" ]
0.0
-1
Function that generates the code of the loop that checks if the addr contained in Rn is the same than the right operand.
private void checkAddrLoop(DecacCompiler compiler, boolean b, Label E) { int n = compiler.getFirstRegisterNumber(); //Getting back the right op's method table addr to compare it RegisterOffset rightOpAddr = ((AbstractIdentifier) getRightOperand()).getClassDefinition().getMethodTableAddr(); compiler.addInstruction(new LEA(rightOpAddr, Register.R0)); //we have the result of the right expr in Rn-1 Label start = Label.getNewControlFlow(); compiler.addLabel(start); //getting back its method table addr compiler.addInstruction(new LOAD(new RegisterOffset(0, Register.getR(n - 1)), Register.getR(n - 1))); compiler.addInstruction(new CMP(Register.R0, Register.getR(n - 1))); if (b) { compiler.addInstruction(new BEQ(E)); //condition validee : instanceof vrai compiler.addInstruction(new CMP(new NullOperand(), Register.getR(n - 1))); //if equal, We got all the way up to object method table : instanceof is false. compiler.addInstruction(new BNE(start)); //if we are not at object yet, start again } else { Label end = Label.getNewEndOfBoolExpr(); compiler.addInstruction(new BEQ(end)); //instance of true, but b=false : we don't jump to E compiler.addInstruction(new CMP(new NullOperand(), Register.getR(n - 1))); //We got all the way up to object method table : instanceof is false : we jump compiler.addInstruction(new BEQ(E)); //if we are not at object yet, start again compiler.addInstruction(new BRA(start)); compiler.addLabel(end); } compiler.addToFirstRegisterNumber(-1); compiler.addComment("End of an instanceof"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Proof addNRightEquality(int n, Proof p) {\n Equals eq = (Equals) p.lastExpr();\n Expression a = eq.firstArgument;\n Expression b = eq.secondArgument;\n if (n == 0) {\n Proof equalitySymConvert = equalitySymConvert(faxm6Gen(b));\n Proof equalitySymConvert1 = equalitySymConvert(faxm6Gen(a));\n Proof equalityRightConvert = equalityRightConvert(equalitySymConvert1, p);\n return equalityShuffle(equalitySymConvert, equalityRightConvert);\n }\n n = n - 1;\n Proof sucResp1 = faxm1Convert(addNRightEquality(n, p));\n Proof eqSubL = equalityRightConvert(equalitySymConvert(faxm5Gen(a, intToLit(n))), sucResp1);\n return equalityShuffle(equalitySymConvert(faxm5Gen(b, intToLit(n))), eqSubL);\n }", "void gen() {\n X86.Operand mleft = src1.gen_source_operand(false,tempReg1); \r\n X86.Operand mright = src2.gen_source_operand(true,tempReg2); \r\n X86.emit2(\"cmp\" + X86.Size.Q,mright,mleft);\r\n X86.emit0(\"j\" + op.X86_name() + \" F\" + funcNumber + \"_\" + lab.name);\r\n }", "private boolean matches(Opcode opcode) {\n List<Integer> opcodeResult = opcode.perform(instruction.getA(), instruction.getB(), instruction.getC(), registersBefore);\n return registersAfter.equals(opcodeResult);\n }", "public static boolean check_right_angled_tri(int [] side) {\n\t\tint a_sqr = side[0]*side[0];\n\t\tint b_sqr = side[1]*side[1];\n\t\tint c_sqr = side[2]*side[2];\n\t\t\n\t\t// boolean isIsosceles = check_isosceles_tri(a_side, b_side, c_side);\n\t\treturn ((a_sqr == b_sqr + c_sqr) || (b_sqr == a_sqr + c_sqr) || (c_sqr == a_sqr+b_sqr)) && isTri(side) ;\n\t}", "private static final boolean correct(List<Long> xs, int i, int low, int high) {\n final long target = xs.get(i);\n for (int x = low; x < high; x++) {\n for (int y = low + 1; y <= high; y++) {\n final long vx = xs.get(x);\n final long vy = xs.get(y);\n if ((vx != vy) && ((vx + vy) == target)) {\n return true;\n }\n }\n }\n return false;\n }", "void f(Object x, Object y) {\n while (x == y) {}\n }", "private boolean rightLeftFull(int i, int j) { // part of isfull1\n if (j != 0 && j != count) { // not edges\n if (id[i][j - 1] == 1 && ic[i][j - 1] != 1 && !targetReached) { // and not marked as old patern in ic a N*N array\n ic[i][j - 1] = 1;\n isFull1(i + 1, j);\n }\n if (id[i][j + 1] == 1 && ic[i][j + 1] != 1 && !targetReached) { // and not marked as old patern in ic a N*N array\n ic[i][j + 1] = 1;\n isFull1(i + 1, j + 2);\n }\n\n } else if (j == 0) { // right site\n if (id[i][j + 1] == 1 && ic[i][j + 1] != 1 && !targetReached) { // and not marked as old patern in ic a N*N array\n ic[i][j + 1] = 1;\n isFull1(i + 1, j + 2);\n }\n\n } else { // left site\n if (id[i][j - 1] == 1 && ic[i][j - 1] != 1 && !targetReached) { // and not marked as old patern in ic a N*N array\n ic[i][j - 1] = 1;\n isFull1(i + 1, j);\n }\n }\n\n\n return false;\n }", "public final boolean equals(T r10, T r11) {\n /*\n r9 = this;\n r0 = r9.zzmi;\n r1 = 0;\n r0 = r0.length;\n r2 = r1;\n L_0x0005:\n r3 = 1;\n if (r2 >= r0) goto L_0x01aa;\n L_0x0008:\n r4 = r9.zzag(r2);\n r5 = 1048575; // 0xfffff float:1.469367E-39 double:5.18065E-318;\n r6 = r4 & r5;\n r6 = (long) r6;\n r8 = 267386880; // 0xff00000 float:2.3665827E-29 double:1.321066716E-315;\n r4 = r4 & r8;\n r4 = r4 >>> 20;\n switch(r4) {\n case 0: goto L_0x0190;\n case 1: goto L_0x017f;\n case 2: goto L_0x016c;\n case 3: goto L_0x0159;\n case 4: goto L_0x0148;\n case 5: goto L_0x0135;\n case 6: goto L_0x0124;\n case 7: goto L_0x0112;\n case 8: goto L_0x00fc;\n case 9: goto L_0x00e6;\n case 10: goto L_0x00d0;\n case 11: goto L_0x00be;\n case 12: goto L_0x00ac;\n case 13: goto L_0x009a;\n case 14: goto L_0x0086;\n case 15: goto L_0x0074;\n case 16: goto L_0x0060;\n case 17: goto L_0x004a;\n case 18: goto L_0x003c;\n case 19: goto L_0x003c;\n case 20: goto L_0x003c;\n case 21: goto L_0x003c;\n case 22: goto L_0x003c;\n case 23: goto L_0x003c;\n case 24: goto L_0x003c;\n case 25: goto L_0x003c;\n case 26: goto L_0x003c;\n case 27: goto L_0x003c;\n case 28: goto L_0x003c;\n case 29: goto L_0x003c;\n case 30: goto L_0x003c;\n case 31: goto L_0x003c;\n case 32: goto L_0x003c;\n case 33: goto L_0x003c;\n case 34: goto L_0x003c;\n case 35: goto L_0x003c;\n case 36: goto L_0x003c;\n case 37: goto L_0x003c;\n case 38: goto L_0x003c;\n case 39: goto L_0x003c;\n case 40: goto L_0x003c;\n case 41: goto L_0x003c;\n case 42: goto L_0x003c;\n case 43: goto L_0x003c;\n case 44: goto L_0x003c;\n case 45: goto L_0x003c;\n case 46: goto L_0x003c;\n case 47: goto L_0x003c;\n case 48: goto L_0x003c;\n case 49: goto L_0x003c;\n case 50: goto L_0x003c;\n case 51: goto L_0x001c;\n case 52: goto L_0x001c;\n case 53: goto L_0x001c;\n case 54: goto L_0x001c;\n case 55: goto L_0x001c;\n case 56: goto L_0x001c;\n case 57: goto L_0x001c;\n case 58: goto L_0x001c;\n case 59: goto L_0x001c;\n case 60: goto L_0x001c;\n case 61: goto L_0x001c;\n case 62: goto L_0x001c;\n case 63: goto L_0x001c;\n case 64: goto L_0x001c;\n case 65: goto L_0x001c;\n case 66: goto L_0x001c;\n case 67: goto L_0x001c;\n case 68: goto L_0x001c;\n default: goto L_0x001a;\n };\n L_0x001a:\n goto L_0x01a3;\n L_0x001c:\n r4 = r9.zzah(r2);\n r4 = r4 & r5;\n r4 = (long) r4;\n r8 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r4);\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r4);\n if (r8 != r4) goto L_0x01a2;\n L_0x002c:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r4, r5);\n if (r4 != 0) goto L_0x01a3;\n L_0x003a:\n goto L_0x018f;\n L_0x003c:\n r3 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r3 = com.google.android.gms.internal.clearcut.zzeh.zzd(r3, r4);\n goto L_0x01a3;\n L_0x004a:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0050:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r4, r5);\n if (r4 != 0) goto L_0x01a3;\n L_0x005e:\n goto L_0x01a2;\n L_0x0060:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0066:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x0072:\n goto L_0x018f;\n L_0x0074:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x007a:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x0084:\n goto L_0x01a2;\n L_0x0086:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x008c:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x0098:\n goto L_0x018f;\n L_0x009a:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x00a0:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x00aa:\n goto L_0x01a2;\n L_0x00ac:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x00b2:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x00bc:\n goto L_0x018f;\n L_0x00be:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x00c4:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x00ce:\n goto L_0x01a2;\n L_0x00d0:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x00d6:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r4, r5);\n if (r4 != 0) goto L_0x01a3;\n L_0x00e4:\n goto L_0x018f;\n L_0x00e6:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x00ec:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r4, r5);\n if (r4 != 0) goto L_0x01a3;\n L_0x00fa:\n goto L_0x01a2;\n L_0x00fc:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0102:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzo(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzo(r11, r6);\n r4 = com.google.android.gms.internal.clearcut.zzeh.zzd(r4, r5);\n if (r4 != 0) goto L_0x01a3;\n L_0x0110:\n goto L_0x018f;\n L_0x0112:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0118:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzl(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzl(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x0122:\n goto L_0x01a2;\n L_0x0124:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x012a:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x0134:\n goto L_0x018f;\n L_0x0135:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x013b:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x0147:\n goto L_0x01a2;\n L_0x0148:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x014e:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x0158:\n goto L_0x018f;\n L_0x0159:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x015f:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x016b:\n goto L_0x01a2;\n L_0x016c:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0172:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x017e:\n goto L_0x018f;\n L_0x017f:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0185:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzj(r10, r6);\n r5 = com.google.android.gms.internal.clearcut.zzfd.zzj(r11, r6);\n if (r4 == r5) goto L_0x01a3;\n L_0x018f:\n goto L_0x01a2;\n L_0x0190:\n r4 = r9.zzc(r10, r11, r2);\n if (r4 == 0) goto L_0x01a2;\n L_0x0196:\n r4 = com.google.android.gms.internal.clearcut.zzfd.zzk(r10, r6);\n r6 = com.google.android.gms.internal.clearcut.zzfd.zzk(r11, r6);\n r8 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1));\n if (r8 == 0) goto L_0x01a3;\n L_0x01a2:\n r3 = r1;\n L_0x01a3:\n if (r3 != 0) goto L_0x01a6;\n L_0x01a5:\n return r1;\n L_0x01a6:\n r2 = r2 + 4;\n goto L_0x0005;\n L_0x01aa:\n r0 = r9.zzmx;\n r0 = r0.zzq(r10);\n r2 = r9.zzmx;\n r2 = r2.zzq(r11);\n r0 = r0.equals(r2);\n if (r0 != 0) goto L_0x01bd;\n L_0x01bc:\n return r1;\n L_0x01bd:\n r0 = r9.zzmo;\n if (r0 == 0) goto L_0x01d2;\n L_0x01c1:\n r0 = r9.zzmy;\n r10 = r0.zza(r10);\n r0 = r9.zzmy;\n r11 = r0.zza(r11);\n r10 = r10.equals(r11);\n return r10;\n L_0x01d2:\n return r3;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.clearcut.zzds.equals(java.lang.Object, java.lang.Object):boolean\");\n }", "private boolean canMoveRight()\n {\n // runs through row first, column second\n for ( int row = 0; row < grid.length ; row++ ) {\n for ( int column = grid[row].length-2; column >=0 ; column-- ) {\n\n // looks at tile directly to the right of the current tile\n int compare = column + 1;\n if ( grid[row][column] != 0 ) {\n if ( grid[row][compare] == 0 || grid[row][column] ==\n grid[row][compare] ) {\n return true; \n }\n }\n }\n } \n return false;\n }", "private State evaluateRepeatMutate(State currState) {\n\n int prev_k = -1;\n\n // mutate repeat related stuff\n PartialProgram currPP = currState.pp;\n\n if (currPP.startNode instanceof OperatorNode) {\n\n OperatorNode opNode = ((OperatorNode) currPP.startNode);\n\n if ((opNode.operatorName.equals(\"repeatatleast\")) || (opNode.operatorName.equals(\"repeat\"))) {\n\n if (opNode.args.get(0) instanceof OperatorNode) {\n\n OperatorNode opArg = (OperatorNode) opNode.args.get(0);\n RealConstantTerminalNode opInt = (RealConstantTerminalNode) opNode.args.get(1);\n\n if ((Main.MODE == 1 && opArg.operatorName.equals(\"concat\")) || (Main.MODE == 2 && (opArg.operatorName.equals(\"concat\") || opArg.operatorName\n .equals(\"contain\")))) {\n\n if (opInt.k % 2 == 0) {\n prev_k = opInt.k;\n opInt.k = opInt.k / 2;\n\n if (e.evaluate(currState.pp.getRegex()).result) return currState;\n else {\n opInt.k = prev_k;\n if (e.evaluate(currState.pp.getRegex()).result) return currState;\n else return null;\n }\n }\n }\n }\n }\n }\n\n return null;\n\n }", "private int d(@Nullable K ☃) {\r\n/* 127 */ return (xq.f(System.identityHashCode(☃)) & Integer.MAX_VALUE) % this.b.length;\r\n/* */ }\r\n/* */ private int b(@Nullable K ☃, int i) {\r\n/* */ int j;\r\n/* 131 */ for (j = i; j < this.b.length; j++) {\r\n/* 132 */ if (this.b[j] == ☃) {\r\n/* 133 */ return j;\r\n/* */ }\r\n/* 135 */ if (this.b[j] == a) {\r\n/* 136 */ return -1;\r\n/* */ }\r\n/* */ }", "public boolean loopExists(SLList pum) {\n // Initialise SLList snail and set the value to the rest of pum\n SLList snail = pum;\n // Initialise SLList cheetah and set the value to the rest of snail\n SLList cheetah = snail.rest();\n // Conditional while loop\n while (cheetah != pum.NIL && cheetah.rest() != pum.NIL)\n {\n // Conditional if statement to check if cheetah is equal to snail\n if (cheetah == snail)\n {\n // Return true statement;\n return true;\n }\n // Set snail to the rest of snail\n snail = snail.rest();\n // Set cheetah to the rest, rest of cheetah\n cheetah = cheetah.rest().rest();\n }\n // Return false statement\n return false;\n }", "public boolean irreducibleQuadratic(int rIndex, int sIndex) {\n for (int k = 0; k < cardinality() ; k++) {\n //System.out.println(\"rIndex = \" + rIndex + \", sIndex = \" + sIndex + \", k = \" + k);\n if (timesInt(k,k) == plusInt(timesInt(rIndex, k), sIndex)) return false;\n }\n return true;\n }", "private boolean checkRightSpace(Position p, int len,\n int leftWid, int rightWid) {\n int x = p.x;\n int y = p.y;\n for (int i = x; i < x + len; i += 1) {\n for (int j = y - rightWid; j < y + leftWid + 1; j += 1) {\n if (i >= worldWidth) {\n return false;\n }\n if (j < 0 || j >= worldHeight) {\n return false;\n }\n if (!world[i][j].equals(Tileset.NOTHING)) {\n return false;\n }\n }\n }\n return true;\n }", "public static void main(String[] args) {\n\t\tint n = 5;\n\t\t\n\t\tint result = 1000000001;\n\t\t\n\t\tSystem.out.println(result);\n\t\t\n\t\tSystem.out.println(isPalindrome(result));\n\t\t\n\t}", "public boolean diag2(){\n\tboolean trouve=false;\n\tint i=0;\n\tObject tmp='@';\n\twhile(i<5 && !trouve){\n\t\tif(gc[i][gc.length-i-1]==tmp)\n\t\t\ttrouve=true;\n\t\telse\n\t\t\ti++;\n\t}\n\treturn trouve;\n}", "public long query(int l, int r) {\n long res = UNIQUE;\n for (l += N, r += N; l < r; l >>= 1, r >>= 1) {\n if ((l & 1) != 0) res = function(res, tree[l++]);\n if ((r & 1) != 0) res = function(res, tree[--r]);\n }\n if (res == UNIQUE) {\n throw new IllegalStateException(\"UNIQUE should not be the return value.\");\n }\n return res;\n }", "public static int superpalindromesInRange(String L, String R) {\n long lower = Long.parseLong(L), higher = Long.parseLong(R);\n int count = 0;\n\n for (int i = 1; i < magic; i++) {\n long oddPalin = mirror(i, true);\n oddPalin *= oddPalin;\n if (lower <= oddPalin && oddPalin <= higher && isPalin(oddPalin)) {\n count++;\n }\n\n if (higher < oddPalin) {\n break;\n }\n\n long evenPalin = mirror(i, false);\n evenPalin *= evenPalin;\n if (lower <= evenPalin && evenPalin <= higher && isPalin(evenPalin)) {\n count++;\n }\n }\n return count;\n }", "private boolean for_cond(){\n int save = position;\r\n boolean for_cond = false;\r\n\r\n if (getNextLexeme() == Lexeme.LP) {\r\n if(init()){\r\n if(log_exp() && getNextLexeme() == Lexeme.END){\r\n if(getNextLexeme() == Lexeme.VAR && assign_op()) {\r\n if (getNextLexeme() == Lexeme.RP) {\r\n for_cond = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n position = for_cond ? position : save;\r\n return for_cond;\r\n }", "public int checkLR(RBNode<T, E> node) {\r\n\r\n\t\tif (node.uniqueKey.compareTo(this.root.uniqueKey) < 0) {\r\n\t\t\t// Must be Left\r\n\t\t\treturn -1;\r\n\t\t} else if (node.uniqueKey.compareTo(this.root.uniqueKey) > 0) {\r\n\t\t\t// Must be Right\r\n\t\t\treturn 1;\r\n\t\t} else {\r\n\t\t\t// Must be Equal\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t}", "private boolean isStrobogrammaticByTwoPointers(String numStr){\n if(numStr == null || numStr.length() == 0){\n return false;\n }\n\n int len = numStr.length();\n int start = 0;\n int end = len - 1;\n while(start < end){\n if(!isSymmetric(numStr.charAt(start), numStr.charAt(end))){\n return false;\n }\n\n start++;\n end--;\n }\n\n // odd length, check the middle cha\n if(len % 2 != 0){\n if(!(numStr.charAt(start) == '0' || numStr.charAt(start) == '1' || numStr.charAt(start) == '8')){\n return false;\n }\n }\n\n return true;\n }", "public abstract boolean testRightmostBit();", "X86.Operand gen_source_operand(boolean imm_ok, X86.Reg temp);", "private int mirrorCountHelper(int[] numbers, int left, int right, int length) {\r\n \tif ((left <= numbers.length-1) && (right >= 0)) { \t// Check bounds\r\n \tif (numbers[left] == numbers[right]) { \t\t\t// Mirrored numbers\r\n \t\tlength += 1;\r\n \t\tlength = mirrorCountHelper(numbers, ++left, --right, length);\r\n \t}\r\n \t}\r\n \treturn length;\r\n }", "boolean isCellRightNeighbor() {\r\n return this.neighbors.contains(new Cell(this.x + 1, this.y));\r\n }", "public boolean RepVec(String []a){\n boolean rep=false;\n String aux1=\"\",aux2=\"\";\n for (int i = 0; i < a.length; i++) {\n aux1=a[i];\n for (int j = 0; j < a.length; j++) {\n aux2=a[j];\n if( i!=j ){ \n if(aux1==aux2){\n rep=true;\n return rep;\n } \n } \n }\n }\n return rep;\n \n }", "static int ifEquals(int x, int y, int a, int b) { \n //return x==y?a:b; \n return onEqu1(x, y, a, b, ((x-y)-1)>>31);\n }", "static boolean isPalindromeUsingRecursion( Node right) {\n\t\t\n\t\tleft = head;\n\t\t\n\t\tif ( right == null) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tboolean isp = isPalindromeUsingRecursion(right.next);\n\t\t\n\t\tif ( !isp )\n\t\t\treturn false;\n\t\t\n\t\tboolean isp2 = (left.data == right.data);\n\t\tleft = left.next;\n\t\t\n\t\treturn isp2;\n\t}", "public int compile(LinkedHashSet callStack) {\n compiled = true;\n\n int errors = 0;\n\n errors += leftSide.compile(callStack);\n errors += output.compile(callStack);\n\n Object leftValue = leftSide.getValueIfNonRandom();\n Object rightValue = output.getValueIfNonRandom();\n if (rightValue != null) {\n if (leftValue != null) {\n if (leftValue.equals(rightValue)) {\n System.out.println(\"Note: evidence \\\"\" + this + \"\\\" is \"\n + \"vacuous because both sides are \"\n + \"non-random and have same value.\");\n } else {\n Util.fatalError(\"Evidence asserts that \" + leftSide\n + \", which has the non-random value \" + leftValue + \" (\"\n + leftValue.getClass() + \"), is equal to \" + output\n + \", which has the distinct non-random \" + \"value \" + rightValue\n + \" (\" + rightValue.getClass() + \").\", false);\n }\n }\n\n // This statement is saying that a particular variable is\n // equal to rightValue.\n observedVar = leftSide.getVariable();\n observedValue = rightValue;\n } else {\n // We need to let the observed variable be an equality\n // sentence, and the observed value be TRUE.\n if (!(leftSide instanceof Term)) {\n Util.fatalError(\"Boolean value evidence must be a term.\");\n }\n Formula eq = new EqualityFormula((Term) leftSide, (Term) output);\n errors += eq.compile(callStack);\n observedVar = new DerivedVar(eq);\n observedValue = Boolean.TRUE;\n }\n\n return errors;\n }", "public final void rule__AstExpressionBitand__RightAssignment_1_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25247:1: ( ( ruleAstExpressionEq ) )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25248:1: ( ruleAstExpressionEq )\n {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25248:1: ( ruleAstExpressionEq )\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/contentassist/antlr/internal/InternalCal.g:25249:1: ruleAstExpressionEq\n {\n before(grammarAccess.getAstExpressionBitandAccess().getRightAstExpressionEqParserRuleCall_1_2_0()); \n pushFollow(FOLLOW_ruleAstExpressionEq_in_rule__AstExpressionBitand__RightAssignment_1_250718);\n ruleAstExpressionEq();\n\n state._fsp--;\n\n after(grammarAccess.getAstExpressionBitandAccess().getRightAstExpressionEqParserRuleCall_1_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "@Override\n\tpublic EmitterResponse emitOpcode(Opcodes opc, byte[] instr, int idx, int operand, StringBuilderIndent src) {\n\t\tif(idx >= condition.getUpperIndex()) {\n\t\t\tsrc.dedent();\n\t\t\ttry {\n\t\t\t\tsrc.appendIndent().append('}').append(\" // end loop-\" + condition).append('\\n');\n\t\t\t} catch(Exception ex) {\n\t\t\t\tthrow ex;\n\t\t\t}\n\t\t\t// done - deregister this emitter\n\t\t\treturn EmitterResponse.DEREGISTER;\n\t\t}\n\n\t\tif(idx == startIndex) {\n\t\t\t// if-statement (loops start with GOTO, handled elsewhere)\n\t\t\ttry {\n\t\t\t\tsrc.appendIndent().append(\"while(\")\n\t\t\t\t\t.append(lhs.getExpression()).append(' ').append(opc.getComparisonSymbolInverse()).append(' ').append(rhs)\n\t\t\t\t\t.append(\") {\")\n\t\t\t\t\t.append('\\n');\n\t\t\t\tsrc.indent();\n\t\t\t} catch(Exception ex) {\n\t\t\t\tthrow ex;\n\t\t\t}\n\t\t}\n\t\treturn EmitterResponse.CONTINUE;\n\t}", "private static Boolean detectLoop(Node head2) {\n\t\tHashSet<Node> s = new HashSet<Node>();\n\t\twhile (head2 != null) {\n\t\t\tif (s.contains(head2))\n\t\t\t\treturn true;\n\t\t\ts.add(head2);\n\t\t\thead2 = head2.next;\n\t\t}\n\t\treturn false;\n\t}", "static int[] m11868m(Object[] r10, int r11, int r12, int r13) {\n /*\n r0 = 1\n if (r11 != r0) goto L_0x000e\n r11 = r10[r13]\n r12 = r13 ^ 1\n r10 = r10[r12]\n p067c.p068a.p134b.p136b.CollectPreconditions.m11785a(r11, r10)\n r10 = 0\n return r10\n L_0x000e:\n int r1 = r12 + -1\n int[] r12 = new int[r12]\n r2 = -1\n java.util.Arrays.fill(r12, r2)\n r3 = 0\n L_0x0017:\n if (r3 >= r11) goto L_0x0077\n int r4 = r3 * 2\n int r5 = r4 + r13\n r6 = r10[r5]\n r7 = r13 ^ 1\n int r4 = r4 + r7\n r4 = r10[r4]\n p067c.p068a.p134b.p136b.CollectPreconditions.m11785a(r6, r4)\n int r7 = r6.hashCode()\n int r7 = p067c.p068a.p134b.p136b.Hashing.m11897b(r7)\n L_0x002f:\n r7 = r7 & r1\n r8 = r12[r7]\n if (r8 != r2) goto L_0x0039\n r12[r7] = r5\n int r3 = r3 + 1\n goto L_0x0017\n L_0x0039:\n r9 = r10[r8]\n boolean r9 = r9.equals(r6)\n if (r9 != 0) goto L_0x0044\n int r7 = r7 + 1\n goto L_0x002f\n L_0x0044:\n java.lang.IllegalArgumentException r11 = new java.lang.IllegalArgumentException\n java.lang.StringBuilder r12 = new java.lang.StringBuilder\n r12.<init>()\n java.lang.String r13 = \"Multiple entries with same key: \"\n r12.append(r13)\n r12.append(r6)\n java.lang.String r13 = \"=\"\n r12.append(r13)\n r12.append(r4)\n java.lang.String r1 = \" and \"\n r12.append(r1)\n r1 = r10[r8]\n r12.append(r1)\n r12.append(r13)\n r13 = r8 ^ 1\n r10 = r10[r13]\n r12.append(r10)\n java.lang.String r10 = r12.toString()\n r11.<init>(r10)\n throw r11\n L_0x0077:\n return r12\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p067c.p068a.p134b.p136b.RegularImmutableMap.m11868m(java.lang.Object[], int, int, int):int[]\");\n }", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int[] list = new int[n];\n for (int i = 0; i < n; i++) {\n list[i] = scanner.nextInt();\n }\n int m1 = scanner.nextInt();\n int m2 = scanner.nextInt();\n boolean next = false;\n\n for (int i = 0; i < n - 1; i++) {\n if (list[i] == m1 && list[i + 1] == m2) {\n next = true;\n } else if (list[i] == m2 && list[i + 1] == m1) {\n next = true;\n }\n }\n System.out.println(!next);\n }", "int query(int l, int r) {\n l += n;\n r += n;\n int resl = identity;\n int resr = identity;\n while (l < r) {\n if ((l & 1) > 0) resl = combine(resl, st[l++]);\n if ((r & 1) > 0) resr = combine(st[--r], resr);\n l /= 2;\n r /= 2;\n }\n return combine(resl, resr);\n }", "public Integer checkRight()\r\n\t{\r\n\t\treturn this.X + 1;\r\n\t}", "private boolean checkRightDiagonal(Board board, char symbol)\n {\n for (int i = 0; i < size; i++)\n if (board.array[i][size - 1 - i] != symbol)\n return false;\n return true;\n }", "public void palindromeCheck() {\r\n boolean flag = true;\r\n int m = start;\r\n int n = ((start + size) - 1) % cir.length;\r\n\r\n for (int i = 0; i < size / 2; i++) {\r\n if (cir[m] == cir[n]) {\r\n flag = true;\r\n } else {\r\n flag = false;\r\n break;\r\n }\r\n m = (m + 1) % cir.length;\r\n n = (n + 1) % cir.length;\r\n }\r\n if (flag == true) {\r\n System.out.println(\"This array is a palindrome.\");\r\n } else {\r\n System.out.println(\"This array is NOT a palindrome.\");\r\n }\r\n }", "public String searchLCSPal(int left, int right) {\n List<Integer> key = new ArrayList<Integer>(2);\n key.add(left);\n key.add(right);\n // check for exit conditions\n // left and right cross each other or are equal\n if (left > right || right < left) {\n return \"\";\n }\n // if not, we compute its result\n if (!this.Memoize.containsKey(key)) {\n // assume the substring is a palindrome until proven other wise\n // it uses the endIndex as a countable int - strange but ok (e.g. why i use right + 1)\n String result = this.String.substring(left, right + 1);\n // check if the left and right substring is a palindrome\n // we don't need to compare the size because we know that anything\n // below in the rescursed calls will have smaller ranges\n if (!this.isPalindrome(result)) {\n // recurse into the 2 options of incrementing left\n // or decrementing right and pick witch one to select\n if (this.searchLCSPal(left + 1, right).length() > this.searchLCSPal(left, right - 1).length()) {\n result = this.searchLCSPal(left + 1, right);\n } else {\n result = this.searchLCSPal(left, right - 1);\n }\n }\n // cache the value\n this.Memoize.put(key, result);\n }\n // return the cached entry\n return this.Memoize.get(key);\n }", "public boolean diag1(){\n\tboolean trouve=false;\n\tint i=0;\n\tObject tmp='@';\n\twhile(i<5 && !trouve){\n\t\tif(gc[i][i]==tmp)\n\t\t\ttrouve=true;\n\t\telse\n\t\t\ti++;\n\t}\n\treturn trouve;\n}", "@Converted(kind = Converted.Kind.AUTO_NO_BODY,\n source = \"${LLVM_SRC}/llvm/include/llvm/Analysis/LoopAccessAnalysis.h\", line = 621,\n FQN=\"llvm::LoopAccessInfo::hasStoreToLoopInvariantAddress\", NM=\"_ZNK4llvm14LoopAccessInfo30hasStoreToLoopInvariantAddressEv\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.analysis/llvmToClangType ${LLVM_SRC}/llvm/lib/Analysis/LoopAccessAnalysis.cpp -nm=_ZNK4llvm14LoopAccessInfo30hasStoreToLoopInvariantAddressEv\")\n //</editor-fold>\n public boolean hasStoreToLoopInvariantAddress() /*const*/ {\n throw new UnsupportedOperationException(\"EmptyBody\");\n }", "public static PerformOperation isPalindrome() {\n return (num) -> {\n String number = Integer.toString(num);\n String reversed = new StringBuilder(number).reverse().toString();\n return number.equals(reversed);\n };\n }", "public static int findDuplicate(int[] nums) {\n int tortoise = nums[0];\n int hare = nums[0];\n do {\n tortoise = nums[tortoise];\n hare = nums[nums[hare]];\n } while (tortoise != hare);\n\n // Find the \"entrance\" to the cycle.\n int ptr1 = nums[0];\n int ptr2 = tortoise;\n while (ptr1 != ptr2) {\n ptr1 = nums[ptr1];\n ptr2 = nums[ptr2];\n }\n\n return ptr1;\n }", "public boolean canShift() {\n\t\treturn marker < getRhs().length;\n\t}", "private boolean CarryFromResult(int dvalue, int rvalue, int result)\n {\n return (Utils.bit7(dvalue) && Utils.bit7(rvalue)) || (Utils.bit7(rvalue) && !Utils.bit7(result)) || (!Utils.bit7(result) && Utils.bit7(dvalue));\n }", "private static boolean tripletWithSumExistsNoExtraSpace(int[] arr, int expectedSum){\n Arrays.sort(arr);\n int size = arr.length;\n for(int i=0; i<size-2; ++i){\n int complement = expectedSum - arr[i];\n int lidx = i+1, ridx = size-1;\n while (lidx < ridx){\n if(arr[lidx]+arr[ridx] == complement)\n return true;\n else if(arr[lidx]+arr[ridx] < complement)\n ++lidx;\n else\n --ridx;\n }\n }\n return false;\n }", "@Override\n public int evaluate(int[] l) {\n int s = 0;\n HashSet<Integer> map = new HashSet<Integer>();\n for (int i = 0; i < l.length; ++i) {\n int elmt = l[i];\n if (map.add(elmt))\n s += this.getValue(elmt);\n if (i != 0)\n s -= neighbourCheck[l[i - 1]][l[i]];\n }\n return s;\n }", "static boolean areSame(String expr1, String expr2)\n\t{\n\n\t\t// Create a vector for all operands and\n\t\t// initialize the vector as 0.\n\t\tint[] v = new int[MAX_CHAR];\n\n\t\t// Put signs of all operands in expr1\n\t\teval(expr1, v, true);\n\n\t\t// Subtract signs of operands in expr2\n\t\teval(expr2, v, false);\n\n\t\t// If expressions are same, vector must\n\t\t// be 0.\n\t\tfor (int i = 0; i < MAX_CHAR; i++)\n\t\t\tif (v[i] != 0)\n\t\t\t\treturn false;\n\n\t\treturn true;\n\t}", "private void createDataProcCmpRegShiftReg(Code32 code, int op, int cond, int Rn, int Rm, int shiftType, int Rs) {\r\n\t\tcode.instructions[code.iCount] = (cond << 28) | op | (Rn << 16) | (Rs << 8) | (shiftType << 5) | (1 << 4) | Rm;\r\n\t\tcode.incInstructionNum();\r\n\t}", "public static int findDuplicateLeet(int[] nums) {\n // Find the intersection point of the two runners.\n int tortoise = nums[0];\n int hare = nums[0];\n do {\n tortoise = nums[tortoise];\n hare = nums[nums[hare]];\n } while (tortoise != hare);\n\n // Find the \"entrance\" to the cycle.\n int ptr1 = nums[0];\n int ptr2 = tortoise;\n while (ptr1 != ptr2) {\n ptr1 = nums[ptr1];\n ptr2 = nums[ptr2];\n }\n\n return ptr1;\n }", "public static boolean ipot(long n) {\n\t\treturn n+(n-1) == (n^(n-1));\n\t}", "public boolean hasSelfLoops();", "X86.Reg gen_dest_operand();", "public int findRepeatNumber2(int[] nums) {\n for (int i = 0; i < nums.length; i++) {\n while (nums[i] != i){\n //check if the num[i] == num[num[i]], if yes return, if not swap it\n int temp = nums[i];\n if (nums[i] == nums[nums[i]]){\n return nums[i];\n }\n //swap\n nums[i] = nums[temp];\n nums[temp] = temp;\n }\n }\n return 0;\n }", "private int checkLoopLength(ListNode node) {\n ListNode node1 = node.next;\n\n int length = 1;\n\n while (node1 != node) {\n node1 = node1.next;\n\n length++;\n }\n\n return length;\n }", "public static void test03() {\n TreeNode n1 = new TreeNode(7);\n TreeNode n2 = new TreeNode(7);\n TreeNode n3 = new TreeNode(7);\n TreeNode n4 = new TreeNode(7);\n TreeNode n5 = new TreeNode(7);\n TreeNode n6 = new TreeNode(7);\n\n assemble(n1, n2, n3);\n assemble(n2, n4, n5);\n assemble(n3, n6, null);\n System.out.println(isSymmetrical(n1));\n }", "boolean check(Env env) {\n boolean leftOK = leftOperand.check (env);\n boolean rightOK = rightOperand.check (env);\n return leftOK && rightOK;\n }", "public Boolean evaluatePP (int fnr) throws CGException {\n return Boolean.TRUE;\n }", "public Boolean evaluatePP (int fnr) throws CGException {\n return Boolean.TRUE;\n }", "public int extractPalindrome_expand2(String s, int left, int right) {\n\t\tint count = 0;\n\t\twhile (left >= 0 && right < s.length() && s.charAt(left) == s.charAt(right)) {\n\t\t\tleft--;\n\t\t\tright++;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}", "@Override\n protected IncrementalEvaluation evaluateStrictEqWithNonNullConstant(ImmutableList<? extends ImmutableTerm> terms, NonNullConstant otherTerm, TermFactory termFactory, VariableNullability variableNullability) {\n return IncrementalEvaluation.declareSameExpression();\n }", "public static void test02() {\n TreeNode n1 = new TreeNode(1);\n TreeNode n2 = new TreeNode(2);\n TreeNode n3 = new TreeNode(2);\n TreeNode n4 = new TreeNode(4);\n TreeNode n5 = new TreeNode(5);\n TreeNode n6 = new TreeNode(6);\n TreeNode n7 = new TreeNode(4);\n TreeNode n8 = new TreeNode(8);\n TreeNode n9 = new TreeNode(9);\n TreeNode n10 = new TreeNode(10);\n TreeNode n11 = new TreeNode(11);\n TreeNode n12 = new TreeNode(11);\n TreeNode n13 = new TreeNode(10);\n TreeNode n14 = new TreeNode(9);\n TreeNode n15 = new TreeNode(8);\n assemble(n1, n2, n3);\n assemble(n2, n4, n5);\n assemble(n3, n6, n7);\n assemble(n4, n8, n9);\n assemble(n5, n10, n11);\n assemble(n6, n12, n13);\n assemble(n7, n14, n15);\n assemble(n8, null, null);\n assemble(n9, null, null);\n assemble(n10, null, null);\n assemble(n11, null, null);\n assemble(n12, null, null);\n assemble(n13, null, null);\n assemble(n14, null, null);\n assemble(n15, null, null);\n System.out.println(isSymmetrical(n1));\n }", "public void check() {\n // Your solution here.\n\t \n\t int position=1;\n\t int count=runs.nth(1).item[0];\n\t System.out.println(\"This is the RUNS: \"+toString());\n\t System.out.println(\"This is the Runs Length \"+runs.length());\n\t for(position=2;position<=runs.length();position++) {\n\t\t DListNode<int[]> node_this=runs.nth(position);\n\t\t DListNode<int[]> node_prev=runs.nth(position).prev;\n\t\t \n\t\t \n\t\t if (runs.nth(position).item[1]==runs.nth(position).prev.item[1]) {\n\t\t\t System.out.println(\"two consecutive runs have the same RGB intensities\");\n\t\t\t System.out.println(\"Two Consecutive runs are \"+runs.nth(position).item[1]+\" at \"+position+\" and \"+ (position-1));\n\t\t\t \n\t\t }\n\t\t count+=runs.nth(position).item[0];\t \n\t\t }\n\t \n\t\n \tif (count!=width*height) {\n\t System.out.println(\"all run lengths does not equal the number of pixels in the image\");\n\t System.out.println(\"RLE is \"+count +\" and it should be \"+ (width*height));\n }\n \n }", "protected abstract boolean computeHasNext();", "public boolean rightDistributive( Operator op){\n\t return false;\n }", "private boolean purelySequentialDependent(\r\n\t\t\tfinal Rule r1, \r\n\t\t\tint indx_r1,\r\n\t\t\tfinal Rule r2,\r\n\t\t\tint indx_r2,\r\n\t\t\tGraph g) {\n\t\t\r\n\t\tfinal Match embedding = BaseFactory.theFactory().createMatch(r2, r1.getRight());\t\t\r\n\t\tembedding.setCompletionStrategy(this.strategy, true);\r\n\t\tboolean result = false;\r\n\t\twhile (embedding.nextCompletionWithConstantsChecking() && !result) {\r\n\t\t\tEnumeration<GraphObject> codom = embedding.getCodomain();\t\t\t\t\t\t\r\n\t\t\t// exist l21 : L2 -> R1\r\n\t\t\twhile (codom.hasMoreElements()) {\r\n\t\t\t\tGraphObject obj = codom.nextElement();\r\n\t\t\t\t// rule r1 produce at least one object which is used in LHS of r2\r\n\t\t\t\tif (!r1.getInverseImage(obj).hasMoreElements()) {\r\n\t\t\t\t\tresult = true;\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (this.ruleSequence.isObjFlowActive()) {\r\n\t\t\t\t\t\tfinal ObjectFlow objFlow = this.ruleSequence.getObjFlowForRules(r1, indx_r1, r2, indx_r2);\r\n\t\t\t\t\t\tif (objFlow != null && !objFlow.isEmpty()) \r\n\t\t\t\t\t\t\tresult = pureEnablingAlongObjectFlow(embedding, objFlow);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// add match to matchSequence\r\n\t\t\t\t\tif (result)\r\n\t\t\t\t\t\tthis.ruleSequence.getMatchSequence().addTotalPureEnablingSourceMatch(r2, r1, embedding, indx_r2, indx_r1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak; \r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t}\r\n\t\t\tif (result) {\r\n\t\t\t\tboolean attrCondUsesIP = attrConditionUsesInputParameterRight(r2, r1, embedding);\r\n\t\t\t\t\t\r\n\t\t\t\tif (attrCondUsesIP) {\r\n\t\t\t\t\tsetRuleResult(indx_r2, r2.getName(), false, ApplicabilityConstants.PURE_ENABLING_PREDECESSOR, r1.getName());\r\n\t\t\t\t} else {\r\n\t\t\t\t\tsetRuleResult(indx_r2, r2.getName(), true, ApplicabilityConstants.PURE_ENABLING_PREDECESSOR, r1.getName());\t\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// TODO: apply r1, then r2 along the comatch of r2 to check NACs of r2\r\n//\t\t\tresult = isPurelyEnabledRuleApplicable(r1, r2, embedding, g);\r\n//\t\t\tif (result) {\r\n//\t\t\t\t// to test : add match to matchSequence\r\n//\t\t\t\tthis.ruleSequence.getMatchSequence().addTotalPureEnablingSourceOfMatch(r2, r1, embedding, indx_r2, indx_r1);\r\n//\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tembedding.dispose();\r\n\t\tBaseFactory.theFactory().unsetAllTransientAttrValuesOfRule(r1);\r\n//\t\tr1.getRight().setNotificationRequired(true);\r\n\t\t\r\n\t\treturn result;\r\n\t}", "public int isSymmetric(Region r) {\n\t\tif (!sizeEquals(r))\n\t\t\treturn 0;\n\t\t\n\t\tint res=0;\n\t\tfor (int i=0;i<Math.min(sizeX, r.sizeX);i++) {\n\t\t\tfor (int j=0;j<Math.min(sizeY, r.sizeY);j++) {\n\t\t\t\tif (this.get(i, j)!=r.get(r.sizeX-i-1, j))\n\t\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tif (res<square/10)\n\t\t\treturn 1;\n\t\t\n\t\tres=0;\n\t\tfor (int i=0;i<Math.min(sizeX, r.sizeX);i++) {\n\t\t\tfor (int j=0;j<Math.min(sizeY, r.sizeY);j++) {\n\t\t\t\tif (this.get(i, j)!=r.get(i, r.sizeY-j-1))\n\t\t\t\t\tres++;\n\t\t\t}\n\t\t}\n\t\tif (res<square/10)\n\t\t\treturn 2;\n\t\t\n\t\treturn 0;\n\t}", "public boolean foundLoop();", "boolean jumpPossible(char c, char r) {\n return jumpPossible(index(c, r));\n }", "public Boolean evaluatePP (int fnr) throws CGException {\n return new Boolean(true);\n }", "public static int step() {\n if (instructions_addr.get(line_count) == null) {\n // System.exit(1);\n return -1;\n }\n String[] in = (instructions_addr.get(line_count)).split(\"\\\\s+\");\n int r1 = 0;\n int r2 = 0;\n int r3 = 0;\n try {\n r1 = registers.get(in[1]);\n r2 = registers.get(in[2]);\n r3 = registers.get(in[3]);\n } catch (NullPointerException npe) {\n // sike no exception\n } catch (ArrayIndexOutOfBoundsException e) {\n\n }\n System.out.println(line_count+Arrays.toString(in));\n String op = in[0];\n switch (op) {\n case \"add\":\n register[r1] = register[r2] + register[r3];\n line_count = line_count + 1;\n break;\n\n case \"sub\":\n register[r1] = register[r2] - register[r3];\n line_count = line_count + 1;\n break;\n\n case \"addi\":\n register[r1] = register[r2] + Integer.parseInt(in[3]);\n line_count = line_count + 1;\n break;\n\n case \"beq\":\n if (register[r1] == register[r2]) {\n actual(1);\n line_count = labels_addr.get(in[3]);\n } else {\n actual(0);\n line_count++;\n }\n break;\n\n case \"bne\":\n if (register[r1] != register[r2]) {\n line_count = labels_addr.get(in[3]);\n actual(1);\n } else {\n line_count = line_count + 1;\n actual(0);\n }\n break;\n\n case \"or\":\n register[r1] = register[r2] | register[r3];\n line_count = line_count + 1;\n break;\n\n case \"and\":\n register[r1] = register[r2] & register[r3];\n line_count = line_count + 1;\n break;\n\n case \"sll\":\n register[r1] = register[r2] << Integer.parseInt(in[3]);\n line_count = line_count + 1;\n break;\n\n case \"slt\":\n if (register[r2] < register[r3]) {\n register[r1] = 1;\n } else {\n register[r1] = 0;\n }\n line_count = line_count + 1;\n break;\n\n case \"lw\":\n r2 = Integer.parseInt(in[2].substring(0, in[2].indexOf(\"(\")));\n r3 = registers.get(in[3].substring(0, in[3].indexOf(\")\"))); // imm\n register[r1] = data_mem[r2 + register[r3]];\n line_count = line_count + 1;\n break;\n\n case \"sw\":\n r2 = Integer.parseInt(in[2].substring(0, in[2].indexOf(\"(\")));\n r3 = registers.get(in[3].substring(0, in[3].indexOf(\")\"))); // imm\n data_mem[r2 + register[r3]] = register[r1];\n line_count = line_count + 1;\n break;\n\n case \"j\":\n line_count = labels_addr.get(in[1]);\n break;\n\n case \"jr\":\n line_count = register[31];\n break;\n\n case \"jal\":\n register[31] = line_count + 1;\n line_count = labels_addr.get(in[1]);\n break;\n\n default:\n line_count = line_count + 1;\n }\n return 1;\n }", "public byte getAND_COND_OPR(int fiIndex)\n {\n switch (fiIndex)\n {\n case 1 :\n return getAND_COND_OPR_1();\n case 2 :\n return getAND_COND_OPR_2();\n case 3 :\n return getAND_COND_OPR_3();\n case 4 :\n return getAND_COND_OPR_4();\n case 5 :\n return getAND_COND_OPR_5();\n default :\n return -1 ;\n\n } /* end switch ( fiIndex ) */\n }", "public void isValidPalindrome(String s, int left, int right) {\n while(left >= 0 && right<s.length() && s.charAt(left) == s.charAt(right)){\n left--;\n right++;\n }\n // check if we found a longer palindrome\n if(maxLen < right - left - 1){\n maxLen = right - left - 1;\n start = left + 1;\n }\n }", "final private void evaluate() {\n\n int lastPalindrome = getLast();\n\n while (lastPalindrome > minNum * minNum) {\n int palindrome = getNextPalindrome();\n\n for (int i = maxNum; i >= minNum; i--) {\n if ((palindrome % i) == 0) {\n int j = palindrome / i;\n if ((j >= minNum) && (j <= maxNum)) {\n num1 = i;\n num2 = j;\n return;\n }\n }\n }\n }\n }", "public final void rule__XAndExpression__RightOperandAssignment_1_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12226:1: ( ( ruleXEqualityExpression ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12227:1: ( ruleXEqualityExpression )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12227:1: ( ruleXEqualityExpression )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12228:1: ruleXEqualityExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); \n }\n pushFollow(FOLLOW_ruleXEqualityExpression_in_rule__XAndExpression__RightOperandAssignment_1_124522);\n ruleXEqualityExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public boolean checkEquality(){\n boolean flag = true;\n for (int i = 0; i < boardRows ; i++) {\n for (int j = 0; j < boardColumns; j++) {\n if(this.currentBoardState[i][j] != this.goalBoardState[i][j]){\n flag = false;\n }\n }\n }\n return flag;\n }", "private static boolean tripletWithSumExists(int[] arr, int expectedSum){\n Set<Integer> observedElems = new HashSet<>();\n int size = arr.length;\n\n observedElems.add(arr[0]);\n\n for(int i=1; i<size-1; ++i){\n for(int j=i+1; j<size; ++j){\n int complement = expectedSum - (arr[i] + arr[j]);\n if(observedElems.contains(complement))\n return true;\n }\n observedElems.add(arr[i]);\n }\n return false;\n }", "private static boolean helper(TreeNode left, TreeNode right) {\n \tif(left == null || right == null){\n \t\treturn left == right;\n \t}\n \tif(left.val != right.val){\n \t\treturn false;\n \t}\n\t\treturn helper(left.right,right.left) && helper(left.left,right.right);\n\t}", "public static void test01() {\n TreeNode n1 = new TreeNode(1);\n TreeNode n2 = new TreeNode(2);\n TreeNode n3 = new TreeNode(2);\n TreeNode n4 = new TreeNode(4);\n TreeNode n5 = new TreeNode(6);\n TreeNode n6 = new TreeNode(6);\n TreeNode n7 = new TreeNode(4);\n TreeNode n8 = new TreeNode(8);\n TreeNode n9 = new TreeNode(9);\n TreeNode n10 = new TreeNode(10);\n TreeNode n11 = new TreeNode(11);\n TreeNode n12 = new TreeNode(11);\n TreeNode n13 = new TreeNode(10);\n TreeNode n14 = new TreeNode(9);\n TreeNode n15 = new TreeNode(8);\n assemble(n1, n2, n3);\n assemble(n2, n4, n5);\n assemble(n3, n6, n7);\n assemble(n4, n8, n9);\n assemble(n5, n10, n11);\n assemble(n6, n12, n13);\n assemble(n7, n14, n15);\n assemble(n8, null, null);\n assemble(n9, null, null);\n assemble(n10, null, null);\n assemble(n11, null, null);\n assemble(n12, null, null);\n assemble(n13, null, null);\n assemble(n14, null, null);\n assemble(n15, null, null);\n System.out.println(isSymmetrical(n1));\n }", "void checkReverseDirection(int s){\n for(int p = (primerNum /2); p<(primerNum); p++) {\n for(int i=0;i<=seqs[s].length()-pLens[p];i++) {\n\n int pos=i;\n\n for(int j=0;j<pLens[p];j++) {\n\n if(seqs[s].charAt(i+j)=='N')\n scores[pos][p][14]++;\n\n int mut=checkMutation(primers[p].charAt(j),seqs[s].charAt(i+j));\n\n if(mut>0) {\n scores[pos][p][0]++;//total mismatches\n\n if(mut==1) {\n scores[pos][p][1]++;//total ts\n }\n else if(mut==2) {\n scores[pos][p][2]++;//total tv\n }\n\n if(j==0) {\n if(mut==1)\n scores[pos][p][3]++;//ts at nt1\n else if(mut==2)\n scores[pos][p][4]++;//tv at nt1\n\n scores[pos][p][11]++;//mismatches nt1-4\n }\n\n else if(j==1) {\n if(mut==1)\n scores[pos][p][5]++;//ts at nt2\n else if(mut==2)\n scores[pos][p][6]++;//tv at nt2\n\n scores[pos][p][11]++;//mismatches nt1-4\n }\n\n else if(j==2) {\n if(mut==1)\n scores[pos][p][7]++;//ts at nt3\n else if(mut==2)\n scores[pos][p][8]++;//tv at nt3\n\n scores[pos][p][11]++;//mismatches nt1-4\n }\n\n else if(j==3) {\n if(mut==1)\n scores[pos][p][9]++;//ts at nt4\n else if(mut==2)\n scores[pos][p][10]++;//tv at nt4\n\n scores[pos][p][11]++;//mismatches nt1-4\n }\n\n if(j>=pLens[p]-4){\n scores[pos][p][15]++;//mismactehs at 5' 1-4nt\n }\n }//end of mut>0\n }//end or primer characters loop j\n }//end of sequence characters loop i\n }//end of F/P/R primer loop p\n }", "public int step() {\n int lastBit = bitAt(0) ^ bitAt(currentIndex);\n char[] ch = lfsr1.toCharArray();\n for (int i = 0; i < lfsr1.length() - 2; i++) {\n ch[i] = ch[i + 1];\n }\n\n ch[lfsr1.length() - 2] = (char) (lastBit + '0');\n int temporary = lfsr1.length();\n lfsr1 = \"\";\n for (int i = 0; i < temporary; i++) {\n lfsr1 = lfsr1 + ch[i];\n }\n\n return lastBit;\n }", "public static void main(String[] args) {\n\t\tint a=33, sum=0;\r\n\t\tint temp=a;\r\n\t\tint r;\r\n\t while(a>0)\t{\r\n\t \tr=a%10;\r\n\t sum= (sum*10)+ r;\r\n\t\ta=a/10;\r\n\t }\r\n\t\tif(temp==sum) {\r\n\t\tSystem.out.println(sum+ \"the given number is palindrome \");\r\n\t\t}\r\n\t\t\r\n\t\telse {\r\n\t\t\tSystem.out.println(sum + \"not a palindrome\");\r\n\t\t}}", "private boolean testRightDiagonal(Board board, char symbol)\n {\n for (int i = 0; i < size; i++)\n {\n if (board.array[i][size - 1 - i] != symbol && board.array[i][size - 1 - i] != EMPTY)\n return false;\n }\n return true;\n }", "public boolean solution(int[] bits) {\n int length = bits.length ;\n if(bits[length - 1] == 1){\n return false;\n }\n int index =0;\n boolean flag = true;\n while(index < length){\n if(bits[index] == 0){\n index +=1 ;\n flag = true;\n }else{\n index +=2 ;\n flag = false;\n }\n }\n return flag;\n }", "public static void main(String[] args) {\n\t\tint num=666;\r\n\t\t//declr 3 more\r\n\t\tint calculated=0;\r\n\t\tint remainder;\r\n\t\tint original;\r\n\t\t//Assign i/p into variable orignal\r\n\t\tSystem.out.println(\"ip - \"+num);\r\n\t\toriginal=num;\r\n\t\t//use loop to calculate:use while loop to set condn until the num is > 0\r\n\t\twhile (num>0) {\r\n\t\t\t//get the remainder done when divided by 10\r\n\t\t\tremainder=num%10;\r\n\t\t\tnum=num/10;\r\n\t\t\t//use formula\r\n\t\t\tcalculated=calculated+((remainder)*(remainder)*(remainder));\r\n\t\t\tSystem.out.println(calculated);\r\n\t\t}\r\n\t\t\t//check wheather cal & orgil r same\r\n\t\tif(calculated==original)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Armstrong\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"Not an Armstrong\");\r\n\t\t}\r\n\t}", "public static boolean FLWORExpr(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"FLWORExpr\")) return false;\n if (!nextTokenIs(b, \"<flwor expr>\", K_FOR, K_LET)) return false;\n boolean r, p;\n Marker m = enter_section_(b, l, _NONE_, FLWOR_EXPR, \"<flwor expr>\");\n r = InitialClause(b, l + 1);\n p = r; // pin = 1\n r = r && report_error_(b, FLWORExpr_1(b, l + 1));\n r = p && ReturnClause(b, l + 1) && r;\n exit_section_(b, l, m, r, p, null);\n return r || p;\n }", "public boolean doWeHaveSameStops(String corridorA, String corridorB);", "public static boolean iterativeSolution(TreeNode p, TreeNode q)\n\t{\n\t\tStack<TreeNode> s = new Stack();\n\t\ts.push(p);\n\t\ts.push(q);\n\t\t\n\t\twhile(!s.isEmpty())\n\t\t{\n\t\t\tp = s.pop();\n\t\t\tq = s.pop();\n\t\t\t\n\t\t\tif(p == null && q == null)\n\t\t\t\tcontinue;//terminate this round\n\t\t\tif(p == null || q == null)\n\t\t\t\treturn false;//trim\n\t\t\tif(p.val != q.val)\n\t\t\t\treturn false;//trim\n\t\t\t\n\t\t\ts.push(p.left);\n\t\t\ts.push(q.left);\n\n\t\t\ts.push(p.right);\n\t\t\ts.push(q.right);\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "int\n computeHashCodeOfNode(HIR pNode)\n {\n int lCode, lNodeIndex, lChild, lChildCount;\n Sym lSym;\n\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(7, \" computeHashCodeOfNode \");\n if (pNode == null)\n return 0;\n lNodeIndex = pNode.getIndex();\n lCode = getHashCodeOfIndexedNode(lNodeIndex);\n if (lCode != 0) // Hash code is already computed. return it.\n return lCode;\n lCode = pNode.getOperator() + System.identityHashCode(pNode.getType());\n lSym = pNode.getSym();\n if (lSym != null) { // This is a leaf node attached with a symbol.\n lCode = lCode * 2 + System.identityHashCode(lSym);\n }\n else {\n lChildCount = pNode.getChildCount();\n for (lChild = 1; lChild <= lChildCount; lChild++) {\n lCode = lCode * 2\n + computeHashCodeOfNode((HIR)(pNode.getChild(lChild)));\n }\n }\n //##60 BEGIN\n // Assign different hash code for l-value compared to r-value.\n //##65 if ((pNode.getParent()instanceof AssignStmt) &&\n //##65 (pNode.getParent().getChild1() == pNode))\n if (FlowUtil.isAssignLHS(pNode)) //##65\n {\n lCode = lCode * 2;\n }\n //##60 END\n lCode = (lCode & 0x7FFFFFFF) % EXP_ID_HASH_SIZE;\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(7, Integer.toString(lCode, 10));\n setHashCodeOfIndexedNode(lNodeIndex, lCode);\n return lCode;\n }", "public boolean isStrobogrammatic(String num) {\n char input[] = num.toCharArray();\n int p1 = 0, p2 = num.length() - 1;//pointers\n while(p1 <= p2) {\n if(input[p1] == '6') {\n if(input[p2] != '9') return false;\n } else if (input[p1] == '9') {\n if(input[p2] != '6') return false;\n } else if (input[p1] == '1' || input[p1] == '8'||input[p1] == '0') {\n if (input[p2] != input[p1]) return false;\n } else {\n return false;\n }\n p1++;\n p2--;\n }\n return true;\n }", "public boolean checkIfPermutationPalindrome(String str) {\n\n Hashtable<Character, Integer> table = generateTable(str);\n\n int oneOdd = 0;\n boolean flag;\n for(char ch : table.keySet()) {\n if(table.get(ch)%2 == 1) {\n oneOdd++;\n }\n }\n if(oneOdd <= 1) {\n flag = true;\n }\n else {\n flag = false;\n }\n if(str.length() == 0) {\n flag = false;\n }\n System.out.println(flag);\n return flag;\n }", "public static void main(String[] args) {\n\r\n\t\tScanner s= new Scanner (System.in);\r\n\t\t\r\n\t\tSystem.out.println(\"Please enter the number: \");\r\n\t\tint n= s.nextInt();\r\n\t\t\r\n\t\tint temp=n;\r\n\t\tint r, sum=0;\r\n\t\t\r\n\t\twhile(n>0)\r\n\t\t{\r\n\t\t\tr=n%10;\r\n\t\t\tn=n/10;\r\n\t\t\tsum= sum + r*r*r;\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif(temp==sum)\r\n\t\t\tSystem.out.println(\"Number is Armstrong\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"Not an Armstrong\");\t\t\r\n\t\t\r\n\t}", "public boolean lambda32(Object elt) {\n return ((Scheme.applyToArgs.apply3(this.maybe$Mn$Eq, this.key, C1259lists.car.apply1(elt)) != Boolean.FALSE ? 1 : 0) + 1) & true;\n }", "public boolean checkNext(int row, int col, int row_diff, int col_diff, int side, BoardModel board) {\n\t\tif(\n\t\t\t\t(row < 0) || \n\t\t\t\t(row >= board.getBoardSize()) || \n\t\t\t\t(col < 0) || \n\t\t\t\t(col >= board.getBoardSize())\n\t\t) {\n\t\t\tflipMoves.clear();\n\t\t\treturn false;\n\t\t} else if(board.getBoardValue(row, col) == 2) {\n\t\t\tflipMoves.clear();\n\t\t\treturn false;\n\t\t} else if(board.getBoardValue(row, col) == side) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tflipMoves.add(new int[]{row, col});\n\t\t\treturn checkNext((row+row_diff), (col+col_diff), row_diff, col_diff, side, board);\n\t\t}\n\t}", "public static boolean hasLoop(LinkedList linkedList) {\r\n\t\tif (linkedList == null || linkedList.getHead() == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tIntegerNode slow = linkedList.getHead();\r\n\t\tIntegerNode fast = linkedList.getHead();\r\n\r\n\t\twhile (true) {\r\n\t\t\tslow = slow.getNext();\r\n\r\n\t\t\tif (fast.getNext() != null) {\r\n\t\t\t\tfast = fast.getNext().getNext();\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n\t\t\tif (slow == null || fast == null) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n\t\t\tif (slow == fast) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\t\t\n\t\tint i = 12122;\n\t\tint y = 0;\n\t\tboolean b = false;\n\t\t\n\t\tList<Integer> mylist = new ArrayList<Integer>();\n\t\t\n\t\twhile(i >0) {\n\t\t\ty = i%10;\n\t\t\tmylist.add(y);\n\t\t\ti = i/10;\n\t\t}\n\n\t\tint len = mylist.size();\n\t\tSystem.out.println(\"List -> \"+ mylist);\n\t\tfor(int j = 0 ; j < len ; j++) {\n\t\t\tif(mylist.get(j) == mylist.get(len-1)) {\n\t\t\t\tlen --;\n\t\t\t\tb = true;\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"No is not palindrom\");\n\t\t\t\tb = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(b) {\n\t\t\tSystem.out.println(\"No is Plaindrome\");\n\t\t}\n\t}", "@Converted(kind = Converted.Kind.AUTO_NO_BODY,\n source = \"${LLVM_SRC}/llvm/lib/Analysis/LoopAccessAnalysis.cpp\", line = 1753,\n FQN=\"llvm::LoopAccessInfo::isUniform\", NM=\"_ZNK4llvm14LoopAccessInfo9isUniformEPNS_5ValueE\",\n cmd=\"jclank.sh -java-options=${SPUTNIK}/modules/org.llvm.analysis/llvmToClangType ${LLVM_SRC}/llvm/lib/Analysis/LoopAccessAnalysis.cpp -nm=_ZNK4llvm14LoopAccessInfo9isUniformEPNS_5ValueE\")\n //</editor-fold>\n public boolean isUniform(Value /*P*/ V) /*const*/ {\n throw new UnsupportedOperationException(\"EmptyBody\");\n }", "private static boolean KawigiEdit_RunTest(int testNum, int[] p0, boolean hasAnswer, int p1) {\n System.out.print(\"Test \" + testNum + \": [\" + \"{\");\n for (int i = 0; p0.length > i; ++i) {\n if (i > 0) {\n System.out.print(\",\");\n }\n System.out.print(p0[i]);\n }\n System.out.print(\"}\");\n System.out.println(\"]\");\n EllysAndXor obj;\n int answer;\n obj = new EllysAndXor();\n long startTime = System.currentTimeMillis();\n answer = obj.getMax(p0);\n long endTime = System.currentTimeMillis();\n boolean res;\n res = true;\n System.out.println(\"Time: \" + (endTime - startTime) / 1000.0 + \" seconds\");\n if (hasAnswer) {\n System.out.println(\"Desired answer:\");\n System.out.println(\"\\t\" + p1);\n }\n System.out.println(\"Your answer:\");\n System.out.println(\"\\t\" + answer);\n if (hasAnswer) {\n res = answer == p1;\n }\n if (!res) {\n System.out.println(\"DOESN'T MATCH!!!!\");\n } else if ((endTime - startTime) / 1000.0 >= 2) {\n System.out.println(\"FAIL the timeout\");\n res = false;\n } else if (hasAnswer) {\n System.out.println(\"Match :-)\");\n } else {\n System.out.println(\"OK, but is it right?\");\n }\n System.out.println(\"\");\n return res;\n }", "public static boolean rightSide(Point2D p0, Point2D p1, Point2D p) {\r\n return AlgoPoint2D.cross(AlgoPoint2D.subtract(p,p0),AlgoPoint2D.subtract(p1,p0)) > 0.0;\r\n }", "public boolean helper(int[] pushed, int s1, int e1, int[] popped, int s2, int e2) {\n if (s1 > e1)\n return true;\n if (s1 == e1)\n return pushed[s1] == popped[s2];\n int first = pushed[s1];\n for (int i = s2; i <= e2; i++) {\n if (first == popped[i]) {\n if (helper(pushed, s1+1, i-s2+s1, popped, s2, i-1) && \n helper(pushed, i+1-e2+e1, e1, popped, i+1, e2))\n return true;\n }\n }\n return false;\n }" ]
[ "0.5413737", "0.49906918", "0.48118487", "0.47863275", "0.4778943", "0.4644775", "0.46407834", "0.4622", "0.4618453", "0.46145496", "0.46034956", "0.45787904", "0.45706826", "0.4569457", "0.45632574", "0.45611957", "0.4560625", "0.4519", "0.45081496", "0.45036352", "0.45021975", "0.447975", "0.4475448", "0.445516", "0.44544405", "0.44455984", "0.4443317", "0.44425282", "0.4440667", "0.44106594", "0.44038028", "0.43990365", "0.43936056", "0.43833238", "0.4380975", "0.43805894", "0.43777844", "0.43767944", "0.4371526", "0.43684128", "0.43606138", "0.43605542", "0.43567616", "0.4354082", "0.43434024", "0.43400168", "0.43378386", "0.43354484", "0.43342966", "0.43259773", "0.43240523", "0.43235698", "0.43217617", "0.43188834", "0.43175524", "0.43103865", "0.43034768", "0.4303439", "0.4303439", "0.43013406", "0.43013027", "0.4295923", "0.42921644", "0.4290964", "0.4285098", "0.42803076", "0.42775485", "0.42658183", "0.4263512", "0.42591423", "0.42553404", "0.42521957", "0.42456028", "0.4244582", "0.42432845", "0.42392078", "0.42346108", "0.42303202", "0.42281565", "0.4226096", "0.42195132", "0.42160866", "0.42125404", "0.42110875", "0.42100215", "0.42081925", "0.42080286", "0.42040128", "0.42014208", "0.419884", "0.41965747", "0.41962627", "0.41957963", "0.41941854", "0.418814", "0.41780922", "0.41765654", "0.41724804", "0.4168451", "0.41678673" ]
0.587132
0
We adapt a little the classic control flow in the case it is used in a cast : in a cast, we want to keep the result of the expression in Rn, unlike "classic" control flow where once calculated, we don't need it anymore.
protected void castControlFlow(DecacCompiler compiler, boolean b, Label E) { int n = compiler.getFirstRegisterNumber(); compiler.addComment("Start of an instanceof"); getLeftOperand().codeGenInst(compiler); // getting back the object addr in Rn //we save it for later compiler.addInstruction(new PUSH(Register.getR(n))); //the register is still usefull : we do not free it here compiler.incrementCurrentNumberOfRegisterPushed(); checkAddrLoop(compiler, b, E); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void visit(CastExpression arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void visit(CastExpression castExpression) {\n\r\n\t}", "@Override\r\n\tpublic boolean visit(CastExpression node) {\r\n\t\toperator(node,node.getClass().toString());\r\n\t\treturn true;\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void cast() {\n\t\t\r\n\t}", "private Expr boxingUpcastIfNeeded(Expr a, Type fType) {\n if (a instanceof NullLit_c) {\n return makeCast(a.position(), a, fType);\n }\n \n if (Types.baseType(fType) instanceof FunctionType) {\n return upcastToFunctionType(a, (FunctionType)Types.baseType(fType), true);\n }\n \n if (ts.isObjectType(a.type(), context) && ts.isObjectType(fType, context)) {\n // implicit C++ level upcast is good enough (C++ and X10 have same class hierarchy structure)\n return a;\n }\n \n if (!ts.typeDeepBaseEquals(fType, a.type(), context)) {\n Position pos = a.position();\n return makeCast(a.position(), a, fType);\n } else {\n return a;\n }\n }", "@Override\n\tpublic void outACastExpr(ACastExpr node) {\n\t\tType t = nodeTypes.get(node.getExpr());\n\t\tboxIt(t); \n\t\tType result = nodeTypes.get(node.getType()); \n\t\til.append(fi.createCast(getBecelType(t), getBecelType(result)));\n\t\tunboxIt(result); \t\n\t}", "@Override\n public String visit(CastExpr n, Object arg) {\n return null;\n }", "public void visit(CastExpression n) {\n n.f0.accept(this);\n }", "public static org.xms.g.common.api.ResultTransform dynamicCast(java.lang.Object param0) {\n return ((org.xms.g.common.api.ResultTransform) param0);\n }", "@Override\r\n\tpublic void cast() {\n\r\n\t}", "@Test\n public void testLiteralCast() {\n for (int i = 0; i < 3; i++) {\n boolean useDecimalV2 = i > 1;\n boolean enableRewrite = (i % 2) == 1;\n {\n // Boundary case in which the positive value is a DECIMAL,\n // becomes BIGINT when negated by the parser.\n String query = \"select getBit(\" + Long.MIN_VALUE + \", 63)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.TINYINT, expr.getType());\n }\n {\n // Would eval to NaN, so keep original expr.\n String query = \"select cast(10 as double) / cast(0 as double)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.DOUBLE, expr.getType());\n assertTrue(expr instanceof ArithmeticExpr);\n }\n {\n // Extreme double value. Ensure double-->BigDecimal noise\n // does not cause overflows\n String query = \"select cast(\" + Double.toString(Double.MAX_VALUE) +\n \" as double)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.DOUBLE, expr.getType());\n if (enableRewrite) {\n assertTrue(expr instanceof NumericLiteral);\n } else {\n assertTrue(expr instanceof CastExpr);\n }\n }\n {\n // As above, but for extreme minimum (smallest) values\n String query = \"select cast(\" + Double.toString(Double.MIN_VALUE) +\n \" as double)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.DOUBLE, expr.getType());\n if (enableRewrite) {\n assertTrue(expr instanceof NumericLiteral);\n } else {\n assertTrue(expr instanceof CastExpr);\n }\n }\n {\n // Math would cause overflow, don't rewrite\n String query = \"select cast(1.7976931348623157e+308 as double)\" +\n \" / cast(2.2250738585072014e-308 as double)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.DOUBLE, expr.getType());\n assertTrue(expr instanceof ArithmeticExpr);\n }\n {\n // Math would cause overflow, don't rewrite\n String query = \"select cast(cast(1.7976931348623157e+308 as double) as float)\";\n Expr expr = analyze(query, useDecimalV2, enableRewrite);\n assertEquals(Type.FLOAT, expr.getType());\n assertTrue(expr instanceof CastExpr);\n }\n }\n }", "private Expr upcast(Expr a, Type fType) {\n if (Types.baseType(fType) instanceof FunctionType) {\n return upcastToFunctionType(a, (FunctionType)Types.baseType(fType), false);\n } else if (!ts.typeDeepBaseEquals(fType, a.type(), context)) {\n Position pos = a.position();\n return makeCast(a.position(), a, fType);\n } else {\n return a;\n }\n }", "O transform(R result);", "@Override\n\tpublic void VisitCastNode(BunCastNode Node) {\n\n\t}", "@Test\n public void createRightTypeCastTypeCast() throws Exception {\n //\n boolean inLeftTree = false;\n PreparationData prepData = prepareCastedPartOfFaultVar(inLeftTree);\n //\n MapperSwingTreeModel rightTreeModel = prepData.bmm.getRightTreeModel();\n TreePath baseTypeElementPath = BpelMapperTestUtils.findInTree(prepData.treeNode,\n rightTreeModel, \"baseTypeElem\"); // NOI18N\n assertNotNull(baseTypeElementPath);\n //\n // Find global type and cast the left item to it\n GlobalComplexType targetGType = BpelMapperTestUtils.getGlobalTypeByName(\n mBpelModel, \"http://xml.netbeans.org/schema/Synchronous\",\n \"DerivedComplexType\", GlobalComplexType.class); // NOI18N\n assertNotNull(targetGType);\n //\n // Create a new cast\n TreePath castedPartPath = new BpelCastManager().addCastCmd(\n targetGType, baseTypeElementPath, inLeftTree, prepData.tcContext);\n assertNotNull(castedPartPath);\n //\n // Find the attrStr attribute inside of the new Pseudo Element.\n TreePath rightPinPath = BpelMapperTestUtils.findInTree(\n prepData.treeNode, rightTreeModel,\n \"(DerivedComplexType)baseTypeElem/strAttrA\"); // NOI18N\n assertNotNull(rightPinPath);\n //\n MapperSwingTreeModel leftTreeModel = prepData.bmm.getLeftTreeModel();\n TreePath leftPinPath = BpelMapperTestUtils.findInTree(\n leftTreeModel, \"/Variables/SimpleTargetVar/strAttr1\"); // NOI18N\n assertNotNull(leftPinPath);\n //\n BpelMapperTestUtils.addTransitLink(prepData.bmm, leftPinPath, rightPinPath);\n //\n Element peer = prepData.testAssign.getPeer();\n String assignText = new SimpleDomSerializer().serializeNode(peer);\n String snapshot = TestProperties.getMessage(FaultVarLSMsCreationTest.class,\n \"MAPPER_SNAPSHOT_FAULT_RT_CREATE_CAST_CAST\"); // NOI18N\n assertEquals(assignText, snapshot);\n }", "private static Instruction propagateCastAsScalarVariablePrivacy(VariableCPInstruction inst, ExecutionContext ec){\n\t\tinst = (VariableCPInstruction) propagateFirstInputPrivacy(inst, ec); \n\t\treturn preprocessInstructionSimple(inst, ec);\n\t}", "public final EObject ruleCastedExpression() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_3=null;\n EObject lv_castType_2_0 = null;\n\n EObject lv_castedExpr_4_0 = null;\n\n\n enterRule(); \n \n try {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2034:28: ( ( () otherlv_1= '(' ( (lv_castType_2_0= ruleType ) ) otherlv_3= ')' ( (lv_castedExpr_4_0= ruleJasperReportsExpression ) ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2035:1: ( () otherlv_1= '(' ( (lv_castType_2_0= ruleType ) ) otherlv_3= ')' ( (lv_castedExpr_4_0= ruleJasperReportsExpression ) ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2035:1: ( () otherlv_1= '(' ( (lv_castType_2_0= ruleType ) ) otherlv_3= ')' ( (lv_castedExpr_4_0= ruleJasperReportsExpression ) ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2035:2: () otherlv_1= '(' ( (lv_castType_2_0= ruleType ) ) otherlv_3= ')' ( (lv_castedExpr_4_0= ruleJasperReportsExpression ) )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2035:2: ()\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2036:5: \n {\n if ( state.backtracking==0 ) {\n\n current = forceCreateModelElement(\n grammarAccess.getCastedExpressionAccess().getCastedExpressionAction_0(),\n current);\n \n }\n\n }\n\n otherlv_1=(Token)match(input,51,FOLLOW_51_in_ruleCastedExpression4902); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_1, grammarAccess.getCastedExpressionAccess().getLeftParenthesisKeyword_1());\n \n }\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2045:1: ( (lv_castType_2_0= ruleType ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2046:1: (lv_castType_2_0= ruleType )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2046:1: (lv_castType_2_0= ruleType )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2047:3: lv_castType_2_0= ruleType\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCastedExpressionAccess().getCastTypeTypeParserRuleCall_2_0()); \n \t \n }\n pushFollow(FOLLOW_ruleType_in_ruleCastedExpression4923);\n lv_castType_2_0=ruleType();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getCastedExpressionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"castType\",\n \t\tlv_castType_2_0, \n \t\t\"Type\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,52,FOLLOW_52_in_ruleCastedExpression4935); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \tnewLeafNode(otherlv_3, grammarAccess.getCastedExpressionAccess().getRightParenthesisKeyword_3());\n \n }\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2067:1: ( (lv_castedExpr_4_0= ruleJasperReportsExpression ) )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2068:1: (lv_castedExpr_4_0= ruleJasperReportsExpression )\n {\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2068:1: (lv_castedExpr_4_0= ruleJasperReportsExpression )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:2069:3: lv_castedExpr_4_0= ruleJasperReportsExpression\n {\n if ( state.backtracking==0 ) {\n \n \t newCompositeNode(grammarAccess.getCastedExpressionAccess().getCastedExprJasperReportsExpressionParserRuleCall_4_0()); \n \t \n }\n pushFollow(FOLLOW_ruleJasperReportsExpression_in_ruleCastedExpression4956);\n lv_castedExpr_4_0=ruleJasperReportsExpression();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t if (current==null) {\n \t current = createModelElementForParent(grammarAccess.getCastedExpressionRule());\n \t }\n \t\tset(\n \t\t\tcurrent, \n \t\t\t\"castedExpr\",\n \t\tlv_castedExpr_4_0, \n \t\t\"JasperReportsExpression\");\n \t afterParserOrEnumRuleCall();\n \t \n }\n\n }\n\n\n }\n\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n leaveRule(); \n }\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "public void outATypeCastExp(ATypeCastExp node){\n\tPExp exp = node.getExp();\n\tType exptype = removeAlias(typemap.get(exp));\n\tPType castedtype = node.getType();\n\tType finaltype;\n\tif(castedtype instanceof AIntType){\n\t finaltype = new IntType();\n\t}\n\telse if(castedtype instanceof ABoolType){\n\t finaltype = new BooleanType();\n\t}\n\telse if(castedtype instanceof AFloatType){\n\t finaltype = new Float64Type();\n\t}\n\telse if(castedtype instanceof ARuneType){\n\t finaltype = new RuneType();\n\t}\n\telse throw new TypeException(\"[line \" + golite.weeder.LineNumber.getLineNumber(node) + \"] Type cast to a disallowed type.\");\n \n\tif((exptype instanceof IntType) ||(exptype instanceof Float64Type) ||(exptype instanceof BooleanType) ||(exptype instanceof RuneType)) typemap.put(node,finaltype);\n\telse throw new TypeException(\"[line \" + golite.weeder.LineNumber.getLineNumber(node) + \"] Type cast from a disallowed type.\");\n }", "@Test\n public void createLeftTypeCastTypeCast() throws Exception {\n //\n boolean inLeftTree = true;\n PreparationData prepData = prepareCastedPartOfFaultVar(inLeftTree);\n //\n MapperSwingTreeModel leftTreeModel = prepData.bmm.getLeftTreeModel();\n TreePath baseTypeElementPath = BpelMapperTestUtils.findInTree(prepData.treeNode,\n leftTreeModel, \"baseTypeElem\"); // NOI18N\n assertNotNull(baseTypeElementPath);\n //\n // Find global type and cast the left item to it\n GlobalComplexType targetGType = BpelMapperTestUtils.getGlobalTypeByName(\n mBpelModel, \"http://xml.netbeans.org/schema/Synchronous\",\n \"DerivedComplexType\", GlobalComplexType.class); // NOI18N\n assertNotNull(targetGType);\n //\n // Create a new cast\n TreePath castedPartPath = new BpelCastManager().addCastCmd(\n targetGType, baseTypeElementPath, inLeftTree, prepData.tcContext);\n assertNotNull(castedPartPath);\n //\n // Find the attrStr attribute inside of the new Pseudo Element.\n TreePath leftPinPath = BpelMapperTestUtils.findInTree(\n prepData.treeNode, leftTreeModel,\n \"(DerivedComplexType)baseTypeElem/strAttrA\"); // NOI18N\n assertNotNull(leftPinPath);\n //\n MapperSwingTreeModel rightTreeModel = prepData.bmm.getRightTreeModel();\n TreePath rightPinPath = BpelMapperTestUtils.findInTree(\n rightTreeModel, \"/Variables/SimpleTargetVar/strAttr1\"); // NOI18N\n assertNotNull(rightPinPath);\n //\n BpelMapperTestUtils.addTransitLink(prepData.bmm, leftPinPath, rightPinPath);\n //\n Element peer = prepData.testAssign.getPeer();\n String assignText = new SimpleDomSerializer().serializeNode(peer);\n String snapshot = TestProperties.getMessage(FaultVarLSMsCreationTest.class,\n \"MAPPER_SNAPSHOT_FAULT_LT_CREATE_CAST_CAST\"); // NOI18N\n assertEquals(assignText, snapshot);\n }", "private Expr process(Type type,\n long rightValue,\n long min,\n long max,\n Expr expr,\n Expr childOfCast) throws AnalysisException {\n // TODO: We could do constant folding here.\n if (rightValue < min || rightValue > max) {\n return expr;\n }\n replaceLeftChildWithNumericLiteral(expr, childOfCast, new IntLiteral(rightValue, type));\n return expr;\n }", "@Test\n public void testCastFunction() throws Exception {\n String sql = \"SELECT cast(a as string) FROM g\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node functionNode = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Function.ID);\n verifyProperty(functionNode, Function.NAME_PROP_NAME, \"cast\");\n verifyElementSymbol(functionNode, Function.ARGS_REF_NAME, 1, \"a\");\n verifyConstant(functionNode, Function.ARGS_REF_NAME, 2, \"string\");\n \n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n verifyUnaryFromClauseGroup(fromNode, From.CLAUSES_REF_NAME, 1, \"g\");\n \n verifySql(\"SELECT cast(a AS string) FROM g\", fileNode);\n }", "public <T> T cast();", "OpFunctionCast createOpFunctionCast();", "public void visitCheckCast(Quad obj) {\n if (TRACE_INTRA) out.println(\"Visiting: \"+obj);\n Register dest_r = CheckCast.getDest(obj).getRegister();\n Operand src = CheckCast.getSrc(obj);\n if (src instanceof RegisterOperand) {\n Register src_r = ((RegisterOperand)src).getRegister();\n Object s = getRegister(src_r);\n if (!include_cast_ops) {\n setRegister(dest_r, s);\n return;\n }\n CheckCastNode n = (CheckCastNode)nodeCache.get(obj);\n if (n == null) {\n n = CheckCastNode.get(CheckCast.getType(obj).getType(), \n new QuadProgramLocation(method, obj));\n nodeCache.put(obj, n);\n }\n Collection from = (s instanceof Collection) ? (Collection)s : Collections.singleton(s);\n Iterator i = from.iterator();\n while (i.hasNext()) {\n Node fn = (Node)i.next();\n Pair key = new Pair(fn, obj);\n if (castMap.put(key, n) == null)\n castPredecessors.add(fn);\n }\n setRegister(dest_r, n);\n } else {\n Node n = handleConst((ConstOperand) src, new QuadProgramLocation(method, obj));\n setRegister(dest_r, n);\n }\n }", "public T caseRealCast(RealCast object) {\n\t\treturn null;\n\t}", "public final void castExpression() throws RecognitionException {\n int castExpression_StartIndex = input.index();\n try { dbg.enterRule(getGrammarFileName(), \"castExpression\");\n if ( getRuleLevel()==0 ) {dbg.commence();}\n incRuleLevel();\n dbg.location(830, 1);\n\n try {\n if ( state.backtracking>0 && alreadyParsedRule(input, 123) ) { return ; }\n // Java.g:831:5: ( '(' primitiveType ')' unaryExpression | '(' ( type | expression ) ')' unaryExpressionNotPlusMinus )\n int alt147=2;\n try { dbg.enterDecision(147);\n\n int LA147_0 = input.LA(1);\n\n if ( (LA147_0==66) ) {\n int LA147_1 = input.LA(2);\n\n if ( (synpred233_Java()) ) {\n alt147=1;\n }\n else if ( (true) ) {\n alt147=2;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 147, 1, input);\n\n dbg.recognitionException(nvae);\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return ;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 147, 0, input);\n\n dbg.recognitionException(nvae);\n throw nvae;\n }\n } finally {dbg.exitDecision(147);}\n\n switch (alt147) {\n case 1 :\n dbg.enterAlt(1);\n\n // Java.g:831:8: '(' primitiveType ')' unaryExpression\n {\n dbg.location(831,8);\n match(input,66,FOLLOW_66_in_castExpression5047); if (state.failed) return ;\n dbg.location(831,12);\n pushFollow(FOLLOW_primitiveType_in_castExpression5049);\n primitiveType();\n\n state._fsp--;\n if (state.failed) return ;\n dbg.location(831,26);\n match(input,67,FOLLOW_67_in_castExpression5051); if (state.failed) return ;\n dbg.location(831,30);\n pushFollow(FOLLOW_unaryExpression_in_castExpression5053);\n unaryExpression();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n case 2 :\n dbg.enterAlt(2);\n\n // Java.g:832:8: '(' ( type | expression ) ')' unaryExpressionNotPlusMinus\n {\n dbg.location(832,8);\n match(input,66,FOLLOW_66_in_castExpression5062); if (state.failed) return ;\n dbg.location(832,12);\n // Java.g:832:12: ( type | expression )\n int alt146=2;\n try { dbg.enterSubRule(146);\n try { dbg.enterDecision(146);\n\n try {\n isCyclicDecision = true;\n alt146 = dfa146.predict(input);\n }\n catch (NoViableAltException nvae) {\n dbg.recognitionException(nvae);\n throw nvae;\n }\n } finally {dbg.exitDecision(146);}\n\n switch (alt146) {\n case 1 :\n dbg.enterAlt(1);\n\n // Java.g:832:13: type\n {\n dbg.location(832,13);\n pushFollow(FOLLOW_type_in_castExpression5065);\n type();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n case 2 :\n dbg.enterAlt(2);\n\n // Java.g:832:20: expression\n {\n dbg.location(832,20);\n pushFollow(FOLLOW_expression_in_castExpression5069);\n expression();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n } finally {dbg.exitSubRule(146);}\n\n dbg.location(832,32);\n match(input,67,FOLLOW_67_in_castExpression5072); if (state.failed) return ;\n dbg.location(832,36);\n pushFollow(FOLLOW_unaryExpressionNotPlusMinus_in_castExpression5074);\n unaryExpressionNotPlusMinus();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n break;\n\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n if ( state.backtracking>0 ) { memoize(input, 123, castExpression_StartIndex); }\n }\n dbg.location(833, 5);\n\n }\n finally {\n dbg.exitRule(getGrammarFileName(), \"castExpression\");\n decRuleLevel();\n if ( getRuleLevel()==0 ) {dbg.terminate();}\n }\n\n return ;\n }", "public static d.a r(Object var0) {\n var1_1 = false;\n var2_2 = new d.a();\n if (var0 instanceof d.a) {\n return (d.a)var0;\n }\n if (!(var0 instanceof String)) ** GOTO lbl9\n var2_2.type = 1;\n var2_2.fN = (String)var0;\n ** GOTO lbl40\nlbl9: // 1 sources:\n if (!(var0 instanceof List)) ** GOTO lbl16\n var2_2.type = 2;\n var3_3 = (List)var0;\n var0 = new ArrayList<E>(var3_3.size());\n var3_3 = var3_3.iterator();\n var1_1 = false;\n ** GOTO lbl43\nlbl16: // 1 sources:\n if (!(var0 instanceof Map)) ** GOTO lbl24\n var2_2.type = 3;\n var4_6 = ((Map)var0).entrySet();\n var0 = new ArrayList<E>(var4_6.size());\n var3_4 = new ArrayList<Object>(var4_6.size());\n var4_6 = var4_6.iterator();\n var1_1 = false;\n ** GOTO lbl52\nlbl24: // 1 sources:\n if (dh.s(var0)) {\n var2_2.type = 1;\n var2_2.fN = var0.toString();\n } else if (dh.t(var0)) {\n var2_2.type = 6;\n var2_2.fT = dh.u(var0);\n } else if (var0 instanceof Boolean) {\n var2_2.type = 8;\n var2_2.fU = (Boolean)var0;\n } else {\n var2_2 = new StringBuilder().append(\"Converting to Value from unknown object type: \");\n var0 = var0 == null ? \"null\" : var0.getClass().toString();\n bh.w(var2_2.append((String)var0).toString());\n return dh.aaN;\n }\nlbl40: // 6 sources:\n do {\n var2_2.fX = var1_1;\n return var2_2;\n break;\n } while (true);\nlbl43: // 2 sources:\n while (var3_3.hasNext()) {\n var4_5 = dh.r(var3_3.next());\n if (var4_5 == dh.aaN) {\n return dh.aaN;\n }\n var1_1 = var1_1 != false || var4_5.fX != false;\n var0.add(var4_5);\n }\n var2_2.fO = var0.toArray(new d.a[0]);\n ** GOTO lbl40\nlbl52: // 2 sources:\n while (var4_6.hasNext()) {\n var6_8 = (Map.Entry)var4_6.next();\n var5_7 = dh.r(var6_8.getKey());\n var6_8 = dh.r(var6_8.getValue());\n if (var5_7 == dh.aaN) return dh.aaN;\n if (var6_8 == dh.aaN) {\n return dh.aaN;\n }\n var1_1 = var1_1 != false || var5_7.fX != false || var6_8.fX != false;\n var0.add(var5_7);\n var3_4.add(var6_8);\n }\n var2_2.fP = var0.toArray(new d.a[0]);\n var2_2.fQ = var3_4.toArray(new d.a[0]);\n ** while (true)\n }", "T convert(S e);", "private static Number convert(Number value, UnitConverter cvtr,\r\n \t\t\tMathContext ctx) {\r\n \t\tif (cvtr instanceof RationalConverter) { // Try converting through Field\r\n \t\t\t\t\t\t\t\t\t\t\t\t\t// methods.\r\n \t\t\tRationalConverter rCvtr = (RationalConverter) cvtr;\r\n \t\t\tBigInteger dividend = rCvtr.getDividend();\r\n \t\t\tBigInteger divisor = rCvtr.getDivisor();\r\n \t\t\tif (dividend.abs().compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0)\r\n \t\t\t\tthrow new ArithmeticException(\"Multiplier overflow\"); //$NON-NLS-1$\r\n \t\t\tif (divisor.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0)\r\n \t\t\t\tthrow new ArithmeticException(\"Divisor overflow\"); //$NON-NLS-1$\r\n\t\t\tif (value instanceof BigInteger || value instanceof Long || value instanceof Integer) {\r\n\t\t\t\treturn (value.longValue() * dividend.longValue())\r\n \t\t\t\t\t/ (divisor.longValue());\r\n\t\t\t} else {\r\n\t\t\t\treturn (value.doubleValue() * dividend.doubleValue())\r\n\t\t\t\t\t/ (divisor.doubleValue());\r\n\t\t\t\t// TODO use actual BigDecimal methods for BigDecimal\r\n\t\t\t}\r\n \t\t} else if (cvtr instanceof AbstractConverter.Compound\r\n \t\t\t\t&& cvtr.isLinear()) { // Do it in two parts.\r\n \t\t\tAbstractConverter.Compound compound = (AbstractConverter.Compound) cvtr;\r\n \t\t\tNumber firstConversion = convert(value, compound.getRight(), ctx);\r\n \t\t\tNumber secondConversion = convert(firstConversion,\r\n \t\t\t\t\tcompound.getLeft(), ctx);\r\n \t\t\treturn secondConversion;\r\n \t\t} else { // Try using BigDecimal as intermediate.\r\n \t\t\tBigDecimal decimalValue = BigDecimal.valueOf(value.doubleValue());\r\n \t\t\tBigDecimal newValue = cvtr.convert(decimalValue, ctx);\r\n \t\t\treturn newValue;\r\n \t\t\t// if (((FieldNumber)value) instanceof Decimal)\r\n \t\t\t// return (N)((FieldNumber)Decimal.valueOf(newValue));\r\n \t\t\t// if (((FieldNumber)value) instanceof Float64)\r\n \t\t\t// return (N)((FieldNumber)Float64.valueOf(newValue.doubleValue()));\r\n \t\t\t// throw new ArithmeticException(\r\n \t\t\t// \"Generic amount conversion not implemented for amount of type \" +\r\n \t\t\t// value.getClass());\r\n \t\t}\r\n \t}", "protected IValue narrow(Object result){\n\t\tif(result instanceof Integer) {\n\t\t\treturn vf.integer((Integer)result);\n\t\t}\n\t\tif(result instanceof IValue) {\n\t\t\treturn (IValue) result;\n\t\t}\n\t\tif(result instanceof Thrown) {\n\t\t\t((Thrown) result).printStackTrace(stdout);\n\t\t\treturn vf.string(((Thrown) result).toString());\n\t\t}\n\t\tif(result instanceof Object[]) {\n\t\t\tIListWriter w = vf.listWriter();\n\t\t\tObject[] lst = (Object[]) result;\n\t\t\tfor(int i = 0; i < lst.length; i++){\n\t\t\t\tw.append(narrow(lst[i]));\n\t\t\t}\n\t\t\treturn w.done();\n\t\t}\n\t\tif(result == null){\n\t\t\treturn null;\n\t\t}\n\t\tthrow new InternalCompilerError(\"Cannot convert object back to IValue: \" + result);\n\t}", "public void visit(CastLookahead n) {\n n.f0.accept(this);\n }", "@SuppressWarnings(\"unused\")\n private CastExpression() {\n }", "public final void rule__XUnaryOperation__OperandAssignment_0_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12449:1: ( ( ruleXCastedExpression ) )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12450:1: ( ruleXCastedExpression )\n {\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12450:1: ( ruleXCastedExpression )\n // ../org.xtext.lwc.instances.ui/src-gen/org/xtext/lwc/instances/ui/contentassist/antlr/internal/InternalInstances.g:12451:1: ruleXCastedExpression\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXUnaryOperationAccess().getOperandXCastedExpressionParserRuleCall_0_2_0()); \n }\n pushFollow(FOLLOW_ruleXCastedExpression_in_rule__XUnaryOperation__OperandAssignment_0_224981);\n ruleXCastedExpression();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXUnaryOperationAccess().getOperandXCastedExpressionParserRuleCall_0_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "public int castToIntegerValue() {\n throw new IteratorFlowException(\"Cannot call castToDouble on non numeric\");\n }", "private void operator() {\n reduce();\n shift();\n getDispenser().advance();\n if(getDispenser().tokenIsNumber()) setState(State.NUMBER);\n else if (getDispenser().tokenIsLeftParen()) setState(State.LEFT_PAREN);\n else syntaxError(NUM);\n \n }", "private Stmt visitEval(Eval n) throws SemanticException {\n Position pos = n.position();\n if (n.expr() instanceof X10Unary_c) {\n X10Unary_c e = (X10Unary_c) n.expr();\n Position ePos = e.position();\n if (e.operator() == X10Unary_c.POST_DEC)\n return xnf.Eval(pos,\n visitUnary((X10Unary_c) xnf.Unary(ePos, X10Unary_c.PRE_DEC, e.expr())));\n if (e.operator() == X10Unary_c.POST_INC)\n return xnf.Eval(pos,\n visitUnary((X10Unary_c) xnf.Unary(ePos, X10Unary_c.PRE_INC, e.expr())));\n }\n return n;\n }", "@Override\n\tpublic O evaluate(I rTarget, Class<O> rClass)\n\t{\n\t\treturn rClass.cast(rTarget);\n\t}", "public X10Cast createCoercion(Position pos, Expr expr, Type toType) {\n try {\n // FIXME: Have to typeCheck, because the typechecker has already desugared this to a conversion chain\n return (X10Cast) xnf.X10Cast( pos, \n xnf.CanonicalTypeNode(pos, toType), \n expr, \n Converter.ConversionType.UNKNOWN_IMPLICIT_CONVERSION ).typeCheck(this);\n } catch (SemanticException e) {\n // work around for XTENLANG-1335\n try {\n return (X10Cast) xnf.X10Cast( pos, \n xnf.CanonicalTypeNode(pos, toType), \n expr, \n Converter.ConversionType.UNCHECKED ).typeCheck(this);\n } catch (SemanticException x) {\n // return null;\n }\n // end work around for XTENLANG-1335\n return null;\n }\n }", "public T convert(Number source)\r\n/* 26: */ {\r\n/* 27:56 */ return NumberUtils.convertNumberToTargetClass(source, this.targetType);\r\n/* 28: */ }", "public abstract S castToReturnType(T o);", "static <R, T extends R> R upcast(T fv) {\n return fv;\n }", "public static UnaryExpression convertChecked(Expression expression, Class type) { throw Extensions.todo(); }", "public Item evaluateItem(XPathContext context) throws XPathException {\n Item item = operand.evaluateItem(context);\n if (item==null) return null;\n return ((AtomicValue)item).convert(requiredPrimitiveType, context);\n }", "public Quantity coerceTo(Stella_Object y) {\n { Ratio x = this;\n\n { Surrogate testValue000 = Stella_Object.safePrimaryType(y);\n\n if (Surrogate.subtypeOfP(testValue000, Utilities.SGT_UTILITIES_RATIO)) {\n { Ratio y000 = ((Ratio)(y));\n\n return (y000);\n }\n }\n else if (Surrogate.subtypeOfIntegerP(testValue000)) {\n { IntegerWrapper y000 = ((IntegerWrapper)(y));\n\n return (Ratio.makeRatio(y000.wrapperValue, 1));\n }\n }\n else {\n { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();\n\n stream000.nativeStream.print(\"Can't convert `\" + y + \"' to a RATIO\");\n throw ((IncompatibleQuantityException)(IncompatibleQuantityException.newIncompatibleQuantityException(stream000.theStringReader()).fillInStackTrace()));\n }\n }\n }\n }\n }", "public LlvmValue visit(Assign n){\n\t\t\n\t\tSystem.out.format(\"assign********\\n\");\n\t\t\n\t\tLlvmValue rhs = n.exp.accept(this);\n\t\tLlvmRegister returns;\n\t\t//Nesta parte, para retornarmos o tipo certo, tivemos que converter todos os parametros do tipo\n\t\t//[ A x iB] para ponteiros. o Assembly reclamava quando tinha algum store ou algo do genero com tipos\n\t\t// diferentes\n\t\tif(rhs.type.toString().contains(\"x i\")){\n\t\t\t//System.out.format(\"expressao de rhs envolve arrays. fazendo casting...\\n\");\n\t\t\t\n\t\t\t//Fazer bitcast\n\t\t\tif(rhs.type.toString().contains(\" x i32\")){\n\t\t\t\treturns = new LlvmRegister(LlvmPrimitiveType.I32PTR);\n\t\t\t}else if(rhs.type.toString().contains(\" x i8\")){\n\t\t\t\treturns = new LlvmRegister(new LlvmPointer(LlvmPrimitiveType.I8));\n\t\t\t//Esse else eh meio inutil, mas pelo fato de eu querer usar elseif, deixei ele aqui mesmo.\n\t\t\t}else{\n\t\t\t\treturns = new LlvmRegister(rhs.type);\n\t\t\t}\n\t\t\t\n\t\t\tassembler.add(new LlvmBitcast(returns, rhs, returns.type));\n\t\t\tassembler.add(new LlvmStore(returns, n.var.accept(this)));\n\t\t}else{\n\t\t\t//Caso o tipo ja esteja ok, soh damos store com o rhs mesmo.\n\t\t\tassembler.add(new LlvmStore(rhs, n.var.accept(this)));\n\t\t}\n\t\treturn null;\n\t}", "private Expression evalExpressionAndSetLeft(Expression exp) {\n Type rightExpression = exp.getRightExpressionType(); // Get the right type from the given expression\n\n\t\t// Expression not filled yet, so return unmodified expression\n\t\tif (rightExpression.equals(Type.EMPTY)) {\n \t\treturn exp;\n \t}\n \tType typeOfExpression = typeConversionRules.expressionType(exp); // Look up the given expression's type in the Type Conversion Rules\n \tif (typeOfExpression == null) {\n \t\tthrow new UndeterminableTypeException(\"Expression not found in Type Conversion Rules\");\n \t}\n\n \t// Set evaluated expression to the expression's left type and reset other fields\n \texp.setLeftExpressionType(typeOfExpression);\n \texp.setExpressionSymbol(Connector.empty);\n \texp.setRightExpressionType(Type.EMPTY);\n \treturn exp;\n }", "@Test\n public void testMultiCastFunction() throws Exception {\n String sql = \"SELECT cast(cast(a as timestamp) as string) FROM g\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n Node function1Node = verifyExpressionSymbol(selectNode, Select.SYMBOLS_REF_NAME, Function.ID);\n verifyProperty(function1Node, Function.NAME_PROP_NAME, \"cast\");\n Node function2Node = verify(function1Node, Function.ARGS_REF_NAME, 1, Function.ID);\n verifyConstant(function1Node, Function.ARGS_REF_NAME, 2, \"string\");\n\n verifyElementSymbol(function2Node, Function.ARGS_REF_NAME, 1, \"a\");\n verifyConstant(function2Node, Function.ARGS_REF_NAME, 2, \"timestamp\");\n \n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n verifyUnaryFromClauseGroup(fromNode, From.CLAUSES_REF_NAME, 1, \"g\");\n \n verifySql(\"SELECT cast(cast(a AS timestamp) AS string) FROM g\", fileNode);\n }", "public R visit(com.biosimilarity.lift.lib.scalar.Absyn.Transcription p, A arg)\n {\n\n p.expression_.accept(new ExpressionVisitor<R,A>(), arg);\n\n return null;\n }", "static void translate() {\n if(!token.equals(\"IF\")) {\r\n stack.add(lexeme);\r\n index++;\r\n\r\n // Add assignment operator to the intermediate stack\r\n lex();\r\n stack.add(lexeme);\r\n index++;\r\n\r\n lex();\r\n while (!token.equals(\"END\")) {\r\n\r\n if (lexeme.equals(\"(\")) {\r\n tParen();\r\n } else if (token.equals(\"PLUS\") || token.equals(\"MINUS\") || token.equals(\"STAR\") || token.equals(\"DIVOP\") || token.equals(\"MOD\")) {\r\n stack.add(index, lexeme);\r\n index++;\r\n\r\n lex();\r\n if (lexeme.equals(\"(\")) {\r\n tParen();\r\n } else {\r\n index--;\r\n stack.add(index, lexeme);\r\n index++;\r\n index++;\r\n }\r\n } else {\r\n index--;\r\n stack.add(index, lexeme);\r\n index++;\r\n }\r\n\r\n lex();\r\n\r\n if (token.equals(\"END\"))\r\n break;\r\n\r\n if (token.equals(\"IDENTIFIER\")) {\r\n index++;\r\n break;\r\n }\r\n\r\n if (token.equals(\"IF\")) {\r\n index++;\r\n break;\r\n }\r\n }\r\n\r\n // Beginning the execution and evaluation of the translated code.\r\n index = 0;\r\n\r\n while (!stack.get(index).equals(\"=\") && !stack.get(index).equals(\"+\") && !stack.get(index).equals(\"-\") &&\r\n !stack.get(index).equals(\"*\") && !stack.get(index).equals(\"/\") && !stack.get(index).equals(\"%\")) {\r\n index ++;\r\n }\r\n\r\n int value = 0;\r\n int operand1 = 0;\r\n int operand2 = 0;\r\n String operator = stack.get(index);\r\n stack.remove(index);\r\n index--;\r\n\r\n if (operator.equals(\"=\")) {\r\n\r\n try {\r\n value = Integer.parseInt(stack.get(index));\r\n }\r\n catch (NumberFormatException e) {\r\n value = Integer.parseInt(varList.get(search(stack.get(index)) + 1));\r\n }\r\n\r\n stack.remove(index);\r\n index--;\r\n\r\n String id = stack.get(index);\r\n stack.remove(index);\r\n\r\n //System.out.println(\"\\n\" + id + \" is equal to \" + value);\r\n\r\n if (search(id) == -1) {\r\n varList.add(id);\r\n varList.add(Integer.toString(value));\r\n } else {\r\n varList.set(search(id) + 1, Integer.toString(value));\r\n }\r\n }\r\n\r\n else {\r\n try {\r\n operand2 = Integer.parseInt(stack.get(index));\r\n }\r\n catch (NumberFormatException e) {\r\n operand2 = Integer.parseInt(varList.get(search(stack.get(index)) + 1));\r\n }\r\n stack.remove(index);\r\n index--;\r\n\r\n try {\r\n operand1 = Integer.parseInt(stack.get(index));\r\n }\r\n catch (NumberFormatException e) {\r\n operand1 = Integer.parseInt(varList.get(search(stack.get(index)) + 1));\r\n }\r\n stack.remove(index);\r\n\r\n execute(evaluate(operand1, operand2, operator));\r\n }\r\n\r\n if (!token.equals(\"END\")) {\r\n translate();\r\n }\r\n }\r\n\r\n // IF STATEMENTS\r\n else {\r\n if(translateIF())\r\n translate();\r\n else\r\n skipStatement();\r\n }\r\n }", "private void jetCastExprStr(){\n\t\tCastExpr castExpr = (CastExpr) rExpr;\n\t\tValue immValue = castExpr.getOp();\n\t\tif(immValue instanceof Local){\n\t\t\tthis.exprStr = fileGenerator.getRenameOf(immValue, false, this.stmtIdx);\n\t\t}else{\n\t\t\tthis.exprStr = immValue.toString();\n\t\t}\n\t}", "private Proof faxm9Convert(Proof p, Proof q) {\n Expression a = ((Implication) p.lastExpr()).statement;\n Expression b = ((Implication) p.lastExpr()).consequence;\n return mpTwice(axm9(a, b), p, q);\n }", "@Test\n public void createRightTypeCastPredicate() throws Exception {\n //\n boolean inLeftTree = false;\n PreparationData prepData = prepareCastedPartOfFaultVar(inLeftTree);\n //\n MapperSwingTreeModel rightTreeModel = prepData.bmm.getRightTreeModel();\n TreePath predSabjectPath = BpelMapperTestUtils.findInTree(\n prepData.treeNode, rightTreeModel, \"MultipleComplexElement\"); // NOI18N\n assertNotNull(predSabjectPath);\n //\n // Create the new predicate\n BpelMapperPredicate newPred = BpelMapperTestUtils.constructPredicate(\n prepData.tcContext, predSabjectPath, \"@strAttr\"); // NOI18N\n assertNotNull(newPred);\n //\n // Add predicate to tree\n TreePath newPredicateTPath = new BpelPredicateManager(null).\n addPredicateCmd(newPred, predSabjectPath,\n inLeftTree, prepData.tcContext);\n assertNotNull(newPredicateTPath);\n //\n // Find the attrStr attribute inside of the new Pseudo Element.\n TreePath rightPinPath = BpelMapperTestUtils.findInTree(\n prepData.treeNode, rightTreeModel,\n \"MultipleComplexElement[@strAttr]/ElemB\"); // NOI18N\n assertNotNull(rightPinPath);\n //\n MapperSwingTreeModel leftTreeModel = prepData.bmm.getLeftTreeModel();\n TreePath leftPinPath = BpelMapperTestUtils.findInTree(\n leftTreeModel, \"/Variables/SimpleTargetVar/strAttr1\"); // NOI18N\n assertNotNull(leftPinPath);\n //\n BpelMapperTestUtils.addTransitLink(prepData.bmm, leftPinPath, rightPinPath);\n //\n Element peer = prepData.testAssign.getPeer();\n String assignText = new SimpleDomSerializer().serializeNode(peer);\n String snapshot = TestProperties.getMessage(FaultVarLSMsCreationTest.class,\n \"MAPPER_SNAPSHOT_FAULT_RT_CREATE_CAST_PRED\"); // NOI18N\n assertEquals(assignText, snapshot);\n }", "T convert(S s) throws UnconvertableException;", "protected abstract Object transform(Object o);", "public int cast(String s) {\n\n //System.err.println(this+\" \"+slexic+\"cast s = \" + s);\n Integer i = slexic.get(s);\n\n if (i==null) return 0; // unknown symbol - this happens in transfer\n\n return (int) i;\n }", "@Override // kotlinx.coroutines.flow.FlowCollector\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public java.lang.Object emit(java.lang.Object r9, kotlin.coroutines.Continuation r10) {\n /*\n r8 = this;\n boolean r0 = r10 instanceof kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1\n if (r0 == 0) goto L_0x0013\n r0 = r10\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r0 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r0\n int r1 = r0.label\n r2 = -2147483648(0xffffffff80000000, float:-0.0)\n r3 = r1 & r2\n if (r3 == 0) goto L_0x0013\n int r1 = r1 - r2\n r0.label = r1\n goto L_0x0018\n L_0x0013:\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r0 = new kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1\n r0.<init>(r10)\n L_0x0018:\n java.lang.Object r10 = r0.result\n java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r2 = r0.label\n r3 = 2\n r4 = 1\n if (r2 == 0) goto L_0x005e\n if (r2 == r4) goto L_0x0044\n if (r2 != r3) goto L_0x003c\n java.lang.Object r8 = r0.L$6\n kotlinx.coroutines.flow.FlowCollector r8 = (kotlinx.coroutines.flow.FlowCollector) r8\n java.lang.Object r8 = r0.L$4\n kotlin.coroutines.Continuation r8 = (kotlin.coroutines.Continuation) r8\n java.lang.Object r8 = r0.L$2\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r8 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r8\n java.lang.Object r8 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2 r8 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2) r8\n kotlin.ResultKt.throwOnFailure(r10)\n goto L_0x009b\n L_0x003c:\n java.lang.IllegalStateException r8 = new java.lang.IllegalStateException\n java.lang.String r9 = \"call to 'resume' before 'invoke' with coroutine\"\n r8.<init>(r9)\n throw r8\n L_0x0044:\n java.lang.Object r8 = r0.L$6\n kotlinx.coroutines.flow.FlowCollector r8 = (kotlinx.coroutines.flow.FlowCollector) r8\n java.lang.Object r9 = r0.L$5\n java.lang.Object r2 = r0.L$4\n kotlin.coroutines.Continuation r2 = (kotlin.coroutines.Continuation) r2\n java.lang.Object r4 = r0.L$3\n java.lang.Object r5 = r0.L$2\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2$1 r5 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.AnonymousClass1) r5\n java.lang.Object r6 = r0.L$1\n java.lang.Object r7 = r0.L$0\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2 r7 = (kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2) r7\n kotlin.ResultKt.throwOnFailure(r10)\n goto L_0x0084\n L_0x005e:\n kotlin.ResultKt.throwOnFailure(r10)\n kotlinx.coroutines.flow.FlowCollector r10 = kotlinx.coroutines.flow.FlowCollector.this\n kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1 r2 = r2\n kotlin.jvm.functions.Function2 r2 = r2.$action$inlined\n r0.L$0 = r8\n r0.L$1 = r9\n r0.L$2 = r0\n r0.L$3 = r9\n r0.L$4 = r0\n r0.L$5 = r9\n r0.L$6 = r10\n r0.label = r4\n java.lang.Object r2 = r2.invoke(r9, r0)\n if (r2 != r1) goto L_0x007e\n return r1\n L_0x007e:\n r7 = r8\n r4 = r9\n r6 = r4\n r8 = r10\n r2 = r0\n r5 = r2\n L_0x0084:\n r0.L$0 = r7\n r0.L$1 = r6\n r0.L$2 = r5\n r0.L$3 = r4\n r0.L$4 = r2\n r0.L$5 = r9\n r0.L$6 = r8\n r0.label = r3\n java.lang.Object r10 = r8.emit(r9, r0)\n if (r10 != r1) goto L_0x009b\n return r1\n L_0x009b:\n return r10\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.AnonymousClass2.emit(java.lang.Object, kotlin.coroutines.Continuation):java.lang.Object\");\n }", "public static UnaryExpression convertChecked_(Expression expression, Class type, Method method) { throw Extensions.todo(); }", "InstCast createInstCast();", "@Override\n protected IRStatement compile_impl()\n {\n\n IRExpression exceptionValue = ExpressionTransformer.compile( _stmt().getExpression(), _cc() );\n if (JavaTypes.THROWABLE().isAssignableFrom( _stmt().getExpression().getType() ) ) {\n // It's definitely a Throwable: if it's a synthetic type like a SOAP exception type, the verifier\n // might not actually know it's a throwable, though\n if ( !getDescriptor(Throwable.class).isAssignableFrom(exceptionValue.getType())) {\n // If the IR type of the value isn't assignable to Throwable, then wrap it in a cast, since we know it will work\n // out at runtime (unless someone constructed a totally invalid type loader, in which case . . . what can you do?)\n exceptionValue = buildCast( getDescriptor(Throwable.class), exceptionValue );\n }\n return buildThrow( exceptionValue );\n } else {\n IRSymbol temp = _cc().makeAndIndexTempSymbol( getDescriptor( _stmt().getExpression().getType() ) );\n IRStatement tempAssignment = buildAssignment( temp, exceptionValue );\n\n IRExpression test = new IRInstanceOfExpression( identifier( temp ), getDescriptor( Throwable.class ) );\n IRStatement trueCase = buildThrow( checkCast( Throwable.class, identifier( temp ) ) );\n IRStatement falseCase = buildThrow( buildNewExpression( EvaluationException.class, new Class[]{String.class},\n exprList( checkCast( String.class, identifier( temp ) ) ) ) );\n IRStatement ifStatement = buildIfElse( test, trueCase, falseCase);\n\n return new IRStatementList( false, tempAssignment, ifStatement);\n }\n }", "@RepeatedTest(20)\n void transformtoIntTest() {\n assertEquals(bi.transformtoInt(), new Int(bi.toInt(binary)));\n assertEquals(i.transformtoInt(),i);\n\n //Nulls\n assertEquals(f.transformtoInt(),Null);\n assertEquals(st.transformtoInt(),Null);\n assertEquals(bot.transformtoInt(),Null);\n assertEquals(bof.transformtoInt(),Null);\n assertEquals(Null.transformtoInt(),Null);\n }", "@Override\r\n\tpublic Value interpret() {\n\t\treturn null;\r\n\t}", "public Type typeCheck(SymbolTable stable) throws TypeCheckError {\n final Type tleft = _left.typeCheck(stable);\n final Type tright = _right.typeCheck(stable);\n\n if (tleft.isSimple() && tright.isSimple()) {\n if (tleft != tright) {\n if (tleft instanceof BooleanType) {\n _right = new CastExpr(_right, Type.Boolean);\n }\n else if (tright instanceof BooleanType) {\n _left = new CastExpr(_left, Type.Boolean);\n }\n else if (tleft instanceof NumberType ||\n tright instanceof NumberType) {\n _left = new CastExpr(_left, Type.Real);\n _right = new CastExpr(_right, Type.Real);\n }\n else { // both compared as strings\n _left = new CastExpr(_left, Type.String);\n _right = new CastExpr(_right, Type.String);\n }\n }\n }\n else if (tleft instanceof ReferenceType) {\n _right = new CastExpr(_right, Type.Reference);\n }\n else if (tright instanceof ReferenceType) {\n _left = new CastExpr(_left, Type.Reference);\n }\n // the following 2 cases optimize @attr|.|.. = 'string'\n else if (tleft instanceof NodeType && tright == Type.String) {\n _left = new CastExpr(_left, Type.String);\n }\n else if (tleft == Type.String && tright instanceof NodeType) {\n _right = new CastExpr(_right, Type.String);\n }\n // optimize node/node\n else if (tleft instanceof NodeType && tright instanceof NodeType) {\n _left = new CastExpr(_left, Type.String);\n _right = new CastExpr(_right, Type.String);\n }\n else if (tleft instanceof NodeType && tright instanceof NodeSetType) {\n // compare(Node, NodeSet) will be invoked\n }\n else if (tleft instanceof NodeSetType && tright instanceof NodeType) {\n swapArguments(); // for compare(Node, NodeSet)\n }\n else {\n // At least one argument is of type node, node-set or result-tree\n\n // Promote an expression of type node to node-set\n if (tleft instanceof NodeType) {\n _left = new CastExpr(_left, Type.NodeSet);\n }\n if (tright instanceof NodeType) {\n _right = new CastExpr(_right, Type.NodeSet);\n }\n\n // If one arg is a node-set then make it the left one\n if (tleft.isSimple() ||\n tleft instanceof ResultTreeType &&\n tright instanceof NodeSetType) {\n swapArguments();\n }\n\n // Promote integers to doubles to have fewer compares\n if (_right.getType() instanceof IntType) {\n _right = new CastExpr(_right, Type.Real);\n }\n }\n return _type = Type.Boolean;\n }", "public final AstValidator.type_cast_return type_cast() throws RecognitionException {\n AstValidator.type_cast_return retval = new AstValidator.type_cast_return();\n retval.start = input.LT(1);\n\n\n CommonTree root_0 = null;\n\n CommonTree _first_0 = null;\n CommonTree _last = null;\n\n AstValidator.simple_type_return simple_type240 =null;\n\n AstValidator.map_type_return map_type241 =null;\n\n AstValidator.tuple_type_cast_return tuple_type_cast242 =null;\n\n AstValidator.bag_type_cast_return bag_type_cast243 =null;\n\n\n\n try {\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:424:11: ( simple_type | map_type | tuple_type_cast | bag_type_cast )\n int alt59=4;\n switch ( input.LA(1) ) {\n case BIGDECIMAL:\n case BIGINTEGER:\n case BOOLEAN:\n case BYTEARRAY:\n case CHARARRAY:\n case DATETIME:\n case DOUBLE:\n case FLOAT:\n case INT:\n case LONG:\n {\n alt59=1;\n }\n break;\n case MAP_TYPE:\n {\n alt59=2;\n }\n break;\n case TUPLE_TYPE_CAST:\n {\n alt59=3;\n }\n break;\n case BAG_TYPE_CAST:\n {\n alt59=4;\n }\n break;\n default:\n if (state.backtracking>0) {state.failed=true; return retval;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 59, 0, input);\n\n throw nvae;\n\n }\n\n switch (alt59) {\n case 1 :\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:424:13: simple_type\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_simple_type_in_type_cast2097);\n simple_type240=simple_type();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, simple_type240.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 2 :\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:424:27: map_type\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_map_type_in_type_cast2101);\n map_type241=map_type();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, map_type241.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 3 :\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:424:38: tuple_type_cast\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_tuple_type_cast_in_type_cast2105);\n tuple_type_cast242=tuple_type_cast();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, tuple_type_cast242.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n case 4 :\n // /home/hoang/DATA/WORKSPACE/trunk0408/src/org/apache/pig/parser/AstValidator.g:424:56: bag_type_cast\n {\n root_0 = (CommonTree)adaptor.nil();\n\n\n _last = (CommonTree)input.LT(1);\n pushFollow(FOLLOW_bag_type_cast_in_type_cast2109);\n bag_type_cast243=bag_type_cast();\n\n state._fsp--;\n if (state.failed) return retval;\n if ( state.backtracking==0 ) \n adaptor.addChild(root_0, bag_type_cast243.getTree());\n\n\n if ( state.backtracking==0 ) {\n }\n }\n break;\n\n }\n if ( state.backtracking==0 ) {\n\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\n }\n\n }\n\n catch(RecognitionException re) {\n throw re;\n }\n\n finally {\n \t// do for sure before leaving\n }\n return retval;\n }", "private void evalExpression () {\n\tif (expr.type != null) {\n\t // Expression ist wie vorgesehen getypt\n\t if (expr.type instanceof M_Bool) {\n\t\t// Expression ist eine boolesche, also :\n\t\tdebug.addMsg(\"# expression to evaluate is boolean.\",3);\n\t\tSimulatorBoolEvaluator boolExpr = new SimulatorBoolEvaluator(process, expr);\n\t\tvalue = new SimulatorBoolValue ( boolExpr.giveResult() );\n\t }\n\t else if (expr.type instanceof M_Int) {\n\t\t// Expression ist eine zu Integer evaluierende, also :\n\t\tdebug.addMsg(\"# expression to evaluate is integer.\",3);\n\t\tSimulatorIntEvaluator intExpr = new SimulatorIntEvaluator(process, expr);\n\t\tvalue = new SimulatorIntValue ( intExpr.giveResult() ); \n\t }\n\t else {\n\t /* Platz für Exception, da Expression falsch getypt */\n\t debug.addMsg(\"!!! EXCEPTION !!! : Expression not properly typed \",0);\n\t debug.addMsg(\"!!! Class: SimulatorExprEvaluator \\n!!! Method : evalExpression\\n!!! Pos.:1 \",0);\n\t }\n\n\t} //--------- end if(1) ------------\n\telse {\n\t // Expression ist nicht getypt also :\n\t debug.addMsg(\"!!! EXCEPTION !!! : Expression not typed \",0);\n\t debug.addMsg(\"!!! Class: SimulatorExprEvaluator \\n!!! Method : evalExpression\\n!!! Pos.:2 \",0);\n\t} //-------- end else --------------\n }", "SEIntegerVariable getOperand2();", "public static UnaryExpression convert_(Expression expression, Class type, Method method) { throw Extensions.todo(); }", "private static void LessonBoxUnboxCast() {\n int x = 10;\n Object o = x;\n //System.out.println(o + o); //since o is an object you can't uses the + operator\n //LessonReflectionAndGenerics(o.getClass());\n\n // Example Unboxing (this is casting, explicit casting)\n int y = (int) o;\n System.out.println(y);\n\n // Example Implicit casting you can go from smaller data type to a bigger data type\n //But not the other way around unless you use explicit casting\n int i = 100;\n double d = i;\n System.out.println(d);\n\n // Example of tryin to cast a bigger data type into a smaller data type\n double a = 1.92;\n //int b = a; //gets and error\n //need to be explicit\n int b = (int) a;\n System.out.println(b);\n }", "private Proof faxm2Convert(Proof p, Proof q) {\n Expression a = ((Implication) p.lastExpr()).statement;\n Expression b = ((Implication) p.lastExpr()).consequence;\n Expression c = ((Implication) ((Implication) q.lastExpr()).consequence).consequence;\n return mpTwice(axm2(a, b, c), p, q);\n }", "private void toRent() {\n }", "public boolean esCasting() throws IOException {\n\t\t\n\t\t// Procesamos los 3 tokens\n\t\tToken token1 = this.nextToken();\n\t\ttoken1.setCatLexica(reconoceCategoria(token1.get_lexema()));\n\t\tToken token2 = this.nextToken();\n\t\ttoken2.setCatLexica(reconoceCategoria(token2.get_lexema()));\n\t\tToken token3 = this.nextToken();\n\t\ttoken3.setCatLexica(reconoceCategoria(token3.get_lexema()));\n\t\tboolean casting = false;\n\t\t// Comprobamos que se cumpla que los 3 siguientes tokens corresponden a un operador\n\t\tif (token1.getCatLexica().equals(CategoriaLexica.AbreParentesis) \n\t\t\t\t&& (token2.get_lexema().equals(\"natural\") || token2.get_lexema().equals(\"character\") \n\t\t\t\t\t|| token2.get_lexema().equals(\"integer\") || token2.get_lexema().equals(\"float\")) \n\t\t\t\t&& token3.getCatLexica().equals(CategoriaLexica.CierraParentesis)) {\n\t\t\t\t\tcasting = true;\t\t\t\t\t\n\t\t\t}\t\t\t\n\t\t\n\t\t// Volvemos a poner los tokens en el buffer\n\t\tbufferLocal.insertarEnCabeza(token3);\n\t\tbufferLocal.insertarEnCabeza(token2);\n\t\tbufferLocal.insertarEnCabeza(token1);\n\t\treturn casting;\n\t}", "public static void main(String[] args){\n\n int a = (int) 3.14;\n System.out.println(a);\n //Outputs 3\n\n // The code above is casting the value 3.14 to an integer, with 3 as the resulting value.\n\n double b = 42.571;\n int c = (int) b;\n System.out.println(c);\n//Outputs 42\n\n /*\n Java supports automatic type casting of integers to floating points, since there is no loss of precision.\nOn the other hand, type casting is mandatory when assigning floating point values to integer variables.\n */\n\n // downcasting\n\n /*\n Why is upcasting automatic, downcasting manual?\n Well, upcasting can never fail.\n But if you have a group of different Animals and want to downcast them all to a Cat,\n then there's a chance that some of these Animals are actually Dogs, so the process fails.\n */\n\n /*Upcasting*/\n\n// You can cast an instance of a subclass to its superclass.\n\n// Consider the following example, assuming that Cat is a subclass of Animal.\n// Animal a = new Cat();\n//\n// Java automatically upcasted the Cat type variable to the Animal type.\n//\n /*Downcasting */\n\n// Casting an object of a superclass to its subclass is called downcasting.\n// Example:\n\n// Animal a = new Animal();\n// ((Cat)a).makeSound();\n//\n// This will try to cast the variable a to the Cat type and call its makeSound() method.\n\n\n }", "private static PreparationData prepareCastedPartOfFaultVar(boolean leftTree) {\n //\n PreparationData resultData = new PreparationData();\n //\n Catch testCatch = BpelMapperTestUtils.findFirstUnnamed(\n mBpelModel.getProcess(), Catch.class);\n assertNotNull(testCatch);\n //\n Sequence testSeq = BpelMapperTestUtils.findFirstActivity(\n testCatch, \"TestCatchSequence\", Sequence.class); // NOI18N\n assertNotNull(testSeq);\n //\n varNameCounter++;\n // Creates a new assign with a new name each time.\n Assign testAssign = BpelMapperTestUtils.createNewAssign(\n testSeq, \"TestAssign\" + varNameCounter, 0); // NOI18N\n assertNotNull(testAssign);\n resultData.testAssign = testAssign;\n //\n resultData.tcContext = BpelMapperTestUtils.loadMapper(testAssign);\n MapperModel mModel = resultData.tcContext.getMapperModel();\n assertNotNull(mModel);\n assertEquals(mModel.getClass(), BpelMapperModel.class);\n resultData.bmm = BpelMapperModel.class.cast(mModel);\n //\n MapperSwingTreeModel treeModel = leftTree ? \n resultData.bmm.getLeftTreeModel() : resultData.bmm.getRightTreeModel();\n //\n // Look for existing casted part\n TreePath castedPartPath = BpelMapperTestUtils.findInTree(treeModel,\n \"/Variables/Catch/faultVar/(DerivedComplexType)testPart\"); // NOI18N\n if (castedPartPath == null) {\n //\n // If ther isn't any then create new.\n TreePath testPartPath = BpelMapperTestUtils.findInTree(\n treeModel, \"/Variables/Catch/faultVar/testPart\"); // NOI18N\n assertNotNull(testPartPath);\n //\n // Find global type and cast the left item to it\n GlobalComplexType targetGType = BpelMapperTestUtils.getGlobalTypeByName(\n mBpelModel, \"http://xml.netbeans.org/schema/Synchronous\",\n \"DerivedComplexType\", GlobalComplexType.class); // NOI18N\n assertNotNull(targetGType);\n //\n // Create a new cast\n castedPartPath = new BpelCastManager().addCastCmd(\n targetGType, testPartPath, leftTree, resultData.tcContext);\n assertNotNull(castedPartPath);\n }\n //\n TreeItem castedPartTreeItem = MapperSwingTreeModel.getTreeItem(castedPartPath);\n assertNotNull(castedPartTreeItem);\n assert castedPartTreeItem instanceof MapperTreeNode;\n //\n resultData.treeNode = MapperTreeNode.class.cast(castedPartTreeItem);\n //\n return resultData;\n }", "@Override\n public Node visit(BinaryExpression nd, Void v) {\n if (\"??\".equals(nd.getOperator())) return nd;\n return nd.getLeft().accept(this, v);\n }", "T convert(S source) throws ConversionException;", "public Object visitRelationalExpression(GNode n) {\n Object a, b, result;\n String op;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n b = dispatch(n.getGeneric(2));\n op = n.getString(1);\n \n dostring = false;\n \n if (a instanceof Long && b instanceof Long) {\n Long x = (Long) a;\n Long y = (Long) b;\n long zero = 0;\n long one = 1;\n \n if (op.equals(\"<\")) {\n result = x < y ? one : zero;\n }\n else if (op.equals(\"<=\")) {\n result = x <= y ? one : zero;\n }\n else if (op.equals(\">\")) {\n result = x > y ? one : zero;\n }\n else if (op.equals(\">=\")) {\n result = x >= y ? one : zero;\n }\n else {\n result = \"\";\n }\n }\n else {\n result = parens(a) + \" \" + op + \" \" + parens(b);\n }\n \n return result;\n }", "public Object visitShiftExpression(GNode n) {\n Object a, b, result;\n String op;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n b = dispatch(n.getGeneric(2));\n op = n.getString(1);\n \n dostring = false;\n \n if (a instanceof Long && b instanceof Long) {\n if (op.equals(\"<<\")) {\n result = (Long) a << (Long) b;\n }\n else if (op.equals(\">>\")) {\n result = (Long) a >> (Long) b;\n }\n else {\n result = \"\";\n }\n }\n else {\n result = parens(a) + \" \" + op + \" \" + parens(b);\n }\n \n return result;\n }", "public Integer perform (IExpression left, IExpression right);", "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 }", "@Override\n\tpublic Number operate(Number expr1) {\n\t\treturn null;\n\t}", "public final void synpred9_InternalJavaJRExpression_fragment() throws RecognitionException { \n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:928:7: ( ruleCastedExpression )\n // ../com.jaspersoft.studio.editor.jrexpressions/src-gen/com/jaspersoft/studio/editor/jrexpressions/parser/antlr/internal/InternalJavaJRExpression.g:928:9: ruleCastedExpression\n {\n pushFollow(FOLLOW_ruleCastedExpression_in_synpred9_InternalJavaJRExpression2206);\n ruleCastedExpression();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n }", "default Object convert(GenericRowData row) {\n return convert(row, -1);\n }", "@Override\n public void buildConvert() throws LibrecException {\n super.buildConvert();\n }", "private static final EvaluationAccessor convert(EvaluationAccessor operand, IDatatype targetType) {\r\n EvaluationAccessor result = null;\r\n Value oVal = operand.getValue();\r\n if (oVal instanceof ContainerValue) {\r\n ContainerValue cont = (ContainerValue) oVal;\r\n // due to releasing Accessors create always\r\n try {\r\n Value rValue;\r\n if (Set.TYPE.isAssignableFrom(targetType)) {\r\n if (1 == oVal.getType().getGenericTypeCount()) {\r\n targetType = new Set(\"set\", oVal.getType().getGenericType(0), null);\r\n }\r\n HashSet<Object> done = new HashSet<Object>();\r\n ArrayList<Object> tmp = new ArrayList<Object>();\r\n for (int i = 0; i < cont.getElementSize(); i++) {\r\n Object elt = cont.getElement(i);\r\n if (!done.contains(elt)) {\r\n done.add(elt);\r\n tmp.add(elt); // for now we try to keep the sequence\r\n }\r\n }\r\n Object[] array = new Object[tmp.size()];\r\n tmp.toArray(array);\r\n rValue = ValueFactory.createValue(targetType, (Object[]) array);\r\n } else {\r\n rValue = ValueFactory.createValue(targetType, (Object[]) null);\r\n rValue.setValue(cont);\r\n }\r\n result = ConstantAccessor.POOL.getInstance().bind(rValue, operand.getContext());\r\n } catch (ValueDoesNotMatchTypeException e) {\r\n operand.getContext().addErrorMessage(e);\r\n }\r\n }\r\n return result;\r\n }", "public final void synpred229_Java_fragment() throws RecognitionException {\n // Java.g:826:9: ( castExpression )\n dbg.enterAlt(1);\n\n // Java.g:826:9: castExpression\n {\n dbg.location(826,9);\n pushFollow(FOLLOW_castExpression_in_synpred229_Java5009);\n castExpression();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n }", "public void endVisit(JBinaryOperation x, Context ctx) {\n if (x.getOp() == JBinaryOperator.ASG && x.getLhs() instanceof JArrayRef) {\n \n // first, calculate the transitive closure of all possible runtime types\n // the lhs could be\n JExpression instance = ((JArrayRef) x.getLhs()).getInstance();\n if (instance.getType() instanceof JNullType) {\n // will generate a null pointer exception instead\n return;\n }\n JArrayType lhsArrayType = (JArrayType) instance.getType();\n JType elementType = lhsArrayType.getElementType();\n \n // primitives are statically correct\n if (!(elementType instanceof JReferenceType)) {\n return;\n }\n \n // element type being final means the assignment is statically correct\n if (((JReferenceType) elementType).isFinal()) {\n return;\n }\n \n /*\n * For every instantiated array type that could -in theory- be the\n * runtime type of the lhs, we must record a cast from the rhs to the\n * prospective element type of the lhs.\n */\n JTypeOracle typeOracle = program.typeOracle;\n JType rhsType = x.getRhs().getType();\n assert (rhsType instanceof JReferenceType);\n JReferenceType refRhsType = (JReferenceType) rhsType;\n for (Iterator it = instantiatedArrayTypes.iterator(); it.hasNext();) {\n JArrayType arrayType = (JArrayType) it.next();\n if (typeOracle.canTheoreticallyCast(arrayType, lhsArrayType)) {\n JType itElementType = arrayType.getElementType();\n if (itElementType instanceof JReferenceType) {\n recordCastInternal((JReferenceType) itElementType, refRhsType);\n }\n }\n }\n }\n }", "@Override\n\tpublic void visit(NextValExpression arg0) {\n\t\t\n\t}", "public T caseExprArithmetic(ExprArithmetic object)\n {\n return null;\n }", "SEIntegerVariable getOperand1();", "public Object visitUnaryPlusExpression(GNode n) {\n nonboolean = true;\n \n return dispatch(n.getGeneric(0));\n }", "protected abstract Value evaluate();", "private void int_to_int_step( ExpressionNode nd, VMState vms ) {\n Assert.check( vms.top().at( nd ) == null ) ;\r\n \r\n // Clear the selection\r\n vms.top().setSelected( null ) ;\r\n \r\n // Get the operand value\r\n long x = getIntOperand( nd, vms, 0 ) ;\r\n \r\n // Compute the value\r\n Assert.check( op_code == IABS ) ;\r\n long value = x < 0 ? -x : x ;\r\n \r\n putIntResult(nd, vms, value ) ;\r\n }", "public String convert(ArithmeticExpression expression)\n {\n String expressionString = expression.getExpression();\n String convertedExpression = \"\";\n Stack<String> OpStack = new Stack<>();\n\n int startIndex = 0;\n while(startIndex < expressionString.length())\n {\n if(isOperand(nextToken(expressionString,startIndex)))\n {\n convertedExpression += nextToken(expressionString,startIndex);\n convertedExpression += \" \";\n\n }\n if(Brackets.isLeftBracket(nextToken(expressionString,startIndex)))\n {\n OpStack.push(nextToken(expressionString,startIndex));\n }\n if(Brackets.isRightBracket(nextToken(expressionString,startIndex)))\n {\n String topOp = OpStack.pop();\n while(!Brackets.isLeftBracket(topOp))\n {\n convertedExpression += topOp;\n convertedExpression += \" \";\n topOp = OpStack.pop();\n }\n }\n if(Operator.isOperator(nextToken(expressionString,startIndex)))\n {\n Operator temp = Operator.of(nextToken(expressionString,startIndex));\n if(OpStack.isEmpty())\n {\n OpStack.push(nextToken(expressionString, startIndex));\n }\n else\n {\n Operator topOp = Operator.of(OpStack.peek());\n while (topOp.getRank() <= temp.getRank())\n {\n convertedExpression += OpStack.pop();\n convertedExpression += \" \";\n topOp = Operator.of(OpStack.peek());\n }\n OpStack.push(nextToken(expressionString, startIndex));\n\n }\n }\n if(isOperand(nextToken(expressionString,startIndex)))\n startIndex += nextToken(expressionString,startIndex).length();\n else\n startIndex++;\n }\n while(!OpStack.isEmpty())\n {\n convertedExpression += OpStack.pop();\n convertedExpression += \" \";\n }\n return convertedExpression;\n }", "X86.Operand gen_source_operand(boolean imm_ok, X86.Reg temp);", "public SqlNode convertCallToSql(DremioContext\n context, RexProgram program, RexCall call, boolean ignoreCast) {\n return null;\n }", "void visitOperandNumber(OperandNumber operand);", "@Override\n protected HardwareNode visit(BinaryExpressionASTNode node) throws Exception {\n var lnode = visit(node.getLeft());\n var rnode = visit(node.getRight());\n\n HardwareExpression finalexpr = null;\n String op = node.getOperator().getAsString();\n switch (op) {\n case \"+\":\n finalexpr = new AdditionExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n case \"-\":\n finalexpr = new SubtractionExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n case \"*\":\n finalexpr = new MultiplicationExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n case \"<<\":\n finalexpr = new LeftShiftExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n case \"&\":\n finalexpr = new BitWiseAndExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n case \"==\":\n finalexpr = new ComparisonExpression((HardwareExpression) lnode, (HardwareExpression) rnode);\n break;\n default:\n // finalexpr = new UnimplementedExpression((HardwareExpression) lnode, (HardwareExpression) rnode, op);\n throw new UnimplementedExpressionException(node.getAsString());\n }\n\n return new ParenthesisExpression(finalexpr);\n }", "public static Expression unwrap( Expression expr ) {\n\tType etype = ExpressionInternal.class.cast(expr).type() ;\n\n\tif (etype.equals( _t(\"java.lang.Boolean\")))\n\t return _call( expr, \"booleanValue\", _s(_boolean()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Byte\") ))\n\t return _call( expr, \"byteValue\", _s(_byte()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Character\") ))\n\t return _call( expr, \"charValue\", _s(_char()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Short\") ))\n\t return _call( expr, \"shortValue\", _s(_short()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Integer\") ))\n\t return _call( expr, \"intValue\", _s(_int()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Long\") ))\n\t return _call( expr, \"longValue\", _s(_long()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Float\") ))\n\t return _call( expr, \"floatValue\", _s(_float()) ) ;\n\telse if (etype.equals( _t(\"java.lang.Double\") ))\n\t return _call( expr, \"doubleValue\", _s(_double()) ) ;\n\telse return expr ;\n }", "void typePromition(int a, long b){\n\t\tSystem.out.println(\"Method-5 (TypePromotion) Result is: \" + (a+b));\n\t}" ]
[ "0.6912953", "0.671116", "0.64050627", "0.59886146", "0.59886146", "0.59886146", "0.5921783", "0.5852115", "0.582751", "0.58271694", "0.5741832", "0.5708834", "0.56366664", "0.5568922", "0.5562942", "0.5550854", "0.55421704", "0.5417791", "0.5342514", "0.534094", "0.5334384", "0.53314537", "0.52895063", "0.5275986", "0.5261724", "0.5260483", "0.52542955", "0.5246443", "0.5189525", "0.5170601", "0.5159158", "0.51501846", "0.5146319", "0.5050367", "0.5048487", "0.5028361", "0.50148493", "0.5004685", "0.49984148", "0.49934888", "0.49899545", "0.49814856", "0.49698794", "0.49637282", "0.4920814", "0.48942596", "0.48755568", "0.48738322", "0.48699707", "0.48672187", "0.48583037", "0.48525652", "0.4845039", "0.483787", "0.48349145", "0.48314723", "0.48215234", "0.48158926", "0.4802233", "0.4794801", "0.47946832", "0.47844794", "0.47804967", "0.47653827", "0.4764272", "0.47628915", "0.47558334", "0.47393382", "0.4726872", "0.47251123", "0.47200903", "0.47199753", "0.47193366", "0.471614", "0.47151482", "0.47124448", "0.47089523", "0.47067547", "0.47062775", "0.47055686", "0.46995386", "0.46943748", "0.46942124", "0.46793684", "0.46704412", "0.46680942", "0.46611938", "0.46601215", "0.46581483", "0.4649134", "0.4641817", "0.46353662", "0.46245408", "0.46167108", "0.46164432", "0.46150726", "0.46135622", "0.46041444", "0.46018586", "0.46004403" ]
0.5622588
13
Saves a new Company Record
public Company saveCompany(Company company);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void save(Company company) {\n\t\t\n\t}", "public void save(Company company) {\r\n\t\tsessionFactory.getCurrentSession().saveOrUpdate(company);\r\n\t}", "ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData addNewAuditingCompany();", "@Override\r\n\tpublic Company insertCompany(Company company) throws SQLException {\n\t\treturn companyRepository.save(company);\r\n\t}", "@Override\n\tpublic void addCompany(BeanCompany Company) {\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\n\t\tTransaction tx = session.beginTransaction();\n\t\ttry {\n\t\t\tsession.save(Company);\n\t\t\ttx.commit();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\ttx.rollback();\n\t\t}\n\t}", "@Override\r\n\tpublic void addCompany(Company company) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"insert into companies values(0, ?, ?, ?)\";\r\n\t\t\tPreparedStatement pstmt = con.prepareStatement(sql);\r\n\t\t\tif (company != null) {\r\n\t\t\t\tpstmt.setString(1, company.getCompName());\r\n\t\t\t\tpstmt.setString(2, company.getCompEmail());\r\n\t\t\t\tpstmt.setString(3, company.getCompPass());\r\n\t\t\t\tpstmt.executeUpdate();\r\n\r\n\t\t\t\tSystem.out.println(\"New company was added\");\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"addCompany Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "static void addNewCompany(SQLiteDatabase db, Company company) {\n ContentValues values = new ContentValues();\n values.put(COMPANY_ID, company.companyId);\n values.put(COMPANY_NAME, company.name);\n values.put(COMPANY_LOGO, company.companyLogo);\n values.put(COMPANY_DESCRIPTION, company.companyDescription);\n values.put(COMPANY_LAST_UPDATED, company.lastUpdatedDate);\n if (company.wasDeleted)\n values.put(COMPANY_WAS_DELETED, 1);\n else\n values.put(COMPANY_WAS_DELETED, 0);\n\n db.insert(COMPANY_TABLE, COMPANY_ID, values);\n }", "@Override\r\n\tpublic void insertCompany(Company company) throws Exception {\r\n\r\n\t\tconnectionPool = ConnectionPool.getInstance();\r\n\t\tConnection connection = connectionPool.getConnection();\r\n\r\n\t\tString sql = \"insert into Company(ID, COMP_NAME, PASSWORD, EMAIL) values (?,?,?,?)\";\r\n\r\n\t\ttry (PreparedStatement preparedStatement = connection.prepareStatement(sql)) {\r\n\r\n\t\t\tpreparedStatement.setLong(1, company.getCompanyId());\r\n\t\t\tpreparedStatement.setString(2, company.getCompanyName());\r\n\t\t\tpreparedStatement.setString(3, company.getCompanyPassword());\r\n\t\t\tpreparedStatement.setString(4, company.getCompanyEmail());\r\n\r\n\t\t\tpreparedStatement.executeUpdate();\r\n\r\n\t\t\tSystem.out.println(\"Company created: \" + company.toString());\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new Exception(\"DB error - Company creation failed. companyId: \"+ company.getCompanyId());\r\n\t\t}catch (Exception e) {\r\n\t\t\tthrow new Exception(\"Company creation failed. companyId: \"+ company.getCompanyId());\r\n\t\t} \r\n\t\tfinally {\r\n\t\t\tconnection.close();\r\n\t\t\tconnectionPool.returnConnection(connection);\r\n\t\t}\r\n\r\n\t}", "int insert(CompanyExtend record);", "public void createCompany(Company company) throws ApplicationException {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\n\t\ttry {\n\t\t\t// Establish a connection from the connection manager\n\t\t\tconnection = JdbcUtils.getConnection();\n\n\t\t\t// Creating the SQL query\n\t\t\t// CompanyID is defined as a primary key and auto incremented\n\t\t\tString sqlStatement = \"INSERT INTO companies (company_Name) VALUES (?)\";\n\n\t\t\t// Combining between the syntax and our connection\n\t\t\tpreparedStatement = connection.prepareStatement(sqlStatement);\n\n\t\t\t// Replacing the question marks in the statement above with the relevant data\n\t\t\tpreparedStatement.setString(1, company.getName());\n\n\t\t\t// Executing the update\n\t\t\tpreparedStatement.executeUpdate();\n\n\t\t} catch (SQLException e) {\n\t\t\t// **If there was an exception in the \"try\" block above, it is caught here and\n\t\t\t// notifies a level above.\n\t\t\te.printStackTrace();\n\t\t\tthrow new ApplicationException(e,ErrorType.GENERAL_ERROR,\n\t\t\t\t\tDateUtils.getCurrentDateAndTime() + \"FAILED to create a company\");\n\t\t} finally {\n\t\t\t// Closing the resources\n\t\t\tJdbcUtils.closeResources(connection, preparedStatement);\n\t\t}\n\t}", "ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData addNewCompanyBaseData();", "int insert(TycCompanyCheckCrawler record);", "public boolean saveManagedCompany(ManagedCompany company) {\n boolean result = false;\n if (company.getId() == 0) {\n result = this.createManagedCompany(company);\n } else {\n result = this.updateManagedCompany(company);\n }\n return result;\n }", "public static void saveMyCompany(MyCompany myCompany) {\n\t\tCompany company = myCompany.company;\n\t\tcompany.joinAddressWithCompany();\n\t\tcompany.joinAccountsWithCompany();\n\n\t\tif (company.id != null) {\n\t\t\tcompany.merge();\n\t\t}\n\t\tcompany.save();\n\n\t\tif (myCompany.id != null) {\n\t\t\tmyCompany.merge();\n\t\t}\n\t\tmyCompany.save();\n\n\t\trender(\"@myCompany\", myCompany);\n\t}", "@RequestMapping(value = \"/editsave\", method = RequestMethod.POST)\n\tpublic String editsave(@ModelAttribute(\"company\") CompanyDto company) {\n\t\tcompanyService.update(company);\n\t\treturn \"redirect:/companies/getAll\";\n\t}", "int insert(TycCompanyExecutiveCrawler record);", "public void insert(TmCompany tmCompany) {\n\t\ttmCompanyDao.insert(tmCompany);\r\n\t}", "public void setCompany(String company) {\n this.company = company;\n }", "@PostMapping(\"/company-types\")\n @Timed\n public ResponseEntity<CompanyType> createCompanyType(@Valid @RequestBody CompanyType companyType) throws URISyntaxException {\n log.debug(\"REST request to save CompanyType : {}\", companyType);\n if (companyType.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"companyType\", \"idexists\", \"A new companyType cannot already have an ID\")).body(null);\n }\n CompanyType result = companyTypeRepository.save(companyType);\n companyTypeSearchRepository.save(result);\n return ResponseEntity.created(new URI(\"/api/company-types/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"companyType\", result.getId().toString()))\n .body(result);\n }", "public void setCompanyId(long companyId);", "public void setCompanyId(long companyId);", "public void setCompanyId(long companyId);", "public void setCompanyId(long companyId);", "public void setCompanyId(long companyId);", "public CustomerCompany addOrUpdateCustomerCompany(CustomerCompany company) \n\t{\n\t\tif (company.getId() == null) \n\t\t{\n\t\t\tthis.entityManager.persist(company);\t\t\t\n\t\t} \n\t\telse \n\t\t{\n\t\t\tcompany = this.entityManager.merge(company);\n\t\t}\n\t\treturn company;\n\t}", "public long addCompany(CompanyEntity companyEntity) throws Exception {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n\n try {\n //Establish a connection from the connection manager\n connection = JdbcUtils.getConnection();\n\n //Creating the SQL query\n //CompanyID is defined as a primary key and auto incremented\n String sqlStatement = \"INSERT INTO companies (company_name, company_email, company_phone, company_address) VALUES(?,?,?,?)\";\n\n //Combining between the syntax and our connection\n preparedStatement = connection.prepareStatement(sqlStatement, Statement.RETURN_GENERATED_KEYS);\n\n //Replacing the question marks in the statement above with the relevant data\n preparedStatement.setString(1, companyEntity.getCompanyName());\n preparedStatement.setString(2, companyEntity.getCompanyEmail());\n preparedStatement.setString(3, companyEntity.getCompanyPhone());\n preparedStatement.setString(4, companyEntity.getCompanyAddress());\n\n //Executing the update\n preparedStatement.executeUpdate();\n\n ResultSet resultSet = preparedStatement.getGeneratedKeys();\n if (!resultSet.next()) {\n throw new ApplicationException(ErrorType.FAILED_CREATE_COMPANY, \"Invalid company key during creation\");\n }\n System.out.println(\"Company has been successfully added to DB\");\n return resultSet.getLong(1);\n\n } catch (Exception e) {\n //\t\t\te.printStackTrace();\n //If there was an exception in the \"try\" block above, it is caught here and notifies a level above.\n //\t\t\tthrow new ApplicationException(e, ErrorType.GENERAL_ERROR, DateUtils.getCurrentDateAndTime()\n //\t\t\t\t\t+\" Create company failed\");\n throw new Exception(\"Failed to create company \" + companyEntity.toString(), e);\n } finally {\n //Closing the resources\n JdbcUtils.closeResources(connection, preparedStatement);\n }\n }", "Company getOrCreateCompanyId(String companyID) throws Exception;", "public void setCompany(String company) {\r\n\t\tthis.company = company;\r\n\t}", "public void insertNew(Company company,\n\t\t\tDataImportParametersDTO dataImportParametersDTO, Long companyId) {\n\n\t\tList<DataImportLogDTO> insertOnlyLogs = new ArrayList<DataImportLogDTO>();\n\t\tList<DataImportKeyValueDTO> companyColName = dataImportParametersDTO\n\t\t\t\t.getEmpColName();\n\t\tString rowNumber = dataImportParametersDTO.getRowNumber();\n\t\tboolean isDynamic = dataImportParametersDTO.isDynamic();\n\t\tList<Long> formIds = dataImportParametersDTO.getFormIds();\n\t\tlong entityId = dataImportParametersDTO.getEntityId();\n\t\tList<String> tableNames = dataImportParametersDTO.getTableNames();\n\t\tList<HashMap<String, String>> colFormMapList = dataImportParametersDTO\n\t\t\t\t.getColFormMapList();\n\t\tList<String> dynRecordsName = dataImportParametersDTO\n\t\t\t\t.getDynRecordsName();\n\n\t\ttry {\n\n\t\t\tCompanyConditionDTO companyDTO = new CompanyConditionDTO();\n\t\t\tcompanyDTO.setCompanyCode(company.getCompanyCode());\n\t\t\tCompany existingCompanyRecord = companyDAO\n\t\t\t\t\t.findByCondition(companyDTO);\n\n\t\t\tif (companyColName.size() == 1\n\t\t\t\t\t&& companyColName\n\t\t\t\t\t\t\t.get(0)\n\t\t\t\t\t\t\t.getMethodName()\n\t\t\t\t\t\t\t.equalsIgnoreCase(\n\t\t\t\t\t\t\t\t\tPayAsiaConstants.CAMEL_CASE_COMPANY_CODE)) {\n\t\t\t\tif (existingCompanyRecord != null) {\n\t\t\t\t\tcompany.setCompanyId(existingCompanyRecord.getCompanyId());\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tif (existingCompanyRecord == null) {\n\t\t\t\t\tcompany = companyDAO.saveReturn(company);\n\t\t\t\t} else {\n\t\t\t\t\tcompany.setCompanyId(existingCompanyRecord.getCompanyId());\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (isDynamic) {\n\t\t\t\tfor (Long formId : formIds) {\n\t\t\t\t\tDynamicFormRecord dynamicFormRecord = new DynamicFormRecord();\n\n\t\t\t\t\tdynamicFormRecord.setForm_ID(formId);\n\t\t\t\t\tdynamicFormRecord.setCompany_ID(companyId);\n\t\t\t\t\tdynamicFormRecord.setEntity_ID(entityId);\n\t\t\t\t\tdynamicFormRecord.setEntityKey(company.getCompanyId());\n\t\t\t\t\tDynamicFormRecord existingFormRecord = dynamicFormRecordDAO\n\t\t\t\t\t\t\t.getEmpRecords(company.getCompanyId(), null,\n\t\t\t\t\t\t\t\t\tformId, entityId, companyId);\n\n\t\t\t\t\tsuper.setDynamicValues(dataImportParametersDTO, tableNames,\n\t\t\t\t\t\t\tcolFormMapList, dynRecordsName, formId,\n\t\t\t\t\t\t\tdynamicFormRecord, existingFormRecord, companyId,\n\t\t\t\t\t\t\t\"update\");\n\n\t\t\t\t\tif (existingFormRecord == null) {\n\n\t\t\t\t\t\tdynamicFormRecordDAO.save(dynamicFormRecord);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (PayAsiaSystemException ex) {\n\t\t\tsuper.handleException(rowNumber, insertOnlyLogs, ex);\n\t\t}\n\n\t\tif (insertOnlyLogs != null && !insertOnlyLogs.isEmpty()) {\n\t\t\tthrow new PayAsiaDataException(insertOnlyLogs);\n\t\t}\n\t}", "public void setCompany(String company) {\n\t\tthis.company = company;\n\t}", "@Override\n @Transactional\n public String create(Company company, BindingResult result) {\n\n\t// Security check.\n\tif (!this.authHelper.isSuperAdmin()) {\n\t this.messageHelper.unauthorizedID(Company.OBJECT_NAME, company.getId());\n\t return AlertBoxFactory.ERROR;\n\t}\n\n\t// Service layer form validation.\n\tthis.companyValidator.validate(company, result);\n\tif (result.hasErrors()) {\n\t return this.validationHelper.errorMessageHTML(result);\n\t}\n\n\tthis.companyDAO.create(company);\n\n\t// Log.\n\tthis.messageHelper.auditableID(AuditAction.ACTION_CREATE, Company.OBJECT_NAME, company.getId(),\n\t\tcompany.getName());\n\n\t// Do actual service and construct response.\n\treturn AlertBoxFactory.SUCCESS.generateCreate(Company.OBJECT_NAME, company.getName());\n }", "@Override\n\tpublic void save(CompanyImgAndDoc companyImgDoc) {\n\t\tcompanyImgAndDocDAO.save(companyImgDoc);\n\t\t\n\t}", "@Override\n\tpublic void add(cp_company cp) {\n\t\t\n\t}", "void saveCity(City city);", "public void setCompanyId(long companyId) {\n this.companyId = companyId;\n }", "@Override\n\tpublic void modifryCompany(BeanCompany Company) {\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\n\t\tTransaction tx = session.beginTransaction();\n\t\ttry {\n\t\t\tsession.update(Company);\n\t\t\ttx.commit();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\ttx.rollback();\n\t\t}\n\t}", "public void setCompanyId(int companyId) {\n this.companyId = companyId;\n }", "@Override\r\n\tpublic Company updateCompany(Company company) {\n\t\treturn null;\r\n\t}", "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "public void setCompanyId(String companyId) {\r\n this.companyId = companyId;\r\n }", "public void setCompany(Company aCompany) {\n company = aCompany;\n }", "public void setCompany(Company company, Context context) {\n // TODO: Perform networking operations here to upload company to database\n this.company = company;\n invoiceController = new InvoiceController(context, company);\n }", "int insertSelective(CompanyExtend record);", "public Campaign save(Campaign campaign);", "private void save() {\n Toast.makeText(ContactActivity.this, getString(R.string.save_contact_toast), Toast.LENGTH_SHORT).show();\n\n String nameString = name.getText().toString();\n String titleString = title.getText().toString();\n String emailString = email.getText().toString();\n String phoneString = phone.getText().toString();\n String twitterString = twitter.getText().toString();\n \n if (c != null) {\n datasource.editContact(c, nameString, titleString, emailString, phoneString, twitterString);\n }\n else {\n \tc = datasource.createContact(nameString, titleString, emailString, phoneString, twitterString);\n }\n }", "public void save(HrJBorrowcontract entity);", "int insert(NeeqCompanyAccountingFirmOnline record);", "public void setCompanyId(Long companyId) {\n this.companyId = companyId;\n }", "int insertSelective(TycCompanyExecutiveCrawler record);", "public Company addCompany(int companyId, String companyName, String companyPassword) {\n\t\t \n\t\t ContentValues values = new ContentValues();\n\t\t values.put(MySQLiteHelper.COLUMN_COMPANY_ID, companyId);\n\t\t values.put(MySQLiteHelper.COLUMN_COMPANY_NAME, companyName);\n\t\t values.put(MySQLiteHelper.COLUMN_COMPANY_PASSWORD, companyPassword);\n\n\t\t long insertId = mDatabase.insert(MySQLiteHelper.TABLE_COMPANIES, null, values);\n\t\t Cursor cursor = mDatabase.query(MySQLiteHelper.TABLE_COMPANIES,\n\t\t mAllColumns, null, null,\n\t\t null, null, null);\n\t\t cursor.moveToFirst();\n\t\t Company newCompany = cursorToCompany(cursor);\n\t\t cursor.close();\n\t\t return newCompany;\n\t\t }", "public void create(Employee employee, Company company, IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "@Override\n\tpublic void setCompanyId(long companyId);", "@Override\n\tpublic void setCompanyId(long companyId);", "@Override\n\tpublic void setCompanyId(long companyId);", "@Override\n\tpublic void setCompanyId(long companyId);", "int insertSelective(TycCompanyCheckCrawler record);", "@PostMapping\n\tpublic ReturnMessage insert(\n\t\t\t@RequestParam(value = \"name\") String name,\n\t\t\t@RequestParam(value = \"company\") String company){\n\t\t//Test if valid name and company strings before processing the insert\n\t\tif (validParams(name,company)) {\n\t\t\tPlatform platform = new Platform(name, company);\n\t\t\tgDao.save(platform);\n\t\t\treturn new ReturnMessage(true,platform);\t\n\t\t}\n\t\telse {\n\t\t\treturn new ReturnMessage(false,\"Forbidden empty strings\");\n\t\t}\n\t}", "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "EmployeeDetail save(EmployeeDetail detail) throws DBException;", "@RequestMapping(path = \"/create\", method = RequestMethod.POST)\n\tpublic ResponseEntity<RestResponse<CompanyDTO>> create(@RequestBody CompanyDTO request) {\n\n\t\tCompanyDTO result = companyService.create(request);\n\t\t\n\t\tRestResponse<CompanyDTO> restResponse = \n\t\t\t\tnew RestResponse<CompanyDTO>(RestResponseCodes.OK.getCode(), RestResponseCodes.OK.getDescription(), result);\n\t\t\n\t\treturn new ResponseEntity<RestResponse<CompanyDTO>>(restResponse, HttpStatus.OK);\n\t\t\t\n\t}", "public void save(CbmCItemFininceItem entity);", "public void setCompany(String company)\r\n {\r\n m_company = company;\r\n }", "void save(Employee employee);", "public boolean addCompanyData (CompanyData companyData) //ADD\n\t{\n\t\tContentValues contentValues = new ContentValues();\n\t\tcontentValues.put(COLUMN_COMPANY_NAME, companyData.getCompanyName());\n\n\n\t\tlong result = db.insert(TABLE_COMPANY, null, contentValues);\n\t\tdb.close();\n\n\t\t//Notifying if transaction was successful \n\t\tif(result == -1)return false;\n\t\telse return true;\n\n\t}", "CounselorBiographyTemp save(CounselorBiographyTemp entity);", "@Override\r\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tdbHelper.InsertCompany(listResult);\r\n\t\t\t\t\t\t\tMessage msg = Message.obtain();\r\n\t\t\t\t\t\t\tmsg.obj = \"CompanySave\";\r\n\t\t\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t\t\t}", "int insert(TdxCompanyTaxArrears record);", "public void save() {\r\n\t\tCampLeaseDAO leaseDao = (CampLeaseDAO) getApplicationContext().getBean(\"leaseDaoBean\", CampLeaseDAO.class);\r\n\t\tleaseDao.save(this);\r\n\t}", "int insert(FinancialManagement record);", "private void saveContact() throws SQLException {\n \n if (checkFieldsForSaving()) {\n\n clsContactsDetails mContactDetails = new clsContactsDetails();\n\n //Differentiate between the two saving modes new and modify.\n clsContacts.enmSavingMode mSavingMode = null;\n if (this.pStatus == enmStatus.New) {\n mSavingMode = clsContacts.enmSavingMode.New;\n } else if (this.pStatus == enmStatus.Modify) {\n mSavingMode = clsContacts.enmSavingMode.Modify;\n\n int mID = ((clsContactsTableModel) tblContacts.getModel()).getID(tblContacts.getSelectedRow());\n int mIDModifications = ((clsContactsTableModel) tblContacts.getModel()).getIDModifications(tblContacts.getSelectedRow());\n mContactDetails.setID(mID);\n mContactDetails.setIDModification(mIDModifications);\n }\n\n //Create the contact details.\n mContactDetails.setFirstName(txtFirstName.getText());\n mContactDetails.setMiddleName(txtMiddleName.getText());\n mContactDetails.setLastName(txtLastName.getText());\n mContactDetails.setBirthday(dtpBirthday.getDate());\n mContactDetails.setGender(getGender());\n mContactDetails.setStreet(txtStreet.getText());\n mContactDetails.setPostcode(txtPostcode.getText());\n mContactDetails.setCity(txtCity.getText());\n mContactDetails.setCountry(txtCountry.getText());\n mContactDetails.setAvailability(txtAvailability.getText());\n mContactDetails.setComment(txtComment.getText());\n \n int mIDContacts = this.pModel.saveContact(mSavingMode, mContactDetails);\n if (mIDContacts > 0) {\n this.pStatus = enmStatus.View;\n setComponents();\n \n //Select the created or modified row.\n if (mSavingMode == clsContacts.enmSavingMode.New) {\n this.pSelectedRow = getRowOfID(mIDContacts);\n }\n selectContact();\n }\n }\n }", "@Override\n\tpublic void save(Contact contact) throws Exception {\n\t\tupdate(\"insert into contact values (null,?,?,?,?,?,?,?)\",\n\t\t\t\tcontact.toArray());\n\t}", "int insert(SysOrganization record);", "int insert(Organization record);", "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\tmodel.setCompanyId(companyId);\n\t}", "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\tmodel.setCompanyId(companyId);\n\t}", "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\tmodel.setCompanyId(companyId);\n\t}", "public void newCrayon(Crayon cr) {\r\n\tem.getTransaction( ).begin( );\r\n em.persist(cr);\r\n em.getTransaction().commit();\r\n }", "int insert(BusinessRepayment record);", "public void setContactCompany(String contactCompany) {\n this.contactCompany = contactCompany;\n }", "@Override\n\tpublic void save(Borrowrecord borrowrecord) {\n\t\tthis.borrowrecordMapper.insert(borrowrecord);\n\t}", "void save(Cartera entity);", "@Override\n\tpublic void save(Commodity commodity) {\n\t\tthis.getHibernateTemplate().update(commodity);\n\t}", "public Company updateCompany(Company company) {\n\t\treturn companyDAO.updateCompany(company);\r\n\t}", "int insert(CityDO record);", "public void setCompany(String company) {\n\t\tthis.company = StringUtils.trimString( company );\n\t}", "int insert(CrmDept record);", "public void setCompanyName(String companyName) {\r\n this.companyName = companyName;\r\n }", "public void setCompanyName(String companyName) {\r\n this.companyName = companyName;\r\n }", "@Override\n\tpublic Company saveUser(Company company) {\n\t\tList<Company> ComanyList = getAllUsers();\n\n\t\tPredicate<Company> predicate = name -> name.getId() == company.getId();\n\t\tif (!ComanyList.stream().anyMatch(predicate))\n\t\t\tiCompany.save(company);\n\t\telse\n\t\t\treturn null;\n\t\t\n\t\treturn company;\n\t}", "@Test\n\tpublic void testSuppCompany() {\n\n\t\tSuppCompany suppCompany =new SuppCompany();\n\t\tsuppCompany.setName(\"www\");\n\t\tsuppCompanyService.update(suppCompany,new EntityWrapper<SuppCompany>().eq(false,\"name\",\"yyy\"));\n\t}", "public void setCompany(com.hps.july.persistence.CompanyAccessBean newCompanies) throws Exception {\n\tif (newCompanies == null) {\n\t companycode = null;\n\t companyname = \"\";\n\t}\n\telse {\n\t\tcompanycode = new Integer(newCompanies.getCompany());\n\t\tcompanyname = newCompanies.getName();\n\t}\n}", "public void updateORInsert(Company company,\n\t\t\tDataImportParametersDTO dataImportParametersDTO, Long companyId) {\n\t\tList<DataImportKeyValueDTO> empCompanyName = dataImportParametersDTO\n\t\t\t\t.getEmpColName();\n\t\tString rowNumber = dataImportParametersDTO.getRowNumber();\n\t\tboolean isDynamic = dataImportParametersDTO.isDynamic();\n\t\tList<Long> formIds = dataImportParametersDTO.getFormIds();\n\t\tlong entityId = dataImportParametersDTO.getEntityId();\n\t\tList<String> tableNames = dataImportParametersDTO.getTableNames();\n\t\tList<HashMap<String, String>> colFormMapList = dataImportParametersDTO\n\t\t\t\t.getColFormMapList();\n\t\tList<String> dynRecordsName = dataImportParametersDTO\n\t\t\t\t.getDynRecordsName();\n\t\tList<DataImportLogDTO> updateAndInsertLogs = new ArrayList<DataImportLogDTO>();\n\n\t\ttry {\n\t\t\tCompanyConditionDTO companyDTO = new CompanyConditionDTO();\n\t\t\tcompanyDTO.setCompanyCode(company.getCompanyCode());\n\t\t\tCompany existingCompanyRecord = companyDAO\n\t\t\t\t\t.findByCondition(companyDTO);\n\n\t\t\tif (empCompanyName.size() == 1\n\t\t\t\t\t&& empCompanyName\n\t\t\t\t\t\t\t.get(0)\n\t\t\t\t\t\t\t.getMethodName()\n\t\t\t\t\t\t\t.equalsIgnoreCase(\n\t\t\t\t\t\t\t\t\tPayAsiaConstants.CAMEL_CASE_COMPANY_CODE)) {\n\t\t\t\tif (existingCompanyRecord != null) {\n\t\t\t\t\tcompany.setCompanyId(existingCompanyRecord.getCompanyId());\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tif (existingCompanyRecord != null) {\n\t\t\t\t\tcompany.setCompanyId(existingCompanyRecord.getCompanyId());\n\t\t\t\t\tBeanUtils.copyProperties(\n\t\t\t\t\t\t\tcompany,\n\t\t\t\t\t\t\tcopyCompanyData(empCompanyName, company,\n\t\t\t\t\t\t\t\t\texistingCompanyRecord));\n\t\t\t\t\tcompanyDAO.update(company);\n\t\t\t\t} else {\n\t\t\t\t\tcompany = companyDAO.saveReturn(company);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (isDynamic) {\n\t\t\t\tif (company.getCompanyId() != 0) {\n\t\t\t\t\tfor (Long formId : formIds) {\n\t\t\t\t\t\tDynamicFormRecord dynamicFormRecord = new DynamicFormRecord();\n\n\t\t\t\t\t\tdynamicFormRecord.setForm_ID(formId);\n\t\t\t\t\t\tdynamicFormRecord.setCompany_ID(companyId);\n\t\t\t\t\t\tdynamicFormRecord.setEntity_ID(entityId);\n\t\t\t\t\t\tdynamicFormRecord.setEntityKey(company.getCompanyId());\n\t\t\t\t\t\tDynamicFormRecord existingFormRecord = dynamicFormRecordDAO\n\t\t\t\t\t\t\t\t.getEmpRecords(company.getCompanyId(), null,\n\t\t\t\t\t\t\t\t\t\tformId, entityId, companyId);\n\n\t\t\t\t\t\tsuper.setDynamicValuesForUpdate(\n\t\t\t\t\t\t\t\tdataImportParametersDTO, tableNames,\n\t\t\t\t\t\t\t\tcolFormMapList, dynRecordsName, formId,\n\t\t\t\t\t\t\t\tdynamicFormRecord, existingFormRecord,\n\t\t\t\t\t\t\t\tcompanyId, \"update\");\n\n\t\t\t\t\t\tif (existingFormRecord == null) {\n\t\t\t\t\t\t\tdynamicFormRecordDAO.save(dynamicFormRecord);\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tdynamicFormRecord.setRecordId(existingFormRecord\n\t\t\t\t\t\t\t\t\t.getRecordId());\n\t\t\t\t\t\t\tBeanUtils.copyProperties(dynamicFormRecord,\n\t\t\t\t\t\t\t\t\tdataImportUtils.copyDynamicRecordData(\n\t\t\t\t\t\t\t\t\t\t\tdynRecordsName, dynamicFormRecord,\n\t\t\t\t\t\t\t\t\t\t\texistingFormRecord));\n\t\t\t\t\t\t\tdynamicFormRecordDAO.update(dynamicFormRecord);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch (PayAsiaSystemException ex) {\n\t\t\tsuper.handleException(rowNumber, updateAndInsertLogs, ex);\n\n\t\t} catch (IllegalAccessException | InvocationTargetException e) {\n\t\t\tLOGGER.error(e.getMessage(), e);\n\t\t\tthrow new PayAsiaSystemException(e.getMessage(), e);\n\t\t}\n\n\t\tif (updateAndInsertLogs != null && !updateAndInsertLogs.isEmpty()) {\n\t\t\tthrow new PayAsiaDataException(updateAndInsertLogs);\n\t\t}\n\n\t}", "@Override\n\tpublic void save(EmpType entity) {\n\t\t\n\t}", "public Customer saveCustomerDetails(Customer customer);", "public void save(HrCStatitem entity);", "public void setCompanyName(String companyName) {\n this.companyName = companyName;\n }", "public void saveFormData() {\r\n if(!saveRequired) return;\r\n if(cvHierarchyData != null && cvHierarchyData.size()>0) {\r\n SponsorHierarchyBean sponsorHierarchyBean;\r\n for(int index=0; index<cvHierarchyData.size(); index++) {\r\n try {\r\n sponsorHierarchyBean = (SponsorHierarchyBean)cvHierarchyData.get(index);\r\n if(sponsorHierarchyBean.getAcType() != null) {\r\n if(sponsorHierarchyBean.getAcType() == TypeConstants.UPDATE_RECORD) {\r\n queryEngine.update(queryKey,sponsorHierarchyBean);\r\n }else if(sponsorHierarchyBean.getAcType() == TypeConstants.INSERT_RECORD) {\r\n queryEngine.insert(queryKey,sponsorHierarchyBean);\r\n }else if(sponsorHierarchyBean.getAcType() == TypeConstants.DELETE_RECORD) {\r\n queryEngine.delete(queryKey,sponsorHierarchyBean);\r\n }\r\n }\r\n }catch(CoeusException coeusException){\r\n coeusException.printStackTrace();\r\n }\r\n }\r\n }\r\n saveRequired = false;\r\n }", "public static Company createCompany() {\r\n\t\treturn createCompany(1, \"Pepcus\", \"Software\", \"PEP\", new Date(), \"Special\", \"This is search help\");\r\n\t}", "@Override\r\n\tpublic void updateCompany(Company company) throws Exception {\r\n\r\n\t\tconnectionPool = ConnectionPool.getInstance();\r\n\t\tConnection connection = connectionPool.getConnection();\r\n\r\n\t\tString sql = String.format(\"update Company set COMP_NAME= '%s',PASSWORD = '%s', EMAIL= '%s' where ID = %d\",\r\n\t\t\t\tcompany.getCompanyName(), company.getCompanyPassword(), company.getCompanyEmail(),\r\n\t\t\t\tcompany.getCompanyId());\r\n\r\n\t\ttry (PreparedStatement preparedStatement = connection.prepareStatement(sql)) {\r\n\r\n\t\t\tpreparedStatement.executeUpdate();\r\n\r\n\t\t\tSystem.out.println(\"update Company succeeded. id which updated: \" + company.getCompanyId());\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new Exception(\"update Compnay failed. companyId: \"+ company.getCompanyId());\r\n\t\t} finally {\r\n\t\t\tconnection.close();\r\n\t\t\tconnectionPool.returnConnection(connection);\r\n\t\t}\r\n\r\n\t}" ]
[ "0.77532345", "0.7235051", "0.71536446", "0.6973547", "0.6868664", "0.6683619", "0.6676215", "0.6668802", "0.6661179", "0.6641344", "0.65774494", "0.6381205", "0.6353258", "0.635164", "0.6350284", "0.6282328", "0.6264774", "0.6257565", "0.622277", "0.6222698", "0.6222698", "0.6222698", "0.6222698", "0.6222698", "0.61812437", "0.6128126", "0.6105185", "0.60752547", "0.6073522", "0.60666794", "0.6055643", "0.6012321", "0.59862626", "0.59749025", "0.5928211", "0.5898463", "0.5897845", "0.5895398", "0.588289", "0.588289", "0.58796346", "0.58698255", "0.5850621", "0.5837608", "0.5826641", "0.582042", "0.5813824", "0.5804006", "0.58019036", "0.5795201", "0.5793272", "0.5789188", "0.5789188", "0.5789188", "0.5789188", "0.578897", "0.57813317", "0.5774986", "0.5774986", "0.576971", "0.57598853", "0.57467955", "0.5728868", "0.57286", "0.5720673", "0.5703296", "0.5701721", "0.5689818", "0.5689664", "0.56796753", "0.5660926", "0.5641876", "0.56366485", "0.56157976", "0.56116235", "0.56116235", "0.56116235", "0.5611153", "0.5607936", "0.55962867", "0.55822176", "0.5576319", "0.55743045", "0.5559359", "0.55545217", "0.5553214", "0.5547779", "0.55473024", "0.55473024", "0.55443937", "0.55407125", "0.5539576", "0.55394584", "0.553684", "0.552993", "0.5529551", "0.55235434", "0.5520142", "0.5512591", "0.55051684" ]
0.8018066
0
Checks whether shortName is already taken by some company
public boolean isCompanyShortNameTaken(String shortName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCompanyShortname(String companyShortname) {\r\n this.companyShortname = companyShortname;\r\n }", "public boolean isCompanyNameExists(String companyName) throws Exception {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n\n try {\n //Establish a connection from the connection manager\n connection = JdbcUtils.getConnection();\n\n //Creating the SQL query\n String sqlStatement = \"SELECT company_name FROM companies WHERE company_name = ?\";\n\n //Combining between the syntax and our connection\n preparedStatement = connection.prepareStatement(sqlStatement);\n\n //Replacing the question marks in the statement above with the relevant data\n preparedStatement.setString(1, companyName);\n\n //Executing the update\n ResultSet result = preparedStatement.executeQuery();\n\n if (result == null) {\n return false;\n } else return true;\n\n } catch (Exception e) {\n throw new Exception(\"Query failed\", e);\n } finally {\n //Closing the resources\n JdbcUtils.closeResources(connection, preparedStatement);\n }\n }", "boolean hasCompany();", "boolean hasCampaignName();", "@Override\r\n\tpublic boolean isCompanyExistsByNameOrEmail(String compEmail, String compName) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyEmail=? or companyName=?\";\r\n\t\t\tPreparedStatement pstmt = con.prepareStatement(sql);\r\n\t\t\tpstmt.setString(1, compEmail);\r\n\t\t\tpstmt.setString(2, compName);\r\n\t\t\tResultSet rs = pstmt.executeQuery();\r\n\r\n\t\t\treturn rs.next();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"isCompanyExistsByName Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private boolean checkProfileNameUniqueness(boolean userDialog) {\r\n\t\tboolean duplicateNameOccours = false;\r\n\t\t/**\r\n\t\t * Over the new imported profiles\r\n\t\t */\r\n\t\tfor (int i = 0; i < parsedProfiles.size(); i++) {\r\n\t\t\tCurve p = parsedProfiles.get(i);\r\n\t\t\t/**\r\n\t\t\t * Handle the case that the profile name is not unique\r\n\t\t\t */\r\n\t\t\tif (!controller.isProfileNameGlobalUnique(p.getName())\r\n\t\t\t\t\t&& selectedProfiles.get(i)) {\r\n\t\t\t\t/**\r\n\t\t\t\t * Indicate duplicate profile names\r\n\t\t\t\t */\r\n\t\t\t\tduplicateNameOccours = true;\r\n\t\t\t\t/**\r\n\t\t\t\t * Provide a user interface to change the profile name\r\n\t\t\t\t */\r\n\t\t\t\tif (userDialog) {\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * In the other case ask the user for a different name\r\n\t\t\t\t\t */\r\n\t\t\t\t\tString dialogTitle = \"Duplicate profile name\";\r\n\t\t\t\t\tString dialogMsg = \"The profile name \\\"\" + p.getName()\r\n\t\t\t\t\t\t\t+ \"\\\" already exists globally.\\n\"\r\n\t\t\t\t\t\t\t+ \"Please enter a globally unique\"\r\n\t\t\t\t\t\t\t+ \" profile name.\";\r\n\t\t\t\t\tString dialogRet = JOptionPane.showInputDialog(null,\r\n\t\t\t\t\t\t\tdialogMsg, dialogTitle, JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\t/**\r\n\t\t\t\t\t * Only store the new name if not empty\r\n\t\t\t\t\t */\r\n\t\t\t\t\tif (dialogRet != null) {\r\n\t\t\t\t\t\tif (!dialogRet.isEmpty()) {\r\n\t\t\t\t\t\t\tp.setName(dialogRet);\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}\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Check also if there exists local uniqueness if the comparison against\r\n\t\t * the global names found no error.\r\n\t\t */\r\n\t\tif (duplicateNameOccours == false) {\r\n\t\t\tduplicateNameOccours = checkProfileNameUniquessLocal();\r\n\t\t}\r\n\r\n\t\treturn duplicateNameOccours;\r\n\t}", "public void checkIfDisplayNameTaken(String displayName) {\n\t\tSystem.out.println(\"Checking the display name \"+displayName+\" with the server...\");\n\t\t_displayName = displayName;\n\t\tSystem.out.println(\"Display name is free!\");\n\t}", "public boolean isSetCompany_name() {\n return this.company_name != null;\n }", "boolean hasBusinessName();", "public boolean isValidName(String proposedName);", "boolean duplicatedUsername(String username);", "public boolean shortNameEquals(IdentifierResolver ts) {\n\t\treturn shortName.equals(ts.shortName);\n\t}", "private boolean duplicationCheck(String userName) {\n\t\tboolean ret = true;\n\t\tif(obs.isEmpty()) {\n\t\t\tret = true;\n\t\t}\n\t\telse {\n\t\t\tfor(int i=0; i<obs.size(); i++) {\n\t\t\t\tif(obs.get(i).getUserName().compareTo(userName) == 0) {\n\t\t\t\t\tret = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tret = true;\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "private boolean checkUsername(String newUsername, Label label)\n {\n label.setText(\"\");\n\n if(newUsername.length() == 0){\n label.setText(\"Please choose a username \");\n return false;\n }\n for(Account account : getListOfAccounts()){\n if(newUsername.equals(account.getUsername())){\n label.setText(\"This field is already taken by another account. Please choose another username\");\n return false;\n }\n }\n return true;\n }", "@SuppressWarnings(\"ConstantConditions\")\n @Override\n public Boolean isNameAlreadyExist(Dress dress) {\n LOGGER.debug(\"is name exists - {}\", dress);\n MapSqlParameterSource parameterSource = new MapSqlParameterSource();\n if (dress.getDressId() == null) {\n parameterSource.addValue(DRESS_ID, 0);\n } else {\n parameterSource.addValue(DRESS_ID, dress.getDressId());\n }\n parameterSource.addValue(DRESS_NAME, dress.getDressName());\n return jdbcTemplate.queryForObject(uniqueNameSql, parameterSource,\n Integer.class) != 0;\n }", "public boolean verifyNameAlreadyRegistered(Player player) {\n\n\t\treturn playerService.findPlayerByName(player.getName()) == null;\n\t}", "public Company getCompany(String companyShortName);", "private boolean validTitle(String targetTitle) {\n Query q = new Query(\"Location\").setFilter(new FilterPredicate(\"title\", FilterOperator.EQUAL,\n targetTitle));\n int numOfSameEntities = ds.prepare(q).countEntities();\n return (numOfSameEntities == 0);\n }", "public static boolean userNameDuplicate(String arg_username) {\n\n\t\tboolean userNameFound = false;\n\n\t\tfor (User u0 : userInfoArray) {\n\t\t\tString currentUserName = ((User) u0).getUserName();\n\t\t\tif (arg_username.toUpperCase().equals(currentUserName.toUpperCase())) {\n\t\t\t\tuserNameFound = true;\n\t\t\t\tbreak;\n\n\t\t\t} else {\n\t\t\t\tuserNameFound = false;\n\t\t\t}\n\n\t\t}\n\t\treturn userNameFound;\n\t}", "public String getCompanyShortname() {\r\n return companyShortname;\r\n }", "public boolean verificaUnicidadeNome() {\n\t\tif(!EntidadesDAO.existeNome(entidades.getNome())) {\n\t\t\treturn true;\n\t\t}else {\n\t\t\treturn false;\n\t\t}\n\t}", "private static <T extends HmBo> boolean checkBONameExists(Class<T> boClass, String name, Object value) {\r\n List<?> boIds = QueryUtil.executeQuery(boClass, null,\r\n new FilterParams(name, value),\r\n AhRestoreNewMapTools.getonlyDomain().getId());\r\n\t return !boIds.isEmpty();\r\n\t}", "public boolean isCompanyExistsByName(String company_name) throws Exception {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\tconnection = JdbcUtils.getConnection();\n\n\t\t\t// Creating the SQL query\n\t\t\tString sqlStatement = \"SELECT * FROM companies WHERE company_name = ?\";\n\n\t\t\t// Combining between the syntax and our connection\n\t\t\tpreparedStatement = connection.prepareStatement(sqlStatement);\n\n\t\t\t// Replacing the question marks in the statement above with the relevant data\n\t\t\tpreparedStatement.setString(1, company_name);\n\n\t\t\t// Executing the query, if result contains any data return true, otherwise\n\t\t\t// return false\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\tif (resultSet.next()) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t} catch (SQLException e) {\n\t\t\t// **If there was an exception in the \"try\" block above, it is caught here and\n\t\t\t// notifies a level above.\n\t\t\te.printStackTrace();\n\t\t\tthrow new ApplicationException(e, ErrorType.GENERAL_ERROR,\n\t\t\t\t\tDateUtils.getCurrentDateAndTime() + \"FAILED to check if a company exists by name\");\n\t\t\t// Closing the resources\n\t\t} finally {\n\t\t\tJdbcUtils.closeResources(connection, preparedStatement,resultSet);\n\t\t}\n\t}", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "boolean hasName();", "public boolean verifyFastName(String FastName)\r\n {\r\n FastName = FastName.trim();\r\n\r\n if(FastName == null || FastName.isEmpty() || !FastName.matches(\"[a-zA-Z]*\"))\r\n {\r\n return false;\r\n }\r\n else\r\n {\r\n return true;\r\n }\r\n }", "@Override\n\tpublic boolean couponTitleExists(Coupon coupon) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\tboolean exists = false;\n\t\ttry {\n\t\t\t// Checking if Coupon title already exists in DB\n\t\t\tString titleExists = \"SELECT * FROM Coupon where Title = ?\";\n\t\t\tPreparedStatement pstmt1 = con.prepareStatement(titleExists);\n\t\t\tpstmt1 = con.prepareStatement(titleExists);\n\t\t\tpstmt1.setString(1, coupon.getTitle());\n\t\t\tResultSet result = pstmt1.executeQuery();\n\t\t\tif (result.next()) {\n\t\t\t\tSystem.out.println(\"Coupon title already exists in Database, please choose another one.\");\n\t\t\t\texists = true;\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon writing into database\n\t\t\tthrow new CouponSystemException(\"SQL error - Company creation has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t\treturn exists;\n\t}", "boolean hasHasInstitutionName();", "public Boolean isUnique(String search) {\n\t\tfor (int i = 0; i < CarerAccounts.size(); i++) {\n if (CarerAccounts.get(i).getUsername().equals(search)){\n return false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "private boolean employeeNameValid(EmployeeDto newEmpDto) {\n\t\tint nameLen = (newEmpDto.getFirstName().length() + newEmpDto.getLastName().length());\n\t\treturn (nameLen >= 2) ? true : false;\n\t}", "@Test\n\tpublic void testGenerateAndValidateCompanyUniqueness() throws Exception {\n\n\t}", "private static boolean checkUsernameAvailable(String username) {\n if (username.length() <= 6) {\n return false; // Username too short.\n } else {\n if (!patients.isEmpty()) {\n for (Patient patient : patients\n ) {\n if (patient.getUserName().equals(username)) {\n return false; // Username already added for patient.\n }\n }\n for (Medic medic : medics\n ) {\n if (medic.getUserName().equals(username)) {\n return false; // Username already added for patient.\n }\n }\n }\n\n }\n return true;\n }", "public static boolean isNameUnique(int ID, String name) throws IOException {\r\n if (pcQD == null) throw new IOException(\"Can't verify new component\");\r\n for (QuickDic qd : pcQD)\r\n if (qd.getID() != ID && qd.getFirstVal().equalsIgnoreCase(name))\r\n return false;\r\n return true;\r\n }", "public boolean addCompany(String name, Location local) {\r\n\t\t\r\n\t\tif(!name.equals(Company.cir) || !name.equals(Company.ert)) {\r\n\t\t\tthrow new IllegalArgumentException(\"This company already exists. Contact administrator to setup new company.\");\r\n\t\t} else if(name.contains(Company.cir)) {\r\n\t\r\n\t\t\treturn companyDirectory.add(new VendorCompany(local, name));\r\n\t\t} else if(name.contains(Company.ert)) { \r\n\t\t\treturn companyDirectory.add(new ResearchCompany(local,name));\r\n\t\t}\r\n\t\treturn false;\r\n\r\n\t}", "@Override\r\n\tpublic boolean isCompanyExists(String compEmail, String compPass) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyEmail=? and companyPass=?\";\r\n\t\t\tPreparedStatement pstmt = con.prepareStatement(sql);\r\n\t\t\tpstmt.setString(1, compEmail);\r\n\t\t\tpstmt.setString(2, compPass);\r\n\t\t\tResultSet rs = pstmt.executeQuery();\r\n\r\n\t\t\treturn rs.next();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"isCompanyExists Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private static boolean checkCwpNameExists(String name, Object value) {\r\n\t\tList<?> boIds = QueryUtil.executeQuery(\r\n\t\t\t\t\"select bo.id from \" + Cwp.class.getSimpleName() + \" bo\", null, new FilterParams(\r\n\t\t\t\t\t\tname, value), AhRestoreNewMapTools.getonlyDomain().getId());\r\n\t\treturn !boIds.isEmpty();\r\n\t}", "private static boolean duplicateSetName(String setName){\n boolean duplicate = false;\n for (Set set : SetManager.getInstance().getSets()) {\n if (set.getName() != null) {\n if (set.getName().equals(setName)) {\n duplicate = true;\n }\n }\n }\n return duplicate;\n }", "boolean isNameRequired();", "private boolean validParams(String name, String company) {\n\t\treturn (name != null && !name.trim().equals(\"\")) \n\t\t\t\t&& (company != null && !company.trim().equals(\"\"));\n\t}", "private boolean nameEntry() {\n EditText nameField = (EditText) findViewById(R.id.batman_identity);\n String batmanIdentity = nameField.getText().toString();\n\n if (batmanIdentity.equalsIgnoreCase(\"bruce wayne\")) {\n return true;\n }\n\n return false;\n\n }", "private boolean isNameUnique(String name) {\n boolean isUnique = true;\n for (User user : this.users) {\n if (user.getName().equals(name)) {\n isUnique = false;\n break;\n }\n }\n return isUnique;\n }", "boolean hasHangmogName();", "public boolean isSetFriendlyName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(FRIENDLYNAME$2) != 0;\r\n }\r\n }", "public void firstNameCheck() {\n\t\t\tif (getNameOfTheCard().equalsIgnoreCase(getCustomerFullName())) {\n\t\t\t\tsetColAuthorizedby(null);\n\t\t\t\tsetColpassword(null);\n\t\t\t\tsetBooAuthozed(false);\n\t\t\t} else {\n\n\n\t\t\t\tList<DebitAutendicationView> localEmpllist = iPersonalRemittanceService.getdebitAutendicationList();\n\t\t\t\tsetEmpllist(localEmpllist);\n\n\t\t\t\tsetColAuthorizedby(null);\n\t\t\t\tsetColpassword(null);\n\t\t\t\tsetBooAuthozed(true);\n\t\t\t\t// populate alert msg if customer name not match\n\t\t\t\tsetExceptionMessage(Constants.NameCheckAlertMsg);\n\t\t\t\tRequestContext.getCurrentInstance().execute(\"alertmsg.show();\");\n\t\t\t}\n\t\t}", "private boolean isContactExist(String name) {\n boolean existance;\n existance = contactList.stream()\n .anyMatch(personElement ->\n personElement.getFirstName().equals(name) ||\n personElement.getLastName().equals(name));\n return existance;\n }", "public void validateName(Player player) {\n String originalName = player.name;\n player.name = Text.cleanName(player.name);\n if (!originalName.equals(player.name) || player.name.length() > config.maxNameLength) {\n //name cannot be blank so then replace it with some random name\n if (player.name.replace(\" \", \"\").isEmpty()) {\n player.name = pickFreeName();\n }\n }\n }", "@Override\n public boolean judgeUnCheckedCompany(String companyNo) {\n\n boolean bool = true;\n\n bool = contactsManagementDao.judgeUnCheckedCompany(companyNo);\n\n if(bool){\n bool = contactsManagementDao.deleteUnCheckedCompany(companyNo);\n\n }\n\n return bool;\n }", "@Override\r\n public boolean isValidName(String proposedName)\r\n {\r\n assert(true);\r\n if (proposedName == null || proposedName.equals(\"\"))\r\n {\r\n return false;\r\n }\r\n \tfor (ChangableProductContainer groupImLookingAt : groups)\r\n {\r\n if (groupImLookingAt.getName().equals(proposedName))\r\n {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "@Test\n\tpublic void IscaseNameExist(){\n\t\tString caseName = \"leather case\";\n\t\tboolean isExist;\n\t\ttry {\n\t\t\tisExist = CaseManagerValidator.isCaseNameExist(caseName);\n\t\t\tassertTrue(isExist);\n\t\t} catch (Exception e) {\n\t\t\tfail();\n\t\t}\n\t\t\n\t}", "java.lang.String getCompanyName();", "java.lang.String getCompanyName();", "public void search_company(String compName) {\n\t\tint count=0;\n\t\tfor(int i=0 ; i<company.size() ; i++) {\n\t\t\tcompany_info c = (company_info)company.get(i);\n\t\t\tif(compName.equals(c.name)) {\n\t\t\t\tcount=1;\n\t\t\t\tc.Compute_wage();\n\t\t\t\tmapping.put(c.name, c);\n\t\t\t}\n\t\t}\n\t\tif(count==0) {\n\t\t\tSystem.out.println(\"The Company name doesn't exist\");\n\t\t}\n\t}", "private boolean checkProfileNameUniquessLocal() {\r\n\t\tfor (int i = 0; i < parsedProfiles.size(); i++) {\r\n\t\t\tfor (int j = i + 1; j < parsedProfiles.size(); j++) {\r\n\t\t\t\tif (parsedProfiles.get(i).getName()\r\n\t\t\t\t\t\t.compareTo(parsedProfiles.get(j).getName()) == 0) {\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}", "private boolean isAirportCodenameValid(String airportCodename) {\n\n\t\t// return airport database content through given list\n\t\tArrayList<Airport> listOfAirports = (ArrayList<Airport>) airportdb.fetchDatabaseContent();\n\n\t\tfor (int i = 0; i < listOfAirports.size(); i++) {\n\t\t\tString airportCodenameFromList = listOfAirports.get(i).getAirportCodename();\n\n\t\t\tif (airportCodenameFromList.equals(airportCodename)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Airport codename is not in database.\");\n\t\treturn false;\n\t}", "private boolean accountChecks(Account account){\n // ie. if the account has to be personal for the round-up service to apply\n account.getName(); // check personal\n return true;\n }", "public boolean checkDuplicates(String tempName)\n\t{\n\t\tif (!hasPermission(\"staff\")\n\t\t\t&& !Moban.hasMatch(\"multok\", tempName, connSocket.getInetAddress().getHostName()))\n\t\t\tfor (UserCon cs : conns)\n\t\t\t{\n\t\t\t\tif (cs.hasPermission(\"staff\"))\n\t\t\t\t\tcontinue;\n\t\t\t\tif (cs.host1.equals(connSocket.getInetAddress().getHostName())\n\t\t\t\t\t&& !cs.ch.name.equalsIgnoreCase(tempName)\n\t\t\t\t\t&& !Moban.hasMatch(\"multok\", cs.ch.name, cs.host1)\n\t\t\t\t\t&& !cs.hasPermission(\"staff\"))\n\t\t\t\t{\n\t\t\t\t\tsendln(\"Another character is already logged in from the same connection you're using.\");\n\t\t\t\t\tsendln(\"If you were playing on a character but were disconnected or did not quit using\");\n\t\t\t\t\tsendln(\"the 'quit' command, please log back on to that character and 'quit' before\");\n\t\t\t\t\tsendln(\"logging on with a different character.\");\n\t\t\t\t\tsendln(\"\");\n\t\t\t\t\tsendln(\"Note that multiplaying (using multiple characters at the same time) is not\");\n\t\t\t\t\tsendln(\"permitted on Agape. If there is more than one person at your connection who\");\n\t\t\t\t\tsendln(\"would like the play the game, please speak with a staff member.\");\n\t\t\t\t\tcloseSocket();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\tfor (UserCon cs : conns)\n\t\t\tif (cs.ch.name.equalsIgnoreCase(tempName) && cs != this)\n\t\t\t{\n\t\t\t\tconns.remove(cs);\n\t\t\t\twriting = cs.writing;\n\t\t\t\tch = cs.ch;\n\t\t\t\tch.conn = this;\n\t\t\t\tcs.sendln(\"This character has been logged on from a different connection.\");\n\t\t\t\tcs.sendln(\"If this message appears after no action on your part, you may\");\n\t\t\t\tcs.sendln(\"wish to change your password to prevent hacking attempts.\");\n\t\t\t\tsysLog(\"connections\", \"New connection for \"+tempName+\": Booting old connection.\");\n\t\t\t\tcs.closeSocket();\n\t\t\t\tbreak;\n\t\t\t}\n\t\treturn false;\n\t}", "boolean hasSurname();", "public boolean isSetCompanyNamePartical() {\n return this.companyNamePartical != null;\n }", "boolean hasTargetPlayerName();", "boolean isSetName();", "private boolean validEntry() {\n EditText locationName = (EditText) findViewById(R.id.nameInput);\n\n // Validate required null fields\n if (locationName.getText().toString().trim().equals(\"\"))\n {\n return false;\n }\n\n // Query database to determine if name already exists in database\n String placeName = locationName.getText().toString();\n if (!placeName.equals(currentPlace.name)) {\n try {\n PlacesDB db = new PlacesDB((Context) this);\n SQLiteDatabase pDB = db.openDB();\n Cursor cur = pDB.rawQuery(\"select name from places where name=? ;\", new String[]{placeName});\n if (cur.getCount() > 0) {\n return false;\n }\n } catch (Exception ex) {\n android.util.Log.w(this.getClass().getSimpleName(), \"Unable to load places from database.\");\n }\n }\n return true;\n }", "static String editCompany()\n {\n if(companyName !=null) companyName = \"IBM\";\n return companyName;\n }", "@Override\n\tpublic Boolean shortUrlexists(String shortUrl) {\n\t\tSystem.out.println(\"check if short url exist\");\n\t\t\n\t\tString SQL = \"select longUrl from GlobalUrlDB where shortUrl = (?)\";\n\t\tObject[] params = new Object[] { shortUrl };\n\t\tLongUrlMapper mapper = new LongUrlMapper();\n\t\t\n\t\ttry{\n\t\t\tUrlMappingList urlList = this.jdbcTemplateObject.queryForObject( SQL, params, mapper);\t\t\t\n\t\t}\n\t\tcatch(EmptyResultDataAccessException e){\n\t\t\tSystem.out.println(\"Shortened URL does not exists in the Database\");\n\t\t\treturn false;\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Some other Exception\");\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "@Override\n public boolean containsNameCurso(String Curso) {\n try {\n Curso curso = (Curso) this.findByNameCurso(Curso);\n if(Curso.equals(curso.getNombre())){\n return true;\n } ;\n } catch (Exception ex) {\n //Exception Handler\n }\n return false;\n }", "public boolean checkName(String name)\n {\n return true;\n }", "boolean hasOriginName();", "public boolean isSetUniqueName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(UNIQUENAME$10) != 0;\r\n }\r\n }", "boolean hasLongNames();", "public boolean nameIsValid() {\n return bikeName.length() > 0 && bikeName.length() < MAX_TITLE_LENGTH;\n }", "@Override\n public boolean isExists(Buyer buyer) {\n return false;\n }", "public void verificationForDuplicateState(String countryName, String stateName, String stateShortName,\n\t\t\tString gstCode) {\n\n\t\t// Create object for the 'Common Functions' class\n\t\tcommonFunctions = createObject(DistricoConstant.COMMON_FUNCTIONS);\n\n\t\t// Create the object of the State\n\t\tif (Objects.isNull(state)) {\n\t\t\tstate = createObject(DistricoConstant.STATE);\n\t\t}\n\n\t\tstate.addState(countryName, stateName, stateShortName, gstCode);\n\n\t\t// Verify Notification\n\t\tboolean flag = commonFunctions.verifyNotification(\"State Name and Short Name already exists !\");\n\n\t\tif (flag) {\n\t\t\tRESULT.PASS(\"Successfully verified that system is not allowed to add duplicate Sate.\", true,\n\t\t\t\t\tScreenshotType.browser);\n\t\t} else {\n\t\t\tRESULT.FAIL(\"Failed because system is allowing to add duplicate State.\", true, ScreenshotType.browser);\n\t\t}\n\t\t// Refresh page\n\t\trefreshPage();\n\t}", "private boolean isRenameValid()\n{\n String ntext = rename_field.getText();\n if (!isValidId(ntext)) return false;\n if (ntext.equals(start_name)) return false;\n\n return true;\n}", "private boolean isNameValid(String name) {\n\n }", "Company getCompanyByUniversalName(String name);", "static public boolean validateName(String proposedName, boolean allowSpace)\n {\n Pattern p;\n if (allowSpace)\n p = Pattern.compile(\"[A-Z][A-Z0-9_. -]*\", Pattern.CASE_INSENSITIVE);\n else\n p = Pattern.compile(\"[A-Z][A-Z0-9_.-]*\", Pattern.CASE_INSENSITIVE);\n \n return (p.matcher(proposedName).matches());\n\n }", "private boolean containsName(String name, Human ... human) {\n boolean result = false;\n\n for(Human h : human) {\n if(h.getName().toLowerCase().contains(name.toLowerCase())) {\n result = true;\n break;\n }\n }\n\n return result;\n }", "private boolean isOneUserName(String username){\r\n\t\tfor(int i = 0; i < users.size(); i++){\r\n\t\t\tif(users.get(i).username.equalsIgnoreCase(username)){\r\n\t\t\t\tSystem.out.println(\"Sorry the Username is already taken\");\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "private boolean checkUserame(String name) throws SQLException {\n\t\tcheckUserameStatement.clearParameters();\n\t\tcheckUserameStatement.setString(1, name);\n\t\tResultSet result = checkUserameStatement.executeQuery();\n\t\tresult.next();\n\t\tboolean out = result.getInt(1) == 1;\n\t\tif (DEBUG) {\n\t\t\tSystem.out.println(\"checkUserame: \"+result.getInt(1)+\"\\n\");\n\t\t}\n\t\tresult.close();\n\t\treturn out;\n\t}", "public static String checkExistenceGoodWithSameNameForSave(GoodDao goodDao,\n Good goodForChecking) {\n StringBuilder resultMessage = new StringBuilder();\n Optional<Good> goodWithSameName = goodDao.getGood(goodForChecking.getName());\n goodWithSameName.ifPresent(good -> addMessage(resultMessage, goodForChecking.getName()));\n return resultMessage.toString();\n }" ]
[ "0.6218771", "0.60978127", "0.60696596", "0.60362035", "0.5998299", "0.59063065", "0.58447844", "0.58387345", "0.58352077", "0.5772512", "0.5767174", "0.57076687", "0.5681174", "0.56758875", "0.56719357", "0.5671353", "0.5659178", "0.5656188", "0.5652164", "0.56288457", "0.5592524", "0.5589947", "0.55881643", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.55860126", "0.5573412", "0.5563836", "0.5558471", "0.5558026", "0.554004", "0.5508996", "0.5505188", "0.5495443", "0.5494695", "0.54896176", "0.54847413", "0.54845196", "0.5481639", "0.5453498", "0.5444922", "0.5433168", "0.5431755", "0.5431622", "0.54251534", "0.5419437", "0.54137486", "0.5410156", "0.5403713", "0.53989613", "0.5391701", "0.5391701", "0.53853387", "0.5383069", "0.5371019", "0.5368972", "0.53627485", "0.53583544", "0.5356002", "0.5353888", "0.5351641", "0.53510433", "0.5335883", "0.53292364", "0.5325102", "0.53201306", "0.5319395", "0.5317524", "0.53165305", "0.5290889", "0.52882963", "0.52878636", "0.5285961", "0.5284275", "0.52784437", "0.52673966", "0.5266582", "0.52632964", "0.52565604", "0.52553207" ]
0.8341796
0
Checks if the user id is already taken or not. Our user ids are going to be emailId only.
public boolean isUserIdTaken(String userEmailId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkUserId() {\n if (userIdEditText.getText().toString().isEmpty()) {\n userIdContainer.setError(getString(R.string.error_user_id));\n } else {\n userIdContainer.setError(null);\n }\n return !userIdEditText.getText().toString().isEmpty();\n }", "@Override\n public boolean isUserAlreadyExist(String email) throws UserException {\n User user;\n\n if (email == null || email.equals(\"\")) {\n logger.error(\"invalid user id: \" + email);\n return false;\n }\n try {\n user = userDAO.getUserById(email);\n return user != null;\n } catch (UserException e) {\n e.printStackTrace();\n logger.error(\"failed to delete a user with id: \" + email);\n return false;\n }\n }", "private boolean isExistUserEmail(String email, String userId) {\n User user = userService.findByEmailAndStatus(email, Constant.Status.ACTIVE.getValue());\n if (user != null && !user.getUserId().equals(userId)) {\n return true;\n }\n return false;\n }", "boolean hasUserId();", "boolean hasUserId();", "boolean hasUserId();", "public boolean existUser(String id);", "public boolean isUserExist(String emailId) {\n\t\tboolean exists = false;\n\n\t\tfor (User user : userVO.getUsers()) {\n\n\t\t\tif (user.getEmail().equals(emailId)) {\n\t\t\t\texists = true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\treturn exists;\n\t}", "private void checkForUser(){\n if(mUserId != -1){\n return;\n }\n\n if(mPreferences == null) {\n getPrefs();\n }\n\n mUserId = mPreferences.getInt(USER_ID_KEY, -1);\n\n if(mUserId != -1){\n return;\n }\n\n //do we have any users at all?\n List<User> users = mUserDAO.getAllUsers();\n if(users.size() <= 0 ){\n User defaultUser = new User(\"din_djarin\",\"baby_yoda_ftw\");\n mUserDAO.insert(defaultUser);\n }\n }", "boolean userExists(HttpServletRequest request, String userId);", "boolean isUserExists(RegisterData data) throws DuplicateUserException;", "Boolean checkUserExists(Integer userId) throws AppException;", "@Override\n\tpublic boolean registeringUser(UserDetails userDetails) {\n\t\tfor (UserDetails ud : Repository.USER_DETAILS) {\n\t\t\tif ((ud.getEmailId()).equalsIgnoreCase(userDetails.getEmailId())) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tRepository.USER_DETAILS.add(userDetails);\n\t\treturn true;\n\t}", "public static boolean doesUserIdExist(String userId) {\r\n\t\tString query = \"select userid_active from afbcusrmap_master where master_user='\"\r\n\t\t\t\t+ userId + \"'\";\r\n\t\tboolean doesUserExist = false;\r\n\t\ttry {\r\n\t\t\t\r\n\t//\t\t ArrayList<ArrayList<Object>> statusData = Database\r\n\t//\t\t\t\t.getResultsFromDatabase(query);\r\n\t\t\t \r\n\t\t\t ArrayList<ArrayList<Object>> statusData = (ArrayList<ArrayList<Object>>) readTableWithReturnValue(query);\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(statusData.isEmpty())\r\n\t\t\t{\r\n\t\t\t\tdoesUserExist=false;\r\n\t\t\t\tSystem.out.println(\"User ID Does not Exist ..\");\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tdoesUserExist=true;\r\n\t\t\t\tSystem.out.println(\"Generated UserID already assigned\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\r\n\t\t }\r\n\t\t\r\n\t\treturn doesUserExist;\r\n\t }", "@Override\n\tpublic boolean isEmailAlreadyUsed(final String email) {\n\t\treturn null != this.getUserId(email);\n\t}", "private boolean checkNameExistModify(String userName, Integer id) {\n\n\t\tUser user = this.userDAO.getUserByName(userName);\n\t\tif (null != user && id != user.getUserId()) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t}", "private boolean IsUserExist(){\n SignupUser user =roomDB.dao().GetUserData(et_user.getText().toString());\n if(user!=null){\n if(!user.getEmail().isEmpty()){\n Toast.makeText(this, \"User is already registered!\", Toast.LENGTH_SHORT).show();\n return true;\n }\n\n }\n return false;\n }", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "@Override\n\tpublic boolean userExists(String email) {\n\t\treturn (searchIndex(email) >= 0);\n\t}", "public boolean checkThisEmailAlreadyExist(String email) {\n\t\tquery = \"select id from guru where email=?\";\n\t\tList<GuruModel> list = this.jdbcTemplate.query(query,new Object[]{email},BeanPropertyRowMapper.newInstance(GuruModel.class));\n\t\t\n\t\tif(list.size() == 0)\n\t\t\t\treturn false;\n\t\telse\n\t\t\treturn true;\n\t}", "public boolean isExistingUser(String email){\n Long count = userRepository.countByEmail(email);\n\n return count > 0;\n }", "@Override\n\tpublic void checkDuplicateEmail(String email){\n\t\tif(userRepository.getUserByEmail(email) != null)\n\t\t\tthrow new BookException(HttpStatus.NOT_ACCEPTABLE,\"Email already exist\");\n\t}", "private void checkDuplicateEntry(Long userId, String email, Boolean isBeneficiary, Boolean isFiduciary) {\n\t\tList<Contact> contactOpt = contactRepository.findByUserIdAndEmailAndIsFiduciaryAndIsBeneficiaryAndDeletedFalse(\n\t\t\t\tuserId, email, isBeneficiary, isFiduciary);\n\t\tif (!contactOpt.isEmpty()) {\n\t\t\tthrow DataAlreadyExistException.of(MessageConstant.EMAIL_ALREADY_EXISTED);\n\t\t}\n\t}", "private boolean isLoginUnique(int currentUserId){\n\t\tUser user = Main.getMMUser().getUserForLogin(userLoginField.getText());\n\t\tif (user == null) return true;\n\t\telse {\n\t\t\tif (user.getId() == currentUserId) return true;\n\t\t}\t\n\t\tlackUserLoginLabel.setText(\"taki login istnieje w bazie\");\n\t\tlackUserLoginLabel.setVisible(true);\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isValid(UsersDto dto) {\n\t\tString id=session.selectOne(\"users.isValid\",dto);\n\t\tif(id==null) {//잘못된 아이디와 비밀번호\n\t\t\treturn false;\n\t\t}else {//유효한 아이디와 비밀번호\n\t\t\treturn true;\n\t\t}\n\t}", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n\n\n\n return true;\n }", "private static boolean doesUserExist () {\n String sqlRetrieveAisId = \"SELECT ais_id FROM users WHERE user_id=?\";\n \n boolean valid = false;\n try (Connection conn = Database.getConnection();\n PreparedStatement pstmt = conn.prepareStatement(sqlRetrieveAisId)) {\n \n pstmt.setInt(1, userId);\n \n ResultSet rs = pstmt.executeQuery();\n \n valid = rs.next() != false;\n } catch (SQLException se) {\n JOptionPane.showMessageDialog(MainLayout.getJPanel(), Messages.getError(1), Messages.getHeaders(0), JOptionPane.ERROR_MESSAGE);\n } catch (IOException ioe) {\n JOptionPane.showMessageDialog(MainLayout.getJPanel(), Messages.getError(0), Messages.getHeaders(0), JOptionPane.ERROR_MESSAGE);\n } catch (Exception e) {\n JOptionPane.showMessageDialog(MainLayout.getJPanel(), Messages.getError(0), Messages.getHeaders(0), JOptionPane.ERROR_MESSAGE);\n }\n \n return valid;\n }", "private void checkIDPUniqueness(UserMultiID eppnKey, String otherIDP) throws Exception {\n User eppnUser = newUser();\n eppnUser.setUserMultiKey(eppnKey);\n getUserStore().save(eppnUser);\n eppnUser.setIdP(otherIDP);\n getUserStore().save(eppnUser);\n try {\n getDBSClient().getUser(eppnKey, otherIDP);\n assert true;\n } catch (Throwable t) {\n assert false : \"Error: multiple IDP values are supported.\";\n }\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\r\n return false;\r\n }\r\n User other = (User) object;\r\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\r\n return false;\r\n }\r\n return true;\r\n }", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\r\n return false;\r\n }\r\n User other = (User) object;\r\n if ((this.idUser == null && other.idUser != null) || (this.idUser != null && !this.idUser.equals(other.idUser))) {\r\n return false;\r\n }\r\n return true;\r\n }", "public void checkIfUserExists(){\n refIdsOnly = database.getReference(\"ids\");\n String idText1 = idEdit.getText().toString();\n\n idListener = new ValueEventListener() {\n boolean userDoesntExist = true;\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n // removing the event listener to make sure it only happens once\n // otherwise it has time to check again for the user just created\n refIdsOnly.removeEventListener(idListener);\n if (dataSnapshot.exists()){\n for (DataSnapshot data:dataSnapshot.getChildren()){\n String id = data.getValue(String.class);\n if (idText1.equals(id)){\n userDoesntExist = false;\n }\n }\n }\n if (userDoesntExist){\n register(idText1);\n }\n else\n Toast.makeText(RegistrationActivity.this, \"duplicate id number\", Toast.LENGTH_LONG).show();\n }\n @Override\n public void onCancelled(DatabaseError databaseError) {\n Toast.makeText(RegistrationActivity.this, \"failed\", Toast.LENGTH_LONG).show();\n }\n };\n refIdsOnly.addValueEventListener(idListener);\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.iduser == null && other.iduser != null) || (this.iduser != null && !this.iduser.equals(other.iduser))) {\n return false;\n }\n return true;\n }", "public boolean existsUser(String userId) {\n\t\treturn true;\n\t}", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof User)) {\n return false;\n }\n User other = (User) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "private boolean isUserExists() {\n\t\treturn KliqDataStore.isUserExists(this.mobileNumber, null);\r\n\t}", "@Override\n public boolean isUserEmailExists(String email, String exludeUserName) {\n Map params = new HashMap<String, Object>();\n params.put(CommonSqlProvider.PARAM_WHERE_PART, User.QUERY_WHERE_EMAIL_EXCLUDE_USERNAME);\n params.put(User.PARAM_EMAIL, email);\n params.put(User.PARAM_USERNAME, exludeUserName);\n User user = getRepository().getEntity(User.class, params);\n\n return user != null && user.getEmail() != null && !user.getEmail().equals(\"\");\n }", "public boolean validateRetailerID(UserDTO user) throws UserException, ConnectException {\n\t\tboolean existsRetailerId = false;\n\t\tString retailerID = user.getUserId();\n\t\tConnection connection = null;\n\t\ttry {\n\n\t\t\tconnection = DbConnection.getInstance().getConnection();\n\t\t\texceptionProps = PropertiesLoader.loadProperties(EXCEPTION_PROPERTIES_FILE);\n\t\t\tgoProps = PropertiesLoader.loadProperties(GO_PROPERTIES_FILE);\n\n\t\t\tPreparedStatement statement = connection.prepareStatement(QuerryMapper.USER_EXISTS);\n\t\t\tResultSet resultset = statement.executeQuery();\n\n\t\t\twhile (resultset.next()) {\n\t\t\t\tif (retailerID.equals(resultset.getString(2))) {\n\t\t\t\t\texistsRetailerId = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (DatabaseException | IOException | SQLException e) {\n\t\t\tGoLog.logger.error(exceptionProps.getProperty(EXCEPTION_PROPERTIES_FILE));\n\t\t\tthrow new UserException(\".....\" + e.getMessage());\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tconnection.close();\n\t\t\t} catch (SQLException e) {\n\n\t\t\t\tthrow new ConnectException(Constants.connectionError);\n\t\t\t}\n\t\t}\n\t\treturn existsRetailerId;\n\t}", "@Override\r\n\tpublic boolean equals(Object obj) {\n\t\tif(!(obj instanceof User)){\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tUser obj2 = (User)obj;\r\n\t\tif(this.id>0){\r\n\t\t\treturn this.id==obj2.getId();\r\n\t\t}else{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "@Override\n\tpublic boolean equals(Object object) {\n\t\tif (!(object instanceof User)) {\n\t\t\treturn false;\n\t\t}\n\t\tUser other = (User) object;\n\t\tif ((this.idUser == null && other.idUser != null)\n\t\t\t\t|| (this.idUser != null && !this.idUser.equals(other.idUser))) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "@Override\n public boolean equals(Object obj) {\n return obj instanceof User && id.equals(((User) obj).getId());\n }", "public boolean checkUser(String email) {\r\n // Gets the collection of users and creates a query\r\n MongoCollection<Document> users = mongoDB.getCollection(\"Users\");\r\n Document query = new Document(\"email\", email);\r\n\r\n // Returns whether at least one user with the given email exists\r\n return users.countDocuments(query) > 0;\r\n }", "public String createUserIfNotExist(String email) throws UserNotFoundException {\n List<Profile> users= profileDao.findAll();\n for (Profile profile:users\n ) {\n if(profile.getEmail().equals(email))\n return profile.getUserId();\n }\n Profile tempProfile=new Profile();\n tempProfile.setEmail(email);\n return profileDao.save(tempProfile).getUserId();\n\n }", "public boolean isUserExisted(String _fbEmail);", "private void emailExistCheck() {\n usernameFromEmail(email.getText().toString());\n }", "public boolean checkUser(String email) {\n\n // array of columns to fetch\n String[] columns = {\n COLUMN_USER_ID\n };\n \n // selection criteria\n String selection = COLUMN_USER_EMAIL + \" = ?\";\n \n // selection argument\n String[] selectionArgs = {email};\n \n // query user table with condition\n /**\n * Here query function is used to fetch records from user table this function works like we use sql query.\n * SQL query equivalent to this query function is\n * SELECT user_id FROM user WHERE user_email = '[email protected]';\n */\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor cursor = db.query(\n TABLE_USER, //Table to query\n columns, //columns to return\n selection, //columns for the WHERE clause\n selectionArgs, //The values for the WHERE clause\n null, //group the rows\n null, //filter by row groups\n null); //The sort order\n int cursorCount = cursor.getCount();\n cursor.close();\n db.close();\n\n if (cursorCount > 0) {\n return true;\n }\n\n return false;\n }", "public synchronized boolean isUser(String email) {\r\n return (email != null) && email2user.containsKey(email);\r\n }", "@Override\r\n\tpublic boolean isUserUsernameUnique(Integer id, String username) {\n\t\tUser user = userDAO.findByUsername(username);\r\n\t\treturn (user == null || ((id != null) && (user.getId() == id)));\r\n\t}", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof TUser)) {\n return false;\n }\n TUser other = (TUser) object;\n if ((this.idUser == null && other.idUser != null) || (this.idUser != null && !this.idUser.equals(other.idUser))) {\n return false;\n }\n return true;\n }", "@Override\r\n\tpublic int emailcheck(String email) {\n\t\treturn dao.idcheck(email);\r\n\t}", "@Test\n public void searchUserAndValidateUserID(){\n String userId = searchForUser();\n if (userId == \"\" || userId == null) {\n Assert.assertFalse(userId == \"\");\n Assert.assertFalse(userId == null);\n }\n }", "public boolean checkIfEmailExist(String email){\n // create query to get user with asked email\n TypedQuery<UsersEntity> findUser = entityManager.createQuery(\n \"SELECT user FROM UsersEntity user WHERE user.email=:email\",\n UsersEntity.class);\n\n // set query email parameter\n findUser.setParameter(\"email\", email);\n\n try {\n findUser.getSingleResult();\n FacesMessage msg = new FacesMessage(\"User: \" + email + \" - already exist\");\n FacesContext.getCurrentInstance().addMessage(null, msg);\n return true;\n } catch (NoResultException e) {\n return false;\n }\n }", "public boolean checkUser(int id) {\n String[] columns = {\n KEY_ID\n };\n SQLiteDatabase db = this.getReadableDatabase();\n // selection criteria\n String selection = KEY_ID+ \" = ?\";\n\n // selection arguments\n String[] selectionArgs = {String.valueOf(id)};\n\n // query user table with conditions\n /**\n * Here query function is used to fetch records from user table this function works like we use sql query.\n * SQL query equivalent to this query function is\n * SELECT user_id FROM user WHERE user_email = '[email protected]' AND user_password = 'qwerty';\n */\n Cursor cursor = db.query(tabela, //Table to query\n columns, //columns to return\n selection, //columns for the WHERE clause\n selectionArgs, //The values for the WHERE clause\n null, //group the rows\n null, //filter by row groups\n null); //The sort order\n\n int cursorCount = cursor.getCount();\n\n cursor.close();\n db.close();\n if (cursorCount > 0) {\n return true;\n }\n\n return false;\n }", "private void checkEmail(UserResource target, Errors errors) {\n final String proc = PACKAGE_NAME + \".checkEmail.\";\n final String userId = target.getId();\n final String email = target.getEmail();\n int found = 0;\n boolean doValidation = false;\n\n logger.debug(\"Entering: \" + proc + \"10\");\n\n final boolean isUpdating = apiUpdating(userId);\n logger.debug(proc + \"20\");\n\n if (isUpdating) {\n final UserEntry user = userRepository.findOne(userId);\n logger.debug(proc + \"30\");\n\n if (!user.getEmail()\n .equals(email)) {\n logger.debug(proc + \"40\");\n\n found = userRepository.updateEmail(email, userId);\n if (found > 0) {\n errors.rejectValue(\"email\", \"user.email.duplicate\");\n }\n else {\n doValidation = true;\n }\n }\n }\n else {\n logger.debug(proc + \"50\");\n\n found = userRepository.uniqueEmail(email);\n if (found > 0) {\n errors.rejectValue(\"email\", \"user.email.duplicate\");\n }\n else {\n doValidation = true;\n }\n }\n\n if (doValidation) {\n logger.debug(proc + \"60\");\n\n final laxstats.web.validators.Validator emailValidator = EmailValidator.getInstance();\n if (!emailValidator.isValid(email)) {\n errors.rejectValue(\"email\", \"user.email.invalidEmail\");\n }\n }\n logger.debug(\"Leaving: \" + proc + \"70\");\n }", "@Override\n public boolean isUserEmailExists(String email) {\n User user = getUserByEmail(email);\n return user != null && user.getEmail() != null && !user.getEmail().equals(\"\");\n }", "public boolean exists(int userId) {\n return this.mInjector.getUserManager().exists(userId);\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof EUser)) {\n return false;\n }\n EUser other = (EUser) object;\n if ((this.getId() == null && other.getId() != null) || (this.getId() != null && !this.getId().equals(other.getId()))) {\n return false;\n }\n return true;\n }", "public boolean exists(final Long id) {\n return userRepository.existsById(id);\n }", "@PostMapping(path = \"register_user\")\n public String registerUser(User newUser){\n for(User user:users) {\n if (user.getEmailId().equals(newUser.getEmailId())) {\n return \"user_exists\";\n }\n }\n users.add(newUser);\n return \"register_success\";\n }", "public boolean checkUser(String email) {\n\n // array of columns to fetch\n String[] columns = {\n COLUMN_USER_ID\n };\n SQLiteDatabase db = this.getReadableDatabase();\n\n // selection criteria\n String selection = COLUMN_USER_EMAIL + \" = ?\";\n\n // selection argument\n String[] selectionArgs = {email};\n\n // query user table with condition\n /**\n * Here query function is used to fetch records from user table this function works like we use sql query.\n * SQL query equivalent to this query function is\n * SELECT user_id FROM user WHERE user_email = '[email protected]';\n */\n Cursor cursor = db.query(TABLE_NAME, //Table to query\n columns, //columns to return\n selection, //columns for the WHERE clause\n selectionArgs, //The values for the WHERE clause\n null, //group the rows\n null, //filter by row groups\n null); //The sort order\n int cursorCount = cursor.getCount();\n cursor.close();\n db.close();\n\n if (cursorCount > 0) {\n return true;\n }\n\n return false;\n }", "public boolean isExistingUser() {\r\n return isExistingUser;\r\n }", "private boolean userExists(Utente checkUser) {\n\t\tDB db = getDB();\n\t\tMap<Long, UtenteBase> users = db.getTreeMap(\"users\");\n\t\tfor(Map.Entry<Long, UtenteBase> user : users.entrySet())\n\t\t\tif(user.getValue() instanceof Utente && (((Utente)user.getValue()).getUsername().equals(checkUser.getUsername())))\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "private boolean isExistUserName(String userName, String userId) {\n User user = userService.findByUserNameAndStatus(userName, Constant.Status.ACTIVE.getValue());\n if (user != null && !user.getUserId().equals(userId)) {\n return true;\n }\n return false;\n }", "@Override\r\n\tpublic User check(Integer id) {\n\t\treturn null;\r\n\t}", "@Override\n public boolean equals(Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof UserDetails)) {\n return false;\n }\n return id != null && id.equals(((UserDetails) o).id);\n }", "public boolean checkUser(String email) {\n db= openHelper.getReadableDatabase();\n String[] columns = {\n COLUMN_USER_ID\n };//coloane de returnat\n String selection = COLUMN_USER_EMAIL + \" = ?\";//criteriul de selectie\n String[] selectionArgs = {email};//argumentul pentru selectie\n // query user table with condition\n //SELECT column_user_id FROM useri WHERE column_user_email = '[email protected]';\n Cursor cursor = db.query(TABLE_USER, //tabel pentru query\n columns, //coloane de returnat\n selection, //coloane pentru clauze WHERE\n selectionArgs, //valori pentru clauza WHERE\n null, //group the rows\n null, //filter by row groups\n null); //ordinea de sortare\n int cursorCount = cursor.getCount();\n cursor.close();\n if (cursorCount > 0) {\n return true;\n }\n return false;\n }", "@Override\n\tpublic UserDetails checkUser(String emailId, String password) {\n\t\tfor (UserDetails ud :Repository.USER_DETAILS) {\n\t\t\tif ((ud.getEmailId().equalsIgnoreCase(emailId)) && (ud.getPassword().equals(password))) {\n\t\t\t\treturn ud;\n\t\t\t}\n\t\t}\n\t\tthrow new AirlineException(\"Invalid Credentials\");\n\t}", "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof UserRegistration)) {\r\n return false;\r\n }\r\n UserRegistration other = (UserRegistration) object;\r\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\r\n return false;\r\n }\r\n return true;\r\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Users)) {\n return false;\n }\n Users other = (Users) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Users)) {\n return false;\n }\n Users other = (Users) object;\n if ((this.userId == null && other.userId != null) || (this.userId != null && !this.userId.equals(other.userId))) {\n return false;\n }\n return true;\n }", "void ensureUserCreationAllowed(String email, String userName) throws BadRequestException, ConflictException, ServerException;", "Boolean checkEmailAlready(String email);", "@Override\n public boolean equals(Object object) {\n if (!(object instanceof AppUser)) {\n return false;\n }\n AppUser other = (AppUser) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "@Test(groups ={Slingshot,Regression})\n\tpublic void ValidateAdduserEmailidField() {\n\t\tReport.createTestLogHeader(\"MuMv\", \"Verify the Email address Field validations and its appropriate error message\"); \t \t \t \n\t\tUserProfile userProfile = new TestDataHelper().getUserProfile(\"MuMVTestDataspl\");\n\t\tnew LoginAction()\n\t\t.BgbnavigateToLogin()\n\t\t.BgbloginDetails(userProfile);\n\t\tnew MultiUserMultiViewAction()\n\t\t.ClickManageUserLink()\n\t\t.ClickAddNewUserLink()\n\t\t.AddUserRadioButton()\n\t\t.StandardUserCreation()\n\t\t.validateEmailidField(userProfile);\t\t\t\t \t \t\t\t\t\t\t\n\t}", "public boolean isSetUserId() {\n return EncodingUtils.testBit(__isset_bitfield, __USERID_ISSET_ID);\n }", "private int userAlreadyPresent() {\n System.out.printf(\"%s%n%s%n%s%n%s%n\", Notifications.getMessage(\"ERR_USER_ALREADY_PRESENT\"), Notifications.getMessage(\"SEPARATOR\"), Notifications.getMessage(\"PROMPT_PRESENT_USER_MULTIPLE_CHOICE\"), Notifications.getMessage(\"SEPARATOR\"));\n\n switch(insertInteger(1, 3)) {\n case 1:\n System.out.printf(\"%s %s%n\", Notifications.getMessage(\"MSG_EXIT_WITHOUT_SAVING\"), Notifications.getMessage(\"MSG_MOVE_TO_LOGIN\"));\n return -1;\n case 2:\n System.out.println(Notifications.getMessage(\"PROMPT_MODIFY_FIELDS\"));\n return 1;\n default:\n return 0;\n }\n }", "public boolean addAttendee(String userEmail, String id){\n if (getEvent(id).getUsersSignedUp().size() + 1 > getEventRoom(id).getCapacity()\n || getEvent(id).getUsersSignedUp().contains(userEmail) ||\n !(checkIfUserAllowed(userEmail, id))){\n return false;\n }\n else{\n getEvent(id).addUser(userEmail);\n return true;\n }\n }", "private void showData1(DataSnapshot dataSnapshot) {\n boolean cond = false;\n String emailaddress2 = email.getText().toString();\n for (DataSnapshot ds : dataSnapshot.getChildren()) {\n User eid = new User(ds.getValue());\n eid.setEmail(ds.child(\"email\").getValue().toString());\n if (eid.email.equals(emailaddress2)) {\n cond=true;\n break;\n }\n }\n if (cond == false){\n //if user does not exist then go ahead with sign up\n addemail();\n }\n if (cond ==true){\n Toast.makeText(getApplicationContext(),\"User already exists. Please login\",Toast.LENGTH_SHORT).show();\n }\n\n }", "public boolean existUser(String campo1, String campo2);", "public UserEntity containsUserAndValid(long id) {\n Query query = manager.createQuery(\"select e from UserEntity e where e.id=:id\");\n List<UserEntity> list = query.setParameter(\"id\", id).getResultList();\n if (list.size() > 0) {\n UserEntity entity = list.get(0);\n FindIterable<Document> users = database.getCollection(\"users\").find(Filters.and(\n Filters.eq(UserMongo.objectId, new ObjectId(entity.getMongoId())),\n Filters.eq(UserMongo.isAccept, true),\n Filters.eq(UserMongo.isActive, true),\n Filters.or(\n Filters.eq(UserMongo.role, Role.manager),\n Filters.eq(UserMongo.role, Role.teacher)\n )\n ));\n if (users.iterator().hasNext()) {\n return entity;\n }\n }\n return null;\n }" ]
[ "0.704818", "0.69126904", "0.67877585", "0.66903317", "0.66903317", "0.66903317", "0.66559464", "0.6626875", "0.6573803", "0.65375465", "0.652303", "0.6517767", "0.6496528", "0.63650113", "0.6363928", "0.6356517", "0.6340663", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6314609", "0.6307596", "0.6296152", "0.629412", "0.6293082", "0.61612284", "0.61434144", "0.61211634", "0.61142516", "0.61108005", "0.6104252", "0.60910696", "0.6084811", "0.6074704", "0.60669273", "0.6048141", "0.60463244", "0.60463244", "0.60463244", "0.60450596", "0.60450596", "0.6043036", "0.59955", "0.5970541", "0.5961747", "0.5961534", "0.5961196", "0.5960973", "0.5949579", "0.5942286", "0.5931371", "0.59243596", "0.5923028", "0.5920359", "0.5918269", "0.59083706", "0.59064555", "0.5893616", "0.58905274", "0.58822715", "0.587699", "0.58739805", "0.58687866", "0.58603215", "0.58554566", "0.5847111", "0.5836138", "0.5832564", "0.58247125", "0.5822688", "0.58189416", "0.5802553", "0.5772536", "0.5766675", "0.5765269", "0.5765269", "0.57610226", "0.57507193", "0.5747296", "0.5743593", "0.5742215", "0.5738336", "0.57304084", "0.5728414", "0.5726492", "0.57258356" ]
0.7694183
0
Finds the company corresponding to the companyShortName
public Company getCompany(String companyShortName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Company getCompanyByUniversalName(String name);", "java.lang.String getCompanyName();", "java.lang.String getCompanyName();", "public String getCompanyShortname() {\r\n return companyShortname;\r\n }", "String getCompany();", "Optional<Company> findByName(String name);", "public boolean isCompanyShortNameTaken(String shortName);", "public void setCompanyShortname(String companyShortname) {\r\n this.companyShortname = companyShortname;\r\n }", "public String findCompany(String symbol)\n {\n for (int i = 0; i < symbolPairs.size(); i++)\n {\n SymbolPair pair = symbolPairs.get(i);\n if (pair.getTickerSymbol().equals(symbol))\n {\n return pair.getCompanyName();\n }\n }\n return \"Ticker symbol not recognized!\";\n }", "public Company findCompany(IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "public CustomerCompany findCustomerCompany(String name) \n\t{\n\t\tTypedQuery<CustomerCompany> query = \n\t\t\t\tthis.entityManager.createNamedQuery(\"CustomerCompany.findByName\", CustomerCompany.class);\n\t\t\n\t\tquery.setParameter(\"prName\", name);\n\t\treturn query.getSingleResult();\n\t}", "public Company findCompany(long id);", "public String getCompany() {\n return (String) get(\"company\");\n }", "public Company getCompanyAt(int index) {\r\n\t\treturn companyDirectory.get(index); \r\n\t\t\t\r\n\t}", "public void search_company(String compName) {\n\t\tint count=0;\n\t\tfor(int i=0 ; i<company.size() ; i++) {\n\t\t\tcompany_info c = (company_info)company.get(i);\n\t\t\tif(compName.equals(c.name)) {\n\t\t\t\tcount=1;\n\t\t\t\tc.Compute_wage();\n\t\t\t\tmapping.put(c.name, c);\n\t\t\t}\n\t\t}\n\t\tif(count==0) {\n\t\t\tSystem.out.println(\"The Company name doesn't exist\");\n\t\t}\n\t}", "public Company getCompanyByNameAndStreet(String name, String add1) {\r\n\t\tfor (int i = 0 ; i < companyDirectory.size() ; i++) {\r\n\t\t\tfor(int j = 0; j < companyDirectory.get(i).getLocations().size(); j++)\r\n\t\t\t if ( companyDirectory.get(i).getLocations().get(j) instanceof BillTo )\r\n\t\t\t \tif(companyDirectory.get(i).getLocations().get(j).getAddress1().equals(add1) &&\r\n\t\t\t \t\t\tcompanyDirectory.get(i).getName().equals(name))\r\n\t\t\t \t\treturn companyDirectory.get(i);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public Company getCompanyByName(String name) {\r\n\t\tfor (int i = 0 ; i < companyDirectory.size() ; i++){\r\n\t\t\tif (companyDirectory.get(i).getName().equals(name))\r\n\t\t\t\treturn companyDirectory.get(i);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static final String getCompany() { return company; }", "List getCompanies(OwnCodes ownCodes) throws PopulateDataException;", "Company getCompany(int id);", "List<Company> getCompaniesByEmailDomain(String domain);", "public static Company findLinearSearch(String needle, File dataFile)\n\t{\n\t\t//Put company in if we find, storing company in\n\t\tCompany companyHolder = null;\n\t\ttry\n\t\t{\n\t\t\tCSVReader reader = new CSVReader(new FileReader(dataFile));\n\t\t String [] nextLine;\n\t\t while ((nextLine = reader.readNext()) != null) \n\t\t {\n\t\t\t\t\tString currentCompany = nextLine[7];\n\t\t\t\t\tString complaintId = nextLine[17];\n\t\t\t\t\tif(!(currentCompany.equalsIgnoreCase(needle)))\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif(companyHolder == null)\n\t\t \t\t{\n\t\t\t\t\t\tcompanyHolder = new Company(currentCompany, complaintId);\n\t\t \t\t\tcontinue;\n\t\t \t\t}\n\t\t\t\t\tcompanyHolder.addId(complaintId);\t\t\n\t\t\t\t} return companyHolder;\n\t\t }\n\t\t\tcatch(FileNotFoundException e)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"File not found, please enter correct file\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Error\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\treturn companyHolder;\n\t}", "public String getCompany() {\n return company;\n }", "public String getCompany() {\r\n\t\treturn company;\r\n\t}", "public String getPrimaryCompanyName() {\r\n return primaryCompanyName;\r\n }", "public void searchCompanies() {\r\n\t\tResourceBundle bundle = ControladorContexto.getBundle(\"mensaje\");\r\n\t\ttry {\r\n\t\t\tbusiness = businessDao.searchBusinessForNameOrNit(searchCompany);\r\n\t\t\tif (business == null || business.size() <= 0) {\r\n\t\t\t\tControladorContexto.mensajeInformacion(\r\n\t\t\t\t\t\t\"frmAsociarPermisos:empresas\",\r\n\t\t\t\t\t\tbundle.getString(\"message_no_existen_registros\"));\r\n\t\t\t} else {\r\n\t\t\t\tBusinessAction businessAction = ControladorContexto\r\n\t\t\t\t\t\t.getContextBean(BusinessAction.class);\r\n\t\t\t\tbusinessAction.setListBusiness(new ArrayList<Business>());\r\n\t\t\t\tbusinessAction.setListBusiness(business);\r\n\t\t\t\tbusinessAction.loadDetailsBusiness();\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tControladorContexto.mensajeError(e);\r\n\t\t}\r\n\t}", "public String getCompanyname() {\n return companyname;\n }", "public String getCompany() {\n return company;\n }", "public String getCompany() {\n return company;\n }", "UserGroup findByNameIgnoreCase(String companyId, String name);", "@Override\n\tpublic List<CompanyVO> getCompanyInfo(String c_name) {\n\t\treturn null;\n\t}", "public String getCompany() {\n\t\treturn company;\n\t}", "public String getCompany() {\n\t\treturn company;\n\t}", "@Override\r\n\tpublic Company getDetailByCompanyName(String companyName) {\n\t\treturn companyRepository.findByCompanyName(companyName);\r\n\t}", "public Company getCompany(String companyId) throws ParseException {\n ParseQuery<Company> query = ParseQuery.getQuery(PARSE_NAME);\n query.fromLocalDatastore();\n return query.get(companyId);\n }", "public List<User> getAllEmployees(String companyShortName);", "public java.lang.String getCompany() {\n java.lang.Object ref = company_;\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 company_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public List<Customer> getByCompanyName(String company) throws CustomerNotFoundException {\r\n try {\r\n return this.entityManager.createQuery(\"select customer from Customer as customer where customer.company=:company\")\r\n .setParameter(\"company\", company)\r\n .getResultList();\r\n } catch (Exception e) {\r\n throw new CustomerNotFoundException();\r\n }\r\n }", "public String getCompanyName() {\r\n return companyName;\r\n }", "public String getCompanyName() {\r\n return companyName;\r\n }", "public String getCompanyName() {\r\n return companyName;\r\n }", "private Optional<Contact> findContact(AthenzTenant tenant) {\n if (!tenant.propertyId().isPresent()) {\n return Optional.empty();\n }\n List<List<String>> persons = organization.contactsFor(tenant.propertyId().get())\n .stream()\n .map(personList -> personList.stream()\n .map(User::displayName)\n .collect(Collectors.toList()))\n .collect(Collectors.toList());\n return Optional.of(new Contact(organization.contactsUri(tenant.propertyId().get()),\n organization.propertyUri(tenant.propertyId().get()),\n organization.issueCreationUri(tenant.propertyId().get()),\n persons));\n }", "public String getCompanyName() {\r\n\r\n\t\treturn this.companyName;\r\n\t}", "public String getCompany()\r\n {\r\n return (m_company);\r\n }", "Optional<Company> getCompany(long id);", "public String getCompanyName() {\n return companyName;\n }", "public String getCompanyName() {\n return companyName;\n }", "public String getCompanyName() {\n return companyName;\n }", "public String getCompanyName() {\n return companyName;\n }", "public static void showCompanies(){\n\t\tCompanyDao.getAllCompanies();\n\t}", "@Test\n public void getCompanyInfo() throws Exception {\n List<Stock> comps = quoteService.companiesByNameOrSymbol(TestConfiguration.QUOTE_SYMBOL);\n assertFalse(comps.isEmpty());\n boolean pass = false;\n for (Stock info : comps) {\n if (info.getSymbol().equals(TestConfiguration.QUOTE_SYMBOL)) {\n pass = true;\n }\n }\n assertTrue(pass);\n }", "public String getCompanyName() {\r\n\t\treturn companyName;\r\n\t}", "public String getCompany()\n\t{\n\t\treturn getCompany( getSession().getSessionContext() );\n\t}", "public String getCompany()\n {\n return (String) getProperty(PropertyIDMap.PID_COMPANY);\n }", "public String getCompany(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, COMPANY);\n\t}", "@java.lang.Override\n public java.lang.String getCompany() {\n java.lang.Object ref = company_;\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 company_ = s;\n return s;\n }\n }", "public String getCompanyCd() {\r\n return companyCd;\r\n }", "public String getCompanyCd() {\r\n return companyCd;\r\n }", "Department findByShortName(String name);", "public com.hps.july.persistence.Company getCompany() throws Exception {\n\tif (getDivision() == null) {\n\t\tCompanyAccessBean bean = constructCompanies();\n\t\tif (bean != null)\n\t\t return (Company)bean.getEJBRef();\n\t\telse\n\t\t return null;\n\t}\n\telse\n\t\treturn null;\n\t\t\n}", "public static String getCompanyName() {\n\t\treturn CompanyName;\n\t}", "public String getCompanyName() {\n\t\treturn companyName;\n\t}", "Optional<Company> findById(long company_id);", "public String getCompanyName() {\n\t\treturn companyName + \"\\\"\";\n\t}", "public String getJdCompany() {\r\n\t\treturn jdCompany;\r\n\t}", "public EmsCompany getCompany(String uid)\n\t{\n\t\tEmsCompany company = new EmsCompany().findFirst(\"select * from ems_company where UID = '\"+uid+\"'\");\n\t\tif (company != null)\n\t\t{\n\t\t\treturn company;\n\t\t}\n\t\treturn null;\n\t}", "public String getSCompanyName() {\n return sCompanyName;\n }", "public void getFindByIdCompany() {\n log.info(\"CompaniesContactsBean => method : getFindByIdCompany()\");\n\n log.info(\"ID company\" + companiesBean.getCompaniesEntity().getId());\n this.companiesContactsEntityList = findByIdCompany(companiesBean.getCompaniesEntity());\n }", "public void setCompany(String company) {\n this.company = company;\n }", "public static List<Company> createCompanies() {\r\n\t\tList<Company> companies = new ArrayList<Company>();\r\n\t\tcompanies.add(createCompany(1, \"Pepcus\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help1\"));\r\n\t\tcompanies.add(createCompany(2, \"Google\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help2\"));\r\n\t\tcompanies.add(createCompany(3, \"Facebook\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help3\"));\r\n\t\tcompanies.add(createCompany(4, \"Suzuki\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help4\"));\r\n\t\tcompanies.add(createCompany(5, \"General Motors\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help5\"));\r\n\t\tcompanies.add(createCompany(6, \"L & T\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help6\"));\r\n\t\tcompanies.add(createCompany(7, \"General Electric\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help7\"));\r\n\t\tcompanies.add(createCompany(8, \"Oracle\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help8\"));\r\n\t\tcompanies.add(createCompany(9, \"Microsoft\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help9\"));\r\n\t\tcompanies.add(createCompany(10, \"Thinkhr\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help10\"));\r\n\t\treturn companies;\r\n\r\n\t}", "public GoldenContactBuilder company(String value) {\n company = value;\n return this;\n }", "Optional<Company> findOneById(String id);", "public java.lang.String getCompanyname() {\n\treturn companyname;\n}", "public String getContactCompany() {\n return contactCompany;\n }", "public String getCompanyCode() {\r\n return companyCode;\r\n }", "public String getCompanyCode() {\r\n return companyCode;\r\n }", "static Company getCompany(SQLiteDatabase db, String companyId) {\n Cursor cursor = db.query(COMPANY_TABLE, null, COMPANY_ID + \" = ?\", new String[] { companyId }, null, null, null);\n List<Company> list = new LinkedList<Company>();\n if (cursor.moveToFirst()) {\n int idIndex = cursor.getColumnIndex(COMPANY_ID);\n int nameIndex = cursor.getColumnIndex(COMPANY_NAME);\n int logoIndex = cursor.getColumnIndex(COMPANY_LOGO);\n int descriptionIndex = cursor.getColumnIndex(COMPANY_DESCRIPTION);\n int lastUpdatedIndex = cursor.getColumnIndex(COMPANY_LAST_UPDATED);\n int wasDeletedIndex = cursor.getColumnIndex(COMPANY_WAS_DELETED);\n\n do {\n if(cursor.getString(idIndex).equals(companyId)) {\n Company company = new Company();\n company.companyId = cursor.getString(idIndex);\n company.name = cursor.getString(nameIndex);\n company.companyLogo = cursor.getString(logoIndex);\n company.companyDescription = cursor.getString(descriptionIndex);\n company.lastUpdatedDate = cursor.getDouble(lastUpdatedIndex);\n company.wasDeleted = (cursor.getInt(wasDeletedIndex) == 1);\n company.models = CarSQL.getCompanyCars(db,company.companyId);\n return company;\n }\n else\n Log.d(\"TAG\",\"can not give correct company companyID \" + companyId + \" from sql\");\n } while (cursor.moveToNext());\n }\n return null;\n }", "private Contacts getContact(String name) {\n Contacts foundContact = contactList.stream()\n .filter(contact ->\n contact.getFirstName().equals(name) ||\n contact.getLastName().equals(name))\n .findFirst().orElse(null);\n return foundContact;\n }", "SearchResultCompany search(String keywords);", "@Override\r\n\tpublic Company getOneCompanyByEmail(String compEmail) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyEmail='\" + compEmail + \"'\";\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tCompany comp = new Company();\r\n\t\t\t\tcomp.setCompId(rs.getInt(\"companyId\"));\r\n\t\t\t\tcomp.setCompName(rs.getString(\"companyName\"));\r\n\t\t\t\tcomp.setCompEmail(compEmail);\r\n\t\t\t\tcomp.setCompPass(rs.getString(\"companyPass\"));\r\n\r\n\t\t\t\treturn comp;\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Couldn't find any company by this Email address: \" + compEmail);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"getOneCompanyByEmail Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public void setPrimaryCompanyName(String primaryCompanyName) {\r\n this.primaryCompanyName = primaryCompanyName;\r\n }", "public void setCompany(String company) {\r\n\t\tthis.company = company;\r\n\t}", "public long employeesCount(String companyShortName);", "public String getCompanyCode() {\n return companyCode;\n }", "public ArrayList<Company> getCompaniesFromCache() {\n\n ParseQuery<Company> query = ParseQuery.getQuery(PARSE_NAME);\n query.fromLocalDatastore();\n\n try {\n return new ArrayList<>(query.find());\n } catch (ParseException e) {\n Log.e(PARSE_NAME, \"Unable to find any merchants from local data store:\\n\" + e.getMessage());\n }\n\n return new ArrayList<>();\n }", "static String editCompany()\n {\n if(companyName !=null) companyName = \"IBM\";\n return companyName;\n }", "public String getGroupSearchCN() {\r\n switch (this.domain) {\r\n case Internal:\r\n return userSID;\r\n case External:\r\n \treturn commonName;\r\n default:\r\n return commonName;\r\n }\r\n }", "public String getCompanyno() {\n return companyno;\n }", "public Company getCompany() {\n\t\treturn company;\n\t}", "public void setCompany(String company) {\n\t\tthis.company = company;\n\t}", "@CheckForNull\n AbstractProject<?, ?> getJobByDisplayName(String displayName);", "@Nullable\n public String getCompanyName() {\n return this.companyName;\n }", "public ResultSet retrivecompname(String compname)throws Exception {\n\trs=DbConnect.getStatement().executeQuery(\"select compname from company where comp_id=\"+compname+\"\");\r\n\treturn rs;\r\n}", "public java.lang.String getCompanyName () {\n\t\treturn companyName;\n\t}", "protected Company getCompany(HttpServletRequest req) {\n\t\t\n\t\tEmployee user = getUser(req);\n\n return (user == null?null:user.getContact().getCompany());\n\t}", "List<Company> getSuggestionsToFollow();", "Company getOrCreateCompanyId(String companyID) throws Exception;", "public com.google.protobuf.ByteString\n getCompanyBytes() {\n java.lang.Object ref = company_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n company_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Company findCompanyByEmailAndPassword(String email, String password);", "public java.lang.String getCompanyName() {\n java.lang.Object ref = companyName_;\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 companyName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }" ]
[ "0.70124215", "0.64443284", "0.64443284", "0.6308758", "0.6250264", "0.6138768", "0.6134559", "0.6131584", "0.60036844", "0.5930818", "0.58849806", "0.58639216", "0.58485866", "0.5843719", "0.5842343", "0.5827345", "0.57721084", "0.5743042", "0.568622", "0.5666953", "0.5663267", "0.56547874", "0.56350684", "0.5623703", "0.56151396", "0.56103134", "0.55779415", "0.55660874", "0.55660874", "0.55588245", "0.55574876", "0.5553654", "0.5553654", "0.554717", "0.55244994", "0.55083525", "0.54912305", "0.5470672", "0.5469737", "0.5469737", "0.5469737", "0.5456139", "0.54435694", "0.5429999", "0.5421398", "0.5417974", "0.5417974", "0.5417974", "0.5417974", "0.5417316", "0.539366", "0.5388811", "0.5384668", "0.5377924", "0.5375229", "0.53658986", "0.53608686", "0.53608686", "0.5358814", "0.5356745", "0.53285813", "0.53090465", "0.53086513", "0.5301576", "0.5300695", "0.5291109", "0.5289977", "0.5288198", "0.5273022", "0.52718663", "0.5258884", "0.5244884", "0.52202594", "0.52004176", "0.5197164", "0.5197164", "0.5188957", "0.5186961", "0.51773936", "0.5175211", "0.5171782", "0.5165649", "0.51605666", "0.51597416", "0.5147502", "0.5123095", "0.5122543", "0.5119873", "0.51147556", "0.51146513", "0.51129293", "0.5101847", "0.5099757", "0.50895417", "0.5078437", "0.50716263", "0.50628483", "0.5061519", "0.50550497", "0.5053971" ]
0.82630914
0
Find a user based on emailId.
public User getUser(String emailId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Users findBYEmailId(String email) {\r\n Query query = em.createNamedQuery(\"findUserByEmailId\");\r\n query.setParameter(\"uemail\", email);\r\n if (!query.getResultList().isEmpty()) {\r\n Users registeredUser = (Users) query.getSingleResult();\r\n return registeredUser;\r\n }\r\n return null;\r\n }", "public User findUserByEmail(final String email);", "public User getByemailId(String emailId) {\n\t\treturn userDao.getByemailId(emailId);\n\t}", "User findUserByEmail(String email) throws Exception;", "User find(String email);", "@Override\n\tpublic Users findUserByEmail(String email) {\n\t\treturn iUserDao.findUserByEmail(email);\n\t}", "public static User findUserByEmail(String email) {\n\n User user = null;\n User targetUser = new User();\n IdentityMap<User> userIdentityMap = IdentityMap.getInstance(targetUser);\n\n String findUserByEmail = \"SELECT * FROM public.member \"\n + \"WHERE email = '\" + email + \"'\";\n\n PreparedStatement stmt = DBConnection.prepare(findUserByEmail);\n\n try {\n ResultSet rs = stmt.executeQuery();\n while(rs.next()) {\n user = load(rs);\n }\n DBConnection.close(stmt);\n rs.close();\n\n } catch (SQLException e) {\n System.out.println(\"Exception!\");\n e.printStackTrace();\n }\n if(user != null) {\n targetUser = userIdentityMap.get(user.getId());\n if(targetUser == null) {\n userIdentityMap.put(user.getId(), user);\n return user;\n }\n else\n return targetUser;\n }\n return user;\n }", "public User getUserByEmail(String email)throws EntityNotFoundException\n\t{\n\t\treturn userDao.getById(email);\n\t}", "public User get(String emailID);", "User getUserByEmail(final String email);", "public VendorUser findVuserBYEmailId(String email) {\r\n Query query = em.createNamedQuery(\"findUserByEmailId\");\r\n query.setParameter(\"uemail\", email);\r\n if (!query.getResultList().isEmpty()) {\r\n VendorUser registeredUser = (VendorUser) query.getSingleResult();\r\n return registeredUser;\r\n }\r\n return null;\r\n }", "public User getUserByEmail(final String email) {\n return em.find(User.class, email.toLowerCase());\n }", "@Override\n\tpublic ERSUser getUserByEmail(String email) {\n\t\treturn userDao.selectUserByEmail(email);\n\t}", "@Override\n\tpublic Login findByEmailId(String emailId) throws LoginNotFoundException{\n\t\treturn userRepo.findById(emailId).orElseThrow(()->new LoginNotFoundException(\"User not found !\"));\n\t}", "@Override\n public TechGalleryUser getUserByEmail(final String email) throws NotFoundException {\n TechGalleryUser tgUser = userDao.findByEmail(email);\n// TechGalleryUser tgUser = userDao.findByEmail(\"[email protected]\");\n if (tgUser == null) {\n throw new NotFoundException(ValidationMessageEnums.USER_NOT_EXIST.message());\n } else {\n return tgUser;\n }\n }", "@Override\n public OpenScienceFrameworkUser findOneUserByEmail(final String email) {\n final OpenScienceFrameworkUser user = findOneUserByUsername(email);\n if (user != null) {\n return user;\n }\n\n // check emails\n try {\n // JPA Hibernate does not support postgres query array operations, use postgres native queries\n // `query.setParameter()` does not work, use string concatenation instead\n final Query query= entityManager.createNativeQuery(\n \"select u.* from osf_osfuser u where u.emails @> '{\" + email + \"}'\\\\:\\\\:varchar[]\",\n OpenScienceFrameworkUser.class\n );\n return (OpenScienceFrameworkUser) query.getSingleResult();\n } catch (final PersistenceException e) {\n LOGGER.error(e.toString());\n return null;\n }\n }", "User findUserByEmail(String userEmail);", "User findByEmail(String email);", "User findByEmail(String email);", "User findByEmail(String email);", "User findByEmail(String email);", "User findByEmail(String email);", "User findByEmail(String email);", "User getUserByEmail(String email);", "public User findByEmail(String email);", "public User findByEmail(String email);", "public User findByEmail(String email);", "@Override\n\tpublic User findByEmail(String email)\n\t{\n\t\tif (email == null) return null;\n\t\n\t\tString property = User.PROP_EMAIL;\n\t\tLabel label = RoostNodeType.USER;\n\t\tUser user = findByUniqueProperty(label, property, email);\n\t\t\n\t\treturn user;\n\t}", "public User getUser(String email) {\r\n\t\tOptional<User> optionalUser = null;\r\n\t\tUser user = null;\r\n\t\ttry {\r\n\t\t\toptionalUser = userList().stream().filter(u -> u.getUserEmail().equals(email)).findFirst();\r\n\t\t\tif (optionalUser.isPresent()) {\r\n\t\t\t\tuser = optionalUser.get();\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"error find user : \" + email + \" \" + e);\r\n\t\t\t\r\n\t\t}\r\n\t\treturn user;\r\n\t}", "public User findByEmail(String email){\n return userRepository.findByEmail(email);\n }", "@Override\n public User getUserByEmail(final String email){\n Query query = sessionFactory.getCurrentSession().createQuery(\"from User where email = :email\");\n query.setParameter(\"email\", email);\n return (User) query.uniqueResult();\n }", "UserEntity findByEmail(String email);", "public User getUser(String email) {\n for (User user : list) {\n if (user.getEmail().equals(email))\n return user; // user found. Return this user.\n }\n return null; // user not found. Return null.\n }", "ServiceUserEntity getUserByEmail(String email);", "public User readByEmail(String email) throws DaoException;", "public User getUserByEmail(String email);", "public User getUserByEmail(String email);", "UserDTO findUserByEmail(String email);", "public static UserEntity search(String email) {\n\t\tDatastoreService datastore = DatastoreServiceFactory\n\t\t\t\t.getDatastoreService();\n\n\t\tQuery gaeQuery = new Query(\"users\");\n\t\tPreparedQuery pq = datastore.prepare(gaeQuery);\n\t\t\n\t\tfor (Entity entity : pq.asIterable()) {\n\t\t\t \n\t\t\tif (entity.getProperty(\"email\").toString().equals(email)) {\n\t\t\t\tUserEntity returnedUser = new UserEntity(entity.getProperty(\n\t\t\t\t\t\t\"name\").toString(), entity.getProperty(\"email\")\n\t\t\t\t\t\t.toString());\n\t\t\t\treturnedUser.setId(entity.getKey().getId());\n\t\t\t\treturn returnedUser;\n\t\t\t }\nelse{\n\t\t\t\t\n }\n\t\t}\n\n\t\treturn null;\n\t}", "User findUserById(Long id) throws Exception;", "public UsersModel getUserById(String userEmail);", "Optional<User> findByEmail(String email);", "Optional<User> findByEmail(String email);", "public User retrieveUserByEmail(String email) throws ApplicationException;", "public User getUserByEmail(String email){\n\t\tif(email == null)\n\t\t\treturn null;\n\t\tSessionFactory sf = HibernateUtil.getSessionFactory();\n\t\tSession session = sf.openSession();\n\t\tTransaction tx = session.beginTransaction();\n\t\ttry{\n\t\t\tCriteria criteria = session.createCriteria(User.class);\n\t\t\tObject obj = criteria.add(Restrictions.eq(\"email\", email)).uniqueResult();\n\t\t\tif(obj == null)\n\t\t\t\treturn null;\n\t\t\tUser user = (User)obj;\n\t\t\ttx.commit();\n\t\t\treturn user;\t\t\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t}", "public User getUser(String email) {\n\t\tLog.i(TAG, \"return a specific user with email.\");\n\t\tSQLiteDatabase db = this.getReadableDatabase();\n\t\tString getcurrentUser = \"select * from \" + TABLE_USER\n\t\t\t\t+ \" where email='\" + email + \"'\";\n\t\tCursor cursor = db.rawQuery(getcurrentUser, null);\n\t\tcursor.moveToFirst();\n\t\tif (cursor.isAfterLast()) return null;\n\t\tUser user = new User(cursor.getInt(0), cursor.getString(1), cursor.getString(2));\n\t\treturn user;\n\t}", "public User findByEmail(String email) {\n return userRepository.findByEmail(email);\n }", "public User findByEmail(String email) {\n return userRepository.findByEmail(email);\n }", "@Override\n public User getUserById(String email) throws UserException {\n User user;\n\n if (email == null || email.equals(\"\")) {\n logger.error(\"invalid user id: \" + email);\n return null;\n }\n try {\n user = userDAO.getUserById(email);\n\n if (user == null) {\n throw new UserException(\"cannot find user to update with id: \" + email);\n }\n\n logger.info(\"created a new user successfully: \" + user.toString());\n return user;\n } catch (UserException e) {\n e.printStackTrace();\n logger.error(e.getMessage());\n return null;\n }\n }", "@Override\r\n\tpublic User getByMail(String eMail) {\n\r\n\t\treturn userDao.get(eMail);\r\n\t}", "public AppUser findByEmail(String email);", "@Override\n\tpublic User getUser(String email){\n\t\tif (userExists(email) == true)\n\t\t\treturn users[searchIndex(email)];\n\t\telse\n\t\t\treturn null;\n\t}", "public User getUserFromEmail(final String email) {\n LOG.info(\"Getting user with email {}\", email);\n return userRepo.getUserByEmail(email);\n }", "public User getUser(int id){\n \n Session session = HibernateUtil.getSessionFactory().openSession();\n Transaction tx = null;\n User user = null;\n try {\n tx = session.beginTransaction();\n\n // Add restriction to get user with username\n Criterion emailCr = Restrictions.idEq(id);\n Criteria cr = session.createCriteria(User.class);\n cr.add(emailCr);\n user = (User)cr.uniqueResult();\n tx.commit();\n } catch (HibernateException e) {\n if (tx != null)\n tx.rollback();\n log.fatal(e);\n } finally {\n session.close();\n }\n return user;\n }", "@Override\n public final CustomerUser getCustomerUserByEmail(final String email) {\n\treturn (CustomerUser) getEntityManager()\t\n\t\t.createQuery(\"select customer from \"\n\t\t\t+ CustomerUser.class.getName()\n\t\t\t+ \" as customer where customer.email =:email\")\n\t\t.setParameter(\"email\", email)\n\t\t.getSingleResult();\n }", "@Override\n public User getByEmail(String email) {\n List<JdbcUser> jdbcUserList = jdbcTemplate.query(\"SELECT * FROM users WHERE email=?\", ROW_MAPPER, email);\n JdbcUser jdbcUser = DataAccessUtils.singleResult(jdbcUserList);\n if (jdbcUser == null) {\n return null;\n }\n return convertToUser(jdbcUser);\n }", "public User getUserByEmail(String email) {\r\n\t\treturn usersPersistence.getUserByEmail(email);\r\n\t}", "@Query(value = \"SELECT user FROM User user WHERE user.active = 1 AND user.email = :email\")\n User findByEmailId(@Param(\"email\") String email);", "User findUser(String userId);", "public static Utente findByEmail(String email) {\n \t\n\t\tSession session = DatabaseManager.getSession();\n Transaction tx = null;\n Utente user = null;\n \n \n try {\n tx = session.getTransaction();\n tx.begin();\n \n CriteriaBuilder builder = session.getCriteriaBuilder();\n CriteriaQuery<Utente> criteria = builder.createQuery(Utente.class);\n Root<Utente> root = criteria.from(Utente.class);\n \n criteria.select(root).where(builder.equal(root.get(Utente_.email), email));\n\n user = session.createQuery(criteria).getSingleResult();\n \n tx.commit();\n \n } catch (Exception e) {\n if (tx != null) {\n tx.rollback();\n \n }\n e.printStackTrace();\n } finally {\n session.close();\n }\n \n return user;\n \n \n }", "public static User getUserByEmail(String email) {\n\t\t// getting user by email\n\t\treturn dao.getUserByEmail(email);\n\t}", "User find(long id);", "public User getUser(String email);", "public User findByEmail(String email) {\n\t\tCriteria crit = createEntityCriteria();\r\n\t\tcrit.add(Restrictions.eq(\"email\", email));\r\n\t\tUser user = (User) crit.uniqueResult();\r\n\t\tif(user != null) {\r\n\t\t\tHibernate.initialize(user.getUserProfiles());\r\n\t\t}\r\n\t\treturn user;\r\n\t}", "User getUserById(Long id);", "User getUserById(Long id);", "public User findByEmail(String email) {\n\t\treturn repo.findByEmail(email);\r\n\t}", "User findOneByMail(String mail);", "public UserTO getByEmail(String email) {\n\t\treturn getDao().getByEmail(email);\n\t}", "User findUserById(int id);", "@Override\n\tpublic User getUser(String email) {\n\t\treturn userDatabase.get(email);\n\t}", "@Override\n\tpublic UserVO searchEmail(String email) throws Exception {\n\t\treturn dao.searchEmail(email);\n\t}", "private UserFormData loadUserIdByEmail(final UserFormData formData) {\n\t\tif (LOG.isDebugEnabled()) {\n\t\t\tLOG.debug(\"Searching userId with email : \" + formData.getEmail().getValue());\n\t\t}\n\t\tSQL.selectInto(SQLs.USER_SELECT_ID_ONLY + SQLs.USER_SELECT_FILTER_EMAIL + SQLs.USER_SELECT_INTO_ID_ONLY,\n\t\t\t\tformData);\n\t\treturn formData;\n\t}", "public User getUserByEmail(String email, String apikey) throws UserNotFoundException, APIKeyNotFoundException{\n if (authenticateApiKey(apikey)){\n return userMapper.getUserByEmail(email);\n }else throw new UserNotFoundException(\"User not found\");\n }", "public UserDTO findByEmail(String email) throws ApplicationException {\n\n\t\tlog.debug(\"Model findByLogin Started\");\n\t\tConnection conn = null;\n\t\tUserDTO dto = null;\n\n\t\tStringBuffer sql = new StringBuffer(\"Select * from st_user where email=?\");\n\n\t\ttry {\n\t\t\tconn = JDBCDataSource.getConnection();\n\t\t\tPreparedStatement stmt = conn.prepareStatement(sql.toString());\n\t\t\tstmt.setString(1, email);\n\t\t\tResultSet rs = stmt.executeQuery();\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tdto = new UserDTO();\n\t\t\t\tdto.setId(rs.getLong(1));\n\t\t\t\tdto.setFirstName(rs.getString(2));\n\t\t\t\tdto.setLastName(rs.getString(3));\n\t\t\t\tdto.setEmail(rs.getString(4));\n\t\t\t\tdto.setPassword(rs.getString(5));\n\t\t\t\tdto.setDob(rs.getDate(6));\n\t\t\t\tdto.setMobileNo(rs.getString(7));\n\t\t\t\tdto.setRoleId(rs.getLong(8));\n\t\t\t\tdto.setGender(rs.getString(9));\n\t\t\t\tdto.setCreatedBy(rs.getString(10));\n\t\t\t\tdto.setModifiedBy(rs.getString(11));\n\t\t\t\tdto.setCreatedDatetime(rs.getTimestamp(12));\n\t\t\t\tdto.setModifiedDatetime(rs.getTimestamp(13));\n\n\t\t\t}\n\t\t\trs.close();\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tlog.error(\"Database Exception\", e);\n\t\t\tthrow new ApplicationException(\"Exception:Exception in getting User by login\");\n\n\t\t} finally {\n\t\t\tJDBCDataSource.closeConnection(conn);\n\t\t}\n\t\tlog.debug(\"Model findByLogin End\");\n\t\treturn dto;\n\t}", "public User_info search_User_info(String email) {\n\t\t\t\tSystem.out.println(user_loginDao.searchId(email));\r\n\t\t\t\treturn user_infoDao.search_User(user_loginDao.findUserByEmail(email).getId());\r\n\t}", "@Override\n\t@Transactional\n\tpublic UserDetails loadUserByUsername(String email) throws UsernameNotFoundException {\n\t\tUserDetails user = null;\n\t\ttry {\n\t\t\t\n\t\t\tuser = searchUser(email);\n\t\t\treturn user;\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\tthrow new RuntimeException(e);\t\t\n\t\t}\n\t}", "Optional<User> findOneByEmail(String email);", "@Transactional\r\n\tpublic User getUserByEmail(String email) {\n\t\treturn cuser.getUserByEmail(email);\r\n\t}", "User findById(Long id);", "public User getUserByEmail(String email) throws Exception {\n\t\tSession session = null;\n\t\tTransaction tx = null;\n\t\ttry{\n\t\t\tsession = getSessionFactory().openSession();\n\t\t\tif(session != null) {\n\t\t\t\ttx = session.beginTransaction();\n\t\t\t\tQuery query = session.createQuery(\"FROM User u where u.email =:email\");\n\t\t\t\tquery.setParameter(\"email\", email);\n\t\t\t\tList list = query.list();\n\t\t\t\tif(list != null && list.size() >0) {\n\t\t\t\t\treturn (User)list.get(0);\n\t\t\t\t}\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} catch (Throwable e) {\n\t\t\tthrow new Exception(e);\n\t\t} finally{\n\t\t\tif(tx != null) {\n\t\t\t\ttx.commit();\n\t\t\t}\n\t\t\tif(session != null) {\n\t\t\t\tsession.close();\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic User findUser(int id) {\n\n\t\tUser user = em.find(User.class, id);\n\n\t\treturn user;\n\t}", "public User findByEmail(String email) {\n\t\ttry {\n\t\t\treturn entityManager\n\t\t\t\t\t.createNamedQuery(User.FIND_BY_EMAIL, User.class)\n\t\t\t\t\t.setParameter(\"email\", email).getSingleResult();\n\t\t} catch (PersistenceException e) {\n\t\t\treturn null;\n\t\t}\n\t}", "public Optional<User> findByEmail(final String email) {\n return null;\n }", "public User getUser(String email) {\n\n Query query = new Query(\"User\").setFilter(new Query.FilterPredicate(\"email\", FilterOperator.EQUAL, email));\n PreparedQuery results = datastore.prepare(query);\n Entity userEntity = results.asSingleEntity();\n if (userEntity == null) {\n return null;\n }\n\n String aboutMe = (String) userEntity.getProperty(\"aboutMe\");\n User user = new User(email, aboutMe);\n\n return user;\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic User getUserByEmail(String email, User user) {\n\t\tSession session = sessionFactory.openSession();\n\t\tList<User> userList = new ArrayList<>();\n\t\tuserList = (List<User>) session.createQuery(\"from User\");\n\t\tfor (User tempUser : userList) {\n\t\t\tif (tempUser.getEmail().equalsIgnoreCase(email)) {\n\t\t\t\tuser = tempUser;\n\t\t\t\tSystem.out.println(\"get uswer by email: \" + user);\n\t\t\t\treturn user;\n\t\t\t}\n\t\t}\n\t\treturn user;\n\t}", "public User getUser(String email) {\n\t\t\tSQLiteDatabase db = this.getReadableDatabase();\n\t\t\t\n\t\t\tCursor cursor = db.query(TABLE_USERS, new String[] { KEY_USER_ID, \n\t\t\t\t\tKEY_PASSWORD, KEY_EMAIL }, KEY_EMAIL + \" = ?\",\n\t\t\t\t\tnew String[] { String.valueOf(email) }, null, null, null, null);\n\t\t\tif (cursor != null)\n\t\t\t\tcursor.moveToFirst();\n\t\t\t\n\t\t\tUser user = new User(\n\t\t\t\t\tcursor.getString(cursor.getColumnIndex(KEY_PASSWORD)),\n\t\t\t\t\tcursor.getString(cursor.getColumnIndex(KEY_EMAIL)),\n\t\t\t\t\tInteger.parseInt(cursor.getString(0)) );\n\t\t\t// return user\n\t\t\treturn user;\n\t\t\t}", "public User findUserById(int id);", "User findById(long id);", "User getUser(Long id);", "public User getUserByEmail(String email_) {\n User user = new User();\n \n return user;\n }", "public User existsProfile(String email) {\n StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();\n StrictMode.setThreadPolicy(policy);\n\n SuperBooleanBuilder query = new SuperBooleanBuilder();\n query.put(\"email\", email);\n Search search = new Search.Builder(query.toString())\n .addIndex(INDEX_NAME)\n .addType(User.class.toString())\n .build();\n\n User result = null;\n try {\n result = client.execute(search).getSourceAsObject(User.class);\n } catch (IOException e1) {\n e1.printStackTrace();\n }\n return result;\n }", "User getUserById(int id);", "public static User findUser(int id) {\r\n return null;\r\n }", "public User getUserByEmail(String email) throws SQLException {\n\t\ttry {\n\n\t\t\tthis.TryConnect();\n\n\t\t\tthis.m_objData.SetStoreName(\"sys_user_getByEmail(?)\");\n\t\t\tthis.m_objData.Parameters.setString(1, email);\n\n\t\t\tResultSetMapper util = new ResultSetMapper<User>();\n\n\t\t\tResultSet lstResult = this.m_objData.ExecToResultSet();\n\n\t\t\tList<User> lstUser = util.mapRersultSetToObject(lstResult,\n\t\t\t\t\tUser.class);\n\n\t\t\tif (lstUser == null)\n\t\t\t\treturn null;\n\n\t\t\tif (lstUser.size() > 0)\n\t\t\t\treturn lstUser.get(0);\n\t\t\treturn null;\n\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} finally {\n\n\t\t\tthis.TryDisconnect();\n\t\t}\n\n\t\treturn null;\n\t}", "@Override\n\tpublic Long getUserIdByEmail(final String email) {\n\t\tfinal UserFormData formData = new UserFormData();\n\t\tformData.getEmail().setValue(email.toLowerCase());\n\t\tthis.loadUserIdByEmail(formData);\n\t\treturn formData.getUserId().getValue();\n\t}", "public User findById(Long id);", "public synchronized User getUser(String email) {\r\n return (email == null) ? null : email2user.get(email);\r\n }", "Optional<User> findUser(int id) throws ServiceException;", "public User getUser(String email) {\n\n Query query = new Query(\"User\")\n .setFilter(new Query.FilterPredicate(\"email\", FilterOperator.EQUAL, email));\n PreparedQuery results = datastore.prepare(query);\n Entity userEntity = results.asSingleEntity();\n if(userEntity == null) {return null; }\n String aboutMe = (String) userEntity.getProperty(\"aboutMe\");\n //ArrayList<String> advisees = new ArrayList<String>(Arrays.asList(((String) userEntity.getProperty(\"advisees\")).split(\" \")));\n //ArrayList<String> advisors = new ArrayList<String>(Arrays.asList(((String) userEntity.getProperty(\"advisors\")).split(\" \")));\n String fn = (String) userEntity.getProperty(\"firstName\");\n String ln = (String) userEntity.getProperty(\"lastName\");\n User user = new User(email, fn, ln, aboutMe);\n return user;\n\n }" ]
[ "0.7942451", "0.79416364", "0.78664196", "0.7825113", "0.77429354", "0.7709441", "0.7655037", "0.7638676", "0.7609551", "0.7603794", "0.757947", "0.75754607", "0.75714076", "0.75538003", "0.7519033", "0.750627", "0.7498824", "0.7478063", "0.7478063", "0.7478063", "0.7478063", "0.7478063", "0.7478063", "0.7472441", "0.74163365", "0.74163365", "0.74163365", "0.7373794", "0.73666805", "0.736289", "0.73561776", "0.7346506", "0.73212993", "0.730161", "0.72878504", "0.72832215", "0.72832215", "0.7281964", "0.7277205", "0.7272288", "0.7271386", "0.7269047", "0.7269047", "0.72639763", "0.72229314", "0.7206567", "0.7206449", "0.7206449", "0.7203236", "0.7192113", "0.71767217", "0.7173611", "0.71606135", "0.7158266", "0.71501434", "0.7142252", "0.7108188", "0.71080524", "0.70980567", "0.7063059", "0.70610917", "0.7005614", "0.7002692", "0.6999168", "0.69984484", "0.69984484", "0.6997447", "0.6982869", "0.697648", "0.6972643", "0.6964545", "0.6955086", "0.6954125", "0.69485384", "0.69453955", "0.6931795", "0.6930189", "0.6923077", "0.6914651", "0.69084436", "0.69078386", "0.6898521", "0.68978614", "0.68893605", "0.6880066", "0.6864436", "0.6856749", "0.68566227", "0.68365836", "0.6818897", "0.6806418", "0.6793628", "0.67927", "0.6749285", "0.67487794", "0.6743582", "0.67378783", "0.6726027", "0.6725576", "0.6718097" ]
0.7914241
2
/ Creates a IssueTracker into the Userrules
public boolean existsUser(String username);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createIssueIT(IssueManager issueManager, ProjectManager projectManager, int relatedIssueID,\n\t\t\tString projectKey, String issueSubjectLog, String issueContent, User assignee, String trackerName,\n\t\t\tString issueSubject, String site, String folderFrom, String folderTo, String timeStamp, String categoryName) {\n\n\t\ttry {\n\t\t\tint issueID;\n\t\t\tIssueCategory category;\n\t\t\tProject projectByKey;\n\t\t\tIssue issue;\n\t\t\tVersion ver;\n\t\t\t\n\t\t\tprojectByKey = projectManager.getProjectByKey(projectKey);\n\t\t\tissue = IssueFactory.create(projectByKey.getId(), issueSubjectLog);\n\t\t\tver = VersionFactory.create(512);\n\t\t\tissue.setTargetVersion(ver);\n\t\t\tissue.setTracker(projectByKey.getTrackerByName(trackerName));\n\t\t\tcategory = getCategoryByName(categoryName, projectByKey);\n\t\t\tissue.setCategory(category);\n\t\t\tissue.setProject(projectByKey);\n\t\t\tissue.setAssignee(assignee);\n\t\t\tissue.setDescription(updateDescrition(site, folderFrom, folderTo, issueSubject, issueContent, timeStamp));\n\t\t\tissueID = issueManager.createIssue(issue).getId();\n\t\t\tcreateRelation(issueManager, issueID, relatedIssueID);\n\n\t\t} catch (RedmineException | IOException e) {\n\n\t\t\te.printStackTrace();\n\n\t\t}\n\t}", "public void copyIssues() {\r\n\ttry {\r\n\t SearchResult jiraResults = getJiraIssues();\r\n\t Iterable<Issue> issues = jiraResults.getIssues();\r\n\r\n\t GitHub github = GitHub.connectUsingPassword(getGitHubUsername(), getGitHubPassword());\r\n\t GHMyself me = github.getMyself();\r\n\t GHRepository sitewhere = github.getRepository(getGitHubRepository());\r\n\r\n\t for (Issue issue : issues) {\r\n\t\tint number = Integer.parseInt(issue.getKey().substring(10));\r\n\t\tif (number != 12) {\r\n\t\t System.out.println(\"Skipping issue \" + issue.getKey());\r\n\t\t} else {\r\n\t\t System.out.println(\"Converting issue \" + issue.getKey());\r\n\t\t GHIssue created = sitewhere.createIssue(issue.getSummary()).assignee(me)\r\n\t\t\t .body(issue.getDescription()).create();\r\n\t\t created.comment(\"From https://sitewhere.atlassian.net/browse/\" + issue.getKey());\r\n\t\t for (Comment comment : issue.getComments()) {\r\n\t\t\tcreated.comment(comment.getBody());\r\n\t\t }\r\n\t\t String typeLabel = issue.getIssueType().getName().toLowerCase();\r\n\t\t created.setLabels(typeLabel);\r\n\t\t created.close();\r\n\r\n\t\t try {\r\n\t\t\tThread.sleep(5 * 1000);\r\n\t\t } catch (InterruptedException e) {\r\n\t\t }\r\n\t\t}\r\n\t }\r\n\t} catch (JiraAccessException e) {\r\n\t e.printStackTrace();\r\n\t} catch (IOException e) {\r\n\t e.printStackTrace();\r\n\t}\r\n }", "public Issue(String summary, String status, String description, int priority, String issue_type,\n Date time_reported, String reporter, String assignee, String issue_id, String project_id) {\n this.summary = summary;\n this.status = status;\n this.description = description;\n this.priority = priority;\n this.issue_type = issue_type;\n this.time_reported = time_reported;\n this.reporter = reporter;\n this.assignee = assignee;\n this.issue_id = issue_id;\n this.project_id = project_id;\n }", "public JiraIssueBag(T identifier, List<ExtendedIssue> originalIssues) {\r\n this.identifier = identifier;\r\n this.originalIssues = originalIssues;\r\n initializePriorityStatistics(timePerPriorityCounters);\r\n initializePriorityStatistics(releasesPerPriorityCounters);\r\n calculateMetrics();\r\n }", "private void generateIssueService(String[] args){\n testIssues = new IssueService(args, accessToken);\n }", "public abstract void addIssue(IssueAbstract issue);", "public IssueImpl(int p_levelObjectType, long p_levelObjectId, String p_title,\n String p_priority, String p_status, String p_category, String severity,\n String p_creatorId, String p_commentText)\n {\n super(Calendar.getInstance().getTime(), p_creatorId, p_title, null);\n m_levelObjectType = p_levelObjectType;\n m_levelObjectId = p_levelObjectId;\n setTitle(p_title);\n setPriority(p_priority);\n setStatus(p_status);\n setCategory(p_category);\n setSeverity(severity);\n addHistory(p_creatorId, p_commentText);\n }", "@DataBoundConstructor\n public CNTracker(ConnectionFactory connectionFactory,\n String project, String tracker, String title, \n String assignUser, Priority priority, boolean attachLog,\n boolean alwaysUpdate, boolean closeOnSuccess, \n String release) {\n super(connectionFactory,project);\n this.tracker = tracker;\n this.title = title;\n this.assign_user = assignUser;\n this.priority = priority.n;\n this.attach_log = attachLog;\n this.always_update = alwaysUpdate;\n this.close_issue = closeOnSuccess;\n this.release = release;\n }", "@Test(enabled = true)\n public String createIssue() throws Exception {\n JSONParser parser = new JSONParser();\n Object obj = parser.parse(new FileReader(JSON_FILE_2));\n JSONObject jsonObject = (JSONObject) obj;\n\n Response res =\n given().\n header(\"Cookie\",\"JSESSIONID=\"+createSession()).and().\n header(\"Content-Type\",\"application/json\").\n body(jsonObject.toJSONString()).\n when().\n post(\"/rest/api/2/issue\").\n then().\n statusCode(201).log().all().extract().response();\n\n //extracting values from the RestAssured Response\n JsonPath jp = res.jsonPath();\n String issueID = jp.get(\"id\");\n System.out.println(\"New Issue ID:\" +issueID);//10005\n return issueID;\n }", "@Test\n public void should_compare_issues_with_database_format() {\n DefaultIssue newIssue = newDefaultIssue(\" message \", 1, RuleKey.of(\"squid\", \"AvoidCycle\"), \"checksum1\");\n IssueDto referenceIssue = newReferenceIssue(\"message\", 1, \"squid\", \"AvoidCycle\", \"checksum2\");\n \n IssueTrackingResult result = new IssueTrackingResult();\n tracking.mapIssues(newArrayList(newIssue), newArrayList(referenceIssue), null, null, result);\n assertThat(result.matching(newIssue)).isSameAs(referenceIssue);\n }", "public Issue(Projeto proj, String titulo, String desc, String dinicial,\r\n\t\t\tint critici, int tipo) {\r\n\t\tsuper();\r\n\t\tthis.proj = proj;\r\n\t\tthis.titulo = titulo;\r\n\t\tthis.desc = desc;\r\n\t\tDinicial = dinicial;\r\n\t\tthis.critici = critici;\r\n\t\tthis.tipo = tipo;\r\n\t\tstatus = 1;\r\n\t}", "public void createBug(Vector2 tilePosition)\n {\n BoardTile tile = getTile(tilePosition);\n if(tile != null)\n {\n BoardBug bug = new BoardBug(bugsId);\n ++bugsId;\n\n bug.setTilePosition(tilePosition);\n tile.setBug(bug);\n board.addChild(bug);\n }\n }", "public GoogleAnalyticsTracker(Tracker tracker) {\n this.tracker = tracker;\n }", "public UserJiraIssueBag(User user) {\r\n this.user = user;\r\n this.periodIssueBags = new HashMap<>();\r\n this.groupKeys = new ArrayList<>();\r\n }", "private NewIssueDTO createIssueDTO(String title, String content, IssueState state, List<Long> idList, List<Long> attachments) {\n Issue simpleIssue = new Issue();\n simpleIssue.setContent(content);\n simpleIssue.setDate(new Date());\n simpleIssue.setTitle(title);\n simpleIssue.setState(state);\n\n NewIssueDTO issueDto = new NewIssueDTO();\n issueDto.setIssue(simpleIssue);\n issueDto.setLabelIdList(idList);\n issueDto.setAttachments(attachments);\n return issueDto;\n }", "int createTicketHistory(TicketHistory ticketHistory, int ticketId, int userId);", "public Single<CreatedIssues> createIssues(\n Map<String, Object> requestBody, Optional<RestRequestEnhancer> restRequestEnhancer) {\n\n RestRequest.Builder requestBuilder = RestRequest.builder()\n .method(HttpMethod.POST)\n .basePath(DEFAULT_BASE_PATH)\n .path(\"/rest/api/3/issue/bulk\");\n\n Map<String, String> pathParams = new HashMap<>();\n requestBuilder.pathParams(pathParams);\n\n Map<String, Collection<String>> queryParams = new HashMap<>();\n requestBuilder.queryParams(queryParams);\n\n Map<String, String> headers = new HashMap<>();\n requestBuilder.headers(headers);\n\n requestBuilder.requestBody(Optional.of(requestBody));\n\n return restClient.callEndpoint(requestBuilder.build(), restRequestEnhancer, returnType_createIssues);\n }", "public Ticket(String name, String descrip, int caseNum, int status, int priority, String solution) {\n\tthis.name = name;\n\tthis.descrip = descrip;\n\tthis.caseNum = caseNum;\n\tthis.status = status;\n\tthis.priority = priority;\n\tthis.solution = solution;\n }", "protected IssueAbstract(String name){\n super(name);\n }", "public static void main(String[] args) throws Exception, IOException {\n String projectId = \"my_project_id\";\n\n createIssueModel(projectId);\n }", "void onIssueCreatedEvent(T event);", "public void createDefectBuilder(String defName, String testcaseId, String workspaceId, String projId, String DefSeverity,\r\n\t\t\t String DefOwner, String DefNotes, String storyId, String attachmentPath){\r\n\r\n\t \r\n\t try{\r\n\t \r\nMap<String, String> reqMap = new HashMap<String, String>();\r\nreqMap.put(RallyConstants.NAME, defName);\r\nreqMap.put(RallyConstants.CREATEDATE, DateUtil.getCurrentDateTime(RallyConstants.CREATION_DATE_FORMAT));\r\nreqMap.put(RallyConstants.TESTCASE, testcaseId);\r\nreqMap.put(RallyConstants.PROJECT, projId);\r\nreqMap.put(RallyConstants.SEVERITY, DefSeverity);\r\nreqMap.put(RallyConstants.OWNER, DefOwner);\r\nreqMap.put(RallyConstants.NOTES, DefNotes);\r\nreqMap.put(RallyConstants.WORKSPACE, workspaceId);\r\n//reqMap.put(\"Requirement\", storyId);\r\n\r\n\tRequestInfo reqInfo= new RequestInfo(RallyConstants.DEFECT, RallyConstants.CREATE, reqMap);\r\n\ttry {\r\n\t\t\tcreate(reqInfo, attachmentPath);\r\n\t\t\tSystem.out.println(\"done with logging defect. Now updating the testcase result\");\r\n\t\t\t\r\n\t\t} catch (DefectException ex) {\r\n\t\tlog.error(ex.getMessage());\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t}catch(NullPointerException e){\r\n\t\tlog.error(e.getMessage());\r\n\t\t}\r\n\t\t}", "@Override\r\n protected void parseIssues()\r\n {\n\r\n }", "protected static void addIssue(ALATaxonRecord atr, InterpretationRemark issue) {\n ModelUtils.addIssue(atr, issue.getId());\n }", "public ExtendedIssue(Issue issue) {\n this.issue = issue;\n this.reporterMetrics = new ExtendedUser(this.issue.getReporter());\n\n loadPriorityProperties();\n loadResolutionProperties();\n }", "int createTicket(Ticket ticket, int userId);", "void create(Feedback entity);", "public AppsFlyerTracker() {}", "@Nonnull\n public com.microsoft.graph.requests.ServiceHealthIssueCollectionRequestBuilder issues() {\n return new com.microsoft.graph.requests.ServiceHealthIssueCollectionRequestBuilder(getRequestUrlWithAdditionalSegment(\"issues\"), getClient(), null);\n }", "public static IssueModel createIssueModel(String projectId) throws Exception, IOException {\n try (ContactCenterInsightsClient client = ContactCenterInsightsClient.create()) {\n // Construct a parent resource.\n LocationName parent = LocationName.of(projectId, \"us-central1\");\n\n // Construct an issue model.\n IssueModel issueModel =\n IssueModel.newBuilder()\n .setDisplayName(\"my-model\")\n .setInputDataConfig(\n IssueModel.InputDataConfig.newBuilder().setFilter(\"medium=\\\"CHAT\\\"\").build())\n .build();\n\n // Call the Insights client to create an issue model.\n IssueModel response = client.createIssueModelAsync(parent, issueModel).get();\n System.out.printf(\"Created %s%n\", response.getName());\n return response;\n }\n }", "protected IssueAbstract(String name, String description){\n super(name, description);\n }", "public Task createTask(long userId, String description, String groupId, String dueTimeStr, int priority, String labels, \n\t\t\tString parentId, long owner);", "@Override\n public void createTechnicalTestService(\n @RequestBody CreateProblemSetRequest createProblemSetRequest)\n {\n List<Problem> problemSet = createProblemSetService(createProblemSetRequest);\n TechnicalTest technicalTest = new TechnicalTest();\n\n technicalTest.setProblems(problemSet);\n technicalTest.setCv(cvRepository.findOne(createProblemSetRequest.getIdCV()));\n\n technicalTestRepository.save(technicalTest);\n\n }", "@Override\n protected void createEntity() {\n ProjectStatus status = createProjectStatus(5);\n setEntity(status);\n }", "void createReport(Report report);", "RentalAgency createRentalAgency();", "TIAssignment createTIAssignment();", "List<UserIssue> findAllUserIssues( Identifiable identifiable );", "private Node createTrackingNode(Session session, RequestData requestData, String userId) throws RepositoryException {\n Calendar today = Calendar.getInstance();\n String path = String.format(\"%s/%s/%s/%s\",\n ConversionJob.JOB_DATA_LOCATION,\n requestData.getType().name().toLowerCase(),\n new SimpleDateFormat(\"yyyy/MM/dd\").format(today.getTime()),\n JcrUtil.createValidName(requestData.getName(), JcrUtil.HYPHEN_LABEL_CHAR_MAPPING, \"-\"));\n Node node = JcrUtils.getOrCreateByPath(path, true, JcrConstants.NT_UNSTRUCTURED, JcrConstants.NT_UNSTRUCTURED, session, false);\n node.setProperty(PN_TITLE, requestData.getName());\n node.setProperty(PN_TEMPLATE_RULES, requestData.getTemplateRules());\n node.setProperty(PN_COMPONENT_RULES, requestData.getComponentRules());\n node.setProperty(PN_POLICY_RULES, requestData.getPolicyRules());\n node.setProperty(PN_TYPE, requestData.getType().toString());\n node.setProperty(PN_CONF_PATH, requestData.getConfPath());\n node.setProperty(PN_SOURCE_ROOT, requestData.getSourceRoot());\n node.setProperty(PN_TARGET_ROOT, requestData.getTargetRoot());\n node.setProperty(PN_PAGE_HANDLING, requestData.getPageHandling().name());\n node.setProperty(PN_OVERWRITE, requestData.isOverwrite());\n node.setProperty(PN_INITIATOR, userId);\n node.setProperty(JcrResourceConstants.SLING_RESOURCE_TYPE_PROPERTY, ConversionJob.RESOURCE_TYPE);\n return node;\n }", "public IssueImpl(int p_levelObjectType, long p_levelObjectId, String p_title,\n String p_priority, String p_status, String p_category, String severity,\n String p_creatorId, String p_commentText, String p_logicalKey)\n {\n this(p_levelObjectType, p_levelObjectId, p_title, p_priority, p_status, p_category,\n severity, p_creatorId, p_commentText);\n setLogicalKey(p_logicalKey);\n if (p_logicalKey != null && p_logicalKey.indexOf(\"_\") > -1)\n {\n int index = p_logicalKey.indexOf(\"_\");\n setTargetPageId(Long.parseLong(p_logicalKey.substring(0, index)));\n }\n }", "public Tickets createTicket(Users user) {\n Tickets tickets = new Tickets();\n tickets.setTicketId(UUID.randomUUID().toString());\n tickets.setId(user.getId());\n entityManager.persist(tickets);\n return tickets;\n }", "TrackerAssigned loadTrackerAssigned(final Integer id);", "public List<Issue> getUserIssues(User user);", "@Override\n\tpublic GetJiraTicketResponseDTO createJiraTicket(Integer id) {\n\t\treturn null;\n\t}", "public CreationScenario(IEmergencyDispatchApi api, Logger logger) {\n\t\tsuper(\"Creation Test\", api, logger);\n\t}", "public static void creatAuditEventTrackingRecord(UUID eventId, String rule) {\n\n if (eventId == null) {\n return;\n }\n\n if (eventTracker == null) {\n return;\n }\n\n var event = eventTracker.getEventDataByRequestId(eventId.toString());\n\n if (event != null) {\n Instant endTime = event.getEndTime();\n if (endTime == null) {\n endTime = Instant.now();\n }\n\n recordAuditEventStartToEnd(eventId.toString(), rule, event.getStartTime(), endTime, \"N/A\");\n }\n }", "public Ticket(String destination, int price)\n {\n this.destination = destination;\n this.price = price;\n issueDateTime = new Date();\n \n }", "protected IssueAbstract(IssueBuilderAbstract builder){\n super(builder);\n assignees = builder.fieldAssignees;\n themes = builder.fieldThemes;\n dueDate = builder.fieldDueDate;\n priority = builder.fieldPriority;\n calendarString = builder.calendarString;\n }", "private void createChangeItem(Issue issue, ChangeItemBean changeItemBean, ApplicationUser remoteUser) {\n IssueUpdateBean issueUpdateBean = new IssueUpdateBean(issue, issue, EventType.ISSUE_UPDATED_ID, remoteUser);\n issueUpdateBean.setDispatchEvent(false);\n issueUpdateBean.setChangeItems(ImmutableList.of(changeItemBean));\n issueUpdater.doUpdate(issueUpdateBean, true);\n }", "public TestTicket() {\n\t}", "public TicketLogEntry(int i, int r, String l, User u, Timestamp d){\n\t\tid = i;\n\t\tticketID = r;\n\t\tlogEntry = l;\n\t\tperformedBy = u;\n\t\tperformedDate = d;\n\t}", "void create(Authority authority) throws ExTrackDAOException;", "private void generateIssueAdapterList(SubJobConfig config, Report report, Iterable<Issue> issues) {\n final ComponentPathBuilder pathBuilder = new ComponentPathBuilder(report.getComponents());\n for (Issue issue : issues) {\n issuesList.add(new SonarQubeIssueAdapter(issue, pathBuilder, config));\n }\n }", "public static IdTracker createInstance(IdTrackerType idTrackerType) {\n\t\tif (IdTrackerType.BitSet.equals(idTrackerType)) {\n\t\t\treturn new BitSetIdTracker();\n\t\t} else if (IdTrackerType.IdList.equals(idTrackerType)) {\n\t\t\treturn new ListIdTracker();\n\t\t} else {\n\t\t\tthrow new OsmosisRuntimeException(\"The IdTrackerType \" + idTrackerType + \" is not recognised.\");\n\t\t}\n\t}", "private static void createSubmission(String[] attributes, int docuID, int orgID) {\n\t\tint actID = ActivityDetailsService.getActivityDetailsByDocuID(docuID).getId();\n\t\tint submissionID = SubmissionDetailsService.getSubmissionIDByDateSubmittedAndActID(toDateTime(attributes[0]), actID);\n\t\t//System.out.println(\"docuID: \" + docuID);\n\t\tif(submissionID == 0){\n\t\t\t//create submission details\n\t\t\tSubmissionDetails subDet = new SubmissionDetails();\n\t\t\tsubDet.setActID(actID);\n\t\t\tsubDet.setSubmittedBy(attributes[16]);\n\t\t\tsubDet.setContactNo(attributes[17]);\n\t\t\tsubDet.setEmailAddress(attributes[18]);\n\t\t\tsubDet.setDateSubmitted(toDateTime(attributes[0]));\n\t\t\tsubDet.setSubmissionType(attributes[4]);\n\t\t\t\n\t\t\tif(subDet.getSubmissionType().equalsIgnoreCase(\"Special Approval Slip\"))\n\t\t\t\tsubDet.setSasType(attributes[19]);\n\t\t\telse subDet.setSasType(\"-\");\n\t\t\tSubmissionDetailsService.addSubmissionDetails(subDet);\n\t\t\tif(attributes.length >= 21) {\n\t\t\t\tsubmissionID = SubmissionDetailsService.getSubmissionIDByDateSubmittedAndActID(toDateTime(attributes[0]), actID);\n\t\t\t\tcreateCheckingDetails(attributes, submissionID);\n\t\t\t}\n\t\t} else {\n\t\t\tif(attributes.length >= 21) {\n\t\t\t\tsubmissionID = SubmissionDetailsService.getSubmissionIDByDateSubmittedAndActID(toDateTime(attributes[0]), actID);\n\t\t\t\tcreateCheckingDetails(attributes, submissionID);\n\t\t\t}\n\t\t}\n\t\n\t}", "public CTFArtifact createNewTrackerArtifact(CTFTracker t,\n String status,\n String description,\n AbstractBuild <?, ?> build)\n throws IOException, InterruptedException {\n if (this.cna == null) {\n this.log(\"Cannot call createNewTrackerArtifact, not logged in!\");\n return null;\n }\n CTFFile buildLog = null;\n if (this.getAttachLog()) {\n buildLog = this.uploadBuildLog(build);\n if (buildLog != null) {\n this.log(\"Successfully uploaded build log.\");\n } else {\n this.log(\"Failed to upload build log.\");\n }\n }\n // check assign user validity\n String assignTo = this.getValidAssignUser(t.getProject());\n String title = this.getInterpreted(build, this.getTitle());\n CTFRelease release = CNHudsonUtil.getProjectReleaseId(t.getProject(),this.getRelease());\n try {\n CTFArtifact asd = t.createArtifact(title,\n description, null, null, status,\n null, this.priority, 0, \n assignTo, release!=null?release.getId():null, null,\n build.getLogFile().getName(), \n \"text/plain\", buildLog);\n this.log(\"Created tracker artifact '\" + title + \"' in tracker '\" \n + this.getTracker() + \"' in project '\" + this.getProject()\n + \"' on behalf of '\" + this.getUsername() + \"' at \" \n + asd.getURL() + \".\");\n return asd;\n } catch (RemoteException re) {\n this.log(\"createNewTrackerArtifact\", re);\n return null;\n }\n }", "public void addTissue(boolean UD,HashSet<Integer> tissueOverlapGenes,ArrayList<Integer> tissueGenes,TissueDP dp,int minGenesInREP,double tissueGenesThresh) {\r\n\t\t\r\n\t\tString tissueName = dp.label;\r\n\t\tdouble tiu = ((double) tissueGenes.size())/((double) dp.genes.length);\r\n\t\tdouble tou = ((double) tissueOverlapGenes.size())/((double) totalGenesInREP);\r\n\t\tboolean sig = false;\r\n\t\t\r\n\t\tdouble p = 0.0;\r\n\t\t\r\n\t\tint x = tissueOverlapGenes.size();\r\n\t\t\r\n\t\tif (x < minGenesInREP) {\r\n\t\t\tp = -1000.0;\r\n\t\t} else {\r\n\t\t\tp = tiu;\r\n\t\t}\r\n\t\t\t\t\r\n\t\tIterator<Integer> iter = null;\r\n\t\tint geneID = 0;\r\n\t\tif (p >= tissueGenesThresh) {\r\n\t\t\tnumUse++;\r\n\t\t\tsig = true;\r\n\t\t\titer = tissueOverlapGenes.iterator();\r\n\t\t\twhile(iter.hasNext()) {\r\n\t\t\t\tgeneID = iter.next();\r\n\t\t\t\tgeneOccurNormalized[geneID]++;\r\n\t\t\t}\r\n\t\t\titer = tissueGenes.iterator();\r\n\t\t\twhile(iter.hasNext()) {\r\n\t\t\t\tgeneID = iter.next();\r\n\t\t\t\tgeneIntensityNormalized[geneID]++;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tOverlapTissue ot = new OverlapTissue(tissueName,tiu,tou,UD,sig);\r\n\t\ttissues.put(tissueName,ot);\r\n\t}", "public void create(Employee employee, Company company, IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "@Insert//(onConflict = OnConflictStrategy.IGNORE)\n void insert(Issue issue);", "public TestBugReports(String name) {\n super(name);\n }", "@Test\n public void testAddComment() throws Exception {\n\n Tracker tracker = new Tracker();\n\n String action = \"0\";\n String yes = \"y\";\n String no = \"n\";\n\n // add item\n\n String name = \"task1\";\n String desc = \"desc1\";\n String create = \"3724\";\n\n Input input1 = new StubInput(new String[]{action, name, desc, create, yes});\n new StartUI(input1).init(tracker);\n\n // get item id\n\n String id = \"\";\n\n Filter filter = new FilterByName(name);\n Item[] result = tracker.findBy(filter);\n for (Item item : result) {\n if (item !=null && item.getName().equals(name)) {\n id = item.getId();\n break;\n }\n }\n\n // add comment to item\n\n String action2 = \"3\";\n String comment = \"new comment\";\n\n Input input2 = new StubInput(new String[]{action2, comment, yes});\n new StartUI(input2).init(tracker);\n\n for (Comment nextComment : tracker.findById(id).getComments()) {\n if(nextComment != null) {\n Assert.assertEquals(nextComment.getText(), comment);\n break;\n }\n }\n }", "private void openTask (BugzillaIssue issue) throws InterruptedException {\n issue.opened();\n for (int i = 0; i < 10; ++i) {\n if (!issue.getFieldValue(IssueField.SUMMARY).isEmpty()) {\n break;\n }\n Thread.sleep(1000);\n }\n }", "TesttrackFactory getTesttrackFactory();", "TrackerAssigned getTrackerAssigned(final Integer id);", "public void createBug(Bug bug) {\n\t\tbugRespository.save(bug);\n\t}", "public IssueResponse(Issue issue) {\n\t\tthis.id = issue.getId();\n\t\tthis.name = issue.getName();\n\t\tthis.shortDate = issue.getShortDate();\n\t\tthis.testIssue = issue.getTestIssue();\n\t}", "@ApiOperation(httpMethod = \"POST\", value = \"Adding issue exception to the corresponding target type\")\n @RequestMapping(path = \"/v2/issue/add-exception\", method = RequestMethod.POST)\n @ApiResponses(value = { @ApiResponse(code = 200, message = \"Successfully Added Issue Exception\"),\n @ApiResponse(code = 401, message = \"You are not authorized to Add Issue Exception\"),\n @ApiResponse(code = 403, message = \"Add Issue Exception is forbidden\") })\n @ResponseBody\n \n public ResponseEntity<Object> addIssuesException(\n @ApiParam(value = \"Provide Issue Exception Details\", required = true) @RequestBody(required = true) IssuesException issuesException) {\n try {\n \n if (issuesException.getExceptionGrantedDate() == null) {\n return ResponseUtils.buildFailureResponse(new Exception(\"Exception Granted Date is mandatory\"));\n }\n if (issuesException.getExceptionEndDate() == null) {\n return ResponseUtils.buildFailureResponse(new Exception(\"Exception End Date is mandatory\"));\n }\n \n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n Calendar cal = Calendar.getInstance();\n cal.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n if(sdf.parse(sdf.format(issuesException.getExceptionGrantedDate())).before(sdf.parse(sdf.format(cal.getTime())))) {\n return ResponseUtils.buildFailureResponse(new Exception(\"Exception Granted Date cannot be earlier date than today\"));\n }\n if(sdf.parse(sdf.format(issuesException.getExceptionEndDate())).before(sdf.parse(sdf.format(cal.getTime())))) {\n return ResponseUtils.buildFailureResponse(new Exception(\"Exception End Date cannot be earlier date than today\"));\n }\n if(issuesException.getIssueIds().isEmpty()) {\n return ResponseUtils.buildFailureResponse(new Exception(\"Atleast one issue id is required\"));\n }\n return ResponseUtils.buildSucessResponse(complianceService.addMultipleIssueException(issuesException));\n } catch (ServiceException | ParseException exception) {\n return ResponseUtils.buildFailureResponse(exception);\n }\n }", "private static List<GeneralIssue> parseAllIssues(String youtrackIssues, String iRecordIssues, String croogleIssues) {\n return List.of();\n }", "@Test(dataProvider=\"getloginData\")\n\tpublic void createBugTests(String username,String password,String name,String errorMessages,String error,String statuscode) throws IOException, ParseException{\n\t\tHashMap<String ,String> m = new HashMap<String ,String>();\n\t\tif(!name.equals(\"null\"))\n\t\t\tm.put(\"session.name\", name);\n\t\tif(!errorMessages.equals(\"null\")){\n\t\t\tm.put(\"errorMessages\", errorMessages);\n\t\t}\n\t\tif(!error.equals(\"null\")){\n\t\t\tm.put(\"errors\", error);\n\t\t}\n\n\t\t// creating defect/issue\n\t\tFileReader f = new FileReader(\"F:\\\\EclipseOxygen\\\\jira-api\\\\src\\\\test\\\\java\\\\files\\\\loginData.json\");\n\t\tJSONObject js = (JSONObject)parser.parse(f);\n\t\tjs.replace(\"username\",username );\n\t\tjs.replace(\"password\",password );\n\t\tSystem.out.println(\"this create issue data : \"+js.toJSONString());\n\n\t\tRestAssured.baseURI = getURLData();\n\t\t//System.out.println(\"resuable methods issue resources : \"+ResuableMethods.getIssueResources());\n\t\t//System.out.println(\"this is session key : \"+ResuableMethods.getSessionKey());\n\t\tSystem.out.println(\"..................................\");\n\t\tResponse res = given().\n\t\t\t\theader(\"Content-Type\",\"application/json\").\n\t\t\t\tbody(js.toJSONString()).\n\t\t\t\twhen().\n\t\t\t\tpost(getResources()).\n\t\t\t\tthen().\n\t\t\t\tstatusCode(Integer.parseInt(statuscode)).and().extract().response();\n\t\tSystem.out.println(\"Response:\"+res.asString());\n\t\tJsonPath jsp = ResuableMethods.rawToJson(res);\n\t\tString issueREs = jsp.prettify();\n\t\tSystem.out.println(\"login response : \"+issueREs);\n\n\t\tSystem.out.println(\"....................................\");\n\t\tResuableMethods.validationFun(res, m);\n\t}", "void create(Team team);", "@Override\n public void initialize(InputSplit inputSplit, TaskAttemptContext taskAttemptContext) {\n jiraClient = new JiraClient(config);\n SearchResult searchResult = jiraClient.getSearchResult(startAt);\n issueIterator = searchResult.getIssues().iterator();\n issuesCount = searchResult.getTotal();\n }", "public Rally(RallyInfo rallyInfo) throws DefectException{\r\n\t\tthis.rallyInfo = rallyInfo;\r\n\t}", "BugFactory getBugFactory();", "@Override\n\tpublic int createTicket(Booking_ticket bt) {\n\t\treturn btr.createTicket(bt);\n\t}", "@Override\n\tpublic void createTicket(TicketData request , StreamObserver<TicketData> responseObserver) {\n\t\tSystem.out.println(\"Requested to store a new Ticket\");\n\n\t\tTicket t = SimpleTicketStore.CreateTicket(\n\t\t\t\trequest.getReporter()\n\t\t\t\t,request.getTopic()\n\t\t\t\t,de.uniba.rz.entities.Status.values()[request.getStatusValue()]\n\t\t\t\t\t\t,request.getDescription()\n\t\t\t\t\t\t,de.uniba.rz.entities.Type.values()[request.getTypeValue()]\n\t\t\t\t\t\t\t\t,Priority.values()[request.getPriorityValue()]\n\t\t\t\t);\n\n\t\tTicketData tdata = Ticket2TicketData(t);\n\n\t\tresponseObserver.onNext(tdata);\n\t\tresponseObserver.onCompleted();\n\n\t}", "boolean createTicketAssignments(List<Ticket> tickets);", "public static void main(String[] args) throws Exception{\n TicketManager manager = new TicketManager();\n\n BufferedWriter fileOpen = new BufferedWriter(new FileWriter(\"open_tickets.txt\", true));\n Scanner inputFile = new Scanner(new File(\"open_tickets.txt\"));\n\n String dateFormat = \"EEE MMM dd hh:mm:ss z yyyy\";\n SimpleDateFormat format = new SimpleDateFormat(dateFormat);\n\n while (inputFile.hasNext())\n {\n Ticket open = new Ticket(inputFile.nextLine(), Integer.parseInt(inputFile.nextLine()),\n inputFile.nextLine(), format.parse(inputFile.nextLine()), null, null);\n\n ticketQueue.add(open);\n }\n fileOpen.close();\n\n //TODO problem 8 load open tickets from a file\n\n //TODO Problem 9 how will you know what ticket ID to start with?\n\n manager.mainMenu();\n }", "@Nonnull\n public com.microsoft.graph.requests.ServiceHealthIssueRequestBuilder issues(@Nonnull final String id) {\n return new com.microsoft.graph.requests.ServiceHealthIssueRequestBuilder(getRequestUrlWithAdditionalSegment(\"issues\") + \"/\" + id, getClient(), null);\n }", "private void createInstance() throws DefectException{\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tString username = TestBedManager.INSTANCE.getDefectConfig().getUsername();\r\n\t\t\t\r\n\t\t\tString password = encrypt_decrypt.getDecodedValue(TestBedManager.INSTANCE.getDefectConfig().getPassword());\r\n\t\t\t\r\n\t\t\t//restApi = new RallyRestApi(new URI(rallyInfo.getUrl()), rallyInfo.getUserName(), rallyInfo.getPassword());\r\n\t\t\trestApi = new RallyRestApi(new URI(rallyInfo.getUrl()),username ,password);\r\n\t\t} catch (URISyntaxException e) {\r\n\t\t\tlog.error(\"failed to connect to rally instance, message : \" + e.toString() + \"RallyInfo -\" + rallyInfo);\r\n\t\t\tthrow new DefectException(\"failed to connect to rally instance, message : \" + e.toString()); \t\r\n\t\t}\r\n\t\tif(rallyInfo.getWsapiVersion() != null)\r\n\t\t\trestApi.setWsapiVersion(rallyInfo.getWsapiVersion());\r\n\t\trestApi.setApplicationName(rallyInfo.getAppName());\r\n\t\t\r\n\t}", "public static void createTicket(Ticket ticket) {\n try {\n Connection conn = Main.conn;\n PreparedStatement statement = conn.prepareStatement(\"INSERT INTO bs_tickets (username, admin, status, question, server, date_created, date_accepted, date_resolved) VALUES (?, ?, ?, ?, ?, ?, ?, ?)\");\n\n statement.setString(1, ticket.username);\n statement.setString(2, ticket.admin);\n statement.setString(3, ticket.status);\n statement.setString(4, ticket.question);\n statement.setString(5, ticket.server);\n statement.setInt(6, ticket.date_created);\n statement.setInt(7, ticket.date_accepted);\n statement.setInt(8, ticket.date_resolved);\n\n statement.executeUpdate();\n }\n catch (SQLException e) {\n e.printStackTrace();\n }\n }", "MultiServiceTracker createTracker(TrackerCallback callback) {\n return new MultiServiceTracker(context, callback);\n }", "Tracker getFeatureEngagementTracker();", "public TAccountTicketFlow(){}", "public Single<CreatedIssue> createIssue(\n Map<String, Object> requestBody, Optional<Boolean> updateHistory, Optional<RestRequestEnhancer> restRequestEnhancer) {\n\n RestRequest.Builder requestBuilder = RestRequest.builder()\n .method(HttpMethod.POST)\n .basePath(DEFAULT_BASE_PATH)\n .path(\"/rest/api/3/issue\");\n\n Map<String, String> pathParams = new HashMap<>();\n requestBuilder.pathParams(pathParams);\n\n Map<String, Collection<String>> queryParams = new HashMap<>();\n if (updateHistory.isPresent()) {\n queryParams.put(\"updateHistory\", Collections.singleton(String.valueOf(updateHistory.get())));\n }\n requestBuilder.queryParams(queryParams);\n\n Map<String, String> headers = new HashMap<>();\n requestBuilder.headers(headers);\n\n requestBuilder.requestBody(Optional.of(requestBody));\n\n return restClient.callEndpoint(requestBuilder.build(), restRequestEnhancer, returnType_createIssue);\n }", "AchievementModel createAchievementModel(AchievementModel achievementModel);", "List<Issue> listUserIssues( ModelObject modelObject );", "UsabilityGoal createUsabilityGoal();", "public void createOpportunity(String oppoSubject_, String oppoCloseDate_, String oppoAmount_\n , String oppoProbablity_, String oppoRelatedLead_, String oppoAssignedto_, String oppoID_, String oppoRelatedLeadID_, String oppoAssignedToID_) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n // make values to be inserted\n ContentValues values = new ContentValues();\n values.put(oppoSubject,oppoSubject_ );\n values.put( oppoCloseDate,oppoCloseDate_);\n values.put( oppoAmount, oppoAmount_);\n values.put(oppoProbablity , oppoProbablity_ );\n values.put(oppoRelatedLead , oppoRelatedLead_ );\n values.put(oppoAssignedto , oppoAssignedto_ );\n values.put(oppoID , oppoID_ );\n values.put(oppoRelatedLeadID, oppoRelatedLeadID_);\n values.put(oppoAssignedToID, oppoAssignedToID_);\n\n String xcf= oppoSubject_;\n // insert Event\n db.insert(table_Opportunity, null, values);\n\n // close database transaction\n\n }", "@RequestMapping(path = \"/v1/issues\", method = RequestMethod.POST)\n @ResponseBody\n public ResponseEntity<Object> getIssues(@RequestBody(required = false) Request request) {\n String assetGroup = request.getAg();\n Map<String, String> filters = request.getFilter();\n\n if (Strings.isNullOrEmpty(assetGroup) || MapUtils.isEmpty(filters)\n || Strings.isNullOrEmpty(filters.get(DOMAIN))) {\n return ResponseUtils.buildFailureResponse(new Exception(ASSET_GROUP_DOMAIN));\n }\n ResponseWithOrder response = null;\n try {\n response = complianceService.getIssues(request);\n } catch (ServiceException e) {\n return complianceService.formatException(e);\n }\n\n return ResponseUtils.buildSucessResponse(response);\n }", "@Override\n public void create(ScheduledInterview scheduledInterview) {\n long generatedId = new Random().nextLong();\n ScheduledInterview storedScheduledInterview =\n ScheduledInterview.create(\n generatedId,\n scheduledInterview.when(),\n scheduledInterview.interviewerId(),\n scheduledInterview.intervieweeId(),\n scheduledInterview.meetLink(),\n scheduledInterview.position(),\n scheduledInterview.shadowId());\n data.put(generatedId, storedScheduledInterview);\n }", "private void initModel() {\n\t\tList<Issue> issues = negotiationSession.getUtilitySpace().getDomain().getIssues();\n\n\t\tthis.issueEvaluationList = new IssueEvaluationList(issues.size());\n\n\t\t// Create an empty issueEvaluation object for each issue in the domain.\n\t\t// This will later contain all information we can gather on the\n\t\t// negotiator.\n\t\tfor (int index = 0; index < issues.size(); index++) {\n\t\t\tIssue issue = issues.get(index);\n\t\t\tAIssueEvaluation issueEvaluation = null;\n\n\t\t\tif (issue instanceof IssueDiscrete)\n\t\t\t\tissueEvaluation = new IssueEvaluationDiscrete((IssueDiscrete) issue);\n\t\t\telse if (issue instanceof IssueInteger) {\n\t\t\t\t// We use the range in which our utility is non-zero to estimate\n\t\t\t\t// the distribution of the opponent.\n\t\t\t\tIssueInteger issueI = (IssueInteger) issue;\n\t\t\t\tRange ourNonZeroUtilityRange = new Range(issueI.getLowerBound(), issueI.getUpperBound());\n\t\t\t\tissueEvaluation = new IssueEvaluationInteger((IssueInteger) issue, ourNonZeroUtilityRange);\n\t\t\t} else if (issue instanceof IssueReal) {\n\t\t\t\t// We use the range in which our utility is non-zero to estimate\n\t\t\t\t// the distribution of the opponent.\n\t\t\t\tIssueReal issueR = (IssueReal) issue;\n\t\t\t\tRange ourNonZeroUtilityRange = new Range(issueR.getLowerBound(), issueR.getUpperBound());\n\t\t\t\tissueEvaluation = new IssueEvaluationReal((IssueReal) issue, ourNonZeroUtilityRange);\n\t\t\t} else\n\t\t\t\tthrow new UnsupportedOperationException(\"There is no implementation for that issueType.\");\n\n\t\t\t// Add the new issueEvaluation to the list.\n\t\t\tthis.issueEvaluationList.addIssueEvaluation(issueEvaluation);\n\t\t}\n\t}", "public EncounterFBO(QueueItem q) {\n\t\tthis.queueItem = q;\n\t\tthis.status = q.getStatus().toString();\n\t\tthis.patientResponses = \"\";\n\t\tthis.existingDiagnoses = \"\";\n\t\tthis.diagnoses = new ArrayList<Concept>();\n\t\tthis.doctorName = Context.getAuthenticatedUser().getGivenName() + \" \" +\n\t\t\t\t\t\t Context.getAuthenticatedUser().getFamilyName();\n\t\t\n\t\t//Initialize concept sources\n\t\tthis.conceptSources = new ArrayList<String>();\n\t\t\n //Add default concept source\n conceptSources.add(\"Default\");\n \n\t\tList<ConceptSource> sources = Context.getConceptService()\n\t\t.getAllConceptSources();\n Iterator<ConceptSource> iteratorSources = sources.iterator();\n\t\t\n while(iteratorSources.hasNext()){\n \tconceptSources.add(iteratorSources.next().getName());\n }\n \n \n\t\tMap<Concept, List<Obs>> om = new HashMap<Concept, List<Obs>>();\n\t\tfor(Obs o : q.getEncounter().getObs()) {\n\t\t\tList<Obs> ol = null;\n\t\t\tif(om.containsKey(o.getConcept())) {\n\t\t\t\tol = om.get(o.getConcept());\n\t\t\t} else {\n\t\t\t\tol = new ArrayList<Obs>();\n\t\t\t\tom.put(o.getConcept(), ol);\n\t\t\t}\n\t\t\tol.add(o);\n\t\t}\n\n //Initialize patient response with date of initial encounter\n patientResponses = \"<b>Date of Encounter:</b><br>\" \n \t\t+ q.getDateCreated().toString().substring(0,10) + \"<br><br>\"; \n\t\t\n\t\tString diagnoses = \"\";\n\t\tString urgency = \"\";\n\t\tString assessment = \"\";\n\t\tString recommendations = \"\";\n\t\tString treatment = \"\";\n\t\tString infoRequest = \"\";\n\t\tString conceptName = \"\";\n\t\tString doctorName = \"\";\n\t\tLocale l = Context.getLocale();\n\t\t\n\t\tfor(Obs o : q.getEncounter().getObs()) {\n\t\t\t//append to summary of all patient responses\n\t\t\tif(!o.isComplex())\n\t\t\t{\t\t\n\t\t\t\tconceptName = o.getConcept().getDisplayString();\n\t\t\t\tlog.debug(conceptName);\n\t\t\t\t\n\t\t\t\t//Case is Deferred\n\t\t\t\tif(q.getStatus().equals(QueueItemStatus.DEFERRED))\n\t\t\t\t{\n\t\t\t\t\tif(conceptName.equals(\"DOCTOR INFO REQUEST\")){\n\t\t\t\t\t\tinfoRequest += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t+ o.getCreator().getFamilyName();\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//Already has diagnosis\n\t\t\t\tif(q.getStatus().equals(QueueItemStatus.CLOSED))\n\t\t\t\t{\n\t\t\t\t\tif(conceptName.equals(\"DOCTOR DIAGNOSIS\")){\n\t\t\t\t\t\tString value = o.getValueAsString(l);\n\t\t\t\t\t\tif(value.contains(\"|\"))\n\t\t\t\t\t\t\tdiagnoses += \"<br>\" +value.substring(0,\n\t\t\t\t\t\t\t\t\tvalue.indexOf('|')-1).toLowerCase();\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tdiagnoses += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\n\t\t\t\t\t}\n\t\t\t\t\telse if(conceptName.equals(\"DOCTOR URGENCY LEVEL\")){\n\t\t\t\t\t\turgency += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\n\t\t\t\t\t}\n\t\t\t\t\telse if(conceptName.equals(\"DOCTOR TREATMENT RECOMMENDATION\")){\n\t\t\t\t\t\ttreatment += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\t\n\t\t\t\t\t}\n\t\t\t\t\telse if(conceptName.equals(\"DOCTOR ASSESSMENT\")){\n\t\t\t\t\t\tassessment += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\n\t\t\t\t\t}\n\t\t\t\t\telse if(conceptName.equals(\"DOCTOR RECOMMENDATIONS\")){\n\t\t\t\t\t\trecommendations += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\n\t\t\t\t\t}\n\t\t\t\t\telse if(conceptName.equals(\"DOCTOR INFO REQUEST\")){\n\t\t\t\t\t\tinfoRequest += \"<br>\" + o.getValueAsString(l);\n\t\t\t\t\t\tdoctorName = o.getCreator().getGivenName() + \" \" \n\t\t\t\t\t\t\t\t\t+ o.getCreator().getFamilyName();\t\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Set patient responses\n\t\t\t\t//Don't list personal info obs (i.e. birthdate)\n\t\t\t\tif(!conceptName.equals(\"PATIENT ID\") &&\n\t\t\t\t\t!conceptName.equals(\"FIRST NAME\") &&\n\t\t\t\t\t!conceptName.equals(\"LAST NAME\") &&\n\t\t\t\t\t!conceptName.equals(\"BIRTHDATE MONTH\") &&\n\t\t\t\t\t!conceptName.equals(\"BIRTHDATE DAY\") &&\n\t\t\t\t\t!conceptName.equals(\"BIRTHDATE YEAR\") &&\n\t\t\t\t\t!conceptName.equals(\"GENDER\") &&\n\t\t\t\t\t!conceptName.equals(\"PATIENT ALREADY ENROLLED\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR DIAGNOSIS\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR TREATMENT RECOMMENDATION\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR URGENCY LEVEL\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR ASSESSMENT\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR RECOMMENDATIONS\") &&\n\t\t\t\t\t!conceptName.equals(\"DOCTOR INFO REQUEST\")){\n\t\t\t\t\tif (o.getValueAsString(l).equals(\"\")){\n\t\t\t\t\t\tpatientResponses += \"<b>\" + o.getConcept()\n\t\t\t\t\t\t\t.getDescription().getDescription() \n\t\t\t\t\t\t\t+ \"</b><br>No response given<br><br>\";\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tpatientResponses += \"<b>\" + o.getConcept()\n\t\t\t\t\t\t\t.getDescription().getDescription() \n\t\t\t\t\t\t\t+ \"</b><br>\" + o.getValueAsString(l) + \"<br><br>\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t\t\t\n\t\t//Set existing diagnoses\n\t\tif(!diagnoses.equals(\"\") || !treatment.equals(\"\") \n\t\t\t\t|| !assessment.equals(\"\") || !recommendations.equals(\"\") \n\t\t\t\t|| !urgency.equals(\"\") || !infoRequest.equals(\"\"))\n\t\t{\n\t\t\texistingDiagnoses = \"<b>Date of Specialist Consult: </b><br>\" \n\t\t\t\t+ q.getDateChanged().toString().substring(0,10) \n\t\t\t\t+ \"<br><br><b>Specialist:</b><br>\" + doctorName;\n\t\t\t\n\t\t\tif(!infoRequest.equals(\"\"))\n\t\t\t\texistingDiagnoses += \"<br><br><b>Request for More Info: </b>\" \n\t\t\t\t\t+ infoRequest;\n\t\t\t\n\t\t\tif(!urgency.equals(\"\"))\n\t\t\t\texistingDiagnoses += \"<br><br><b>Urgency Level: </b>\" \n\t\t\t\t\t+ urgency;\n\t\t\t\n\t\t\tif(!diagnoses.equals(\"\") || !treatment.equals(\"\") \n\t\t\t\t\t|| !assessment.equals(\"\") || !recommendations.equals(\"\"))\n\t\t\t\texistingDiagnoses += \"<br><br><b>Diagnosis: </b>\" + diagnoses + \n\t\t\t\t\t\t\t\t \t \"<br><br><b>Plan: </b>\" + treatment + assessment + recommendations;\n\n\t\t\tlog.debug(\"Existing Diagnoses: \" + existingDiagnoses);\n\t\t}\n\n\t\t//Set obs map\n\t\tthis.obsMap = om;\n\t\t\n\t}", "public Tracker getTracker() {\n return tracker;\n }", "@Test\n\tpublic void testCreate() throws Exception {\n\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");\n\t\tDate startDate = new Date();\n\t\tCalendar calendar = new GregorianCalendar();\n\t\tcalendar.setTime(startDate);\n\t\tcalendar.add(Calendar.MONTH, 2);\n\t\t//\"name\":\"mizehau\",\"introduction\":\"dkelwfjw\",\"validityStartTime\":\"2015-12-08 15:06:21\",\"validityEndTime\":\"2015-12-10 \n\n\t\t//15:06:24\",\"cycle\":\"12\",\"industry\":\"1202\",\"area\":\"2897\",\"remuneration\":\"1200\",\"taskId\":\"TVRRME9UVTFPRE0zT0RBeU1EQXdNRFkyTVRnMU9EQTU=\"\n\t\tProject a = new Project();\n\t\tDate endDate = calendar.getTime();\n\t\tString name = \"mizehau\";\n\t\tString introduction = \"dkelwfjw\";\n\t\tString industry = \"1202\";\n\t\tString area = \"test闫伟旗创建项目\";\n\t\t//String document = \"test闫伟旗创建项目\";\n\t\tint cycle = 12;\n\t\tString taskId = \"TVRRME9UVTFPRE0zT0RBeU1EQXdNRFkyTVRnMU9EQTU=\";\n\t\tdouble remuneration = 1200;\n\t\tTimestamp validityStartTime = Timestamp.valueOf(sdf.format(startDate));\n\t\tTimestamp validityEndTime = Timestamp.valueOf(sdf.format(endDate));\n\t\ta.setArea(area);\n\t\ta.setName(name);\n\t\ta.setIntroduction(introduction);\n\t\ta.setValidityStartTime(validityStartTime);\n\t\ta.setValidityEndTime(validityEndTime);\n\t\ta.setCycle(cycle);\n\t\ta.setIndustry(industry);\n\t\ta.setRemuneration(remuneration);\n\t\ta.setDocument(taskId);\n\t\tProject p = projectService.create(a);\n\t\tSystem.out.println(p);\n\t}", "Report createReport();", "public DBTrack(Context context)\n {\n helper = new HelperTrack(context);\n }", "@PostMapping(\"/at-activity-statuses\")\n @Timed\n public ResponseEntity<AtActivityStatusesDTO> createAtActivityStatuses(@Valid @RequestBody AtActivityStatusesDTO atActivityStatusesDTO) throws URISyntaxException {\n log.debug(\"REST request to save AtActivityStatuses : {}\", atActivityStatusesDTO);\n if (atActivityStatusesDTO.getId() != null) {\n throw new BadRequestAlertException(\"A new atActivityStatuses cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n AtActivityStatuses atActivityStatuses = atActivityStatusesMapper.toEntity(atActivityStatusesDTO);\n atActivityStatuses = atActivityStatusesRepository.save(atActivityStatuses);\n AtActivityStatusesDTO result = atActivityStatusesMapper.toDto(atActivityStatuses);\n return ResponseEntity.created(new URI(\"/api/at-activity-statuses/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "public Ticket createTicket(int numLines) {\r\n\t\tList<Line> lineList = new ArrayList<Line>();\r\n\t\tint ticketScore = 0;\r\n\t\tfor (int i=0; i < numLines; i++) {\r\n\t\t\tList<Integer> lineSeq = generateLine();\r\n\t\t\tint lineScore = generateScore(lineSeq);\r\n\t\t\tticketScore += lineScore;\r\n\t\t\tLine line = new Line();\r\n\t\t\tline.setLine(lineSeq);\r\n\t\t\tline.setLineScore(lineScore);\r\n\t\t\tlineList.add(line);\r\n\t\t}\r\n\t\tList<Line> sortedLineList = sortLines(lineList);\r\n\t\t\r\n\t\tTicket ticket = new Ticket(id,numLines,sortedLineList,ticketScore);\r\n\t\tid += 1;\r\n\t\tticketList.add(ticket);\r\n\t\treturn ticket;\r\n\t}", "Team createTeam();", "public void setUWIssueType(entity.UWIssueType value);", "@Override\n\tpublic Trunk create(final List<NameValuePair> params) throws TwilioRestException {\n\t\tfinal TwilioRestResponse response = getClient().safeRequest(getResourceLocation(), \"POST\", params);\n\t\treturn makeNew(getClient(), response.toMap());\n\t}" ]
[ "0.62466025", "0.61510223", "0.59965837", "0.5815728", "0.57542604", "0.5737663", "0.5631216", "0.5543515", "0.5480296", "0.5444953", "0.5423357", "0.54050064", "0.5287397", "0.5266623", "0.52521175", "0.52458894", "0.5239286", "0.52392447", "0.51870716", "0.5169715", "0.51566106", "0.5136443", "0.5109966", "0.50834304", "0.5040242", "0.50359064", "0.50192755", "0.501354", "0.49987394", "0.49899885", "0.49793717", "0.49725902", "0.49565968", "0.49562314", "0.49452063", "0.49143136", "0.49079305", "0.49021986", "0.48966923", "0.48918423", "0.48813555", "0.48774034", "0.48727122", "0.48695272", "0.48664886", "0.48534918", "0.48492566", "0.48478746", "0.4839673", "0.48304835", "0.48269615", "0.48234105", "0.48232144", "0.4822189", "0.4819245", "0.48185578", "0.4813455", "0.48118138", "0.479993", "0.47985482", "0.47977132", "0.47940215", "0.47921246", "0.4785705", "0.47823575", "0.4772477", "0.4768013", "0.47678185", "0.476725", "0.4750482", "0.47475615", "0.47451475", "0.47437075", "0.47354063", "0.4734485", "0.47328374", "0.47172034", "0.47057486", "0.46993187", "0.46979144", "0.46923736", "0.4689656", "0.4688176", "0.46789336", "0.46738073", "0.46734625", "0.46660495", "0.46611667", "0.46522287", "0.46520457", "0.46489164", "0.4647047", "0.46197775", "0.46162066", "0.4600405", "0.45994893", "0.4592356", "0.45916697", "0.45909", "0.45834637", "0.45828757" ]
0.0
-1
/ Finds the form with the given Name which has been saved for IssueTracker
public void saveUserLoginConfirmationRequest(UserLoginConfirmationRequest userLoginConfirmationRequest);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NoteForm getOneAsForm(Integer id);", "BuildFilterForm getEditionForm(ID branchId, String name) throws BuildFilterNotFoundException, BuildFilterNotLoggedException;", "public FormInfo getForm (String forWhomNrMat) {\n for (int i = 0; i < forms.size(); i++) {\n if (this.forms.get(i).getStudent().getNrMatricol().equals(forWhomNrMat)) {\n return this.forms.get(i);\n }\n }\n \n return null;\n }", "java.lang.String getFormName();", "java.lang.String getFormId();", "@Override\n\tpublic RegistrationForm findById(String id) {\n\t\tlogger.info(\"select registrationForm by id\");\n\t\treturn rfi.findById(id);\n\t}", "public Form getPresentationForm(String name) throws ProcessManagerException {\r\n try {\r\n return processModel.getPresentationForm(name, currentRole, getLanguage());\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.UNKNOWN_ACTION\", e);\r\n }\r\n }", "public FormInfo getForm (Student forWhom) {\n for (int i = 0; i < forms.size(); i++) {\n if (this.forms.get(i).getStudent().getNrMatricol().equals(forWhom.getNrMatricol())) {\n return this.forms.get(i);\n }\n }\n \n return null;\n }", "public ResourcesMetadata getForm()\n\t\t{\n\t\t\treturn m_form;\n\t\t}", "protected String getFormId(FacesContext context) {\n UIComponent lookingForForm = this; \n while (lookingForForm != null) {\n if (lookingForForm instanceof UIForm){\n return lookingForForm.getClientId(context);\n }\n lookingForForm = lookingForForm.getParent(); \n }\n return null;\n }", "public AppForm getAppFormById(String id) {\n return (AppForm)super.doFindObjectById(id);\r\n }", "public Form getStepForm(int index) throws ProcessManagerException {\r\n HistoryStep[] steps = currentProcessInstance.getHistorySteps();\r\n \r\n if (0 <= index && index < steps.length) {\r\n try {\r\n if (steps[index].getAction().equals(\"#question#\")\r\n || steps[index].getAction().equals(\"#response#\")) {\r\n return getQuestionForm(true);\r\n } else\r\n return processModel.getPresentationForm(steps[index].getAction(),\r\n currentRole, getLanguage());\r\n } catch (WorkflowException e) {\r\n SilverTrace.info(\"processManager\", \"sessionController\",\r\n \"processManager.ILL_DATA_STEP\", e);\r\n \r\n return null;\r\n }\r\n } else\r\n return null;\r\n }", "public Form getForm() {\n return form;\n }", "public int getFormId()\r\n \t{\r\n \t\treturn Constants.TISSUE_SPECIMEN_REVIEW_EVENT_PARAMETERS_FORM_ID;\r\n \t}", "public Form getCurrentForm() {\n return currentForm;\n }", "public Form getUpdateForm() throws PublicationTemplateException;", "public final ScForm findFormWrapper()\n {\n if ( isForm() )\n return asForm();\n\n if ( hasParent() )\n return getParent().findFormWrapper();\n\n return null;\n }", "public Form findFormByType (String type,String id) throws Exception {\n try {\n this.fireWorkInProgressEvent(true);\n return (Form) CMSFormServices.getCurrent().findFormByType(type,id);\n } catch (DowntimeException ex) {\n LoggingServices.getCurrent().logMsg(getClass().getName(),\"findFormByType\",\n \"Primary Implementation for CMSFormServices failed, going Off-Line...\",\n \"See Exception\", LoggingServices.MAJOR, ex);\n offLineMode();\n setOffLineMode();\n return (Form) CMSFormServices.getCurrent().findFormByType(type,id);\n } finally {\n this.fireWorkInProgressEvent(false);\n }\n }", "public XhtmlForm getForm(Element el) {\n\t\tReplacedElementFactory ref = getSharedContext().getReplacedElementFactory();\n\t\tif (ref != null && ref instanceof XHTMLReplacedElementFactoryImpl) {\n\t\t\treturn ((XHTMLReplacedElementFactoryImpl) ref).getForm(el);\n\t\t}\n\t\treturn null;\n\t}", "FormSubmit findFormSubmitFromResponseId( int nIdResponse, Plugin plugin );", "@Override\n\tpublic StudentForm findByName(String student) {\n\t\treturn null;\n\t}", "protected final Form getForm() {\n\t\treturn itsForm;\n\t}", "public List findEngEditForm() {\n\t\tString sql = \"SELECT FO_ID,FO_NAME FROM ENG_FORM_FORM where FO_FTYPE='editpage' \";\n\t\tjdbcTemplate.setDataSource(initDataSource);\n\t\treturn jdbcTemplate.queryForList(sql);\n\t}", "@Override\n\tpublic ERForm getSpecificForm(int RID) {\n\t\treturn null;\n\t}", "public static String getScopedForm(AjaxGroup aGroup, AjaxElement aElement,\n AjaxEvent aEvent) {\n\n String form = aGroup.getForm();\n if (aElement.getForm() != null) {\n form = aElement.getForm();\n }\n if (aEvent.getForm() != null) {\n form = aEvent.getForm();\n }\n return form;\n\n }", "private void fillCreateOrEditForm(String name, int branchId) {\n waitForElementVisibility(xpathFormHeading);\n String actual = assertAndGetAttributeValue(xpathFormHeading, \"innerText\");\n assertEquals(actual, FORM_HEADING,\n \"Actual heading '\" + actual + \"' should be same as expected heading '\" + FORM_HEADING\n + \"'.\");\n logger.info(\"# User is on '\" + actual + \"' form\");\n assertAndType(xpathNameTF, name);\n logger.info(\"# Entered staff name: \" + name);\n selectByValue(xpathSelectBranch, \"number:\" + branchId);\n logger.info(\"# Select branch id: \" + branchId);\n }", "protected UIForm getForm(FacesContext context) {\n UIComponent parent = this.getParent();\n while (parent != null) {\n if (parent instanceof UIForm) {\n break;\n }\n parent = parent.getParent();\n }\n return (UIForm) parent;\n }", "public Form getAssignForm() throws ProcessManagerException {\r\n try {\r\n return new XmlForm(getAssignTemplate());\r\n } catch (FormException ex) {\r\n throw new ProcessManagerException(\"ProcessManagerSessionController\",\r\n \"processManager.ERR_GET_ASSIGN_FORM\", ex);\r\n }\r\n }", "public Form readForm(String formKey);", "UserEditForm getEditForm(User user);", "private void fillCreateOrEditForm(String name, String branch) {\n waitForElementVisibility(xpathFormHeading);\n String actual = assertAndGetAttributeValue(xpathFormHeading, \"innerText\");\n assertEquals(actual, FORM_HEADING,\n \"Actual heading '\" + actual + \"' should be same as expected heading '\" + FORM_HEADING\n + \"'.\");\n logger.info(\"# User is on '\" + actual + \"' form\");\n assertAndType(xpathNameTF, name);\n logger.info(\"# Entered staff name: \" + name);\n selectByVisibleText(xpathSelectBranch, branch);\n logger.info(\"# Select branch name: \" + branch);\n }", "@Override\r\n public WsResultPendingWorkFormBean getWorkForm(String loginCode, WsPage wsPage, String serialNumber,\r\n String branchName, String workFormStatus, String taskStatus, String engineerUserCode, String createUserCode) {\n return null;\r\n }", "public Form getSearchForm() throws PublicationTemplateException;", "protected IManagedForm getForm(){\r\n\t\treturn _mForm;\r\n\t}", "@Override\n\tpublic Editore getOneByName(String name) {\n\t\treturn null;\n\t}", "IFormView getFormView();", "public String getForm() {\r\n\t\treturn form;\r\n\t}", "@Override\n\t\tpublic FormTestFacade getForm() {\n\t\t\treturn null;\n\t\t}", "@Override\n\t\tpublic FormTestFacade getForm() {\n\t\t\treturn null;\n\t\t}", "public GrievFormImpl getGrievForm1() {\n return (GrievFormImpl) findViewObject(\"GrievForm1\");\n }", "public void saveData(){\n reporter.info(\"Save edited form\");\n clickOnElement(LOCATORS.getBy(COMPONENT_NAME,\"SAVE_BUTTON\"));\n }", "public Form getPrintForm(HttpServletRequest request)\r\n throws ProcessManagerException {\r\n try {\r\n com.silverpeas.workflow.api.model.Form form = processModel\r\n .getForm(\"printForm\");\r\n if (form == null) {\r\n throw new ProcessManagerException(\"ProcessManagerSessionController\",\r\n \"processManager.NO_PRINTFORM_DEFINED_IN_MODEL\");\r\n }\r\n \r\n else {\r\n HtmlForm htmlForm = new HtmlForm(processModel.getDataFolder()\r\n .toRecordTemplate(currentRole, getLanguage(), true));\r\n \r\n htmlForm.setFileName(form.getHTMLFileName());\r\n return htmlForm;\r\n }\r\n } catch (Exception e) {\r\n throw new ProcessManagerException(\"ProcessManagerSessionController\",\r\n \"processManager.EX_GET_PRINT_FORM\", e);\r\n }\r\n }", "@RequestMapping(value = \"/{id}/edit.html\", method = RequestMethod.GET)\n public String provideForm(@PathVariable(\"id\") Long id, Model model) \n throws Exception {\n FixtureModel fixture = fixtureService.findFixtureById(id); \n model.addAttribute(\"fixture\", fixture);\n return FORM_VIEW_NAME;\n }", "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 }", "@Override\r\n\tpublic int getFormId()\r\n\t{\r\n\t\treturn 0;\r\n\t}", "AbiFormsForm selectByPrimaryKey(Integer idField);", "public Form getActionForm(String stateName, String actionName)\r\n throws ProcessManagerException {\r\n try {\r\n return processModel.getPublicationForm(actionName, currentRole,\r\n getLanguage());\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.UNKNOWN_ACTION\", e);\r\n }\r\n }", "private static Project findProject(String name) {\r\n \t\tfor (Project project : ProjectPlugin.getPlugin().getProjectRegistry().getProjects()) {\r\n \t\t\tif (project.getName().equals(name)) {\r\n \t\t\t\treturn project;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn null;\r\n \t}", "public Text getByName(String name){\r\n\t\tfor (int i=0;i<thisDialog.size();i++){\r\n\t\t\tif (thisDialog.get(i).getName().equals(name)){\r\n\t\t\t\treturn thisDialog.get(i);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public FormWindow getRelatedWindow();", "public Part getPart(String name) throws IOException {\n if(form == null) {\n form = builder.getInstance();\n }\n return form.getPart(name);\n }", "String getForm(String path, Descriptor desc) {\n return new ScriptBuilder()\n .l(\"getForm(paste(ifelse(is.null(server),%s.server(),server), '%s', sep=''), %s)\", \n moduleAnnot.name(), path, getGetFormParamList(desc))\n .toString();\n }", "public Form getForm() throws IOException {\n if(form == null) {\n form = builder.getInstance();\n }\n return form;\n }", "@GetMapping(\"/showFormForUpdateTeam/{id}\")\n public String showFormForUpdate(@Valid @PathVariable ( value = \"id\") long id, Model model) {\n Team team = teamService.getTeamById(id);\n\n Page<Employee> page = employeeService.findPaginated(1, 5,\"firstName\", \"asc\");\n List<Employee> listEmployees = new ArrayList<Employee>(page.getContent());\n Set<Employee> teamEmployees = team.getEmployeeList();\n\n listEmployees.removeIf(teamEmployees::contains); //so the same employee isn't added twice\n\n // set employee as a model attribute to pre-populate the form\n model.addAttribute(\"team\", team);\n model.addAttribute(\"listEmployees\", listEmployees);\n model.addAttribute(\"listEmployeesFromTeam\", teamEmployees);\n return \"update_team\";\n }", "public Form getCreationForm() throws ProcessManagerException {\r\n try {\r\n Action creation = processModel.getCreateAction();\r\n return processModel.getPublicationForm(creation.getName(), currentRole,\r\n getLanguage());\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.ERR_NO_CREATION_FORM\", e);\r\n }\r\n }", "public static void ChkForm() throws ClassNotFoundException, SQLException {\r\n try (Statement s = DBConnect.connection.createStatement()) {\r\n String selTable3 = \"SELECT Store As str, Form_Name As frm, Date_Created As dte, Status As st FROM existing_forms WHERE Status = 'In-Process' AND Form_Name LIKE 'ebas_\" + GtStore.store + \"_0%' OR 'ebas_\" + GtStore.store + \"_1%'\";\r\n s.execute(selTable3);\r\n try (ResultSet rs3 = s.getResultSet()) {\r\n if (rs3.next()) {\r\n //rs3.next();\r\n EBAS.Date_Label.setText(\"Date Started: \" + rs3.getString(\"dte\"));\r\n nwFrm = \"no\";\r\n StFrmNm = rs3.getString(\"frm\");\r\n StFrmSt = rs3.getString(\"st\");\r\n gtDB();\r\n } else {\r\n nwFrm = \"yes\";\r\n }\r\n }\r\n }\r\n }", "Optional<RacePlanForm> findOne(Long id);", "public String getNameLocator()\r\n\t{\r\n driver.findElement(By.name(\"fname\"));\r\n fName=driver.findElement(By.xpath(\"//input[@placeholder='Firstname']\")).getAttribute(\"placeholder\");\r\n return fName;\r\n\t}", "FORM createFORM();", "private void showOldSavedForm() {\n List distinctEntrys = BaseActivity.appDatabase.getAnswerDao().getDistinctEntries(userID, 0);\n List partiallyPushed = BaseActivity.appDatabase.getAnswerDao().getDistinctEntries(userID, 1);\n if (partiallyPushed.size() > 0) {\n distinctEntrys.addAll(partiallyPushed);\n }\n\n if (distinctEntrys != null && distinctEntrys.size() > 0) {\n title.setText(\"Saved forms\");\n LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);\n params.setMargins(20, 10, 20, 10);\n LinearLayout.LayoutParams paramsLeft = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.FILL_PARENT, 6);\n LinearLayout.LayoutParams paramsRight = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 2);\n LinearLayout.LayoutParams textViewParam = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, 0, 1);\n LinearLayout.LayoutParams imageViewParam = new LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.WRAP_CONTENT, 1);\n AnswersSingleForm answersSingleForm;\n for (int entryID = 0; distinctEntrys.size() > entryID; entryID++) {\n answersSingleForm = (AnswersSingleForm) distinctEntrys.get(entryID);\n /*OUTER lINEAR LAYOUT*/\n final LinearLayout linLayoutSingleEntry = new LinearLayout(getActivity());\n linLayoutSingleEntry.setOrientation(LinearLayout.HORIZONTAL);\n linLayoutSingleEntry.setBackground(getResources().getDrawable(R.drawable.roundedcornertext));\n linLayoutSingleEntry.setPadding(20, 10, 20, 10);\n linLayoutSingleEntry.setLayoutParams(params);\n /*INNER LEFT SIDE FORM INFO*/\n LinearLayout left = new LinearLayout(getActivity());\n left.setOrientation(LinearLayout.VERTICAL);\n left.setLayoutParams(paramsLeft);\n /*SET FORM NAME*/\n TextView formName = new TextView(getActivity());\n formName.setLayoutParams(textViewParam);\n formName.setTextSize(1, 15);\n formName.setAllCaps(true);\n formName.setTypeface(null, Typeface.BOLD_ITALIC);\n String formNameText = BaseActivity.appDatabase.getDDE_FormsDao().getFormName(answersSingleForm.getFormId());\n if (formNameText == null) {\n formName.setText(\"Form deleted from server\");\n }\n else\n formName.setText(formNameText);\n /*SET FORM DATE*/\n TextView formDate = new TextView(getActivity());\n formDate.setLayoutParams(textViewParam);\n formDate.setText(answersSingleForm.getDate());\n left.addView(formName);\n left.addView(formDate);\n\n /*INNER RIGHT LINEAR LAYOUT*/\n final LinearLayout right = new LinearLayout(getActivity());\n right.setOrientation(LinearLayout.HORIZONTAL);\n right.setLayoutParams(paramsRight);\n right.setTag(answersSingleForm.getEntryId());\n /*SET EDIT FORM OPTION*/\n if (answersSingleForm.getPushStatus() == 0) {\n final ImageView editForm = new ImageView(getActivity());\n editForm.setImageResource(R.drawable.edit_green);\n editForm.setLayoutParams(imageViewParam);\n editForm.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getActivity());\n alertDialogBuilder.setTitle(\"Alert\");\n alertDialogBuilder.setCancelable(false);\n alertDialogBuilder.setMessage(\"Do You Want To Edit Form ?\");\n\n alertDialogBuilder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n String tagEntyId = right.getTag().toString();\n Intent intent = new Intent(getActivity(), DisplayQuestions.class);\n intent.putExtra(\"formId\", BaseActivity.appDatabase.getAnswerDao().getFormIDByEntryID(tagEntyId));\n intent.putExtra(\"userId\", BaseActivity.appDatabase.getAnswerDao().getUserIDByEntryID(tagEntyId));\n intent.putExtra(\"entryId\", tagEntyId);\n intent.putExtra(\"formEdit\", \"true\");\n startActivity(intent);\n\n }\n });\n\n alertDialogBuilder.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n });\n alertDialogBuilder.show();\n }\n });\n /*SET DELETE FORM OPTION*/\n ImageView deleteForm = new ImageView(getActivity());\n deleteForm.setImageResource(R.drawable.delete_red);\n deleteForm.setLayoutParams(imageViewParam);\n deleteForm.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(getActivity());\n alertDialogBuilder.setTitle(\"Alert\");\n alertDialogBuilder.setCancelable(false);\n alertDialogBuilder.setMessage(\"Do You Want To Delete Form ?\");\n\n alertDialogBuilder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n BaseActivity.appDatabase.getAnswerDao().deleteAnswerEntryByEntryID(right.getTag().toString());\n Animation slide = AnimationUtils.loadAnimation(getActivity(), R.anim.slide);\n linLayoutSingleEntry.startAnimation(slide);\n Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n linLayoutSingleEntry.setVisibility(View.GONE);\n }\n }, 1000);\n }\n });\n\n alertDialogBuilder.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n });\n alertDialogBuilder.show();\n }\n });\n right.addView(editForm);\n right.addView(deleteForm);\n } else {\n TextView uploading = new TextView(getActivity());\n uploading.setText(\"In Uploading Queue\");\n uploading.setLayoutParams(imageViewParam);\n uploading.setTextSize(1, 20);\n uploading.setTypeface(null, Typeface.ITALIC);\n uploading.setTextColor(Color.parseColor(\"#FF5733\"));\n // right.setBackgroundColor(Color.parseColor(\"#DAF7A6\"));\n right.addView(uploading);\n }\n linLayoutSingleEntry.addView(left);\n linLayoutSingleEntry.addView(right);\n linearlayout.addView(linLayoutSingleEntry);\n }\n } else {\n title.setText(\"No saved forms\");\n }\n }", "public void assertDetailsOnEditForm(int id, String name, String branch) {\n \twaitForElementVisibility(xpathFormHeading);\n String actualId = assertAndGetAttributeValue(xpathIdTF, \"value\");\n String actualName = assertAndGetAttributeValue(xpathNameTF, \"value\");\n String actualBranch = getSelectTextByAttribute(xpathSelectBranch, \"label\");\n\n assertEquals(actualId, String.valueOf(id),\n \"Actual ID \" + actualId + \" should be same as expected \" + id);\n assertEquals(actualName, name,\n \"Actual Name \" + actualName + \" should be same as expected \" + name);\n assertEquals(actualBranch, branch,\n \"Actual Branch \" + actualBranch + \" should be same as expected \" + branch);\n }", "public Formateur getFormateur(int indice) {\r\n\t\t\treturn formateurs.get(indice);\r\n\t}", "@RequestMapping(value = \"/report.edit\", method = RequestMethod.GET)\n public @ResponseBody ModelAndView reportForm(@RequestParam Integer reportId, HttpSession session) throws Exception {\n ModelAndView mav = new ModelAndView();\n mav.setViewName(\"/sysAdmin/reports/details\");\n\n //Create a new blank provider.\n reports reportDetails = reportmanager.getReportById(reportId);\n \n mav.addObject(\"btnValue\", \"Update\");\n mav.addObject(\"reportdetails\", reportDetails);\n\n return mav;\n }", "public Element findByName(String name) {\n for (Element element : this){\n if (element.getName().equals(name)) return element;\n }\n return null;\n }", "public static void verifyEmployeeFormIsDisplayed() {\n\t\tBy addEmployeeForm = By.xpath(\"//form[@name='employeeForm']\");\n\t\tString description = \"Employee form is displayed\";\n\t\tif (SeleniumUtils.elementIsVisible(addEmployeeForm)) {\n\t\t\taddStepToTest(\"pass\", description, \"EmployeeForm\");\n\t\t} else {\n\t\t\taddStepToTest(\"fail\", description, \"EmployeeForm\");\n\t\t}\n\t}", "public Integer getFormId() {\n return formId;\n }", "public Opportunities[] findBySubmissionForm(int supplierId) throws OpportunitiesDaoException\r\n\t{\r\n\t\treturn findByDynamicSelect( SQL_SELECT + \" WHERE supplier_id = ?\", new Object[] { new Integer(supplierId) } );\r\n\t}", "public String getEvaluationFormId() {\n return this.evaluationFormId;\n }", "@Override\n\tpublic StudentForm findById(long id) {\n\t\treturn null;\n\t}", "private void loadForm() {\n CodingProxy icd9 = problem.getIcd9Code();\n \n if (icd9 != null) {\n txtICD.setText(icd9.getProxiedObject().getCode());\n }\n \n String narr = problem.getProviderNarrative();\n \n if (narr == null) {\n narr = icd9 == null ? \"\" : icd9.getProxiedObject().getDisplay();\n }\n \n String probId = problem.getNumberCode();\n \n if (probId == null || probId.isEmpty()) {\n probId = getBroker().callRPC(\"BGOPROB NEXTID\", PatientContext.getActivePatient().getIdElement().getIdPart());\n }\n \n String pcs[] = probId.split(\"\\\\-\", 2);\n lblPrefix.setValue(pcs[0] + \" - \");\n txtID.setValue(pcs.length < 2 ? \"\" : pcs[1]);\n txtNarrative.setText(narr);\n datOnset.setValue(problem.getOnsetDate());\n \n if (\"P\".equals(problem.getProblemClass())) {\n radPersonal.setSelected(true);\n } else if (\"F\".equals(problem.getProblemClass())) {\n radFamily.setSelected(true);\n } else if (\"I\".equals(problem.getStatus())) {\n radInactive.setSelected(true);\n } else {\n radActive.setSelected(true);\n }\n \n int priority = NumberUtils.toInt(problem.getPriority());\n cboPriority.setSelectedIndex(priority < 0 || priority > 5 ? 0 : priority);\n loadNotes();\n }", "public Page submitForm(HtmlPage page, String formName) throws Exception {\n HtmlForm form = page.getFormByName(formName);\n return this.submit(form);\n }", "public Page submitForm(HtmlPage page, String formName) throws Exception {\n HtmlForm form = page.getFormByName(formName);\n return this.submit(form);\n }", "public Form getViewForm() throws PublicationTemplateException;", "@GetMapping(\"/list/showFormForAdd\")\n\tpublic String showFormForAdd(Model theModel) {\n\t\tPerson thePerson = new Person();\n\t\ttheModel.addAttribute(\"person\", thePerson);\n\n\t\treturn \"person-form\";\n\t}", "public static JTextField gettxtIDFormaPago() {\n return txtIDFormaPago;\n }", "@JSProperty\n @Nullable\n HTMLFormElement getForm();", "WebElement getNameField();", "public interface IFormService {\n Form findFormById(String id);\n\n PageInfo<Form> findFormByPage(int pageNum,int pageSize,Map<String,String> paraMap);\n\n Integer deleteForm(List<String> list);\n\n Integer saveOrUpdate(Form form);\n\n List<Form> findFormList(String formName);\n}", "public int getXX_SalesBudgetForm_ID() \r\n {\r\n return get_ValueAsInt(\"XX_SalesBudgetForm_ID\");\r\n \r\n }", "public List<TRForm> viewFormforSupervisors(int eid);", "public SelenideElement submitButton() {\n return formPageRoot().$(By.xpath (\"//button[@type='submit']\")); \n }", "public String formNotFound()\r\n {\r\n return formError(\"404 Not_found\",\"Requested object was not found\");\r\n }", "public java.lang.String getFieldFormName() {\n return fieldFormName;\n }", "String getFormFieldLabel();", "@Test\n public void test028() throws Throwable {\n Form form0 = new Form(\"<([^<]+)>\");\n Form form1 = form0._getVisibleForm(true);\n }", "public ConfigurationForm getConfigForm()\n {\n return configForm;\n }", "public MainForm getMainForm(){\n\t\treturn this.mainForm;\n\t}", "public static void form_Save_And_New() throws InterruptedException {\n\t\tAndroidLocators.resourceId(\"in.spoors.effortplus:id/saveForm\").click();\n\t\tCommonUtils.alertContentXpath();\n\t\tif (AndroidLocators.findElements_With_ResourceId(\"new UiSelector().resourceId(\\\"in.spoors.effortplus:id/formSaveAndNewButton\\\")\")\n\t\t\t\t.size() > 0) {\n\t\t\tAndroidLocators.resourceId(\"in.spoors.effortplus:id/formSaveAndNewButton\").click();\n\t\t\tCommonUtils.interruptSyncAndLetmeWork();\n\t\t\tCommonUtils.waitForElementVisibility(\"//*[@resource-id='in.spoors.effortplus:id/saveForm']\");\n\t\t}\n\t}", "public abstract void addEditorForm();", "public static void ChkForm2() throws ClassNotFoundException, SQLException {\r\n Statement s = DBConnect.connection.createStatement();\r\n String selTable3 = \"SELECT Store As str, Form_Name As frm, Date_Created As dte, Status As st FROM existing_forms WHERE Form_Name = '\" + InvAdj_Admin.frmNm + \"'\";\r\n s.execute(selTable3);\r\n try (ResultSet rs3 = s.getResultSet()) {\r\n if (rs3.next()) {\r\n //rs3.next();\r\n EBAS.Date_Label.setText(\"Date Started: \" + rs3.getString(\"dte\"));\r\n nwFrm = \"no\";\r\n StFrmNm = rs3.getString(\"frm\");\r\n StFrmSt = rs3.getString(\"st\");\r\n gtDB();\r\n } else {\r\n nwFrm = \"yes\";\r\n }\r\n }\r\n }", "@GetMapping(value = \"/edit-form\", name = \"editForm\")\n public ModelAndView editForm(@ModelAttribute Game game, Model model) {\n populateForm(model);\n model.addAttribute(\"game\", game);\n return new ModelAndView(\"games/edit\");\n }", "@RequestMapping(\"/showFormForUpdate\")\n\tpublic String showFormForUpdate(@RequestParam(\"personId\") int theId, Model theModel) {\n\t\tPerson thePerson = patientKeeperService.getPerson(theId);\n\n\t\t// set person as a model attribute to pre-populate the form\n\t\ttheModel.addAttribute(\"person\", thePerson);\n\n\t\t// send over to our form\n\t\treturn \"person-form\";\n\t}", "private Employee findEmployee(String employeeName)\n {\n int index = -1;\n //nameJRadioButtonMenuItem.doClick();\n for(int i = 0; i < employees.size(); i++)\n {\n if(employeeName.equals(employees.get(i).getName()))\n index = i;\n }\n if(index >= 0)\n return employees.get(index);\n else\n return null;\n }", "public StorageOutFormVO findDriver(String number) throws RemoteException, IllegalArgumentException {\n\t\tSystem.out.println(\"进入StorageOutFormController...findDriver...\");\n\t\tStorageOutForm receiptForm = new StorageOutForm();\n\t\tStorageOutFormVO vo = receiptForm.StorageOutFormfind(number);\n\t\tif(vo != null){\n\t\t\treturn vo;\n\t\t}else{\n\t\t\treturn null;\n\t\t}\n\t}", "public Form getPresentationForm() throws ProcessManagerException {\r\n try {\r\n Form form = getPresentationForm(\"presentationForm\");\r\n if (form != null)\r\n return form;\r\n \r\n XmlForm xmlForm = new XmlForm(processModel.getDataFolder()\r\n .toRecordTemplate(currentRole, getLanguage(), true));\r\n xmlForm.setTitle(getString(\"processManager.folder\"));\r\n return xmlForm;\r\n } catch (FormException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.PRESENTATION_FORM_UNAVAILABLE\", e);\r\n } catch (WorkflowException e) {\r\n throw new ProcessManagerException(\"SessionController\",\r\n \"processManager.PRESENTATION_FORM_UNAVAILABLE\", e);\r\n }\r\n }", "@Override\r\n\tpublic Visit getModel() {\n\t\treturn form;\r\n\t}", "@Override\r\n public WsResultPendingWorkFormBean getPendingWorkForm(String loginCode, WsPage wsPage) throws Exception {\n try {\r\n return this.service.getPendingWorkForm(loginCode, wsPage);//todo:,Consts.CREATE_Type\r\n } catch (Exception e) {\r\n // TODO Auto-generated catch block\r\n e.printStackTrace();\r\n throw e;\r\n }\r\n }", "public String getValidationForm() throws InterruptedException\n\t{\n\t\t//Thread.sleep(500);\n\t\twaitForVisibility(validationForm);\n\t\treturn validationForm.getText();\n\t}", "List<RacePlanForm> findAll();", "@ModelAttribute(\"form\")\n public SearchFiltersLocationForm getForm(PortletRequest request, PortletResponse response) throws PortletException {\n // Portal controller context\n PortalControllerContext portalControllerContext = new PortalControllerContext(this.portletContext, request, response);\n\n return this.service.getForm(portalControllerContext);\n }", "public static Result getFilledForm() {\r\n\t\tStatus result;\r\n\t\ttry {\r\n\t\t\tString formName = ChangeOrderForm.NAME;\r\n\t\t\tString username = CMSSession.getEmployeeName();\r\n\t\t\tFile pdf = File.createTempFile(\"Change_Order_Form_Filled\", \".pdf\");\r\n\t\t\tCMSGuidedFormFill.fillForm(formName, username, pdf);\r\n\r\n\t\t\tresult = ok(pdf, true);\r\n\r\n\t\t\tFileDeletionHandler.deleteFile(pdf);\r\n\t\t} catch (IOException e) {\r\n\t\t\tLogger.error(\"Couldn't create new temp file.\");\r\n\t\t\tLogger.error(e.getMessage(), e);\r\n\t\t\tresult = internalServerError();\r\n\t\t}\r\n\t\treturn result;\r\n\t}" ]
[ "0.5701643", "0.5668502", "0.561149", "0.5572468", "0.55369824", "0.54029614", "0.537213", "0.53533214", "0.5332718", "0.5321341", "0.52899086", "0.52853304", "0.5273751", "0.5265176", "0.52587014", "0.52005184", "0.51892173", "0.51732266", "0.5159769", "0.5134248", "0.5130187", "0.5119869", "0.50927025", "0.50745267", "0.5065846", "0.50600165", "0.5048049", "0.50462335", "0.50409234", "0.5017829", "0.50068563", "0.5003043", "0.4987644", "0.4982219", "0.49640015", "0.4958609", "0.48827782", "0.48714492", "0.48714492", "0.48405936", "0.48337924", "0.48221135", "0.48218256", "0.4803574", "0.4802089", "0.47992474", "0.47865045", "0.47737253", "0.47677633", "0.47656235", "0.47594482", "0.47453243", "0.47312704", "0.4719284", "0.470156", "0.46797538", "0.46778524", "0.46686417", "0.46644825", "0.46575367", "0.4647503", "0.4643255", "0.4639377", "0.46284184", "0.46183816", "0.4617134", "0.46072596", "0.4601373", "0.460013", "0.4585584", "0.45711234", "0.45711234", "0.45695904", "0.45691746", "0.45642066", "0.45528692", "0.4542508", "0.45206743", "0.45016563", "0.44997928", "0.4488656", "0.44861668", "0.44740686", "0.44659", "0.445489", "0.4452387", "0.44518727", "0.44500598", "0.44442177", "0.4443819", "0.44386756", "0.44323975", "0.44319737", "0.44275242", "0.44162256", "0.4403676", "0.43992722", "0.43953332", "0.43952885", "0.43933967", "0.43926057" ]
0.0
-1
Gets Form Field Options identified by fieldName belonging to form identified by formName and belonging to mentioned IssueTrackerConfig
public UserSettings getUserSettings(String username);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Options getOptions(String optionsName);", "HashMap<String,Object> getFieldConfig(String collectionName,String fieldName) {\n HashMap<String,Object> fields = getCollectionFieldsConfig(collectionName);\n if (fields == null || !(fields instanceof HashMap<?,?>)|| !fields.containsKey(fieldName)) return null;\n return (HashMap<String,Object>)fields.get(fieldName);\n }", "public static Map<String, Object> getField(Map<String, Object> model, String fieldName) {\n\n Map<String, Object> targetField = null;\n for (Map<String, Object> field : getFields(model)) {\n if (fieldName.equals(field.get(ModelConstant.NAME))) {\n targetField = field;\n break;\n }\n }\n return targetField;\n }", "public short getOptions()\n {\n return field_1_options;\n }", "protected Option getOption(String optionName) {\n\t\tfor (Option op : options) {\n\t\t\tif (op.getOptionName().equals(optionName)) {\n\t\t\t\treturn op;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n public String getField(String fieldName) {\n // TODO Auto-generated method stub\n\n if (fieldName.equalsIgnoreCase(\"todate\"))\n return todate;\n if (fieldName.equalsIgnoreCase(\"fromdate\"))\n return fromdate;\n\n if (fieldName.equalsIgnoreCase(\"productType\")) {\n return productType;\n }\n\n else if (fieldName.equalsIgnoreCase(\"bno\")) {\n return bno.toString();\n } else if (fieldName.equalsIgnoreCase(\"bnodeg1\")) {\n return bnodeg1.toString();\n } else if (fieldName.equalsIgnoreCase(\"bnodeg2\")) {\n return bnodeg2.toString();\n } else if (fieldName.equalsIgnoreCase(\"bnodeg3\")) {\n return bnodeg3.toString();\n } else if (fieldName.equalsIgnoreCase(\"bnodeg4\")) {\n return bnodeg4.toString();\n } else if (fieldName.equalsIgnoreCase(\"wnodeg1\")) {\n return wnodeg1.toString();\n } else if (fieldName.equalsIgnoreCase(\"wnodeg2\")) {\n return wnodeg2.toString();\n } else if (fieldName.equalsIgnoreCase(\"wnodeg3\")) {\n return wnodeg3.toString();\n } else if (fieldName.equalsIgnoreCase(\"wnodeg4\")) {\n return wnodeg4.toString();\n }\n\n else if (fieldName.equalsIgnoreCase(\"wno\")) {\n return wno.toString();\n }\n\n else if (fieldName.equalsIgnoreCase(\"machine\")) {\n return machine;\n\n }\n\n else if (fieldName.equalsIgnoreCase(\"qualitydegree\")) {\n return qualitydegree;\n\n } else\n\n return null;\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public static _Fields findByName(String name) {\r\n return byName.get(name);\r\n }", "public Field<T> getFieldByName(String fieldName)\r\n/* 53: */ {\r\n/* 54:69 */ return (Field)this.fieldsByName.get(fieldName);\r\n/* 55: */ }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "public static _Fields findByName(String name) {\n return byName.get(name);\n }" ]
[ "0.58844316", "0.5602233", "0.49640492", "0.49262208", "0.4900712", "0.4832514", "0.47705072", "0.47705072", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47431424", "0.47311714", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055", "0.47179055" ]
0.0
-1
Get all employees registered for a company.
public List<User> getAllEmployees(String companyShortName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Employee> getAll() {\n\t\treturn edao.listEmploye();\n\t}", "@GetMapping(value=\"/searchEmpData\")\n\tpublic List<Employee> getAllEmployees()\n\t{\n\t\treturn this.integrationClient.getAllEmployees();\n\t}", "public List<Employee> getAllEmployees(){\n\t\tList<Employee> employees = employeeDao.findAll();\n\t\tif(employees != null)\n\t\t\treturn employees;\n\t\treturn null;\n\t}", "public List<Employee> getListOfAllEmployees() {\n\t\tlista = employeeDao.findAll();\r\n\r\n\t\treturn lista;\r\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\t\n\t\tlog.debug(\"EmplyeeService.getAllEmployee() return list of employees\");\n\t\treturn repositary.findAll();\n\t}", "public List<EmployeeTO> getAllEmployees() {\n\t\t\r\n\t\treturn EmployeeService.getInstance().getAllEmployees();\r\n\t}", "@Override\r\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn employees;\r\n\t}", "public List<Employee> getAllEmployees() {\n return employeeRepository.findAll();\n }", "@Override\n\tpublic List<Employee> findAllEmployees() {\n\t\treturn employeeRepository.findAllEmployess();\n\t}", "public List<Employee> getAllEmployees() {\n\t\tList<Employee> list = new ArrayList<Employee>();\n\t\tlist = template.loadAll(Employee.class);\n\t\treturn list;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\ttry {\n\t\t\tList<Employee> empList = new ArrayList<Employee>();\n\t\t\tList<Map<String, Object>> rows = template.queryForList(\"select * from employee\");\n\t\t\tfor(Map<?, ?> rowNum : rows) {\n\t\t\t\tEmployee emp = new Employee();\n\t\t\t\temp.setEmployeeId((Integer)rowNum.get(\"empid\"));\n\t\t\t\temp.setFirstName((String)rowNum.get(\"fname\"));\n\t\t\t\temp.setLastName((String)rowNum.get(\"lname\"));\n\t\t\t\temp.setEmail((String)rowNum.get(\"email\"));\n\t\t\t\temp.setDesignation((String)rowNum.get(\"desig\"));\n\t\t\t\temp.setLocation((String)rowNum.get(\"location\"));\n\t\t\t\temp.setSalary((Integer)rowNum.get(\"salary\"));\n\t\t\t\tempList.add(emp);\n\t\t\t}\n\t\t\treturn empList;\n\t\t} catch (DataAccessException excep) {\n\t\t\treturn null;\n\t\t}\n\t}", "@Override\n\tpublic List<Employee> getEmpleados() {\n\t\treturn repositorioEmployee.findAll();\n\t}", "public List<Employe> findAllEmployees() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn employeeDao.getAllEmployees();\n\t}", "public List<Employee> getAllEmployee(){\n List<Employee> employee = new ArrayList<Employee>();\n employeeRepository.findAll().forEach(employee::add);\n return employee;\n }", "public List<Employee> getAllEmployees(){\n\t\tFaker faker = new Faker();\n\t\tList<Employee> employeeList = new ArrayList<Employee>();\n\t\tfor(int i=101; i<=110; i++) {\n\t\t\tEmployee myEmployee = new Employee();\n\t\t\tmyEmployee.setId(i);\n\t\t\tmyEmployee.setName(faker.name().fullName());\n\t\t\tmyEmployee.setMobile(faker.phoneNumber().cellPhone());\n\t\t\tmyEmployee.setAddress(faker.address().streetAddress());\n\t\t\tmyEmployee.setCompanyLogo(faker.company().logo());\n\t\t\temployeeList.add(myEmployee);\n\t\t}\n\t\treturn employeeList;\n\t}", "public List<Employees> getEmployeesList()\n {\n return employeesRepo.findAll();\n }", "@Override\n\tpublic List<Employee> getAllEmployee() {\n\t\tList<Employee> employee = new ArrayList<>();\n\t\tlogger.info(\"Getting all employee\");\n\t\ttry {\n\t\t\temployee = employeeDao.getAllEmployee();\n\t\t\tlogger.info(\"Getting all employee = {}\",employee.toString());\n\t\t} catch (Exception exception) {\n\t\t\tlogger.error(exception.getMessage());\n\t\t}\n\t\treturn employee;\n\t}", "@Override\r\n\tpublic List<Employee> selectEmployeeByAll(Connection con) {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\r\n\t}", "@GetMapping(\"/findAllEmployees\")\n\tpublic List<Employee> getAll() {\n\t\treturn testService.getAll();\n\t}", "@Override\n\tpublic List<EmployeeBean> getAllEmployees() {\n\t\tLOGGER.info(\"starts getAllEmployees method\");\n\t\tLOGGER.info(\"Ends getAllEmployees method\");\n\t\t\n\t\treturn adminEmployeeDao.getAllEmployees();\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\n\t}", "@Transactional\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn accountDao.getAllEmployee();\n\t}", "@RequestMapping(method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)\n public final List<EmployeeDTO> findAllEmployees() {\n LOGGER.info(\"getting all employees\");\n return employeeFacade.findAllEmployees();\n }", "@Override\r\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn employeeDao.getAllEmployee();\r\n\t}", "@GetMapping(\"/all\")\n\tpublic ResponseEntity<List<Employee>> getAllEmployees() {\n\t\tList<Employee> list = service.getAllEmployees();\n\t\treturn new ResponseEntity<List<Employee>>(list, HttpStatus.OK);\n\t}", "@Override\r\n\tpublic List<Employee> findAllEMployees() {\n\t\tList<Employee> employees = new ArrayList<Employee>();\r\n\t\tString findData = \"select * from employee\";\r\n\r\n\t\ttry {\r\n\t\t\tStatement s = dataSource.getConnection().createStatement();\r\n\r\n\t\t\tResultSet set = s.executeQuery(findData);\r\n\r\n\t\t\twhile (set.next()) {\r\n\t\t\t\tString name = set.getString(1);\r\n\t\t\t\tint id = set.getInt(\"empId\");\r\n\t\t\t\tint sal = set.getInt(\"salary\");\r\n\t\t\t\tString tech = set.getString(\"technology\");\r\n\t\t\t\tEmployee employee = new Employee(id, sal, name, tech);\r\n\t\t\t\temployees.add(employee);\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn employees;\r\n\r\n\t}", "@Override\n\t@Transactional\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn employeeDao.getAllEmployees();\n\t}", "public List<Employee> findAll() {\n return employeeRepository.findAll();\n }", "@SuppressWarnings(\"unchecked\")\r\n\tpublic List<Employee> getAllEmployees() {\r\n\t\tfinal Session session = sessionFactory.getCurrentSession();\t\t\r\n\t\tfinal Query query = session.createQuery(\"from Employee e order by id desc\");\r\n\t\t//Query q = session.createQuery(\"select NAME from Customer\");\r\n\t\t//final List<Employee> employeeList = query.list(); \r\n\t\treturn (List<Employee>) query.list();\r\n\t}", "public List<Employee> getEmployeesOnly() {\n\t\treturn edao.listEmployeOnly();\n\t}", "@Override\r\n\tpublic List<Employe> getEmployes() {\n\t\treturn dao.getEmployes();\r\n\t}", "@GetMapping(\"/employee\")\r\n\tpublic List<Employee> getAllEmployees()\r\n\t{\r\n\t\treturn empdao.findAll();\r\n\t}", "@Override\n\tpublic List<Emp> findAll() {\n\t\treturn eb.findAll();\n\t}", "@Override\r\n\tpublic List<Employee> getAllEmployeeList() throws Exception {\n\t\t\r\n\t\treturn (List<Employee>) employeeRepository.findAll();\r\n\t}", "public List<Company> companies() {\n StandardServiceRegistry registry = new StandardServiceRegistryBuilder().configure().build();\n SessionFactory sessionFactory = null;\n try {\n\n sessionFactory = new MetadataSources(registry).buildMetadata().buildSessionFactory();\n Session session = sessionFactory.getCurrentSession();\n session.beginTransaction();\n List<Company> listOfCompanies = session.createQuery(\"FROM Company\").getResultList();\n session.getTransaction().commit();\n return listOfCompanies;\n\n } finally {\n if (sessionFactory != null) {\n sessionFactory.close();\n }\n }\n }", "@Override\r\n\tpublic List<Employer> getAll() {\n\t\treturn employerDao.findAll();\r\n\t}", "@Override\n\tpublic List<Employee> queryAll() {\n\t\treturn dao.queryAll();\n\t}", "@Override\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Employee> viewAllEmployees() {\n\t\t CriteriaBuilder cb = em.getCriteriaBuilder();\n\t\t CriteriaQuery<Employee> cq = cb.createQuery(Employee.class);\n\t\t Root<Employee> rootEntry = cq.from(Employee.class);\n\t\t CriteriaQuery<Employee> all = cq.select(rootEntry);\n\t \n\t\t TypedQuery<Employee> allQuery = em.createQuery(all);\n\t\t return allQuery.getResultList();\n\t}", "@Transactional(readOnly = true)\r\n\t@SuppressWarnings(\"unchecked\")\r\n\tpublic List<Employee> getAllEmployees() {\r\n\t\treturn em.createQuery(\"select e from Employee e order by e.office_idoffice\").getResultList();\r\n\t}", "@Cacheable(cacheNames = \"allEmployeesCache\")\n\tpublic List<Employee> getAllEmployees() throws Exception {\n\t\tIterable<Employee> iterable = employeeRepository.findAll();\n\t List<Employee> result = new ArrayList<>();\n\t iterable.forEach(result::add);\n\t\treturn result;\n\t}", "@Override\n public List<Employee> getAllEmployees() {\n return null;\n }", "@Override\n\tpublic List<Employee> getAll() {\n\t\tList<Employee> list =null;\n\t\tEmployeeDAO employeeDAO = DAOFactory.getEmployeeDAO();\n\t\ttry {\n\t\t\tlist=employeeDAO.getAll();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn list;\n\t}", "@RequestMapping(value = GET_ALL_EMPLOYEE_URL_API, method=RequestMethod.GET)\r\n public ResponseEntity<?> getAllEmployee() {\r\n\r\n checkLogin();\r\n\r\n return new ResponseEntity<>(employeeService.getAll(), HttpStatus.OK);\r\n }", "public Employee[] getEmployeesList() {\n\t\treturn employees;\n\t}", "public static List<Employee> getAllEmployees(){\n\t\t// Get the Datastore Service\n\t\tlog.severe(\"datastoremanager-\" + 366);\n\t\tDatastoreService datastore = DatastoreServiceFactory.getDatastoreService();\n\t\tlog.severe(\"datastoremanager-\" + 368);\n\t\tQuery q = buildAQuery(null);\n\t\tlog.severe(\"datastoremanager-\" + 370);\n\t\t// Use PreparedQuery interface to retrieve results\n\t\tPreparedQuery pq = datastore.prepare(q);\n\t\tlog.severe(\"datastoremanager-\" + 373);\n\t\t//List for returning\n\t\tList<Employee> returnedList = new ArrayList<>();\n\t\tlog.severe(\"datastoremanager-\" + 376);\n\t\t//Loops through all results and add them to the returning list \n\t\tfor (Entity result : pq.asIterable()) {\n\t\t\tlog.severe(\"datastoremanager-\" + 379);\n\t\t\t//Vars to use\n\t\t\tString actualFirstName = null;\n\t\t\tString actualLastName = null;\n\t\t\tBoolean attendedHrTraining = null;\n\t\t\tDate hireDate = null;\n\t\t\tBlob blob = null;\n\t\t\tbyte[] photo = null;\n\t\t\t\n\t\t\t//Get results via the properties\n\t\t\ttry {\n\t\t\t\tactualFirstName = (String) result.getProperty(\"firstName\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tactualLastName = (String) result.getProperty(\"lastName\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tattendedHrTraining = (Boolean) result.getProperty(\"attendedHrTraining\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\thireDate = (Date) result.getProperty(\"hireDate\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tblob = (Blob) result.getProperty(\"picture\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tphoto = blob.getBytes();\n\t\t\t} catch (Exception e){}\n\t\t\tlog.severe(\"datastoremanager-\" + 387);\n\t\t\t\n\t\t\t//Build an employee (If conditionals for nulls)\n\t\t\tEmployee emp = new Employee();\n\t\t \temp.setFirstName((actualFirstName != null) ? actualFirstName : null);\n\t\t \temp.setLastName((actualLastName != null) ? actualLastName : null);\n\t\t \temp.setAttendedHrTraining((attendedHrTraining != null) ? attendedHrTraining : null);\n\t\t \temp.setHireDate((hireDate != null) ? hireDate : null);\n\t\t \temp.setPicture((photo != null) ? photo : null);\n\t\t \tlog.severe(\"datastoremanager-\" + 395);\n\t\t \treturnedList.add(emp);\n\t\t}\n\t\tlog.severe(\"datastoremanager-\" + 398);\n\t\treturn returnedList;\n\t}", "public CompanyEntity[] getAllCompanies() throws Exception {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n\n try {\n //Establish a connection from the connection manager\n connection = JdbcUtils.getConnection();\n\n //Creating the SQL query\n String sqlStatement = \"SELECT * FROM companies\";\n\n //Combining between the syntax and our connection\n preparedStatement = connection.prepareStatement(sqlStatement);\n\n //Executing the update\n ResultSet resultSet = preparedStatement.executeQuery();\n\n if (!resultSet.next()) {\n throw new ApplicationException(ErrorType.GENERAL_ERROR, \"Cannot retrieve information\");\n }\n// getting the number of rows returned to create an array of companies\n int numberOfRows = MyUtils.getRowCount(resultSet);\n if (numberOfRows == 0) {\n throw new ApplicationException(ErrorType.GENERAL_ERROR, \"0 companies in the table\");\n }\n// creating an array of companies\n CompanyEntity[] companies = new CompanyEntity[numberOfRows];\n int i = 0;\n while (resultSet.next()) {\n companies[i].setCompanyId(resultSet.getLong(\"id\"));\n companies[i].setCompanyName(resultSet.getString(\"company_name\"));\n companies[i].setCompanyEmail(resultSet.getString(\"company_email\"));\n companies[i].setCompanyPhone(resultSet.getString(\"company_phone\"));\n companies[i].setCompanyAddress(resultSet.getString(\"company_address\"));\n i++;\n }\n\n return companies;\n\n } catch (Exception e) {\n //\t\t\te.printStackTrace();\n throw new Exception(\"Failed to retrieve data\", e);\n } finally {\n //Closing the resources\n JdbcUtils.closeResources(connection, preparedStatement);\n }\n }", "@RequestMapping(\"/employee\")\n\tpublic List<Employee> getAllEmplyee() {\n\t\treturn service.getAllEmplyee();\n\t}", "public List<Employee> getAllEmployeeDetail() {\n\t\treturn dao.getAllEmployeeDetail();\n\t}", "@GetMapping(\"/my-employee\")\n\t@Secured(Roles.BOSS)\n\tpublic ResponseEntity<EmployeeCollectionDto> getAllMyEmployees() {\n\t\tLogStepIn();\n\n\t\t// Gets the currently logged in user's name\n\t\tString username = SecurityContextHolder.getContext().getAuthentication().getName();\n\t\tLong bossId = userRepository.findByName(username).getEmployee().getId();\n\n\t\t// Adds the employees that directly belongs to this boss\n\t\tEmployeeCollectionDto employeeCollectionDto = new EmployeeCollectionDto();\n\t\tList<Employee> employeeList = employeeRepository.findAll();\n\t\tfor(Employee employee : employeeList) {\n\t\t\tif(employee.getBossId().equals(bossId))\n\t\t\t\temployeeCollectionDto.collection.add(toDto(employee));\n\t\t}\n\n\t\treturn LogStepOut(ResponseEntity.ok(employeeCollectionDto));\n\t}", "public List<Employee> selectAllEmployee() {\n\n\t\t// using try-with-resources to avoid closing resources (boiler plate code)\n\t\tList<Employee> emp = new ArrayList<>();\n\t\t// Step 1: Establishing a Connection\n\t\ttry (Connection connection = dbconnection.getConnection();\n\n\t\t\t\t// Step 2:Create a statement using connection object\n\t\t\t\tPreparedStatement preparedStatement = connection.prepareStatement(SELECT_ALL_employe);) {\n\t\t\tSystem.out.println(preparedStatement);\n\t\t\t// Step 3: Execute the query or update query\n\t\t\tResultSet rs = preparedStatement.executeQuery();\n\n\t\t\t// Step 4: Process the ResultSet object.\n\t\t\twhile (rs.next()) {\n\t\t\t\tint id = rs.getInt(\"id\");\n\t\t\t\tString employeename = rs.getString(\"employeename\");\n\t\t\t\tString address = rs.getString(\"address\");\n\t\t\t\tint mobile = rs.getInt(\"mobile\");\n\t\t\t\tString position = rs.getString(\"position\");\n\t\t\t\tint Salary = rs.getInt(\"Salary\");\n\t\t\t\tString joineddate = rs.getString(\"joineddate\");\n\t\t\t\tString filename =rs.getString(\"filename\");\n\t\t\t\tString path = rs.getString(\"path\");\n\t\t\t\temp.add(new Employee(id, employeename, address, mobile, position, Salary, joineddate,filename,path));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tdbconnection.printSQLException(e);\n\t\t}\n\t\treturn emp;\n\t}", "List<Employee> allEmpInfo();", "public List<Employee> list() {\n\t\t\treturn employees;\n\t\t}", "public List<String> getAll() {\n\treturn employeeService.getAll();\n }", "List<Employee> findAll();", "public List<Employee> listAll(){\n return employeeRepository.findAll();\n }", "@Override\n\tpublic List<Employee> findAll() {\n\t\t\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\t\t// create a query\n\t\t\t\tQuery<Employee> theQuery = currentSession.createQuery(\"from Employee\", Employee.class);\n\t\t\t\t\n\t\t\t\t// execute a query and get the result list\n\t\t\t\tList<Employee> employeeList = theQuery.getResultList();\n\t\t\t\t\n\t\t\t\t// return the result list\n\t\t\t\treturn employeeList;\n\t}", "public List<Employee> getEmployees();", "@GetMapping(\"/employees\")\npublic List <Employee> findAlll(){\n\treturn employeeService.findAll();\n\t}", "@RequestMapping(value = \"/getAllEmployees\", method = RequestMethod.GET, produces = { MediaType.APPLICATION_JSON_VALUE })\r\n\tpublic List<Employee> getAllEmpoyees(){\r\n\t\treturn repository.getAllEmpoyees();\r\n\t}", "@Override\n\tpublic List<EmployeeBean> getEmployeeList() throws Exception {\n\t\treturn employeeDao.getEmployeeList();\n\t}", "@GetMapping(\"/employees\")\r\n\tpublic List<Employee> getEmployees(){\r\n\t\t\r\n\t\treturn employeeService.getEmployees();\r\n\t\t\r\n\t}", "@Override\r\n\tpublic List<Employee> findAll() {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List<Company> queryCompanyAll() {\n\t\treturn companyDao.queryCompanyAll();\n\t}", "public List<Employee> getEmployees() {\n\n\t\tList<Employee> employees = new ArrayList<Employee>();\n\t\t\n\t\t/*Sample data begins\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tEmployee employee = new Employee();\n\t\t\temployee.setEmail(\"[email protected]\");\n\t\t\temployee.setFirstName(\"Shiyong\");\n\t\t\temployee.setLastName(\"Lu\");\n\t\t\temployee.setAddress(\"123 Success Street\");\n\t\t\temployee.setCity(\"Stony Brook\");\n\t\t\temployee.setStartDate(\"2006-10-17\");\n\t\t\temployee.setState(\"NY\");\n\t\t\temployee.setZipCode(11790);\n\t\t\temployee.setTelephone(\"5166328959\");\n\t\t\temployee.setEmployeeID(\"631-413-5555\");\n\t\t\temployee.setHourlyRate(100);\n\t\t\temployees.add(employee);\n\t\t}\n\t\tSample data ends*/\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tConnection con = DriverManager.getConnection(\"jdbc:mysql://mysql3.cs.stonybrook.edu:3306/mwcoulter?useSSL=false\",\"mwcoulter\",\"111030721\");\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(\"SELECT P.*, E.StartDate, E.HourlyRate, E.Email, E.ID, L.* \"\n\t\t\t\t\t+ \"FROM Employee E, Person P, Location L\"\n\t\t\t\t\t+ \" WHERE P.SSN = E.SSN AND L.ZipCode = P.ZipCode\");\n\t\t\twhile(rs.next()) {\n\t\t\t\tEmployee employee = new Employee();\n\t\t\t\temployee.setEmail(rs.getString(\"Email\"));\n\t\t\t\temployee.setFirstName(rs.getString(\"FirstName\"));\n\t\t\t\temployee.setLastName(rs.getString(\"LastName\"));\n\t\t\t\temployee.setAddress(rs.getString(\"Address\"));\n\t\t\t\temployee.setCity(rs.getString(\"City\"));\n\t\t\t\temployee.setStartDate(String.valueOf(rs.getDate(\"StartDate\")));\n\t\t\t\temployee.setState(rs.getString(\"State\"));\n\t\t\t\temployee.setZipCode(rs.getInt(\"ZipCode\"));\n\t\t\t\temployee.setTelephone(String.valueOf(rs.getLong(\"Telephone\")));\n\t\t\t\temployee.setEmployeeID(String.valueOf(rs.getInt(\"SSN\")));\n\t\t\t\temployee.setHourlyRate(rs.getInt(\"HourlyRate\"));\n\t\t\t\temployees.add(employee);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t\n\t\treturn employees;\n\t}", "public void listEmployees() {\n\t\tSession session = factory.openSession();\n\t\tTransaction transaction = null;\n\t\ttry {\n\t\t\ttransaction = session.beginTransaction();\n\t\t\t@SuppressWarnings(\"rawtypes\")\n\t\t\tList employees = session.createQuery(\"FROM Employee\").list();\n\t\t\tfor (@SuppressWarnings(\"rawtypes\")\n\t\t\tIterator iterator = employees.iterator(); iterator.hasNext();) {\n\t\t\t\tEmployee employee = (Employee) iterator.next();\n\t\t\t\tSystem.out.print(\"First Name: \" + employee.getFirstName());\n\t\t\t\tSystem.out.print(\" Last Name: \" + employee.getLastName());\n\t\t\t\tSystem.out.println(\" Salary: \" + employee.getSalary());\n\t\t\t}\n\t\t\ttransaction.commit();\n\t\t} catch (HibernateException e) {\n\t\t\tif (transaction != null)\n\t\t\t\ttransaction.rollback();\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tsession.close();\n\t\t}\n\t}", "@Override\n\tpublic List<Employee> findAllEmployee() {\n\t\treturn null;\n\t}", "public static ArrayList<Employee> getAllEmployee() throws SQLException {\n\t\tConnection connection = DatabaseConnection.getConnection();\n\t\tArrayList<Employee> employee = new ArrayList<>();\n\t\tString query = \"SELECT * FROM EMPLOYEE\";\n\t\tPreparedStatement pStatement = connection.prepareStatement(query);\n\t\tResultSet resultSet = pStatement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\temployee.add(new Employee(resultSet.getString(\"empId\"), resultSet\n\t\t\t\t\t.getString(\"ename\")));\n\t\t}\n\t\treturn employee;\n\t}", "public List<Employeee> findAll(Class c) {\n\t\treturn employeerepo.findAll();\n\t}", "List<CompanyEmployeeDTO> findAllByCompanyId(Long id);", "public void listEmployees()\n\t{\n\t\tString str = \"Name\\tSurname\\tMail\\tPassword\\tBranchId\\tId\\n\";\n\t\t\n\t\tList<Employee> employees = this.company.getEmployees();\n\n\t\tfor(int i=0; i<employees.length(); i++)\n\t\t{\n\t\t\tstr += employees.get(i).getName() + \"\\t\" + employees.get(i).getSurname() + \"\\t\" + employees.get(i).getMail() + \"\\t\" + employees.get(i).getPassword() + \"\\t\\t\" + employees.get(i).getBranchId() + \"\\t\\t\" + employees.get(i).getId() + \"\\n\";\n\t\t}\n\n\t\tSystem.out.println(str);\n\n\t}", "public List<Company> getCompanys() {\n\t\treturn companyDao.findAll();\n//\t\treturn companies;\n\t}", "@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 }", "@GetMapping(\"/emloyees\")\n public List<Employee> all() {\n return employeeRepository.findAll();\n }", "public ResponseEntity<List<Employee>> getAllEmployees() {\n \tList<Employee> emplist=empService.getAllEmployees();\n\t\t\n\t\tif(emplist==null) {\n\t\t\tthrow new ResourceNotFoundException(\"No Employee Details found\");\n\t\t}\n\t\t\n\t\treturn new ResponseEntity<>(emplist,HttpStatus.OK);\t\t\n }", "@Override\r\n\tpublic List<Emp> getAll() {\n\t\treturn null;\r\n\t}", "public Map<String, Person> getEmployees() {\n return employees;\n }", "@Override\r\n\tpublic List<Employee> selectAllEmployee() {\n\t\treturn null;\r\n\t}", "public Employee[] getAll() {\n\t\tEmployee[] empArray = new Employee[list.size()];\n\t\tfor (int i = 0; i < list.size(); i++) \n\t\t\tempArray[i] = list.get(i);\n\t\t\t\n\t\treturn empArray;\n\t}", "@RequestMapping(value = \"/listEmployees\", method = RequestMethod.GET)\r\n\tpublic Employee employees() {\r\n System.out.println(\"---BEGIN\");\r\n List<Employee> allEmployees = employeeData.findAll();\r\n \r\n System.out.println(\"size of emp == \"+allEmployees.size());\r\n System.out.println(\"---END\");\r\n Employee oneEmployee = allEmployees.get(0);\r\n\t\treturn oneEmployee;\r\n }", "public List<EmployeeEntity> retrieveAllEmployeeData(StorageContext context) throws PragmaticBookSelfException {\n\t\tList<EmployeeEntity> listOfEmployeeData = null;\n\n\t\tSession hibernateSession = context.getHibernateSession();\n\n\t\tString queryString = \"FROM EmployeeEntity\"; // select * from employee;//\n\t\ttry {\n\t\t\tQuery query = hibernateSession.createQuery(queryString);\n\t\t\tlistOfEmployeeData = query.list();\n\t\t} catch (HibernateException he) {\n\t\t\tthrow new PragmaticBookSelfException(he);\n\t\t}\n\t\treturn listOfEmployeeData;\n\t}", "@Override\r\n\tpublic List<EmployeeBean> getAllData() {\n\r\n\t\tEntityManager manager = entityManagerFactory.createEntityManager();\r\n\r\n\t\tString query = \"from EmployeeBean\";\r\n\r\n\t\tjavax.persistence.Query query2 = manager.createQuery(query);\r\n\r\n\t\tList<EmployeeBean> list = query2.getResultList();\r\n\t\tif (list != null) {\r\n\t\t\treturn list;\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "@Override\n\tpublic ResponseEntity<Collection<Employee>> findAll() {\n\t\treturn new ResponseEntity<Collection<Employee>>(empService.findAll(),HttpStatus.OK);\n\t}", "@Override\r\n\tpublic synchronized List<Company> getAllCompanies() throws Exception {\r\n\r\n\t\tconnectionPool = ConnectionPool.getInstance();\r\n\t\tConnection connection = connectionPool.getConnection();\r\n\t\tList<Company> list = new ArrayList<>();\r\n\t\tString sql = \"select * from Company\";\r\n\t\ttry (PreparedStatement preparedStatement = connection.prepareStatement(sql); ResultSet resultSet = preparedStatement.executeQuery()) {\r\n\r\n\t\t\twhile (resultSet.next()) {\r\n\t\t\t\tlong companyId = resultSet.getLong(1);\r\n\t\t\t\tString companyName = resultSet.getString(2);\r\n\t\t\t\tString companyPassword = resultSet.getString(3);\r\n\t\t\t\tString companyEmail = resultSet.getString(4);\r\n\r\n\t\t\t\tlist.add(new Company(companyId, companyName, companyPassword, companyEmail));\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new Exception(\"DB error - unable to get Company data\");\r\n\t\t}catch (Exception e) {\r\n\t\t\tthrow new Exception(\"unable to get Company data\");\r\n\t\t} \r\n\t\tfinally {\r\n\t\t\tconnection.close();\r\n\t\t\tconnectionPool.returnConnection(connection);\r\n\t\t}\r\n\t\treturn list;\r\n\r\n\t}", "@Override\n\tpublic List<Employee> findAll() {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\n\t\t\n\t\t//create a query\n\t\t\n\t\tQuery<Employee> theQuery= currentSession.createQuery(\"from Employee\",Employee.class);\n\t\t\n\t\tList<Employee> theEmployees=theQuery.list();\n\t\treturn theEmployees;\n\t}", "@GetMapping(\"/all\")\n public ResponseEntity responseAllEmployees(){\n return new ResponseEntity<>(hr_service.getAllEmployees(), HttpStatus.OK);\n }", "@GetMapping(\"/employees\")\n Flux<Employee> all() { //TODO: Wasn't previously public\n return this.repository.findAll();\n }", "Collection<EmployeeDTO> getAll();", "@Override\r\n\tpublic List<Company> getAllCompanies() {\r\n\t\tString methodName = \"getAllCompanies()\";\r\n\t\tlog.info(className+\",\"+methodName);\r\n\t\treturn companyRepository.findAll();\r\n\t\t\r\n\t}", "@GetMapping(\"/GetAllEmployees\")\r\n public List<Employee> viewAllEmployees() {\r\n return admin.viewAllEmployees();\r\n }", "@GetMapping(\"/employees\")\r\n\tpublic List<Employee> list() {\r\n\t return empService.listAll();\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic List<Company> loadAll() {\r\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from Company\").list();\r\n\t}", "public String[][] getResearchEmployeeData() {\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 ResearchCompany) {\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}", "@Override\n\t@Transactional\n\tpublic List<Employee> findAll() {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\n\t\t//create query\n\t\tQuery<Employee> theQuery = currentSession.createQuery(\"from Employee\", Employee.class);\n\t\t\n\t\t//execute query\n\t\tList<Employee> employees = theQuery.getResultList();\n\t\t\n\t\t//currentSession.close();\n\t\t\n\t\treturn employees;\n\t}", "@GetMapping(\"/getEmployees\")\n\t@ResponseBody\n\tpublic List<Employee> getAllEmployees(){\n\t\treturn employeeService.getEmployees();\n\t}", "public ArrayList<Company> getAllCompanies() throws Exception {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\tconnection = JdbcUtils.getConnection();\n\n\t\t\t// Creating the SQL query\n\t\t\tString sqlStatement = \"SELECT * FROM companies\";\n\n\t\t\t// Combining between the syntax and our connection\n\t\t\tpreparedStatement = connection.prepareStatement(sqlStatement);\t\t\t\n\n\t\t\t// Executing the query\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\tArrayList<Company> allCompanies = new ArrayList<Company>(); \n\t\t\t\n\t\t\twhile (resultSet.next()) {\n\t\t\t\t\n\t\t\t\tLong id = resultSet.getLong(\"Company_Id\");\n\t\t\t\tString name = resultSet.getString(\"Company_NAME\");\n\t\t\t\tallCompanies.add(new Company(id, name));\n\t\t\t}\n\t\t\treturn allCompanies;\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// **If there was an exception in the \"try\" block above, it is caught here and\n\t\t\t// notifies a level above.\n\t\t\te.printStackTrace();\n\t\t\tthrow new ApplicationException(e,ErrorType.GENERAL_ERROR,\n\t\t\t\t\tDateUtils.getCurrentDateAndTime() + \"FAILED to return all companies\");\n\n\t\t\t// Closing the resources\n\t\t\t} finally {\n\t\t\t\tJdbcUtils.closeResources(connection, preparedStatement,resultSet);\n\t\t\t}\t\n\t\t}", "@Override\n\tpublic void getAllEmployee() {\n\t\t\n\t}" ]
[ "0.7284483", "0.727992", "0.7242046", "0.7239301", "0.72303766", "0.7170878", "0.71391195", "0.7125813", "0.7114943", "0.70976645", "0.70708567", "0.7042882", "0.7012859", "0.7009693", "0.6987576", "0.69672036", "0.6958037", "0.69491154", "0.6942048", "0.6928315", "0.6915148", "0.68658406", "0.68543696", "0.68543696", "0.6852147", "0.6846944", "0.6840697", "0.6777931", "0.675814", "0.6743709", "0.674203", "0.67412955", "0.67119896", "0.669616", "0.6695022", "0.6679528", "0.66709846", "0.66513795", "0.66422546", "0.66385514", "0.66347456", "0.6609466", "0.65994734", "0.65878296", "0.6578394", "0.6573484", "0.6573393", "0.65696824", "0.6567213", "0.6557912", "0.6547738", "0.6547183", "0.654412", "0.6531082", "0.6526781", "0.65029883", "0.6484447", "0.6470244", "0.6466825", "0.64590836", "0.64542687", "0.64511734", "0.6448865", "0.64487255", "0.6438849", "0.6433429", "0.6432157", "0.6428679", "0.64281726", "0.64262205", "0.64231646", "0.642031", "0.6413508", "0.63983256", "0.63945425", "0.6390694", "0.6388028", "0.6388014", "0.6387727", "0.637861", "0.6360139", "0.63601327", "0.6345927", "0.6336701", "0.6330071", "0.6328846", "0.63240826", "0.63237715", "0.63188136", "0.6316939", "0.6311167", "0.6297718", "0.62724847", "0.627243", "0.62720615", "0.6266982", "0.6266757", "0.625611", "0.62550104", "0.6252528" ]
0.7355853
0
Get a list of all the employees added for a particular company corresponding to company short name.
public List<User> findEmployees(String companyShortName, int start, int rows, String sortBy, String sortHow);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<User> getAllEmployees(String companyShortName);", "@GetMapping(value=\"/searchEmpData\")\n\tpublic List<Employee> getAllEmployees()\n\t{\n\t\treturn this.integrationClient.getAllEmployees();\n\t}", "public List<Employee> getAllEmployees(){\n\t\tFaker faker = new Faker();\n\t\tList<Employee> employeeList = new ArrayList<Employee>();\n\t\tfor(int i=101; i<=110; i++) {\n\t\t\tEmployee myEmployee = new Employee();\n\t\t\tmyEmployee.setId(i);\n\t\t\tmyEmployee.setName(faker.name().fullName());\n\t\t\tmyEmployee.setMobile(faker.phoneNumber().cellPhone());\n\t\t\tmyEmployee.setAddress(faker.address().streetAddress());\n\t\t\tmyEmployee.setCompanyLogo(faker.company().logo());\n\t\t\temployeeList.add(myEmployee);\n\t\t}\n\t\treturn employeeList;\n\t}", "public List<Employee> getAll() {\n\t\treturn edao.listEmploye();\n\t}", "public List<Employee> getAllEmployee(){\n List<Employee> employee = new ArrayList<Employee>();\n employeeRepository.findAll().forEach(employee::add);\n return employee;\n }", "@Override\r\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn employees;\r\n\t}", "List<Employee> allEmpInfo();", "public List<EmployeeTO> getAllEmployees() {\n\t\t\r\n\t\treturn EmployeeService.getInstance().getAllEmployees();\r\n\t}", "public List<Employee> getAllEmployees(){\n\t\tList<Employee> employees = employeeDao.findAll();\n\t\tif(employees != null)\n\t\t\treturn employees;\n\t\treturn null;\n\t}", "public List<Employee> getListOfAllEmployees() {\n\t\tlista = employeeDao.findAll();\r\n\r\n\t\treturn lista;\r\n\t}", "public List<Employee> getAllEmployees() {\n\t\tList<Employee> list = new ArrayList<Employee>();\n\t\tlist = template.loadAll(Employee.class);\n\t\treturn list;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\ttry {\n\t\t\tList<Employee> empList = new ArrayList<Employee>();\n\t\t\tList<Map<String, Object>> rows = template.queryForList(\"select * from employee\");\n\t\t\tfor(Map<?, ?> rowNum : rows) {\n\t\t\t\tEmployee emp = new Employee();\n\t\t\t\temp.setEmployeeId((Integer)rowNum.get(\"empid\"));\n\t\t\t\temp.setFirstName((String)rowNum.get(\"fname\"));\n\t\t\t\temp.setLastName((String)rowNum.get(\"lname\"));\n\t\t\t\temp.setEmail((String)rowNum.get(\"email\"));\n\t\t\t\temp.setDesignation((String)rowNum.get(\"desig\"));\n\t\t\t\temp.setLocation((String)rowNum.get(\"location\"));\n\t\t\t\temp.setSalary((Integer)rowNum.get(\"salary\"));\n\t\t\t\tempList.add(emp);\n\t\t\t}\n\t\t\treturn empList;\n\t\t} catch (DataAccessException excep) {\n\t\t\treturn null;\n\t\t}\n\t}", "@GetMapping(value=\"/searchEmpData/{fname}\")\n\tpublic List<Employee> getEmployeeByName(@PathVariable (value = \"fname\") String fname)\n\t{\n\t\treturn integrationClient.getEmployees(fname);\n\t}", "@Override\n\tpublic Collection<String> getCompanyList() {\n\t\treturn getHibernateTemplate().execute(new HibernateCallback<String, Collection<String>>(\"getCompanyList\") {\n\t\t\t@Override\n\t\t\tpublic Collection<String> doInHibernate(final Session session) {\n\t\t\t\tfinal Criteria criteria = session.createCriteria(getEntityClass());\n\t\t\t\tcriteria.setProjection(Projections.property(\"name\"));\n\t\t\t\tcriteria.addOrder(Order.asc(\"name\"));\n\t\t\t\treturn criteria.list();\n\t\t\t}\n\t\t});\n\t\t\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\t\n\t\tlog.debug(\"EmplyeeService.getAllEmployee() return list of employees\");\n\t\treturn repositary.findAll();\n\t}", "public static List<Employee> getAllEmployees(){\n\t\t// Get the Datastore Service\n\t\tlog.severe(\"datastoremanager-\" + 366);\n\t\tDatastoreService datastore = DatastoreServiceFactory.getDatastoreService();\n\t\tlog.severe(\"datastoremanager-\" + 368);\n\t\tQuery q = buildAQuery(null);\n\t\tlog.severe(\"datastoremanager-\" + 370);\n\t\t// Use PreparedQuery interface to retrieve results\n\t\tPreparedQuery pq = datastore.prepare(q);\n\t\tlog.severe(\"datastoremanager-\" + 373);\n\t\t//List for returning\n\t\tList<Employee> returnedList = new ArrayList<>();\n\t\tlog.severe(\"datastoremanager-\" + 376);\n\t\t//Loops through all results and add them to the returning list \n\t\tfor (Entity result : pq.asIterable()) {\n\t\t\tlog.severe(\"datastoremanager-\" + 379);\n\t\t\t//Vars to use\n\t\t\tString actualFirstName = null;\n\t\t\tString actualLastName = null;\n\t\t\tBoolean attendedHrTraining = null;\n\t\t\tDate hireDate = null;\n\t\t\tBlob blob = null;\n\t\t\tbyte[] photo = null;\n\t\t\t\n\t\t\t//Get results via the properties\n\t\t\ttry {\n\t\t\t\tactualFirstName = (String) result.getProperty(\"firstName\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tactualLastName = (String) result.getProperty(\"lastName\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tattendedHrTraining = (Boolean) result.getProperty(\"attendedHrTraining\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\thireDate = (Date) result.getProperty(\"hireDate\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tblob = (Blob) result.getProperty(\"picture\");\n\t\t\t} catch (Exception e){}\n\t\t\ttry {\n\t\t\t\tphoto = blob.getBytes();\n\t\t\t} catch (Exception e){}\n\t\t\tlog.severe(\"datastoremanager-\" + 387);\n\t\t\t\n\t\t\t//Build an employee (If conditionals for nulls)\n\t\t\tEmployee emp = new Employee();\n\t\t \temp.setFirstName((actualFirstName != null) ? actualFirstName : null);\n\t\t \temp.setLastName((actualLastName != null) ? actualLastName : null);\n\t\t \temp.setAttendedHrTraining((attendedHrTraining != null) ? attendedHrTraining : null);\n\t\t \temp.setHireDate((hireDate != null) ? hireDate : null);\n\t\t \temp.setPicture((photo != null) ? photo : null);\n\t\t \tlog.severe(\"datastoremanager-\" + 395);\n\t\t \treturnedList.add(emp);\n\t\t}\n\t\tlog.severe(\"datastoremanager-\" + 398);\n\t\treturn returnedList;\n\t}", "public List<Employee> selectAllEmployee() {\n\n\t\t// using try-with-resources to avoid closing resources (boiler plate code)\n\t\tList<Employee> emp = new ArrayList<>();\n\t\t// Step 1: Establishing a Connection\n\t\ttry (Connection connection = dbconnection.getConnection();\n\n\t\t\t\t// Step 2:Create a statement using connection object\n\t\t\t\tPreparedStatement preparedStatement = connection.prepareStatement(SELECT_ALL_employe);) {\n\t\t\tSystem.out.println(preparedStatement);\n\t\t\t// Step 3: Execute the query or update query\n\t\t\tResultSet rs = preparedStatement.executeQuery();\n\n\t\t\t// Step 4: Process the ResultSet object.\n\t\t\twhile (rs.next()) {\n\t\t\t\tint id = rs.getInt(\"id\");\n\t\t\t\tString employeename = rs.getString(\"employeename\");\n\t\t\t\tString address = rs.getString(\"address\");\n\t\t\t\tint mobile = rs.getInt(\"mobile\");\n\t\t\t\tString position = rs.getString(\"position\");\n\t\t\t\tint Salary = rs.getInt(\"Salary\");\n\t\t\t\tString joineddate = rs.getString(\"joineddate\");\n\t\t\t\tString filename =rs.getString(\"filename\");\n\t\t\t\tString path = rs.getString(\"path\");\n\t\t\t\temp.add(new Employee(id, employeename, address, mobile, position, Salary, joineddate,filename,path));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tdbconnection.printSQLException(e);\n\t\t}\n\t\treturn emp;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployee() {\n\t\tList<Employee> employee = new ArrayList<>();\n\t\tlogger.info(\"Getting all employee\");\n\t\ttry {\n\t\t\temployee = employeeDao.getAllEmployee();\n\t\t\tlogger.info(\"Getting all employee = {}\",employee.toString());\n\t\t} catch (Exception exception) {\n\t\t\tlogger.error(exception.getMessage());\n\t\t}\n\t\treturn employee;\n\t}", "public List<String> getAll() {\n\treturn employeeService.getAll();\n }", "public List<Employee> getAllEmployees() {\n return employeeRepository.findAll();\n }", "public List<Company> companies() {\n StandardServiceRegistry registry = new StandardServiceRegistryBuilder().configure().build();\n SessionFactory sessionFactory = null;\n try {\n\n sessionFactory = new MetadataSources(registry).buildMetadata().buildSessionFactory();\n Session session = sessionFactory.getCurrentSession();\n session.beginTransaction();\n List<Company> listOfCompanies = session.createQuery(\"FROM Company\").getResultList();\n session.getTransaction().commit();\n return listOfCompanies;\n\n } finally {\n if (sessionFactory != null) {\n sessionFactory.close();\n }\n }\n }", "public static ArrayList<Employee> getAllEmployee() throws SQLException {\n\t\tConnection connection = DatabaseConnection.getConnection();\n\t\tArrayList<Employee> employee = new ArrayList<>();\n\t\tString query = \"SELECT * FROM EMPLOYEE\";\n\t\tPreparedStatement pStatement = connection.prepareStatement(query);\n\t\tResultSet resultSet = pStatement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\temployee.add(new Employee(resultSet.getString(\"empId\"), resultSet\n\t\t\t\t\t.getString(\"ename\")));\n\t\t}\n\t\treturn employee;\n\t}", "@Override\n\tpublic List<EmployeeBean> getAllEmployees() {\n\t\tLOGGER.info(\"starts getAllEmployees method\");\n\t\tLOGGER.info(\"Ends getAllEmployees method\");\n\t\t\n\t\treturn adminEmployeeDao.getAllEmployees();\n\t}", "public CompanyEntity[] getAllCompanies() throws Exception {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n\n try {\n //Establish a connection from the connection manager\n connection = JdbcUtils.getConnection();\n\n //Creating the SQL query\n String sqlStatement = \"SELECT * FROM companies\";\n\n //Combining between the syntax and our connection\n preparedStatement = connection.prepareStatement(sqlStatement);\n\n //Executing the update\n ResultSet resultSet = preparedStatement.executeQuery();\n\n if (!resultSet.next()) {\n throw new ApplicationException(ErrorType.GENERAL_ERROR, \"Cannot retrieve information\");\n }\n// getting the number of rows returned to create an array of companies\n int numberOfRows = MyUtils.getRowCount(resultSet);\n if (numberOfRows == 0) {\n throw new ApplicationException(ErrorType.GENERAL_ERROR, \"0 companies in the table\");\n }\n// creating an array of companies\n CompanyEntity[] companies = new CompanyEntity[numberOfRows];\n int i = 0;\n while (resultSet.next()) {\n companies[i].setCompanyId(resultSet.getLong(\"id\"));\n companies[i].setCompanyName(resultSet.getString(\"company_name\"));\n companies[i].setCompanyEmail(resultSet.getString(\"company_email\"));\n companies[i].setCompanyPhone(resultSet.getString(\"company_phone\"));\n companies[i].setCompanyAddress(resultSet.getString(\"company_address\"));\n i++;\n }\n\n return companies;\n\n } catch (Exception e) {\n //\t\t\te.printStackTrace();\n throw new Exception(\"Failed to retrieve data\", e);\n } finally {\n //Closing the resources\n JdbcUtils.closeResources(connection, preparedStatement);\n }\n }", "@GetMapping(\"/findAllEmployees\")\n\tpublic List<Employee> getAll() {\n\t\treturn testService.getAll();\n\t}", "@Override\r\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn employeeDao.getAllEmployee();\r\n\t}", "public List<Employees> getEmployeesList()\n {\n return employeesRepo.findAll();\n }", "@GetMapping(\"/all\")\n\tpublic ResponseEntity<List<Employee>> getAllEmployees() {\n\t\tList<Employee> list = service.getAllEmployees();\n\t\treturn new ResponseEntity<List<Employee>>(list, HttpStatus.OK);\n\t}", "public List<Employee> getEmployees();", "@Override\r\n\tpublic List<Employee> selectEmployeeByAll(Connection con) {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List<Employee> getEmpleados() {\n\t\treturn repositorioEmployee.findAll();\n\t}", "public List<Customer> getByCompanyName(String company) throws CustomerNotFoundException {\r\n try {\r\n return this.entityManager.createQuery(\"select customer from Customer as customer where customer.company=:company\")\r\n .setParameter(\"company\", company)\r\n .getResultList();\r\n } catch (Exception e) {\r\n throw new CustomerNotFoundException();\r\n }\r\n }", "@Override\r\n\tpublic List<Employee> findAllEMployees() {\n\t\tList<Employee> employees = new ArrayList<Employee>();\r\n\t\tString findData = \"select * from employee\";\r\n\r\n\t\ttry {\r\n\t\t\tStatement s = dataSource.getConnection().createStatement();\r\n\r\n\t\t\tResultSet set = s.executeQuery(findData);\r\n\r\n\t\t\twhile (set.next()) {\r\n\t\t\t\tString name = set.getString(1);\r\n\t\t\t\tint id = set.getInt(\"empId\");\r\n\t\t\t\tint sal = set.getInt(\"salary\");\r\n\t\t\t\tString tech = set.getString(\"technology\");\r\n\t\t\t\tEmployee employee = new Employee(id, sal, name, tech);\r\n\t\t\t\temployees.add(employee);\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn employees;\r\n\r\n\t}", "public List<Employee> list() {\n\t\t\treturn employees;\n\t\t}", "@Override\r\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\r\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn employeeDao.getAllEmployees();\n\t}", "public List<Employee> getAllEmployeeDetail() {\n\t\treturn dao.getAllEmployeeDetail();\n\t}", "public void listEmployees()\n\t{\n\t\tString str = \"Name\\tSurname\\tMail\\tPassword\\tBranchId\\tId\\n\";\n\t\t\n\t\tList<Employee> employees = this.company.getEmployees();\n\n\t\tfor(int i=0; i<employees.length(); i++)\n\t\t{\n\t\t\tstr += employees.get(i).getName() + \"\\t\" + employees.get(i).getSurname() + \"\\t\" + employees.get(i).getMail() + \"\\t\" + employees.get(i).getPassword() + \"\\t\\t\" + employees.get(i).getBranchId() + \"\\t\\t\" + employees.get(i).getId() + \"\\n\";\n\t\t}\n\n\t\tSystem.out.println(str);\n\n\t}", "@GET\n\t@Path(\"getByName\")\n\tpublic List<Customer> getByName(@QueryParam(\"companyname\") String companyname) {\n\t\treturn ManagerHelper.getCustomerManager().getByName(companyname);\n\t}", "public Employee[] getEmployeesList() {\n\t\treturn employees;\n\t}", "public List<Employeee> findAll(Class c) {\n\t\treturn employeerepo.findAll();\n\t}", "public Vector<Employees> getEmployees() {\n\t\t\tVector<Employees> v = new Vector<Employees>();\n\t\t\ttry {\n\t\t\t\tStatement stmt = conn.createStatement();\n\t\t\t\tResultSet rs = stmt\n\t\t\t\t\t\t.executeQuery(\"select * from employees_details order by employees_pf\");\n\t\t\t\twhile (rs.next()) {\n\t\t\t\t\tint file_num = rs.getInt(1);\n\t\t\t\t\tString name = rs.getString(2);\n\t\t\t\t\tint drive = rs.getInt(3);\n\t\t\t\t\tEmployees employee = new Employees(file_num, name, drive);\n//\t\t\t\t\tCars cars = new Truck(reg, model, drive);\n\t\t\t\t\tv.add(employee);\n\t\t\t\t}\n\t\t\t}\n\t\tcatch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn v;\n\t}", "public List<Employee> getEmployees() {\n\n\t\tList<Employee> employees = new ArrayList<Employee>();\n\t\t\n\t\t/*Sample data begins\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tEmployee employee = new Employee();\n\t\t\temployee.setEmail(\"[email protected]\");\n\t\t\temployee.setFirstName(\"Shiyong\");\n\t\t\temployee.setLastName(\"Lu\");\n\t\t\temployee.setAddress(\"123 Success Street\");\n\t\t\temployee.setCity(\"Stony Brook\");\n\t\t\temployee.setStartDate(\"2006-10-17\");\n\t\t\temployee.setState(\"NY\");\n\t\t\temployee.setZipCode(11790);\n\t\t\temployee.setTelephone(\"5166328959\");\n\t\t\temployee.setEmployeeID(\"631-413-5555\");\n\t\t\temployee.setHourlyRate(100);\n\t\t\temployees.add(employee);\n\t\t}\n\t\tSample data ends*/\n\t\ttry {\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\tConnection con = DriverManager.getConnection(\"jdbc:mysql://mysql3.cs.stonybrook.edu:3306/mwcoulter?useSSL=false\",\"mwcoulter\",\"111030721\");\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(\"SELECT P.*, E.StartDate, E.HourlyRate, E.Email, E.ID, L.* \"\n\t\t\t\t\t+ \"FROM Employee E, Person P, Location L\"\n\t\t\t\t\t+ \" WHERE P.SSN = E.SSN AND L.ZipCode = P.ZipCode\");\n\t\t\twhile(rs.next()) {\n\t\t\t\tEmployee employee = new Employee();\n\t\t\t\temployee.setEmail(rs.getString(\"Email\"));\n\t\t\t\temployee.setFirstName(rs.getString(\"FirstName\"));\n\t\t\t\temployee.setLastName(rs.getString(\"LastName\"));\n\t\t\t\temployee.setAddress(rs.getString(\"Address\"));\n\t\t\t\temployee.setCity(rs.getString(\"City\"));\n\t\t\t\temployee.setStartDate(String.valueOf(rs.getDate(\"StartDate\")));\n\t\t\t\temployee.setState(rs.getString(\"State\"));\n\t\t\t\temployee.setZipCode(rs.getInt(\"ZipCode\"));\n\t\t\t\temployee.setTelephone(String.valueOf(rs.getLong(\"Telephone\")));\n\t\t\t\temployee.setEmployeeID(String.valueOf(rs.getInt(\"SSN\")));\n\t\t\t\temployee.setHourlyRate(rs.getInt(\"HourlyRate\"));\n\t\t\t\temployees.add(employee);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t\n\t\treturn employees;\n\t}", "public List<IncomingReport> listCompany(Company company) throws IllegalArgumentException, DAOException;", "@GetMapping(\"/my-employee\")\n\t@Secured(Roles.BOSS)\n\tpublic ResponseEntity<EmployeeCollectionDto> getAllMyEmployees() {\n\t\tLogStepIn();\n\n\t\t// Gets the currently logged in user's name\n\t\tString username = SecurityContextHolder.getContext().getAuthentication().getName();\n\t\tLong bossId = userRepository.findByName(username).getEmployee().getId();\n\n\t\t// Adds the employees that directly belongs to this boss\n\t\tEmployeeCollectionDto employeeCollectionDto = new EmployeeCollectionDto();\n\t\tList<Employee> employeeList = employeeRepository.findAll();\n\t\tfor(Employee employee : employeeList) {\n\t\t\tif(employee.getBossId().equals(bossId))\n\t\t\t\temployeeCollectionDto.collection.add(toDto(employee));\n\t\t}\n\n\t\treturn LogStepOut(ResponseEntity.ok(employeeCollectionDto));\n\t}", "public List<Employee> findEmployee(String name) {\n\t\tCriteriaQuery<Employee> createQuery = emp.getCriteriaBuilder().createQuery(Employee.class);\n\t\tRoot<Employee> root = createQuery.from(Employee.class);\n\t\tcreateQuery.where(root.get(\"name\").in(name));\n\t\treturn emp.createQuery(createQuery).getResultList();\n\t}", "@Override\r\n\tpublic List<Company> getCompanyList() throws SQLException {\n\r\n\t\tList<Company> companies = new ArrayList<>();\r\n\t\tcompanyRepository.findAll().forEach(companies::add);\r\n\r\n\t\treturn companies;\r\n\t}", "@Override\n\tpublic List<Employee> viewAllEmployees() {\n\t\t CriteriaBuilder cb = em.getCriteriaBuilder();\n\t\t CriteriaQuery<Employee> cq = cb.createQuery(Employee.class);\n\t\t Root<Employee> rootEntry = cq.from(Employee.class);\n\t\t CriteriaQuery<Employee> all = cq.select(rootEntry);\n\t \n\t\t TypedQuery<Employee> allQuery = em.createQuery(all);\n\t\t return allQuery.getResultList();\n\t}", "@RequestMapping(\"/employee\")\n\tpublic List<Employee> getAllEmplyee() {\n\t\treturn service.getAllEmplyee();\n\t}", "@Override\n\tpublic List<Employee> findAllEmployees() {\n\t\treturn employeeRepository.findAllEmployess();\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<Employee> getAllEmployees() {\n\t\treturn null;\n\t}", "public static List<Company> createCompanies() {\r\n\t\tList<Company> companies = new ArrayList<Company>();\r\n\t\tcompanies.add(createCompany(1, \"Pepcus\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help1\"));\r\n\t\tcompanies.add(createCompany(2, \"Google\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help2\"));\r\n\t\tcompanies.add(createCompany(3, \"Facebook\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help3\"));\r\n\t\tcompanies.add(createCompany(4, \"Suzuki\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help4\"));\r\n\t\tcompanies.add(createCompany(5, \"General Motors\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help5\"));\r\n\t\tcompanies.add(createCompany(6, \"L & T\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help6\"));\r\n\t\tcompanies.add(createCompany(7, \"General Electric\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help7\"));\r\n\t\tcompanies.add(createCompany(8, \"Oracle\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help8\"));\r\n\t\tcompanies.add(createCompany(9, \"Microsoft\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help9\"));\r\n\t\tcompanies.add(createCompany(10, \"Thinkhr\", \"IT\", \"PEP\", new Date(), \"IT comp at Indore\", \"This is search help10\"));\r\n\t\treturn companies;\r\n\r\n\t}", "@GetMapping(value=\"/employes\")\n\tpublic List<Employee> getEmployeeDetails(){\n\t\t\n\t\tList<Employee> employeeList = employeeService.fetchEmployeeDetails();\n\t\treturn employeeList;\t\t\t\t\t\t\n\t}", "public Employee[] getAll() {\n\t\tEmployee[] empArray = new Employee[list.size()];\n\t\tfor (int i = 0; i < list.size(); i++) \n\t\t\tempArray[i] = list.get(i);\n\t\t\t\n\t\treturn empArray;\n\t}", "public ArrayList<Company> getAllCompanies() throws Exception {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\tconnection = JdbcUtils.getConnection();\n\n\t\t\t// Creating the SQL query\n\t\t\tString sqlStatement = \"SELECT * FROM companies\";\n\n\t\t\t// Combining between the syntax and our connection\n\t\t\tpreparedStatement = connection.prepareStatement(sqlStatement);\t\t\t\n\n\t\t\t// Executing the query\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\tArrayList<Company> allCompanies = new ArrayList<Company>(); \n\t\t\t\n\t\t\twhile (resultSet.next()) {\n\t\t\t\t\n\t\t\t\tLong id = resultSet.getLong(\"Company_Id\");\n\t\t\t\tString name = resultSet.getString(\"Company_NAME\");\n\t\t\t\tallCompanies.add(new Company(id, name));\n\t\t\t}\n\t\t\treturn allCompanies;\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// **If there was an exception in the \"try\" block above, it is caught here and\n\t\t\t// notifies a level above.\n\t\t\te.printStackTrace();\n\t\t\tthrow new ApplicationException(e,ErrorType.GENERAL_ERROR,\n\t\t\t\t\tDateUtils.getCurrentDateAndTime() + \"FAILED to return all companies\");\n\n\t\t\t// Closing the resources\n\t\t\t} finally {\n\t\t\t\tJdbcUtils.closeResources(connection, preparedStatement,resultSet);\n\t\t\t}\t\n\t\t}", "public List<Employee> getEmployeesOnly() {\n\t\treturn edao.listEmployeOnly();\n\t}", "@Override\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic List<Employee> getAllEmployeeList() throws Exception {\n\t\t\r\n\t\treturn (List<Employee>) employeeRepository.findAll();\r\n\t}", "public String[] getCompanyNames() {\n return companyNames;\n }", "public List<Company> getCompanys() {\n\t\treturn companyDao.findAll();\n//\t\treturn companies;\n\t}", "@Transactional\n\tpublic List<Employee> getAllEmployee() {\n\t\treturn accountDao.getAllEmployee();\n\t}", "@Override\r\n\tpublic List<Company> getAllCompanies() {\r\n\t\tString methodName = \"getAllCompanies()\";\r\n\t\tlog.info(className+\",\"+methodName);\r\n\t\treturn companyRepository.findAll();\r\n\t\t\r\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 List<Employe> findAllEmployees() {\n\t\treturn null;\n\t}", "@Override\n\tpublic List<EmployeeBean> getEmployeeList() throws Exception {\n\t\treturn employeeDao.getEmployeeList();\n\t}", "@GetMapping(\"/employees\")\r\n\tpublic List<Employee> getEmployees(){\r\n\t\t\r\n\t\treturn employeeService.getEmployees();\r\n\t\t\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\tpublic List<Employee> getAllEmployees() {\r\n\t\tfinal Session session = sessionFactory.getCurrentSession();\t\t\r\n\t\tfinal Query query = session.createQuery(\"from Employee e order by id desc\");\r\n\t\t//Query q = session.createQuery(\"select NAME from Customer\");\r\n\t\t//final List<Employee> employeeList = query.list(); \r\n\t\treturn (List<Employee>) query.list();\r\n\t}", "public String getAllEmployees() {\n\t\t\n\t\tString allEmployees = \"\\n\";\n\t\t\n\t\tfor(AbsStaffMember staffMember : repository.getAllMembers())\n\t\t{\n\t\t\tallEmployees += \"\\t- \" + staffMember.getName() + \"\\n\";\n\t\t}\n\t\t\n\t\treturn allEmployees;\n\t}", "public ResponseEntity<List<Employee>> getAllEmployees() {\n \tList<Employee> emplist=empService.getAllEmployees();\n\t\t\n\t\tif(emplist==null) {\n\t\t\tthrow new ResourceNotFoundException(\"No Employee Details found\");\n\t\t}\n\t\t\n\t\treturn new ResponseEntity<>(emplist,HttpStatus.OK);\t\t\n }", "@RequestMapping(method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)\n public final List<EmployeeDTO> findAllEmployees() {\n LOGGER.info(\"getting all employees\");\n return employeeFacade.findAllEmployees();\n }", "public List<Company> getCompanies() throws BusinessException {\n\t\tList<Company> lstCompanies = new ArrayList<Company>();\n\n\t\ttry {\n\n\t\t\tList<Object> list = UtilSession.getObjectsByNamedQuery(this.em, Company.FIND_COMPANIES, null);\n\n\t\t\tfor (Object object : list) {\n\t\t\t\tCompany vnt = (Company) object;\n\t\t\t\tlstCompanies.add(vnt);\n\t\t\t}\n\n\t\t} catch (Exception ex) {\n\t\t\tString s = \"Error al consultar las compa�ias\";\n\t\t\t_logger.error(s, ex);\n\t\t\tthrow new BusinessException(s, ex);\n\t\t}\n\n\t\t\n\n\t\treturn lstCompanies;\n\n\t}", "@GetMapping(\"/employee\")\r\n\tpublic List<Employee> getAllEmployees()\r\n\t{\r\n\t\treturn empdao.findAll();\r\n\t}", "List<Company> getCompanyList() throws DAOException ;", "public List<Company> getAllCompanies() {\n\t\t \n\t List<Company> listOfCompanies = new ArrayList<Company>();\n\n\t Cursor cursor = mDatabase.query(MySQLiteHelper.TABLE_COMPANIES,\n\t mAllColumns, null, null, null, null, null);\n\n\t cursor.moveToFirst();\n\t while (!cursor.isAfterLast()) {\n\t Company hunt = cursorToCompany(cursor);\n\t listOfCompanies.add(hunt);\n\t cursor.moveToNext();\n\t }\n\t \n\t cursor.close();\n\t return listOfCompanies;\n\t }", "List<CompanyEmployeeDTO> findAllByCompanyId(Long id);", "@Override\r\n\tpublic List<Employe> getEmployes() {\n\t\treturn dao.getEmployes();\r\n\t}", "@GetMapping(\"/employees\")\r\n\tpublic List<Employee> list() {\r\n\t return empService.listAll();\r\n\t}", "public List<EmployeeEntity> getEmployeeDataByName(String name, StorageContext context)\n\t\t\tthrows PragmaticBookSelfException {\n\t\tList<EmployeeEntity> result = null;\n\t\ttry {\n\t\t\tSession hibernateSeesion = context.getHibernateSession();\n\t\t\tString retrieveEmployeebyNameQuery = \"FROM EmployeeEntity e WHERE e.fname LIKE :fname or e.lname LIKE :lname\";\n\t\t\tQuery query = hibernateSeesion.createQuery(retrieveEmployeebyNameQuery);\n\t\t\tquery.setParameter(\"fname\", name);\n\t\t\tquery.setParameter(\"lname\", name);\n\t\t\tresult = (List<EmployeeEntity>) query.list();\n\t\t} catch (HibernateException he) {\n\t\t\tthrow new PragmaticBookSelfException(he);\n\t\t}\n\t\treturn result;\n\t}", "public java.util.List<andrewNamespace.xsdconfig.EmployeeDocument.Employee> getEmployeeList()\r\n {\r\n final class EmployeeList extends java.util.AbstractList<andrewNamespace.xsdconfig.EmployeeDocument.Employee>\r\n {\r\n @Override\r\n public andrewNamespace.xsdconfig.EmployeeDocument.Employee get(int i)\r\n { return ColleaguesImpl.this.getEmployeeArray(i); }\r\n \r\n @Override\r\n public andrewNamespace.xsdconfig.EmployeeDocument.Employee set(int i, andrewNamespace.xsdconfig.EmployeeDocument.Employee o)\r\n {\r\n andrewNamespace.xsdconfig.EmployeeDocument.Employee old = ColleaguesImpl.this.getEmployeeArray(i);\r\n ColleaguesImpl.this.setEmployeeArray(i, o);\r\n return old;\r\n }\r\n \r\n @Override\r\n public void add(int i, andrewNamespace.xsdconfig.EmployeeDocument.Employee o)\r\n { ColleaguesImpl.this.insertNewEmployee(i).set(o); }\r\n \r\n @Override\r\n public andrewNamespace.xsdconfig.EmployeeDocument.Employee remove(int i)\r\n {\r\n andrewNamespace.xsdconfig.EmployeeDocument.Employee old = ColleaguesImpl.this.getEmployeeArray(i);\r\n ColleaguesImpl.this.removeEmployee(i);\r\n return old;\r\n }\r\n \r\n @Override\r\n public int size()\r\n { return ColleaguesImpl.this.sizeOfEmployeeArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new EmployeeList();\r\n }\r\n }", "@RequestMapping(\"/employee\")\r\n\tpublic List<Employee> getAllCustomers() throws EmployeeMaintainceException {\r\n\t\ttry {\r\n\t\t\treturn eService.getAllCustomers();\r\n\t\t}\r\n\r\n\t\tcatch (Exception e) {\r\n\t\t\tthrow new EmployeeMaintainceException(400, e.getMessage());\r\n\t\t}\r\n\r\n\t}", "@Override\n\tpublic ArrayList<Employee> getEmpList() throws HrExceptions {\n\t\tSystem.out.println(\"In getEmpList() of Dao\");\n\t\treturn null;\n\t}", "@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 }", "@Override\n\tpublic List<Company> queryCompanyAll() {\n\t\treturn companyDao.queryCompanyAll();\n\t}", "List<Employee> findByName(String name);", "public ArrayList<Employee> getEmployeeList()\r\n\t{\r\n\t\treturn new ArrayList<Employee>(empList);\r\n\t}", "@RequestMapping(value = \"/getAllEmployees\", method = RequestMethod.GET, produces = { MediaType.APPLICATION_JSON_VALUE })\r\n\tpublic List<Employee> getAllEmpoyees(){\r\n\t\treturn repository.getAllEmpoyees();\r\n\t}", "@GetMapping(\"/GetAllEmployees\")\r\n public List<Employee> viewAllEmployees() {\r\n return admin.viewAllEmployees();\r\n }", "public String getEmployees(){\n return employees;\n }", "@Override\r\n\tpublic synchronized List<Company> getAllCompanies() throws Exception {\r\n\r\n\t\tconnectionPool = ConnectionPool.getInstance();\r\n\t\tConnection connection = connectionPool.getConnection();\r\n\t\tList<Company> list = new ArrayList<>();\r\n\t\tString sql = \"select * from Company\";\r\n\t\ttry (PreparedStatement preparedStatement = connection.prepareStatement(sql); ResultSet resultSet = preparedStatement.executeQuery()) {\r\n\r\n\t\t\twhile (resultSet.next()) {\r\n\t\t\t\tlong companyId = resultSet.getLong(1);\r\n\t\t\t\tString companyName = resultSet.getString(2);\r\n\t\t\t\tString companyPassword = resultSet.getString(3);\r\n\t\t\t\tString companyEmail = resultSet.getString(4);\r\n\r\n\t\t\t\tlist.add(new Company(companyId, companyName, companyPassword, companyEmail));\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new Exception(\"DB error - unable to get Company data\");\r\n\t\t}catch (Exception e) {\r\n\t\t\tthrow new Exception(\"unable to get Company data\");\r\n\t\t} \r\n\t\tfinally {\r\n\t\t\tconnection.close();\r\n\t\t\tconnectionPool.returnConnection(connection);\r\n\t\t}\r\n\t\treturn list;\r\n\r\n\t}", "@SuppressWarnings(\"unchecked\")\n\t\t\n\t\tpublic List<Employee> listEmployee() throws SQLException {\n\t\t\treturn (List<Employee>) employeeDAO.listEmployee();\n\t\t}", "@Override\n\tpublic List<Employee> getAll() {\n\t\tList<Employee> list =null;\n\t\tEmployeeDAO employeeDAO = DAOFactory.getEmployeeDAO();\n\t\ttry {\n\t\t\tlist=employeeDAO.getAll();\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn list;\n\t}", "public static void showCompanies(){\n\t\tCompanyDao.getAllCompanies();\n\t}", "@Override\n\tpublic List<Employee> GetAll() {\n\t\t\n\t\tList<Employee> staff = new ArrayList<>();\n\t\tString sql = \"select * from Staff;\";\n\n\t\ttry {\n\t\t\tConnection c = ConnectDB.getHardCodedConnection();\n\t\t\tStatement s = c.createStatement();\n\t\t\tResultSet rs = s.executeQuery(sql);\n\t\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tString EmployeeName = rs.getString(\"Emp_name\");\n\t\t\t\tString EmployeeUserName = rs.getString(\"Emp_usrnme\");\n\t\t\t\tString EmployeePassword = rs.getString(\"Emp_psword\");\n\t\t\t\tInteger EmployeeRank = rs.getInt(\"Emp_rank\");\n\t\t\t\tstaff.add(new Employee(EmployeeName, EmployeeUserName,EmployeePassword,EmployeeRank));\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\treturn staff;\n\t}", "@Override\n\tpublic List<Employee> queryAll() {\n\t\treturn dao.queryAll();\n\t}", "@RequestMapping(value = \"/listEmployees\", method = RequestMethod.GET)\r\n\tpublic Employee employees() {\r\n System.out.println(\"---BEGIN\");\r\n List<Employee> allEmployees = employeeData.findAll();\r\n \r\n System.out.println(\"size of emp == \"+allEmployees.size());\r\n System.out.println(\"---END\");\r\n Employee oneEmployee = allEmployees.get(0);\r\n\t\treturn oneEmployee;\r\n }", "@Override\n\tpublic List<Emp> findAll() {\n\t\treturn eb.findAll();\n\t}", "@Override\n\tpublic List<Employee> getEmpList() throws EmpException {\n\t\treturn dao.getEmpList();\n\t}", "public void searchCompanies() {\r\n\t\tResourceBundle bundle = ControladorContexto.getBundle(\"mensaje\");\r\n\t\ttry {\r\n\t\t\tbusiness = businessDao.searchBusinessForNameOrNit(searchCompany);\r\n\t\t\tif (business == null || business.size() <= 0) {\r\n\t\t\t\tControladorContexto.mensajeInformacion(\r\n\t\t\t\t\t\t\"frmAsociarPermisos:empresas\",\r\n\t\t\t\t\t\tbundle.getString(\"message_no_existen_registros\"));\r\n\t\t\t} else {\r\n\t\t\t\tBusinessAction businessAction = ControladorContexto\r\n\t\t\t\t\t\t.getContextBean(BusinessAction.class);\r\n\t\t\t\tbusinessAction.setListBusiness(new ArrayList<Business>());\r\n\t\t\t\tbusinessAction.setListBusiness(business);\r\n\t\t\t\tbusinessAction.loadDetailsBusiness();\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tControladorContexto.mensajeError(e);\r\n\t\t}\r\n\t}", "public com.example.nettyserver.protobuf.Employee.EmployeeInfo getEmployeelist() {\n return employeelist_ == null ? com.example.nettyserver.protobuf.Employee.EmployeeInfo.getDefaultInstance() : employeelist_;\n }" ]
[ "0.7623486", "0.6334199", "0.6319135", "0.62260866", "0.6139783", "0.61297625", "0.6111666", "0.60753155", "0.60688454", "0.6048854", "0.60479593", "0.6036457", "0.59593135", "0.5945452", "0.5944446", "0.592623", "0.58833104", "0.5880771", "0.5875358", "0.58742553", "0.58285946", "0.58150834", "0.5809089", "0.57961327", "0.57949376", "0.57915956", "0.5788846", "0.5781938", "0.57791376", "0.5777289", "0.5773029", "0.57722616", "0.5768915", "0.57649755", "0.5764379", "0.5762049", "0.5761068", "0.57588774", "0.5755276", "0.5749231", "0.5741943", "0.5736029", "0.573376", "0.57326245", "0.5729429", "0.57221735", "0.56954443", "0.56773764", "0.56763744", "0.5672886", "0.56707114", "0.56707114", "0.56646246", "0.5663895", "0.56437397", "0.56306064", "0.56254935", "0.5625486", "0.56169045", "0.5615503", "0.5605532", "0.5598828", "0.5598235", "0.55943835", "0.55918103", "0.5583927", "0.55768543", "0.55733675", "0.55696434", "0.5567128", "0.556471", "0.5557037", "0.5555133", "0.5554684", "0.5554121", "0.55520695", "0.5545955", "0.55421615", "0.5541089", "0.55250424", "0.5523528", "0.5515689", "0.5513497", "0.5506089", "0.5503154", "0.55020523", "0.55012643", "0.54956305", "0.5493139", "0.5491731", "0.54866374", "0.54866135", "0.5484085", "0.54814684", "0.5477991", "0.54735214", "0.54717034", "0.54642254", "0.54617864", "0.5460227" ]
0.58732635
20
Employee Count for a Company Identified by Company Short Name
public long employeesCount(String companyShortName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int countCompany() {\n\t\treturn comShortMapper.selectCountShort()+elegantMapper.selectCountEle()+honorMapper.selectCountHonor();\n\t}", "public int countByCompanyId(long companyId);", "int countByCompanyId(int companyId);", "public int totalCompanies(){\n\treturn companyEmpWageArray.size();\n }", "public int countByC_S(long companyId, int status);", "int getCountForConditionCompany(Long companyId);", "long countSearchByCompanyName(Map<String, String> options);", "public int countEmployees(String g) {\n\t}", "public abstract long countByEmployee(Employee employee);", "public int countByc(long companyId)\n throws com.liferay.portal.kernel.exception.SystemException;", "long countByExample(CompanyExtendExample example);", "public int getCompaniesCount() {\n return companies_.size();\n }", "public int getCompaniesCount() {\n if (companiesBuilder_ == null) {\n return companies_.size();\n } else {\n return companiesBuilder_.getCount();\n }\n }", "public int countByUuid_C(String uuid, long companyId);", "public int countByUuid_C(String uuid, long companyId);", "public int countByUuid_C(String uuid, long companyId);", "@Override\r\n\tpublic List<Employee> countByName() {\n\t\treturn null;\r\n\t}", "public int countByUuid_C(java.lang.String uuid, long companyId);", "public int countByC_U_S(long companyId, long userId, int status);", "@Override\r\n\tpublic int fetchEmployeCount() {\n\t\treturn edao.getEmployeCount();\r\n\t}", "int countByExample(CxBasStaffExample example);", "@Override\n\tpublic int getNumberOfEmployees() {\n\t\treturn template.queryForObject(\"select count(*) from employee\", Integer.class);\n\t}", "public int countByC_S(long companyId, int[] statuses);", "@Override\n\tpublic int countAll() throws SystemException {\n\t\tLong count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\tFINDER_ARGS_EMPTY, this);\n\n\t\tif (count == null) {\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(_SQL_COUNT_EMPLOYEECOMPLAINT);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tFinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\t\tFINDER_ARGS_EMPTY, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tFinderCacheUtil.removeResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\t\tFINDER_ARGS_EMPTY);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "int countByExample(InspectionAgencyExample example);", "@Override\n public int countByCompany(long companyId) throws SystemException {\n FinderPath finderPath = FINDER_PATH_COUNT_BY_COMPANY;\n\n Object[] finderArgs = new Object[] { companyId };\n\n Long count = (Long) FinderCacheUtil.getResult(finderPath, finderArgs,\n this);\n\n if (count == null) {\n StringBundler query = new StringBundler(2);\n\n query.append(_SQL_COUNT_BROKERMESSAGELISTENER_WHERE);\n\n query.append(_FINDER_COLUMN_COMPANY_COMPANYID_2);\n\n String sql = query.toString();\n\n Session session = null;\n\n try {\n session = openSession();\n\n Query q = session.createQuery(sql);\n\n QueryPos qPos = QueryPos.getInstance(q);\n\n qPos.add(companyId);\n\n count = (Long) q.uniqueResult();\n\n FinderCacheUtil.putResult(finderPath, finderArgs, count);\n } catch (Exception e) {\n FinderCacheUtil.removeResult(finderPath, finderArgs);\n\n throw processException(e);\n } finally {\n closeSession(session);\n }\n }\n\n return count.intValue();\n }", "private String companies() {\r\n\t\tint num=tile.getCompaniesNum();\r\n\t\tString out=\"Total Companies: \"+num;\r\n\t\treturn out;\r\n\t}", "public int countByc_g(long groupId, long companyId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "int countByExample(organize_infoBeanExample example);", "long countByExample(CliStaffProjectExample example);", "@Query(value = \"SELECT COUNT(*) FROM customers_coupons AS cvc INNER JOIN coupons AS c On cvc.coupons_id = c.id WHERE company_id = ?1\" , nativeQuery = true)\n int countAllCouponsPurchasedByCompany(int companyId);", "@Override\r\n\tpublic <S extends Employee> long count(Example<S> arg0) {\n\t\treturn 0;\r\n\t}", "@Query(\"select count(u) from User u where u.role = 'EMPLOYEE'\")\n Long getTotalEmployeesCount();", "@Override\r\n\tpublic int carpoollistCount(Criteria cri) throws Exception {\n\t\treturn adminDAO.carpoollistCount(cri);\r\n\t}", "int getCustomersCount();", "public abstract long countByCustomer(Customer customer);", "public abstract long countByCustomer(Customer customer);", "@Override\r\n\tpublic long countByExample(EmpExample example) {\n\t\treturn 0;\r\n\t}", "long countByExample(CmIndustryConfigExample example);", "public static void main(String[] args) throws Exception {\n\n System.out.println(Employee.employeeCount);\n\n }", "@Override\n public int countByName(long companyId, String name)\n throws SystemException {\n FinderPath finderPath = FINDER_PATH_COUNT_BY_NAME;\n\n Object[] finderArgs = new Object[] { companyId, name };\n\n Long count = (Long) FinderCacheUtil.getResult(finderPath, finderArgs,\n this);\n\n if (count == null) {\n StringBundler query = new StringBundler(3);\n\n query.append(_SQL_COUNT_BROKERMESSAGELISTENER_WHERE);\n\n query.append(_FINDER_COLUMN_NAME_COMPANYID_2);\n\n boolean bindName = false;\n\n if (name == null) {\n query.append(_FINDER_COLUMN_NAME_NAME_1);\n } else if (name.equals(StringPool.BLANK)) {\n query.append(_FINDER_COLUMN_NAME_NAME_3);\n } else {\n bindName = true;\n\n query.append(_FINDER_COLUMN_NAME_NAME_2);\n }\n\n String sql = query.toString();\n\n Session session = null;\n\n try {\n session = openSession();\n\n Query q = session.createQuery(sql);\n\n QueryPos qPos = QueryPos.getInstance(q);\n\n qPos.add(companyId);\n\n if (bindName) {\n qPos.add(name);\n }\n\n count = (Long) q.uniqueResult();\n\n FinderCacheUtil.putResult(finderPath, finderArgs, count);\n } catch (Exception e) {\n FinderCacheUtil.removeResult(finderPath, finderArgs);\n\n throw processException(e);\n } finally {\n closeSession(session);\n }\n }\n\n return count.intValue();\n }", "int countByExample(HospitalTypeExample example);", "int countByExample(NeeqCompanyAccountingFirmOnlineExample example);", "int getWorkAreaCount(String dept, Long workArea);", "public static int countByc(long companyId)\n throws com.liferay.portal.kernel.exception.SystemException {\n return getPersistence().countByc(companyId);\n }", "int countByExample(PcQualificationInfoExample example);", "int getEducationsCount();", "long countNameIdNameByIdPerson(int idPerson);", "long countUniqueClientsBetween(String companyId, DateTime startDate, DateTime endDate);", "@Override\n\tpublic int countByCompanyId(long companyId) throws SystemException {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_COMPANYID;\n\n\t\tObject[] finderArgs = new Object[] { companyId };\n\n\t\tLong count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs,\n\t\t\t\tthis);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_TVSHOW_WHERE);\n\n\t\t\tquery.append(_FINDER_COLUMN_COMPANYID_COMPANYID_2);\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tqPos.add(companyId);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tFinderCacheUtil.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tFinderCacheUtil.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "long countByExample(DeptExample example);", "public int countByCompanyAgId(String companyAgId) throws SystemException {\n\t\tObject[] finderArgs = new Object[] { companyAgId };\n\n\t\tLong count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_BY_COMPANYAGID,\n\t\t\t\tfinderArgs, this);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_CONTACTCOMPANYAG_WHERE);\n\n\t\t\tif (companyAgId == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_COMPANYAGID_COMPANYAGID_1);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (companyAgId.equals(StringPool.BLANK)) {\n\t\t\t\t\tquery.append(_FINDER_COLUMN_COMPANYAGID_COMPANYAGID_3);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tquery.append(_FINDER_COLUMN_COMPANYAGID_COMPANYAGID_2);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (companyAgId != null) {\n\t\t\t\t\tqPos.add(companyAgId);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tif (count == null) {\n\t\t\t\t\tcount = Long.valueOf(0);\n\t\t\t\t}\n\n\t\t\t\tFinderCacheUtil.putResult(FINDER_PATH_COUNT_BY_COMPANYAGID,\n\t\t\t\t\tfinderArgs, count);\n\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "long countByExample(CmGroupRelIndustryExample example);", "@Override\n\tpublic String countByCondition(Familynames con) throws Exception {\n\t\treturn null;\n\t}", "public Map<Long, Long> countOfActiveJobsForActiveEmployee() {\n Map<Long, Long> countOfActiveJobsForActiveEmployee = new HashMap<>();\n\n getActiveEmployeeList()\n .forEach(employeeDto -> countOfActiveJobsForActiveEmployee\n .put(employeeDto.getId(), employeeDto.getWorkedJobs()\n .stream()\n .filter(jobDto -> jobDto.getJobStatus().equals(JobStatus.ACTIVE))\n .count()));\n\n return countOfActiveJobsForActiveEmployee;\n }", "int getPersonInfoCount();", "long countByExample(EmailCriteria example);", "public String getCount() {\r\n \t\r\n \tBoolean anyAges = Boolean.FALSE;\r\n \tBoolean anyAssayTypes = Boolean.FALSE;\r\n \tint count = 0;\r\n \t\r\n \tfor (String age: ages) {\r\n \t\tif (age.endsWith(\"ANY\")) {\r\n \t\t\tanyAges = Boolean.TRUE;\r\n \t\t}\r\n \t}\r\n \t\r\n \tfor (String type: assayTypes) {\r\n \t\tif (type.equals(\"ANY\")) {\r\n \t\t\tanyAssayTypes = Boolean.TRUE;\r\n \t\t}\r\n \t}\r\n \t\r\n \t// No Restrictions on Ages or AssayTypes, count everything\r\n \tif (anyAssayTypes && anyAges) {\r\n \tcount = record.getPairs().size(); \t\t\r\n \t}\r\n \t\r\n \t// There are restrictions on ages only, iterate and count appropriately.\r\n \t\r\n \telse if (anyAssayTypes) {\r\n \t\tfor (GxdLitAssayTypeAgePair pair: record.getPairs()) {\r\n \t\t\tfor (String age: ages) {\r\n \t\t\t\tif (pair.getAge().equals(age)) {\r\n \t\t\t\t\tcount ++;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t}\r\n \t\r\n \t// There are restrictions on assayTypes only, iterate and count appropriately.\r\n \t\r\n \telse if (anyAges) {\r\n \t\tfor (GxdLitAssayTypeAgePair pair: record.getPairs()) {\r\n \t\t\tfor (String type: assayTypes) {\r\n \t\t\t\tif (pair.getAssayType().equals(type)) {\r\n \t\t\t\t\tcount ++;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t}\r\n \t\r\n \telse {\r\n \t\tfor (GxdLitAssayTypeAgePair pair: record.getPairs()) {\r\n \t\t\tfor (String type: assayTypes) {\r\n \t\t\t\tfor (String age: ages) {\r\n \t\t\t\t\tif (pair.getAssayType().equals(type) && pair.getAge().equals(age)) {\r\n \t\t\t\t\t\tcount ++;\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}\r\n\r\n \treturn \"\" + count;\r\n \t\r\n }", "public int countByUuid_C(java.lang.String uuid, long companyId)\n throws com.liferay.portal.kernel.exception.SystemException;", "public int countByUuid_C(java.lang.String uuid, long companyId)\n throws com.liferay.portal.kernel.exception.SystemException;", "public int countByname(java.lang.String name);", "public int returnAllAddressListCount(AddressCommonSC criteria) throws DAOException\r\n {\r\n DAOHelper.fixGridMaps(criteria, getSqlMap(), \"addressMapper.cifAddressDetailMap\");\r\n\r\n return ((Integer) getSqlMap().queryForObject(\"addressMapper.allAddressListCount\", criteria)).intValue();\r\n\r\n }", "int countByExample(CCustomerExample example);", "@Transactional(readOnly = true)\n public long countByCriteria(AccbillnoCriteria criteria) {\n log.debug(\"count by criteria : {}\", criteria);\n final Specification<Accbillno> specification = createSpecification(criteria);\n return accbillnoRepository.count(specification);\n }", "public static int getEmployeeCount(Connection conn) {\n\t\tint num = -1;\n\t\ttry {\n\t\t\t// Create the SQL query string which uses the \"getEmployeeCount\" stored procedure in the employee \n\t\t\tString sql = \"CALL getEmployeeCount()\";\n\t\t\t// Create a new SQL statement \n\t\t\tStatement st = conn.createStatement();\n\t\t\t// Create a new results set which store the value returned by the when the SQL statement is executed \n\t\t\tResultSet rs = st.executeQuery(sql);\n\t\t\t// While there are still elements in the results set\n\t\t\twhile (rs.next()) \n\t\t\t\t// assign the next int in the results set to num\n\t\t\t\tnum = rs.getInt(1); \n\t\t\t// close the results set\n\t\t\trs.close(); \n\t\t\t// close the statement\n//\t\t\tThis process will be used similarly in the other methods also, with modifications\n\t\t\tst.close(); \n\t\t}\n//\t\tWe call the SQL exception if there are any errors with calling the SQL procedures but not in the java file itself.\n\t\tcatch (SQLException e) {\n\t\t\tSystem.out.println(\"Error in getEmployeeCount\");\n\t\t\te.printStackTrace();\n\t\t}\n//\t\tWe are returning the result\n\t\treturn num;\t\t\n\t}", "public void search_company(String compName) {\n\t\tint count=0;\n\t\tfor(int i=0 ; i<company.size() ; i++) {\n\t\t\tcompany_info c = (company_info)company.get(i);\n\t\t\tif(compName.equals(c.name)) {\n\t\t\t\tcount=1;\n\t\t\t\tc.Compute_wage();\n\t\t\t\tmapping.put(c.name, c);\n\t\t\t}\n\t\t}\n\t\tif(count==0) {\n\t\t\tSystem.out.println(\"The Company name doesn't exist\");\n\t\t}\n\t}", "int findCountByCriteria(String eCriteria, Object... parameters);", "@Override\n\tpublic int countByEmailAddress(String emailAddress)\n\t\tthrows SystemException {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_EMAILADDRESS;\n\n\t\tObject[] finderArgs = new Object[] { emailAddress };\n\n\t\tLong count = (Long)FinderCacheUtil.getResult(finderPath, finderArgs,\n\t\t\t\tthis);\n\n\t\tif (count == null) {\n\t\t\tStringBundler query = new StringBundler(2);\n\n\t\t\tquery.append(_SQL_COUNT_CANDIDATE_WHERE);\n\n\t\t\tboolean bindEmailAddress = false;\n\n\t\t\tif (emailAddress == null) {\n\t\t\t\tquery.append(_FINDER_COLUMN_EMAILADDRESS_EMAILADDRESS_1);\n\t\t\t}\n\t\t\telse if (emailAddress.equals(StringPool.BLANK)) {\n\t\t\t\tquery.append(_FINDER_COLUMN_EMAILADDRESS_EMAILADDRESS_3);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbindEmailAddress = true;\n\n\t\t\t\tquery.append(_FINDER_COLUMN_EMAILADDRESS_EMAILADDRESS_2);\n\t\t\t}\n\n\t\t\tString sql = query.toString();\n\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(sql);\n\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\n\n\t\t\t\tif (bindEmailAddress) {\n\t\t\t\t\tqPos.add(emailAddress);\n\t\t\t\t}\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\n\t\t\t\tFinderCacheUtil.putResult(finderPath, finderArgs, count);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tFinderCacheUtil.removeResult(finderPath, finderArgs);\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "int countByExample(TycCompanyCheckCrawlerExample example);", "long countByExample(MedicalOrdersExecutePlanExample example);", "int getCustomerCount(CustomerVo vo);", "public List<User> getAllEmployees(String companyShortName);", "int getContactAddressCount();", "@GetMapping(\"/nominees/count\")\n @Timed\n public ResponseEntity<Long> countNominees(NomineeCriteria criteria) {\n log.debug(\"REST request to count Nominees by criteria: {}\", criteria);\n return ResponseEntity.ok().body(nomineeQueryService.countByCriteria(criteria));\n }", "@Transactional(readOnly = true)\n public long countByCriteria(EducationalRecordCriteria criteria) {\n log.debug(\"count by criteria : {}\", criteria);\n final Specification<EducationalRecord> specification = createSpecification(criteria);\n return educationalRecordRepository.count(specification);\n }", "long countSearchByComputerName(Map<String, String> options);", "int countByExample(CountyExample example);", "long countByExample(HomeWorkExample example);", "public int countAll() throws SystemException {\n\t\tLong count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\tFINDER_ARGS_EMPTY, this);\n\n\t\tif (count == null) {\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(_SQL_COUNT_COMPANYAG);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tif (count == null) {\n\t\t\t\t\tcount = Long.valueOf(0);\n\t\t\t\t}\n\n\t\t\t\tFinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\t\tFINDER_ARGS_EMPTY, count);\n\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "int countByExample(AdminUserCriteria example);", "int countByExample(AdminUserCriteria example);", "public void getCountByCityByState(AddressBookDict addressBook) {\n\t\tlog.info(\"Enter the address book name whose contacts you want to see in sorted order by zip code\");\n\t\tString addressBookName = obj.next();\n\t\tList<PersonInfo> ContactList = addressBook.getContactList(addressBookName);\n\t\tlog.info(\"Enter the city name\");\n\t\tString cityName = obj.next();\n\t\tLong personByCity = ContactList.stream().filter(PersonInfo -> PersonInfo.getCity().equals(cityName)).count();\n\t\tlog.info(\"No of person in same city : \" + personByCity);\n\t\tlog.info(\"Enter the state name\");\n\t\tString stateName = obj.next();\n\t\tLong personByState = ContactList.stream().filter(PersonInfo -> PersonInfo.getState().equals(stateName)).count();\n\t\tlog.info(\"No of person in same state : \" + personByState);\n\t}", "public abstract long countByCity(City city);", "public abstract long countByCity(City city);", "int countByExample(BasicinfoCriteria example);", "public abstract long countByCountry(Country country);", "public abstract long countByCountry(Country country);", "public int countAll() throws SystemException {\n\t\tLong count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\tFINDER_ARGS_EMPTY, this);\n\n\t\tif (count == null) {\n\t\t\tSession session = null;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tQuery q = session.createQuery(_SQL_COUNT_CONTACTCOMPANYAG);\n\n\t\t\t\tcount = (Long)q.uniqueResult();\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tif (count == null) {\n\t\t\t\t\tcount = Long.valueOf(0);\n\t\t\t\t}\n\n\t\t\t\tFinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL,\n\t\t\t\t\tFINDER_ARGS_EMPTY, count);\n\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn count.intValue();\n\t}", "public static void main(String[] args) {\n \n Employee[] employees = readFile(\"C:\\\\Users\\\\gdemirturk\\\\OneDrive\\\\Shared\\\\Coding\\\\git\\\\javabyLiang\\\\src\\\\JavaIII\\\\Project_1\\\\employee.txt\");\n \n //pass the employee list to employee manager class\n EmployeeManager employeeManager = new EmployeeManager(employees);\n String manager = \"Joseph\";\n int empCount = employeeManager.countEmployeesUnder(manager);\n System.out.println(\"Number of employees report to \" + manager + \" are:\"+ empCount);\n }", "@Override\r\n\tpublic int paylistCount(Criteria cri) throws Exception {\n\t\treturn adminDAO.paylistCount(cri);\r\n\t}", "int countByExample(CusBankAccountExample example);", "int countByExample(OrgMemberRecordExample example);", "int countByExample(TycCompanyExecutiveCrawlerExample example);", "@SuppressWarnings({\"unchecked\"}) \n long countNameIdName(int idPerson, Date dtSysTsQuery);", "int countByExample(MVoucherDTOCriteria example);", "@GetMapping(value = {\"/count\", \"/count/\"})\n public ResponseEntity<Void> getEmployeeCount(){\n employeeService.getEmployeeCount();\n return new ResponseEntity<>(HttpStatus.OK);\n }", "@Override\n\tpublic String countByCondition(Familybranch con) throws Exception {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic int countByUuid_C(String uuid, long companyId) {\r\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_UUID_C;\r\n\r\n\t\tObject[] finderArgs = new Object[] { uuid, companyId };\r\n\r\n\t\tLong count = (Long)finderCache.getResult(finderPath, finderArgs, this);\r\n\r\n\t\tif (count == null) {\r\n\t\t\tStringBundler query = new StringBundler(3);\r\n\r\n\t\t\tquery.append(_SQL_COUNT_SHARE_WHERE);\r\n\r\n\t\t\tboolean bindUuid = false;\r\n\r\n\t\t\tif (uuid == null) {\r\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_1);\r\n\t\t\t}\r\n\t\t\telse if (uuid.equals(StringPool.BLANK)) {\r\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_3);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tbindUuid = true;\r\n\r\n\t\t\t\tquery.append(_FINDER_COLUMN_UUID_C_UUID_2);\r\n\t\t\t}\r\n\r\n\t\t\tquery.append(_FINDER_COLUMN_UUID_C_COMPANYID_2);\r\n\r\n\t\t\tString sql = query.toString();\r\n\r\n\t\t\tSession session = null;\r\n\r\n\t\t\ttry {\r\n\t\t\t\tsession = openSession();\r\n\r\n\t\t\t\tQuery q = session.createQuery(sql);\r\n\r\n\t\t\t\tQueryPos qPos = QueryPos.getInstance(q);\r\n\r\n\t\t\t\tif (bindUuid) {\r\n\t\t\t\t\tqPos.add(uuid);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tqPos.add(companyId);\r\n\r\n\t\t\t\tcount = (Long)q.uniqueResult();\r\n\r\n\t\t\t\tfinderCache.putResult(finderPath, finderArgs, count);\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\tfinderCache.removeResult(finderPath, finderArgs);\r\n\r\n\t\t\t\tthrow processException(e);\r\n\t\t\t}\r\n\t\t\tfinally {\r\n\t\t\t\tcloseSession(session);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn count.intValue();\r\n\t}", "public int countBycompanyIdAndGroupId(long companyId, long groupId)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "public static int getNoOfHospitals(){\n return noOfHospitals;\n }" ]
[ "0.7413022", "0.71474427", "0.69865465", "0.67347276", "0.67277914", "0.6704544", "0.66889024", "0.64701045", "0.6468606", "0.6468432", "0.6442929", "0.63641983", "0.628729", "0.62587744", "0.62587744", "0.62587744", "0.6251836", "0.6109815", "0.5964853", "0.5888716", "0.586609", "0.58265513", "0.5799962", "0.57974786", "0.57921547", "0.57687145", "0.57610554", "0.57532907", "0.5751603", "0.573263", "0.57318836", "0.5695557", "0.56898534", "0.5686972", "0.568033", "0.5678711", "0.5678711", "0.56785846", "0.56683636", "0.5637356", "0.5636502", "0.5635389", "0.5629297", "0.56251097", "0.557041", "0.5565254", "0.5563794", "0.5552389", "0.55499864", "0.554549", "0.5543715", "0.553877", "0.55374897", "0.5535706", "0.5532733", "0.55326825", "0.5522086", "0.5503819", "0.5496589", "0.5496589", "0.54930025", "0.5489245", "0.5480056", "0.5478292", "0.5477435", "0.54418814", "0.54340065", "0.5433644", "0.5423999", "0.54181147", "0.54091185", "0.539132", "0.53859395", "0.5384432", "0.53828347", "0.5377694", "0.53724056", "0.5371649", "0.5362915", "0.5359917", "0.5359917", "0.5358488", "0.53497463", "0.53497463", "0.53418076", "0.5339197", "0.5339197", "0.53379756", "0.53360045", "0.5335035", "0.5327832", "0.53229254", "0.5317011", "0.53168595", "0.53078604", "0.5296047", "0.52904874", "0.52741534", "0.52717376", "0.52653104" ]
0.86652476
0
Gets a Plan form DB with planName
public Plan getPlan(String planName);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Planification getPlan(Long idPlan) {\n\t\treturn dao.getPlan(idPlan);\n\t}", "public static PlanForm getPlan(int planID)\r\n {\r\n PlanForm pf = null;\r\n\r\n try\r\n {\r\n PlanDAO planDao = PlanDAOFactory.getDAO();\r\n pf = planDao.getPlan(planID);\r\n }\r\n catch (PlanDAOSysException udse)\r\n {\r\n udse.printStackTrace();\r\n }\r\n\r\n return pf;\r\n }", "public java.lang.String getPlan() {\n return plan;\n }", "@Override\r\n\tpublic Plan getPlan(int planID) {\n\t\treturn null;\r\n\t}", "Plan getPlan(String... args);", "@Override\r\n\tpublic IesPlan findByPlanId(Integer planId) {\r\n\t\tlogger.debug(\"findPlanById() method started\");\r\n\r\n\t\tIesPlan model = new IesPlan();\r\n\r\n\t\ttry {\r\n\t\t\t// Loading PlanDetails Entity\r\n\t\t\tIesPlanEntity entity = iesPlnRepository.findById(planId).get();\r\n\t\t\t// Setting PlanDetails Entity to Model\r\n\t\t\tBeanUtils.copyProperties(entity, model);\r\n\t\t\tlogger.info(\"Plan loaded Successfully\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger.error(\"Exception Occured in Loading Plan: \" + e.getMessage());\r\n\t\t}\r\n\r\n\t\tlogger.debug(\"findPlanById() method ended\");\r\n\t\treturn model;\r\n\t}", "ProductPlan getProductPlan();", "public void setPlan(java.lang.String plan) {\n this.plan = plan;\n }", "public String getPlanUuid() {\n return planUuid;\n }", "public PlanTypeBO getPlanType()\n {\n if (_planType == null)\n {\n _planType = PlanTypeBO.getForModel(_model.getPlanType());\n }\n return _planType;\n }", "public PlanoSaude fetchByPrimaryKey(long plano_id);", "public BudgetPlan getBudgetPlan(int id) {\n return em.find(BudgetPlan.class, id);\n }", "public String getTableDbName() {\r\n return \"t_testplans\";\r\n }", "@Schema(description = \"Plan associated with the purchased offer\")\n public String getPlanId() {\n return planId;\n }", "com.google.ads.googleads.v6.resources.KeywordPlan getKeywordPlan();", "public static syneren.qms.audit.model.AuditPlan getAuditPlan(long PlanId)\n throws com.liferay.portal.kernel.exception.PortalException,\n com.liferay.portal.kernel.exception.SystemException {\n return getService().getAuditPlan(PlanId);\n }", "public Plan buscarPlan(String nom)\n\t{\n\t\tPlan p;\n\t\tif (planes != null)\n\t\t{\n\t\t\tListIterator<Plan> it = planes.listIterator(0);\n\t\t\twhile(it.hasNext())\n\t\t\t{\n\t\t\t\tp = it.next();\n\t\t\t\tif(p.getNombre().equalsIgnoreCase(nom))\n\t\t\t\t{\n\t\t\t\t\treturn p;\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t}", "private StoragePort findStoragePortByNameInDB(DbClient dbClient, StorageHADomain vplexDirector, String portName) {\n URIQueryResultList results = new URIQueryResultList();\n dbClient.queryByConstraint(ContainmentConstraint.Factory.getStorageHADomainStoragePortConstraint(vplexDirector.getId()), results);\n Iterator<StoragePort> portIterator = dbClient.queryIterativeObjects(StoragePort.class, results, true);\n while (portIterator.hasNext()) {\n StoragePort port = portIterator.next();\n if (port.getPortName().equals(portName)) {\n return port;\n }\n }\n log.info(\"Could not find StoragePort with portName '{}' for VPlex director {}\", portName, vplexDirector.getNativeGuid());\n return null;\n }", "@Override\n\tpublic List<Planification> listPlan() {\n\t\treturn dao.listPlan();\n\t}", "public static String selectParent(ConnectionProvider connectionProvider, String maProcessplanId) throws ServletException {\n String strSql = \"\";\n strSql = strSql + \n \" SELECT (TO_CHAR(COALESCE(TO_CHAR(table1.Name), ''))) AS NAME FROM MA_ProcessPlan left join (select MA_Processplan_ID, Name from MA_Processplan) table1 on (MA_ProcessPlan.MA_Processplan_ID = table1.MA_Processplan_ID) WHERE MA_ProcessPlan.MA_Processplan_ID = ? \";\n\n ResultSet result;\n String strReturn = \"\";\n PreparedStatement st = null;\n\n int iParameter = 0;\n try {\n st = connectionProvider.getPreparedStatement(strSql);\n QueryTimeOutUtil.getInstance().setQueryTimeOut(st, SessionInfo.getQueryProfile());\n iParameter++; UtilSql.setValue(st, iParameter, 12, null, maProcessplanId);\n\n result = st.executeQuery();\n if(result.next()) {\n strReturn = UtilSql.getValue(result, \"name\");\n }\n result.close();\n } catch(SQLException e){\n log4j.error(\"SQL error in query: \" + strSql + \"Exception:\"+ e);\n throw new ServletException(\"@CODE=\" + Integer.toString(e.getErrorCode()) + \"@\" + e.getMessage());\n } catch(Exception ex){\n log4j.error(\"Exception in query: \" + strSql + \"Exception:\"+ ex);\n throw new ServletException(\"@CODE=@\" + ex.getMessage());\n } finally {\n try {\n connectionProvider.releasePreparedStatement(st);\n } catch(Exception ignore){\n ignore.printStackTrace();\n }\n }\n return(strReturn);\n }", "public static IDatabaseAdapter get(String name) {\n HashMap<String,Object> config = ConfigManager.getInstance().getDatabaseAdapter(name);\n if (config==null || !config.containsKey(\"type\")) return null;\n IDatabaseAdapter result = null;\n switch (config.get(\"type\").toString()) {\n case \"mysql\":\n result = new MysqlDatabaseAdapter();\n break;\n case \"sqlite\":\n result = new SqliteDatabaseAdapter();\n break;\n case \"orientdb\":\n result = new OrientDBDatabaseAdapter();\n break;\n case \"mongodb\":\n result = new MongoDatabaseAdapter();\n }\n if (result != null) result.configure(config);\n return result;\n }", "public static String selectParentTrl(ConnectionProvider connectionProvider, String maProcessplanId) throws ServletException {\n String strSql = \"\";\n strSql = strSql + \n \" SELECT (TO_CHAR(COALESCE(TO_CHAR(table1.Name), ''))) AS NAME FROM MA_ProcessPlan left join (select MA_Processplan_ID, Name from MA_Processplan) table1 on (MA_ProcessPlan.MA_Processplan_ID = table1.MA_Processplan_ID) WHERE MA_ProcessPlan.MA_Processplan_ID = ? \";\n\n ResultSet result;\n String strReturn = \"\";\n PreparedStatement st = null;\n\n int iParameter = 0;\n try {\n st = connectionProvider.getPreparedStatement(strSql);\n QueryTimeOutUtil.getInstance().setQueryTimeOut(st, SessionInfo.getQueryProfile());\n iParameter++; UtilSql.setValue(st, iParameter, 12, null, maProcessplanId);\n\n result = st.executeQuery();\n if(result.next()) {\n strReturn = UtilSql.getValue(result, \"name\");\n }\n result.close();\n } catch(SQLException e){\n log4j.error(\"SQL error in query: \" + strSql + \"Exception:\"+ e);\n throw new ServletException(\"@CODE=\" + Integer.toString(e.getErrorCode()) + \"@\" + e.getMessage());\n } catch(Exception ex){\n log4j.error(\"Exception in query: \" + strSql + \"Exception:\"+ ex);\n throw new ServletException(\"@CODE=@\" + ex.getMessage());\n } finally {\n try {\n connectionProvider.releasePreparedStatement(st);\n } catch(Exception ignore){\n ignore.printStackTrace();\n }\n }\n return(strReturn);\n }", "public String databaseName();", "public static com.ext.portlet.model.PlanItemGroup fetchByPrimaryKey(\n long planId) throws com.liferay.portal.kernel.exception.SystemException {\n return getPersistence().fetchByPrimaryKey(planId);\n }", "java.lang.String getDatabaseName();", "java.lang.String getDatabaseName();", "java.lang.String getDatabaseName();", "java.lang.String getDatabaseName();", "public void selectPlanFromDropDown(String plan) throws UIAutomationException{\r\n\t\t// Select Organization\r\n\t\t\r\n\t\telementController.requireElementSmart(fileName,\"Plan dropdown\",GlobalVariables.configuration.getAttrSearchList(),\"Plan dropdown\");\r\n\t\tUIActions.click(fileName,\"Plan dropdown\",GlobalVariables.configuration.getAttrSearchList(),\"Plan dropdown\");\r\n\t\t\t\t\r\n\t\tSelect planDropDownList = new Select(GlobalVariables.configuration.getWebElement());\r\n\t\tConfiguration.getConfigurationObject().setSelect(planDropDownList);\r\n\t\t\r\n\t\tUIActions.selectByTextAndClick(plan);\r\n\t\t\r\n\t\t// Assertion : Check Title of Page\r\n \t//String title=dataController.getPageDataElements(fileName, \"Communities Page Title\", \"Title\");\r\n \t//UIActions.waitForTitle(title,Integer.parseInt(GlobalVariables.configuration.getConfigData().get(\"TimeOutForFindingElementSeconds\")));\r\n\t}", "private String stageDetailsFromDB(String queryString){\n\t\tString RET=\"\";\n\t\ttry\n\t\t{\n\t\t\tcon = Globals.getDatasource().getConnection();\n\t\t\tps = con.prepareStatement(queryString); \n\t\t\tresult = ps.executeQuery();\n\t\t\tif (result.first()) {\n\t\t\t\tRET = result.getString(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\tcatch(SQLException sqle){sqle.printStackTrace();}\n\t\tfinally {\n\t\t Globals.closeQuietly(con, ps, result);\n\t\t}\n\t\treturn RET;\n\t}", "public MealPlanType getMealPlanType(com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.mealplantype.v1.MealPlanType res){\n\t\tif( res.getCode().equals(\"ALLI\") || res.getCode().equals(\"All Inclusive\")){\n\t\t\treturn MealPlanType.ALLI;\n\t\t}\n\t\tif( res.getCode().equals(\"INC\") || res.getCode().equals(\"Inclusive\")){\n\t\t\treturn MealPlanType.INC;\n\t\t}\n\t\tif( res.getCode().equals(\"EP\") || res.getCode().equals(\"European Plan\") ){\n\t\t\treturn MealPlanType.EP;\n\t\t}\n\t\tif( res.getCode().equals(\"BP\") || res.getCode().equals(\"Breakfast Plan\") ){\n\t\t\treturn MealPlanType.BP;\n\t\t}\n\t\tif( res.getCode().equals(\"FAP\") || res.getCode().equals(\"Full American Plan\") ){\n\t\t\treturn MealPlanType.FAP;\n\t\t}\n\t\tif( res.getCode().equals(\"MAP\") || res.getCode().equals(\"Modified American Plan\") ){\n\t\t\treturn MealPlanType.MAP;\n\t\t}\n\t\tif( res.getCode().equals(\"IMAP\") || res.getCode().equals(\"IMAP\") ){\n\t\t\treturn MealPlanType.IMAP;\n\t\t}\n\t\tif( res.getCode().equals(\"BB\") || res.getCode().equals(\"BB\") ){\n\t\t\treturn MealPlanType.BB;\n\t\t}\n\t\tif( res.getCode().equals(\"ADP\") || res.getCode().equals(\"ADP\") ){\n\t\t\treturn MealPlanType.ADP;\n\t\t}\n\t\tif( res.getCode().equals(\"NOM\") || res.getCode().equals(\"NOM\") ){\n\t\t\treturn MealPlanType.NOM;\n\t\t}\n\t\t\n\t\treturn null;\n\t}", "public BDPlan makePlan(BDNameMappings nameMappings) {\n\t\tBDPlan plan = new BDPlan(m_statement, nameMappings);\n\t\tplan.generatePlan();\n\t\t\n\t\treturn plan;\n\t}", "@Override\n\tpublic List findByPlanNo(Object planNo) {\n\t\treturn findByProperty(PLAN_NO, planNo);\n\t}", "public Plan() {\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 }", "@SuppressWarnings(\"unchecked\")\r\n public List<UserPlan> UserPlanlistByPlanId(long plan_id) {\r\n session = sf.openSession();\r\n Transaction t = session.beginTransaction();\r\n\r\n List<UserPlan> editplanlist = null;\r\n try {\r\n editplanlist = session.createQuery(\"from UserPlan where planId='\" + plan_id + \"'\").list();\r\n } catch (HibernateException e) {\r\n System.out.println(e);\r\n }\r\n t.commit();\r\n session.close();\r\n sf.close();\r\n return editplanlist;\r\n }", "@SuppressWarnings(\"unchecked\")\r\n public List<UserPlanTask> UserPlanTaskListByPlanId(long planId) {\r\n session = sf.openSession();\r\n Transaction t = session.beginTransaction();\r\n List<UserPlanTask> TaskListList = null;\r\n try {\r\n TaskListList = session.createQuery(\"from UserPlanTask where userPlan.planId='\" + planId + \"'\").list();\r\n } catch (HibernateException HE) {\r\n System.out.println(HE);\r\n }\r\n t.commit();\r\n session.close();\r\n sf.close();\r\n return TaskListList;\r\n }", "public String getDatabaseName()\n {\n return \"assetdr\";\n }", "@Override\n public String toString() {\n return new PlanStringBuilder(this)\n .field(\"selectionRoot\", selectionRoot)\n .field(\"numFiles\", getFiles().size())\n .field(\"columns\", columns)\n .field(\"files\", getFiles())\n .field(\"schema\", getSchema())\n .field(\"usedMetastore\", usedMetastore())\n .field(\"limit\", limit)\n .field(\"formatConfig\", getFormatConfig())\n .toString();\n }", "public String getName() {\n return \"Database_adapter-\"+this.name;\n }", "@Override\n\tpublic BigDecimal getByPlanId(String bidId, String CustId) {\n\t\treturn dao.getByPlanId(bidId, CustId);\n\t}", "public static MealPlan createMealPlan(String name, LocalDate day) {\n Connection conn = new ConnectDb().setupConnection();\n OraclePreparedStatement pst = null;\n OracleResultSet rs = null;\n \n try {\n String sqlStatement = \"select nvl(max(id), 0)+1 as id from mealplan\";\n pst = (OraclePreparedStatement) conn.prepareStatement(sqlStatement);\n \n rs = (OracleResultSet) pst.executeQuery();\n \n int id;\n if (rs.next()) {\n id = rs.getInt(\"id\");\n } else {\n return null;\n }\n \n \n sqlStatement = \"insert into mealplan (id, name, day) values (?, ?, ?)\";\n \n pst = (OraclePreparedStatement) conn.prepareStatement(sqlStatement);\n pst.setInt(1, id);\n pst.setString(2, name);\n pst.setObject(3, day);\n \n pst.executeUpdate();\n \n return new MealPlan(id, name, day);\n \n } catch (SQLException e) {\n JOptionPane.showMessageDialog(null, e);\n } finally {\n ConnectDb.close(conn);\n ConnectDb.close(rs);\n ConnectDb.close(pst);\n }\n \n return null;\n }", "@Override\r\n\tpublic Dept getByName(String name) {\n\t\t\r\n\t\treturn deptDAO.getByName(name);\r\n\t}", "@Override\r\n\t@Transactional\r\n\tpublic Planter viewPlanter(int planterId) throws ResourceNotFoundException {\r\n\t\tOptional<Planter> pl = planterRepo.findById(planterId);\r\n\t\tif(pl.isPresent()) {\r\n\t\t\treturn pl.get();\r\n\t\t\t\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthrow new ResourceNotFoundException(\"No Planter found with the Id\");\r\n\t\t}\r\n\t}", "public TestPlanDto getTestPlan() {\n return testPlan;\n }", "public String getPlanSQL() {\n Expression[] exprList = expressions.toArray(\r\n new Expression[expressions.size()]);\r\n StatementBuilder buff = new StatementBuilder(\"SELECT\");\r\n if (distinct) {\r\n buff.append(\" DISTINCT\");\r\n }\r\n for (int i = 0; i < visibleColumnCount; i++) {\r\n buff.appendExceptFirst(\",\");\r\n buff.append('\\n');\r\n buff.append(StringUtils.indent(exprList[i].getSQL(), 4, false));\r\n }\r\n buff.append(\"\\nFROM \");\r\n TableFilter filter = topTableFilter;\r\n if (filter != null) {\r\n buff.resetCount();\r\n int i = 0;\r\n do {\r\n buff.appendExceptFirst(\"\\n\");\r\n buff.append(filter.getPlanSQL(i++ > 0));\r\n filter = filter.getJoin();\r\n } while (filter != null);\r\n } else {\r\n buff.resetCount();\r\n int i = 0;\r\n for (TableFilter f : topFilters) {\r\n do {\r\n buff.appendExceptFirst(\"\\n\");\r\n buff.append(f.getPlanSQL(i++ > 0));\r\n f = f.getJoin();\r\n } while (f != null);\r\n }\r\n }\r\n if (condition != null) {\r\n buff.append(\"\\nWHERE \").append(\r\n StringUtils.unEnclose(condition.getSQL()));\r\n }\r\n if (groupIndex != null) {\r\n buff.append(\"\\nGROUP BY \");\r\n buff.resetCount();\r\n for (int gi : groupIndex) {\r\n Expression g = exprList[gi];\r\n g = g.getNonAliasExpression();\r\n buff.appendExceptFirst(\", \");\r\n buff.append(StringUtils.unEnclose(g.getSQL()));\r\n }\r\n }\r\n if (group != null) {\r\n buff.append(\"\\nGROUP BY \");\r\n buff.resetCount();\r\n for (Expression g : group) {\r\n buff.appendExceptFirst(\", \");\r\n buff.append(StringUtils.unEnclose(g.getSQL()));\r\n }\r\n }\r\n if (having != null) {\r\n // could be set in addGlobalCondition\r\n // in this case the query is not run directly, just getPlanSQL is\r\n // called\r\n Expression h = having;\r\n buff.append(\"\\nHAVING \").append(\r\n StringUtils.unEnclose(h.getSQL()));\r\n } else if (havingIndex >= 0) {\r\n Expression h = exprList[havingIndex];\r\n buff.append(\"\\nHAVING \").append(\r\n StringUtils.unEnclose(h.getSQL()));\r\n }\r\n if (sort != null) {\r\n buff.append(\"\\nORDER BY \").append(\r\n sort.getSQL(exprList, visibleColumnCount));\r\n }\r\n if (limitExpr != null) {\r\n buff.append(\"\\nLIMIT \").append(\r\n StringUtils.unEnclose(limitExpr.getSQL()));\r\n if (offsetExpr != null) {\r\n buff.append(\" OFFSET \").append(\r\n StringUtils.unEnclose(offsetExpr.getSQL()));\r\n }\r\n }\r\n if (sampleSizeExpr != null) {\r\n buff.append(\"\\nSAMPLE_SIZE \").append(\r\n StringUtils.unEnclose(sampleSizeExpr.getSQL()));\r\n }\r\n if (isForUpdate) {\r\n buff.append(\"\\nFOR UPDATE\");\r\n }\r\n return buff.toString();\r\n }", "@Test\r\n public void findByPlanIdTest() {\r\n \tPlanDescription planDescription = planDescriptionRepository.findByPlanId(\"P001\");\r\n \t\r\n \tAssert.assertEquals(\"Family\", planDescription.getCoverageType());\r\n \tAssert.assertTrue(new BigDecimal(962).compareTo(planDescription.getEstimatedPremium()) == 0);\r\n \tAssert.assertTrue(new BigDecimal(6000).compareTo(planDescription.getAnnualDeductibleIndividual()) == 0);\r\n \tAssert.assertTrue(new BigDecimal(12000).compareTo(planDescription.getAnnualDeductibleFamily()) == 0);\r\n \t\r\n }", "@Override\r\n\tpublic Plan getPlanDetails(int customerID, long mobileNo) {\n\t\treturn null;\r\n\t}", "public PurchasePlanAutoGenerated purchasePlan() {\n return this.purchasePlan;\n }", "public abstract String getDatabaseName();", "@Override\n\tpublic BusinessPlan retrieve(String userToken, String bpid) throws RemoteException\n\t{\n\t\tUser user = matchUser(userToken);\n\t\tif (user == null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\tfor(int i = 0; i < departments.size(); i++)\n\t\t{\n\t\t\tDepartment dep = departments.get(i);\n\t\t\tif(user.getDepartment().getDepartmentName().equals(dep.getDepartmentName()))\n\t\t\t{\n\t\t\t\treturn dep.retrieve(bpid);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public abstract ModulePlans plans();", "public interface PlanDao extends JpaRepository<Plan, Integer> {\n List<Plan> findByQrPass(String pass);\n}", "private ActionPlanDao getActionPlan(String actionPlanId) {\n return Optional.ofNullable(actionPlanFactory.getActionPlan(actionPlanId)).orElseThrow(\n () -> new DashboardRedirectException(MessagesHelper.getMessage(\"service.growl.message2\")));\n }", "String getDatabase();", "public String getCpMc(String planId) {\n\t\tString sql=\"select A.*,B.* from W_CPB A \";\n\t\tsql=sql+\"INNER JOIN W_TB_INSTANT B ON A.F_SSSLID = B.ID where \";\n\t\tsql=sql+\"A.F_PLANID = '\" + planId + \"' and B.F_STATUS!='废弃'\";\n\t\tMap params = new HashMap();\n\t\tparams.put(\"planId\", planId);\n\t\tList<Map<String, Object>> dataList = jdbcDao.queryForList(sql.toString(), null);\n\t\tString cpmc=\"\";\n\t\tfor (Map<String, Object> map : dataList) {\n\t\t\tcpmc+=map.get(\"F_CPMC\")+\",\";\n\t\t}\n\t\tif(!cpmc.equals(\"\")) {\n\t\t\tcpmc=cpmc.substring(0,cpmc.length()-1);\n\t\t}\n\t\treturn cpmc ;\n\t}", "IQueryNode getVirtualPlan(Object groupID) throws Exception;", "public String getDatabase();", "Optional<ProductionPlanDTO> findOne(Long id);", "MedicalOrdersExecutePlan selectByPrimaryKey(Long moepId);", "public TapSchema findOneSchema(String schemaName);", "public void setPlanUuid(String planUuid) {\n this.planUuid = planUuid;\n }", "@Override\n protected PreparedStatement getObject() {\n try {\n return this.proxy.prepareStatement(\"SELECT * FROM country\");\n } catch (SQLException sex) {\n throw new UnsupportedOperationException(\"cannot provide object for testing\", sex);\n }\n }", "Object getExplainPlan(ObjectStorage storage, Connection connection,\r\n Alias alias, String sql);", "public DatabaseMeta getSharedDatabase( String name ) {\n return (DatabaseMeta) getSharedObject( DatabaseMeta.class.getName(), name );\n }", "@SuppressWarnings(\"unchecked\")\n\tpublic List<DropDownModel> getSeatingPlanName() {\n\n\t\tlogger.info(\"Method in Dao: getSeatingPlanName starts\");\n\n\t\tList<DropDownModel> planNameList = new ArrayList<DropDownModel>();\n\n\t\ttry {\n\t\t\tList<Object[]> x = em.createNamedStoredProcedureQuery(\"AssignmentOfSeatingPlan\")\n\t\t\t\t\t.setParameter(\"actionType\", \"getSeatingPlanNames\").setParameter(\"actionValue\", \"\").getResultList();\n\n\t\t\tfor (Object[] m : x) {\n\t\t\t\tDropDownModel dropDownModel = new DropDownModel(m[0], m[1]);\n\t\t\t\tplanNameList.add(dropDownModel);\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tlogger.info(\"Method in Dao: getSeatingPlanName ends\");\n\n\t\treturn planNameList;\n\t}", "@Test\n public void shouldListExpectedPlan() {\n OrgPlansListPage thePlansPage = open(OrgPlansListPage.class, organization.getName());\n thePlansPage.entriesContainer().shouldHave(text(plan.getName()));\n }", "@Override\n public Iterable<Plan> getById(Long id) {\n \t\n List <Long> ids = new ArrayList<Long>();\n ((ArrayList<Long>) ids).add(id);\n\t\treturn planRepository.findAllById(ids);\n }", "public List<DataSource.IntrospectionPlan> getPlans () {\n return plans;\n }", "public List<BudgetPlan> getBudgetPlansForProject(int projectId) {\n return em.createNamedQuery(\"BudgetPlan.findByProjectId\", BudgetPlan.class).setParameter(\"projectId\", projectId).getResultList();\n }", "String getDbPath(String dbName);", "@SuppressWarnings(\"unchecked\")\r\n public UserPlan UserPlanDelete(long planId) {\r\n session = sf.openSession();\r\n Transaction t = session.beginTransaction();\r\n UserPlan deletelist = (UserPlan) session.load(UserPlan.class, planId);\r\n if (null != deletelist) {\r\n session.delete(deletelist);\r\n }\r\n t.commit();\r\n session.close();\r\n sf.close();\r\n return deletelist;\r\n }", "public String getSystemDatabase(String databaseName)\n\t{\n\t\treturn \"template1\";\n\t}", "public List<Plant> findByName(String name) throws SQLException {\n\t\t// Declaring our variables\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tList<Plant> pl = new ArrayList<Plant>();\n\n\t\t// Lets start the connection\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\t// We will add LOWER and then toLower case so it wont be case sensitive\n\t\t\tstmt = conn.prepareStatement(\"SELECT * FROM garden WHERE LOWER(plant) LIKE ?\");\n\t\t\t// Here we going to add \"%\"'s in case of the name be between other words\n\t\t\tstmt.setString(1, \"%\" + name.toLowerCase() + \"%\");\n\t\t\tResultSet rs = stmt.executeQuery();\n\t\t\t// Now we may have more than one result, so lets pass with a while\n\t\t\t// using method next on the result\n\t\t\twhile (rs.next()) {\n\t\t\t\t// The result wont return a Plant Object, so we first make it happen\n\t\t\t\tPlant p = createPlant(rs);\n\t\t\t\t// Now we can pass the resulting plant in his object format\n\t\t\t\tpl.add(p);\n\t\t\t}\n\t\t\trs.close();\n\t\t} finally {\n\t\t\t// If the Statement or the Connection, hasn't been closed, we close it\n\t\t\tif (conn != null) {\n\t\t\t\tconn.close();\n\t\t\t}\n\t\t\tif (stmt != null) {\n\t\t\t\tstmt.close();\n\t\t\t}\n\t\t}\n\t\treturn pl;\n\t}", "@Override\r\n\tpublic List<Plan> getAllPlans() {\n\t\treturn null;\r\n\t}", "public String getPlanMainId() {\n return planMainId;\n }", "public boolean getViewplan() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((Boolean) __getCache(\"viewplan\")).booleanValue());\n }", "@When(\"^User selects \\\"([^\\\"]*)\\\" plan$\")\n\tpublic void user_selects_plan(String arg1) throws Throwable {\n\t\treviewPageObjects.selectplan(arg1);\n\t}", "com.google.ads.googleads.v6.resources.KeywordPlanCampaign getKeywordPlanCampaign();", "public RiskPlan findByRpid(int rpid) {\n\t\tRiskPlan rp = null;\r\n\t\tString sql = \"from riskManager.model.RiskPlan where rpid ='\"+rpid+\"'\";\r\n\t\tSession session = baseDao.getNewSession();\r\n\t\tList<RiskPlan> rpl = session.createQuery(sql).list();\r\n\t\tif(rpl.size()>0)\r\n\t\t\trp = rpl.get(0);\r\n\t\treturn rp;\r\n\r\n\t}", "public List<DataSource.PlanEntry> getPlanEntries () {\n return planEntries;\n }", "private StoragePort lookupVPlexFrontStoragePortByName(DbClient dbClient, StorageHADomain vplexDirector, String name) {\n String cacheKey = generateStoragePortKey(vplexDirector, name);\n // Check if this is something that we encountered that does not look to be a StoragePort\n if (NOT_PORTS.contains(cacheKey)) {\n return null;\n }\n StoragePort port = (StoragePort) OBJECT_CACHE.get(cacheKey);\n if (port == null) {\n port = findStoragePortByNameInDB(dbClient, vplexDirector, name);\n if (port != null) {\n OBJECT_CACHE.put(cacheKey, port);\n return port;\n } else {\n // Stash as not a StoragePort\n NOT_PORTS.add(cacheKey);\n }\n }\n return port;\n }", "public interface PlanService {\n\n public List<Plan> getAllPlans() throws SQLException;\n public boolean deletePlanById(Integer id) throws SQLException;\n void addPlan(Date date, Integer idProduct, Integer quantity, Integer cost) throws SQLException;\n void updatePlan(Integer idPlan, Date date, Integer idProduct, Integer quantity, Integer cost) throws SQLException;\n}", "public Product getProductFromName(String prodName) throws BackendException;", "@Override\n\tpublic Treatment getTreatment(String dname) {\n\t\tConnection con = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tTreatment treatment = new Treatment();\n\t\ttry {\n\t\t\tcon = DBConnection.createConnection();\n\t\t\tSystem.out.println(con);\n\t\t\tString query = \"SELECT * FROM treatment WHERE diseaseName = ?\";\n\t\t\tpreparedStatement = con.prepareStatement(query);\n\t\t\tpreparedStatement.setString(1, dname);\n\t\t\tSystem.out.println(preparedStatement);\n\t\t\tResultSet res = preparedStatement.executeQuery();\n\t\t\t\n\t\t\t//map res to plant object\n\t\t\tif(res.next()) {\n\t\t\t\tmapTreatment(res, treatment);\n\t\t\t}\n\t\t\t\n\t\t\treturn treatment;\n\t\t} catch(SQLException e) {\n\t\t\t e.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "Object getDB();", "public String getDeployment() {\n if (plan.startsWith(\"pooled-\") || plan.startsWith(\"standard-small\") || plan.startsWith(\"standard-medium\")) {\n return \"broker\";\n } else {\n return address;\n }\n }", "public int getCodigoPlan() { return this.codigoPlan; }", "protected abstract String getDatasourceName();", "public DatabaseOptions name(String name) {\n this.name = name;\n return this;\n }", "Admin selectByName(String adminName);", "Planning findByplanningId(long planningId);", "public ResultSet getDatabase(){\n\t\tString join = \"select* from responses natural join projects\";\n\t\tPreparedStatement database = null;\n\t\ttry{\n\t\t\tdatabase = conn.prepareStatement(join);\n\t\t\tResultSet rs = database.executeQuery();\n\t\t\treturn rs;\n\t\t}catch (SQLException e){\n\t\t\treturn null;\n\t\t}\n\t}", "String labPlanId();", "private String getTableAlias(String stageName) {\n String tableAlias = stageToTableAliasMap.get(stageName);\n\n if (tableAlias == null) {\n throw new SQLEngineException(String.format(\"Unable to determine table alias for stage '%s'\", stageName));\n }\n\n return tableAlias;\n }", "public ComboPooledDataSource get(String dataSourceName){\n\n for(ComboPooledDataSource cpds: dataSources){\n synchronized (cpds){\n if (cpds.getDataSourceName().equals(dataSourceName)){\n return cpds;\n }\n }\n }\n return null;\n }", "public static syneren.qms.audit.model.AuditPlan createAuditPlan(long PlanId) {\n return getService().createAuditPlan(PlanId);\n }", "public void loadPlanDataInGui() {\n String id = plan_num_label.getText();\n Helper.startSession();\n Query query = Helper.sess.createQuery(HQLHelper.GET_LOAD_PLAN_BY_ID);\n query.setParameter(\"id\", Integer.valueOf(id));\n\n Helper.sess.getTransaction().commit();\n List result = query.list();\n LoadPlan plan = (LoadPlan) result.get(0);\n WarehouseHelper.temp_load_plan = plan;\n loadPlanDataToLabels(plan, \"\");\n reloadPlanLinesData(Integer.valueOf(id), null);\n loadDestinations(Integer.valueOf(id));\n //Disable delete button if the plan is CLOSED\n if (WarehouseHelper.LOAD_PLAN_STATE_CLOSED.equals(plan.getPlanState())) {\n delete_plan_btn.setEnabled(false);\n release_plan_btn.setEnabled(false);\n export_plan_menu.setEnabled(true);\n edit_plan_menu.setEnabled(false);\n destinations_box.setEnabled(true);\n piles_box.setEnabled(false);\n set_packaging_pile_btn.setEnabled(false);\n } else {\n delete_plan_btn.setEnabled(true);\n release_plan_btn.setEnabled(true);\n export_plan_menu.setEnabled(true);\n edit_plan_menu.setEnabled(true);\n destinations_box.setEnabled(true);\n piles_box.setEnabled(true);\n set_packaging_pile_btn.setEnabled(true);\n\n }\n }", "public Driving getDB() {\n\t\treturn this.db;\n\t}", "public String getDbName();" ]
[ "0.6642801", "0.63041776", "0.628644", "0.61942685", "0.60915864", "0.5989368", "0.5946201", "0.5877376", "0.5681797", "0.56340027", "0.56099415", "0.5589054", "0.5510726", "0.54954857", "0.5460888", "0.54066104", "0.53851867", "0.5298353", "0.5263196", "0.5205265", "0.5133822", "0.51251173", "0.5122685", "0.51197505", "0.5108695", "0.5108695", "0.5108695", "0.5108695", "0.5108061", "0.50943416", "0.5076206", "0.5072246", "0.5070379", "0.50582117", "0.5044218", "0.50351983", "0.49984744", "0.49415958", "0.4929121", "0.49197584", "0.49182296", "0.4907237", "0.49043834", "0.4898892", "0.48952252", "0.4861523", "0.4854778", "0.48246077", "0.4822637", "0.48107225", "0.4800139", "0.47963765", "0.47929856", "0.47909427", "0.4786389", "0.47843692", "0.47775108", "0.47762167", "0.4774244", "0.477038", "0.47571746", "0.4753317", "0.474904", "0.47466743", "0.47401422", "0.4734048", "0.47268513", "0.47181395", "0.47174543", "0.471647", "0.4714755", "0.47098866", "0.47062913", "0.4697699", "0.4697251", "0.46945995", "0.4694045", "0.46786413", "0.46734178", "0.46721292", "0.46690425", "0.4668783", "0.46524015", "0.4651183", "0.46499845", "0.46446487", "0.4639966", "0.46354148", "0.46258315", "0.46200603", "0.46079716", "0.46064422", "0.4601561", "0.45973486", "0.45937747", "0.4591374", "0.45735106", "0.45635813", "0.45591924", "0.45579934" ]
0.79975975
0
/ Get badge specified by badge name for a particular company.
public List<Role> getAllRoles();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getBadge();", "Codebadge findOne(Long id);", "int getBadgeNumber();", "int getBadgeNumber();", "@Override\r\n\tpublic Company getDetailByCompanyName(String companyName) {\n\t\treturn companyRepository.findByCompanyName(companyName);\r\n\t}", "public java.lang.String getBadge() {\n java.lang.Object ref = badge_;\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 badge_ = s;\n }\n return s;\n }\n }", "public Company getCompany(String companyShortName);", "public java.lang.String getBadge() {\n java.lang.Object ref = badge_;\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 badge_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "com.google.protobuf.ByteString\n getBadgeBytes();", "public static int getBadge(Context context) {\n int badgeCount = 0;\n Cursor cursor = null;\n\n try {\n // This is the content uri for the BadgeProvider\n Uri uri = Uri.parse(\"content://com.sec.badge/apps\");\n\n cursor = context.getContentResolver().query(uri, null, \"package IS ?\", new String[]{context.getPackageName()}, null);\n\n // This indicates the provider doesn't exist and you probably aren't running\n // on a Samsung phone running TWLauncher. This has to be outside of try/finally block\n if (cursor == null) {\n return -1;\n }\n\n if (!cursor.moveToFirst()) {\n // No results. Nothing to query\n return -1;\n }\n\n do {\n String pkg = cursor.getString(1);\n String clazz = cursor.getString(2);\n badgeCount = cursor.getInt(3);\n Log.d(\"BadgeTest\", \"package: \" + pkg + \", class: \" + clazz + \", count: \" + String.valueOf(badgeCount));\n } while (cursor.moveToNext());\n } finally {\n if (cursor != null) cursor.close();\n }\n\n return badgeCount;\n }", "Company getCompanyByUniversalName(String name);", "Company getCompany(int id);", "public CompanyAg fetchByPrimaryKey(String companyAgId)\n\t\tthrows SystemException {\n\t\tCompanyAg companyAg = (CompanyAg)EntityCacheUtil.getResult(CompanyAgModelImpl.ENTITY_CACHE_ENABLED,\n\t\t\t\tCompanyAgImpl.class, companyAgId);\n\n\t\tif (companyAg == _nullCompanyAg) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (companyAg == null) {\n\t\t\tSession session = null;\n\n\t\t\tboolean hasException = false;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tcompanyAg = (CompanyAg)session.get(CompanyAgImpl.class,\n\t\t\t\t\t\tcompanyAgId);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\thasException = true;\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tif (companyAg != null) {\n\t\t\t\t\tcacheResult(companyAg);\n\t\t\t\t}\n\t\t\t\telse if (!hasException) {\n\t\t\t\t\tEntityCacheUtil.putResult(CompanyAgModelImpl.ENTITY_CACHE_ENABLED,\n\t\t\t\t\t\tCompanyAgImpl.class, companyAgId, _nullCompanyAg);\n\t\t\t\t}\n\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn companyAg;\n\t}", "public com.google.protobuf.ByteString\n getBadgeBytes() {\n java.lang.Object ref = badge_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n badge_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Optional<BankBranch> getByName(String name) throws ObjectNotFoundException;", "public com.google.protobuf.ByteString\n getBadgeBytes() {\n java.lang.Object ref = badge_;\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 badge_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "Optional<Company> findByName(String name);", "Optional<Company> getCompany(long id);", "public void fetchBurglaryBell() {\n\t\tburglaryBellUrl = ClassLoader.getSystemClassLoader().getResource(\n\t\t\t\t\"res/bell1.png\");\n\t\t// file path is read to the buffered image\n\t\ttry {\n\t\t\tburglaryBellIcon = ImageIO.read(burglaryBellUrl);\n\t\t} catch (IOException e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\t\t// buffered image is scaled\n\t\tburglaryBellScaledImg = burglaryBellIcon.getScaledInstance(25, 25,\n\t\t\t\tjava.awt.Image.SCALE_SMOOTH);\n\t}", "public Company getCompany(String companyId) throws ParseException {\n ParseQuery<Company> query = ParseQuery.getQuery(PARSE_NAME);\n query.fromLocalDatastore();\n return query.get(companyId);\n }", "java.lang.String getCompanyName();", "java.lang.String getCompanyName();", "public Stock findStockbyCompanyCode(String companyCode) {\n\t\treturn mapper.load(Stock.class, companyCode);\n\t}", "String getCompany();", "public Company findCompany(IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "public Booking getBooking(String name) {\n\t\t\tint i = 0;\r\n\t\t\tBooking buffer;\r\n\t\t\t\r\n\t\t\twhile(i < Bookings.size()) {\r\n\t\t\t\tbuffer = Bookings.get(i);\r\n\t\t\t\tString Name = buffer.getBooker();\r\n\t\t\t\tif (name.contentEquals(Name)) {\r\n\t\t\t\t\treturn buffer;\r\n\t\t\t\t}\r\n\t\t\t\ti++;\r\n\t\t\t}\r\n\t\t\treturn null;\r\n\t\t}", "BaseResponse getDetail(long holidayID, int companyID);", "Optional<Company> findById(long company_id);", "public Company findCompany(long id);", "public abstract Company get(int id);", "ImageView getBadgeView();", "public String getBadgeid(){\r\n return id;\r\n }", "public Company getCompanyByName(String name) {\r\n\t\tfor (int i = 0 ; i < companyDirectory.size() ; i++){\r\n\t\t\tif (companyDirectory.get(i).getName().equals(name))\r\n\t\t\t\treturn companyDirectory.get(i);\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public static ImageIcon get(String name) {\n return get(\"\", name);\n }", "public BloombergIndex getBloombergIndex(Company cmp) throws Exception {\n\n\t\tBloombergIndex bidxReturn = null;\n\n\t\tHashtable<String, Object> param = new Hashtable<String, Object>();\n\t\tparam.put(\"company\", cmp.getId());\n\t\tList<Object> listFtlCompany = UtilSession.getObjectsByNamedQuery(em,\n\t\t\t\tBloombergIndex.FIND_BLOOMBERG_URL_BYCOMPANY, param);\n\t\tif (null != listFtlCompany && listFtlCompany.size() > 0) {\n\t\t\tfor (Object object : listFtlCompany) {\n\t\t\t\tbidxReturn = (BloombergIndex) object;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn bidxReturn;\n\n\t}", "public Bitmap getB(String name){\n\t\treturn BitmapFactory.decodeResource(activity.getResources(),\n\t\t\t\tactivity.getResources().getIdentifier(name, \"drawable\", activity.getPackageName()));\n\t\t\n\t}", "@Override\r\n\tpublic Company getOneCompanyByEmail(String compEmail) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyEmail='\" + compEmail + \"'\";\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tCompany comp = new Company();\r\n\t\t\t\tcomp.setCompId(rs.getInt(\"companyId\"));\r\n\t\t\t\tcomp.setCompName(rs.getString(\"companyName\"));\r\n\t\t\t\tcomp.setCompEmail(compEmail);\r\n\t\t\t\tcomp.setCompPass(rs.getString(\"companyPass\"));\r\n\r\n\t\t\t\treturn comp;\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Couldn't find any company by this Email address: \" + compEmail);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"getOneCompanyByEmail Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public ContactCompanyAg fetchByPrimaryKey(String contactCompanyAgId)\n\t\tthrows SystemException {\n\t\tContactCompanyAg contactCompanyAg = (ContactCompanyAg)EntityCacheUtil.getResult(ContactCompanyAgModelImpl.ENTITY_CACHE_ENABLED,\n\t\t\t\tContactCompanyAgImpl.class, contactCompanyAgId);\n\n\t\tif (contactCompanyAg == _nullContactCompanyAg) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (contactCompanyAg == null) {\n\t\t\tSession session = null;\n\n\t\t\tboolean hasException = false;\n\n\t\t\ttry {\n\t\t\t\tsession = openSession();\n\n\t\t\t\tcontactCompanyAg = (ContactCompanyAg)session.get(ContactCompanyAgImpl.class,\n\t\t\t\t\t\tcontactCompanyAgId);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\thasException = true;\n\n\t\t\t\tthrow processException(e);\n\t\t\t}\n\t\t\tfinally {\n\t\t\t\tif (contactCompanyAg != null) {\n\t\t\t\t\tcacheResult(contactCompanyAg);\n\t\t\t\t}\n\t\t\t\telse if (!hasException) {\n\t\t\t\t\tEntityCacheUtil.putResult(ContactCompanyAgModelImpl.ENTITY_CACHE_ENABLED,\n\t\t\t\t\t\tContactCompanyAgImpl.class, contactCompanyAgId,\n\t\t\t\t\t\t_nullContactCompanyAg);\n\t\t\t\t}\n\n\t\t\t\tcloseSession(session);\n\t\t\t}\n\t\t}\n\n\t\treturn contactCompanyAg;\n\t}", "UserGroup findByName(String companyId, String name);", "pb4client.AchievementInfo getAchieveInfo(int index);", "public CompanyProfile getCompanyProfile(String ticker) {\n ticker = ticker.toUpperCase();\n CompanyProfileDao dao = new CompanyProfileDaoImpl(MCHELPER.getDatabase());\n Optional<CompanyProfile> companyProfile = dao.getCompanyProfile(ticker);\n // nothing, get from API\n if (companyProfile.isEmpty()) {\n companyProfile = Optional.of(client.getCompanyProfile(ticker));\n dao.addCompanyProfileIfNotExists(companyProfile.get());\n }\n return companyProfile.get();\n }", "public String getCompany() {\n return (String) get(\"company\");\n }", "public Company getCompanyById(long companyId) throws Exception {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\n\t\ttry {\n\t\t\tconnection = JdbcUtils.getConnection();\n\n\t\t\t// Creating the SQL query\n\t\t\tString sqlStatement = \"SELECT * FROM companies WHERE COMPANY_ID = ?\";\n\n\t\t\t// Combining between the syntax and our connection\n\t\t\tpreparedStatement = connection.prepareStatement(sqlStatement);\n\n\t\t\t// Replacing the question marks in the statement above with the relevant data\n\t\t\tpreparedStatement.setLong(1, companyId);\n\n\t\t\t// Executing the query\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\tif (resultSet.next()) {\n\t\t\t\tString name = resultSet.getString(\"Company_NAME\");\n\t\t\t\treturn new Company(companyId,name);\n\t\t\t}\n\t\t\t\n\t\t\treturn null;\n\t\t\t\t\n\t\t}\n\t\t\tcatch (SQLException e) {\n\t\t\t\t// **If there was an exception in the \"try\" block above, it is caught here and\n\t\t\t\t// notifies a level above.\n\t\t\t\te.printStackTrace();\n\t\t\tthrow new ApplicationException(e,ErrorType.GENERAL_ERROR,\n\t\t\t\t\tDateUtils.getCurrentDateAndTime() + \"FAILED to return a company\");\n\n\t\t\t// Closing the resources\n\t\t} finally {\n\t\t\tJdbcUtils.closeResources(connection, preparedStatement,resultSet);\n\t\t}\n\t}", "public CompanyEntity getCompany(long companyId) throws Exception {\n Connection connection = null;\n PreparedStatement preparedStatement = null;\n\n try {\n //Establish a connection from the connection manager\n connection = JdbcUtils.getConnection();\n\n //Creating the SQL query\n String sqlStatement = \"SELECT * FROM companies WHERE id = ?\";\n\n //Combining between the syntax and our connection\n preparedStatement = connection.prepareStatement(sqlStatement);\n\n //Replacing the question marks in the statement above with the relevant data\n preparedStatement.setLong(1, companyId);\n\n //Executing the update\n ResultSet resultSet = preparedStatement.executeQuery();\n\n if (!resultSet.next()) {\n throw new ApplicationException(ErrorType.GENERAL_ERROR, \"Cannot retrieve information\");\n }\n// creating an array of companies\n CompanyEntity companyEntity = new CompanyEntity();\n companyEntity.setCompanyId(resultSet.getLong(\"id\"));\n companyEntity.setCompanyName(resultSet.getString(\"company_name\"));\n companyEntity.setCompanyEmail(resultSet.getString(\"company_email\"));\n companyEntity.setCompanyPhone(resultSet.getString(\"company_phone\"));\n companyEntity.setCompanyAddress(resultSet.getString(\"company_address\"));\n\n return companyEntity;\n\n } catch (Exception e) {\n //\t\t\te.printStackTrace();\n throw new Exception(\"Failed to retrieve data\", e);\n } finally {\n //Closing the resources\n JdbcUtils.closeResources(connection, preparedStatement);\n }\n }", "@Override\n public BrokerMessageListener fetchByName(long companyId, String name)\n throws SystemException {\n return fetchByName(companyId, name, true);\n }", "public int getBadgeNumber() {\n\t\treturn badgeNumber;\n\t}", "public Book getBookByName(final String name) {\n final TypedQuery<Book> query = entityManager.createQuery(\"select b from Book b where b.name like :name\",\n Book.class).setParameter(\"name\", name);\n try {\n return query.getSingleResult();\n } catch (final PersistenceException ex) {\n return null;\n }\n }", "@Override\r\n\tpublic Grade findGradeByName(String grade, Long companyId) {\r\n\t\treturn gradeRepository.findGradeByName(grade, companyId);\r\n\t}", "List<Codebadge> findAll();", "Optional<Company> findOneById(String id);", "Optional<BankBranch> getByCode(String code) throws ObjectNotFoundException;", "@Override\n\tpublic BnsCash get(String arg0) {\n\t\treturn cashRepository.findOne(arg0);\n\t}", "@Override\n public BrokerMessageListener fetchByName(long companyId, String name,\n boolean retrieveFromCache) throws SystemException {\n Object[] finderArgs = new Object[] { companyId, name };\n\n Object result = null;\n\n if (retrieveFromCache) {\n result = FinderCacheUtil.getResult(FINDER_PATH_FETCH_BY_NAME,\n finderArgs, this);\n }\n\n if (result instanceof BrokerMessageListener) {\n BrokerMessageListener brokerMessageListener = (BrokerMessageListener) result;\n\n if ((companyId != brokerMessageListener.getCompanyId()) ||\n !Validator.equals(name, brokerMessageListener.getName())) {\n result = null;\n }\n }\n\n if (result == null) {\n StringBundler query = new StringBundler(4);\n\n query.append(_SQL_SELECT_BROKERMESSAGELISTENER_WHERE);\n\n query.append(_FINDER_COLUMN_NAME_COMPANYID_2);\n\n boolean bindName = false;\n\n if (name == null) {\n query.append(_FINDER_COLUMN_NAME_NAME_1);\n } else if (name.equals(StringPool.BLANK)) {\n query.append(_FINDER_COLUMN_NAME_NAME_3);\n } else {\n bindName = true;\n\n query.append(_FINDER_COLUMN_NAME_NAME_2);\n }\n\n String sql = query.toString();\n\n Session session = null;\n\n try {\n session = openSession();\n\n Query q = session.createQuery(sql);\n\n QueryPos qPos = QueryPos.getInstance(q);\n\n qPos.add(companyId);\n\n if (bindName) {\n qPos.add(name);\n }\n\n List<BrokerMessageListener> list = q.list();\n\n if (list.isEmpty()) {\n FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_NAME,\n finderArgs, list);\n } else {\n BrokerMessageListener brokerMessageListener = list.get(0);\n\n result = brokerMessageListener;\n\n cacheResult(brokerMessageListener);\n\n if ((brokerMessageListener.getCompanyId() != companyId) ||\n (brokerMessageListener.getName() == null) ||\n !brokerMessageListener.getName().equals(name)) {\n FinderCacheUtil.putResult(FINDER_PATH_FETCH_BY_NAME,\n finderArgs, brokerMessageListener);\n }\n }\n } catch (Exception e) {\n FinderCacheUtil.removeResult(FINDER_PATH_FETCH_BY_NAME,\n finderArgs);\n\n throw processException(e);\n } finally {\n closeSession(session);\n }\n }\n\n if (result instanceof List<?>) {\n return null;\n } else {\n return (BrokerMessageListener) result;\n }\n }", "@RequestMapping(value = \"/{referralCode}\", method = RequestMethod.GET)\r\n public Bonus getBonusByReferralCode(\r\n @RequestParam(value = \"referralCode\") String referralCode) {\r\n return (DatabaseBonus.getBonusByReferralCode(referralCode));\r\n }", "List<Codebadge> search(String query);", "public byte[] getBadges()\n\t{\n\t\treturn m_badges;\n\t}", "@Override\r\n\tpublic Company getCompany(long companyId) throws Exception {\r\n\r\n\t\tconnectionPool = ConnectionPool.getInstance();\r\n\t\tConnection connection = connectionPool.getConnection();\r\n\t\tCompany company = new Company();\r\n\t\tString sql = \"SELECT * FROM Company WHERE ID=\" + companyId;\r\n\t\ttry (PreparedStatement preparedStatement = connection.prepareStatement(sql)) {\r\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\r\n\t\t\tresultSet.next();\r\n\t\t\tcompany.setCompanyId(resultSet.getLong(1));\r\n\t\t\tcompany.setCompanyName(resultSet.getString(2));\r\n\t\t\tcompany.setCompanyPassword(resultSet.getString(3));\r\n\t\t\tcompany.setCompanyEmail(resultSet.getString(4));\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new Exception(\"DB error - unable to get Company data. companyId: \" + companyId);\r\n\t\t}catch (Exception e) {\r\n\t\t\tthrow new Exception(\"unable to get Company data. companyId: \" + companyId);\r\n\t\t} \r\n\t\tfinally {\r\n\t\t\tconnection.close();\r\n\t\t\tconnectionPool.returnConnection(connection);\r\n\t\t}\r\n\t\treturn company;\r\n\t}", "ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData getAuditingCompany();", "@Override\r\n\tpublic Company getOneCompanyById(int compId) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyId=\" + compId;\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tCompany comp = new Company();\r\n\t\t\t\tcomp.setCompId(compId);\r\n\t\t\t\tcomp.setCompName(rs.getString(\"companyName\"));\r\n\t\t\t\tcomp.setCompEmail(rs.getString(\"companyEmail\"));\r\n\t\t\t\tcomp.setCompPass(rs.getString(\"companyPass\"));\r\n\r\n\t\t\t\treturn comp;\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Couldn't find any company by this ID: \" + compId);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"getOneCompanyById Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "@GetMapping(\"/banking.herokuapp.com/banks/bankbranches/{ifsc}\")\r\n\t@ResponseBody\r\n\tpublic ResponseEntity<Banks> getByIfsc(@PathVariable String ifsc)\r\n\t{\r\n\t\tBanks bank;\r\n\t\t try {\r\n\t\t bank = banksDAO.findByIfsc(ifsc);\r\n\t\t }\r\n\t\t catch (Exception ex) {\r\n\t\t return ResponseEntity.notFound().build();\r\n\t\t }\r\n\t\t return ResponseEntity.ok().body(bank);\r\n\r\n\t}", "@java.lang.Override\n public int getBadgeNumber() {\n return badgeNumber_;\n }", "@java.lang.Override\n public int getBadgeNumber() {\n return badgeNumber_;\n }", "public Company getCompanyAt(int index) {\r\n\t\treturn companyDirectory.get(index); \r\n\t\t\t\r\n\t}", "@java.lang.Override\n public int getBadgeNumber() {\n return badgeNumber_;\n }", "@java.lang.Override\n public int getBadgeNumber() {\n return badgeNumber_;\n }", "@CheckForNull\n AbstractProject<?, ?> getJobByName(String name);", "public com.huqiwen.demo.book.model.Books fetchByc_g_First(long groupId,\n\t\tlong companyId,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "@Transactional(readOnly = true)\n public Company findOne(final Long companyId) {\n return companyRepository.findOne(companyId);\n }", "public java.lang.Integer getCompany() {\n\treturn company;\n}", "@Secured({ })\n\t@RequestMapping(value = \"/contacts/findBycompany/{key}\", method = RequestMethod.GET, headers = \"Accept=application/json\")\n\tpublic List<Contact> findBycompany(@PathVariable(\"key\") Long idcompany) {\n\t\tList<Contact> list = contactService.findBycompany(idcompany);\n\t\treturn list;\n\t}", "protected void getApplicationIconBadgeNumber(JSONArray args, final CallbackContext callbackContext) {\n\t\tLog.d(TAG, \"GETAPPLICATIONICONBADGENUMBER\");\n\t\tif (Notificare.shared().getInboxManager() != null) {\n\t\t\tif (callbackContext == null) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcallbackContext.success(Notificare.shared().getInboxManager().getUnreadCount());\n\t\t} else {\n\t\t\tif (callbackContext == null) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcallbackContext.error(\"No inbox manager\");\n\t\t}\n\t}", "List getCompanies(OwnCodes ownCodes) throws PopulateDataException;", "public Stock getFromMap(String name){\n\tif(table.containsKey(name)){\n\tStock rval = table.get(name);\n\treturn rval;\n\t}\n\telse{\n\t\t//call pull from URL and return newStock \n\t\taddToMap(String name, Stock newStock);\n\t\tgetFromMap(name);\n\t}\n}", "@java.lang.Override\n public java.lang.String getCompany() {\n java.lang.Object ref = company_;\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 company_ = s;\n return s;\n }\n }", "public static final String getCompany() { return company; }", "com.google.protobuf.ByteString\n getCompanyNameBytes();", "com.google.protobuf.ByteString\n getCompanyNameBytes();", "public com.huqiwen.demo.book.model.Books findByc_g_First(long groupId,\n\t\tlong companyId,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator orderByComparator)\n\t\tthrows com.huqiwen.demo.book.NoSuchBooksException,\n\t\t\tcom.liferay.portal.kernel.exception.SystemException;", "@GetMapping(path = \"companyName/{companyName}\")\n public ResponseEntity<List<Contractor>> findAllByCompanyName(@PathVariable String companyName){\n logger.debug(\"findAllByCompanyName(\" + companyName + \")\");\n\t\tAssert.notNull(companyName, \"Expects a valid companyName\");\n\n List<Contractor> contractors = contractorService.findAllByCompanyName(companyName);\n if(contractors == null || contractors.size() < 1) throw new ResourceNotFoundException(\"Unable to find any contractors matching criteria\");\n return new ResponseEntity(getDTOs(contractors), HttpStatus.ACCEPTED);\n }", "public List<VolunteerBadgeInfo> getVolunteerBadgesInfo(final String volunteerId){\n final Object[] args = new Object[]{volunteerId};\n final String query = \"Select volunteerbadges.*, badges.url as url, badges.* FROM volunteerbadges INNER JOIN \" +\n \"badges ON volunteerbadges.badge = badges.badge AND volunteerbadges.skill = badges.skill WHERE \" +\n \"volunteerbadges.volunteer_id = ?\";\n return jdbcTemplate.query(query, args, resultSet -> {\n final List<VolunteerBadgeInfo> badgesInfo = new ArrayList<>();\n while(resultSet.next()){\n final VolunteerBadgeInfo info = new VolunteerBadgeInfo();\n info.setBadge(resultSet.getString(\"badge\"));\n info.setVolunteer_id(resultSet.getString(\"volunteer_id\"));\n info.setStar(resultSet.getInt(\"star\"));\n info.setPoints(resultSet.getInt(\"points\"));\n info.setGaugeExp(resultSet.getInt(\"gaugeExp\"));\n info.setUrl(resultSet.getString(\"url\"));\n info.setId(resultSet.getInt(\"id\"));\n info.setSkill(resultSet.getString(\"skill\"));\n info.setBadge_name(resultSet.getString(\"badge_name\"));\n badgesInfo.add(info);\n }\n return badgesInfo;\n });\n }", "GameCode getGameCode(String gameCode);", "public Betaler getBetaler(String BetalingCPR) {\n return sagsKatalog.getBetaler(BetalingCPR);\n }", "Optional<DeliveryBoy> findByEmail(String email);", "@Override\r\n\tpublic Company getAllCompaniesByCode(Integer code) {\r\n\t\tString methodName = \"getAllCompaniesById(Integer id)\";\r\n\t\tlog.info(className+\",\"+methodName);\r\n\t\tlog.debug(\"company code is::\"+code);\r\n\t\treturn companyRepository.findCompanyByCode(code.longValue());\r\n\t}", "java.lang.String getBusinessName();", "public Bike getBike(int bikeId){\n \n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(BIKE_BY_ID + bikeId);\n ResultSet rs = ps.executeQuery()){\n \n if(rs.next()){\n Bike bike = getBikeFromRS(rs);\n return bike;\n }\n }catch(Exception e){\n System.out.println(\"Exception\" + e);\n }\n return null;\n }", "public java.lang.String getCompany() {\n java.lang.Object ref = company_;\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 company_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "@Override\n\tpublic CompanyAg fetchByPrimaryKey(Serializable primaryKey)\n\t\tthrows SystemException {\n\t\treturn fetchByPrimaryKey((String)primaryKey);\n\t}", "HibBranch getBranch(InternalActionContext ac, HibProject project);", "public CustomerCompany findCustomerCompany(String name) \n\t{\n\t\tTypedQuery<CustomerCompany> query = \n\t\t\t\tthis.entityManager.createNamedQuery(\"CustomerCompany.findByName\", CustomerCompany.class);\n\t\t\n\t\tquery.setParameter(\"prName\", name);\n\t\treturn query.getSingleResult();\n\t}", "public Entity getBorrower();", "UserGroup findByNameIgnoreCase(String companyId, String name);", "public String getCompany(final SessionContext ctx)\n\t{\n\t\treturn (String)getProperty( ctx, COMPANY);\n\t}", "private Contact getEmployeePayrollData(String name) {\n\t\treturn this.employeePayrollList.stream().filter(contactItem -> contactItem.name.equals(name)).findFirst()\n\t\t\t\t.orElse(null);\n\t}", "private void fetchBusinessGoalFromDB() \r\n\t{\r\n\t\tthis.showLoadingStatusBar();\r\n\t\tServiceDefTarget endpoint = (ServiceDefTarget) service; \t\t// get the business goal and associated subgoals and assets\r\n\t\tendpoint.setServiceEntryPoint(GWT.getModuleBaseURL() + \"identifyGoalAssetService.rpc\");\r\n\t\tservice.loadBusinessGoalInfo(getCurrentState().getProjectID(), new AsyncCallback<GwtBusinessGoal>()\r\n\t\t{\r\n\t\t\tpublic void onFailure(Throwable caught)\r\n\t\t\t{\r\n\t\t\t\tWindow.alert(caught.getMessage());\r\n\t\t\t}\r\n\r\n\t\t\tpublic void onSuccess(GwtBusinessGoal result)\r\n\t\t\t{\t\t\r\n\t\t\t\t\tbusinessGoal = result;\r\n\t\t\t\t\tsummaryPageCommand.execute();\r\n\t\t\t}\r\n\t\t});\r\n\t}", "public String getbal(String cname) {\nString countQuery = \"SELECT Balance FROM \" + DATABASE_TABLE1+\" WHERE Name='\"+cname+\"'\";\n\t \n\t Cursor cursor = ourDatabase.rawQuery(countQuery, null);\n\t int d=cursor.getColumnIndex(\"Balance\");\n\t\tString cbal=null;\n\t\tfor(cursor.moveToFirst();!cursor.isAfterLast();cursor.moveToNext()){\n\t\t\tcbal=cursor.getString(d);\n\t\t\t\n\t\t}\n\t\t\n\t\treturn cbal;\n\t}", "IBank getBankFromName(String bankName) throws RemoteException;", "public contactsapi.company.CompanyResponse getCompanies(int index) {\n if (companiesBuilder_ == null) {\n return companies_.get(index);\n } else {\n return companiesBuilder_.getMessage(index);\n }\n }", "@ServiceMethod(returns = ReturnType.SINGLE)\n ComplianceInner get(String scope, String complianceName);", "@Override\n\tpublic Company getOne(Long id) {\n\t\treturn dao.getById(id);\n\t}", "Company getOrCreateCompanyId(String companyID) throws Exception;" ]
[ "0.6048609", "0.59685683", "0.5640823", "0.5640823", "0.53257906", "0.5266814", "0.52420604", "0.51873463", "0.518228", "0.5134964", "0.5134284", "0.5077094", "0.50170326", "0.4995247", "0.4995221", "0.4992756", "0.4948984", "0.4922769", "0.49108565", "0.49066365", "0.4870694", "0.4870694", "0.48592862", "0.48359677", "0.4830332", "0.47810495", "0.47514313", "0.47480816", "0.47475246", "0.47342503", "0.4694862", "0.46910447", "0.4689094", "0.46817976", "0.46811384", "0.46709588", "0.4659104", "0.46568438", "0.4650198", "0.4640031", "0.46331313", "0.46319136", "0.4628966", "0.4626738", "0.46238753", "0.46218655", "0.45941994", "0.4571997", "0.45682722", "0.45608", "0.4547337", "0.45448542", "0.4529528", "0.4516223", "0.45161274", "0.44979635", "0.44911116", "0.44806546", "0.44792324", "0.44729954", "0.44717833", "0.44717833", "0.44606537", "0.44508272", "0.44508272", "0.4444977", "0.4429731", "0.44279292", "0.44200823", "0.44173253", "0.44114754", "0.43986255", "0.4382196", "0.43715996", "0.4364419", "0.4359866", "0.4359866", "0.43549895", "0.43374532", "0.43372834", "0.43365383", "0.4333016", "0.4325456", "0.4322262", "0.43111634", "0.43109754", "0.43104348", "0.4296025", "0.42944416", "0.4293683", "0.42882562", "0.42861342", "0.4280943", "0.42651552", "0.426193", "0.42600513", "0.42526338", "0.42500272", "0.42499533", "0.42497873", "0.4246704" ]
0.0
-1
Write your code here.
public static int[] findThreeLargestNumbers(int[] array) { if(array==null || array.length==0) { int[] temp = {}; return temp ; } int[] result = new int[3]; Arrays.fill(result,Integer.MIN_VALUE); result[2] = array[0]; for(int i=1 ; i<array.length ; i++) { if(result[2]<= array[i]) { result[0] = result[1]; result[1] = result[2]; result[2] = array[i]; } else if(result[1] <= array[i]) { result[0] = result[1]; result[1] = array[i]; } else if(result[0] < array[i]){ result[0] = array[i]; } } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void logic() {\n\n\t}", "public static void generateCode()\n {\n \n }", "public void logic(){\r\n\r\n\t}", "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "public void ganar() {\n // TODO implement here\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void working()\n {\n \n \n }", "@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 void mo38117a() {\n }", "void pramitiTechTutorials() {\n\t\n}", "public void mo4359a() {\n }", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public void furyo ()\t{\n }", "@Override\n\tprotected void interr() {\n\t}", "public void baocun() {\n\t\t\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "Programming(){\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public void perder() {\n // TODO implement here\n }", "public final void mo51373a() {\n }", "@Override\n public void feedingHerb() {\n\n }", "@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\tprotected void postRun() {\n\n\t}", "@Override\n\t\tprotected void onPreExecute() \n\t\t{\n\t\t}", "private void kk12() {\n\n\t}", "private static void oneUserExample()\t{\n\t}", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "CD withCode();", "public static void main(String[] args) {\n // write your code here - this is called comment and it always starts with double slash\n // and comlier will ignore this because of the // sign.\n // I am gonna say hello\n // JAVA IS CASE SENSITIVE LANGUAGE\n // System and system are very different things in java\n //Hello AND hello are different for java\n // System.out.println(\"Hello Batch 15!\");\n // System.out.println(\"I am still here.\");\n // System.out.println(\"I love Java.\");\n\n // Write a program to display your information.\n // When you run it, it should have this outcome.\n // I am your name here\n // I am from batch 15\n // I am from your city here\n // I love Java\n\n System.out.println(\"I am Sevim.\");\n System.out.println(\"I am from Batch 15.\");\n System.out.println(\"I'm from New Jersey.\");\n System.out.println(\"I love Java.\");\n\n\n\n }", "public void hello(){\n\t\t\r\n \t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void run() {\n\t\t\t\t\n\t\t\t}", "private void strin() {\n\n\t}", "public void themesa()\n {\n \n \n \n \n }", "@Override\n\tpublic void function() {\n\t\t\n\t}", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "@Override\n public void execute() {\n \n \n }", "private void getStatus() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void doDomething() {\r\n\t\t\tSystem.out.println(\"I am here\");\r\n\t\t\t\r\n\t\t}", "protected void mo6255a() {\n }", "protected void run() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "void berechneFlaeche() {\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t}", "@Override\r\n\tprotected void doPre() {\n\t\t\r\n\t}", "public void genCode(CodeFile code) {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\t \n\t\t\t super.onPreExecute();\n\t\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void onPreExecute() {\n\t}", "@Override\n\t\t\tprotected void onPreExecute()\n\t\t\t{\n\n\t\t\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\n\tprotected void onCreate() {\n\t}", "@Override\n protected void execute() {\n \n }", "@Override\n\t\t\tpublic void onPreExecute() {\n\t\t\t\t\n\t\t\t}", "public void mo3376r() {\n }", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}", "@Override\n protected void execute() {\n \n }", "public void mo9848a() {\n }", "public void mo5382o() {\n }", "static void feladat5() {\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "public static void listing5_14() {\n }", "@Override\r\n\t\tprotected void onPreExecute() {\n\t\t}", "@Override\n\tvoid output() {\n\t\t\n\t}", "protected void display() {\n\r\n\t}", "public void mo6081a() {\n }", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.main);\n \n // TODO Insert awesome here!\n \n }", "public void cocinar(){\n\n }", "@Override\n public void run() {\n \t\n }", "@Override\r\n\tprotected void doF3() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "@Override\n\tpublic void pre()\n\t{\n\n\t}", "public void run() {\n\n }", "@Override\n public void memoria() {\n \n }", "public void mo21793R() {\n }" ]
[ "0.639163", "0.6310382", "0.6247385", "0.6182636", "0.61497927", "0.60396904", "0.5997827", "0.59958774", "0.5945004", "0.5943475", "0.59336954", "0.5930187", "0.5922736", "0.59073436", "0.59073436", "0.58855915", "0.58808243", "0.58760136", "0.58695364", "0.58653903", "0.5855971", "0.5846747", "0.58388656", "0.58388656", "0.582859", "0.58272165", "0.579062", "0.5785688", "0.5768159", "0.5762611", "0.5762611", "0.5747828", "0.5745995", "0.5717856", "0.57121825", "0.5706465", "0.57059556", "0.57059556", "0.5702597", "0.56851655", "0.56775284", "0.5673662", "0.566988", "0.5666731", "0.56634533", "0.56634533", "0.5663319", "0.56566906", "0.56471545", "0.5646642", "0.5645398", "0.56385726", "0.5635309", "0.5624225", "0.5624056", "0.5623249", "0.561401", "0.56094456", "0.56055826", "0.56017095", "0.55993766", "0.5590724", "0.55900127", "0.55872166", "0.5584567", "0.55802953", "0.55786073", "0.55754054", "0.55743027", "0.5569072", "0.5566044", "0.55640906", "0.5560372", "0.55600345", "0.55596423", "0.5554739", "0.5551842", "0.55504906", "0.5549462", "0.5549389", "0.5548367", "0.5537822", "0.55358255", "0.55344963", "0.5533611", "0.5533371", "0.5533371", "0.55326223", "0.55316156", "0.5525004", "0.55240005", "0.5522085", "0.55196506", "0.55187243", "0.55117136", "0.5510168", "0.5505788", "0.55037475", "0.5499814", "0.54983354", "0.54956114" ]
0.0
-1
Write your code here.
public static int[] searchForRange(int[] array, int target) { int first = firstOccuranceOfNo(array,target); int last = lastOccuranceOfNo(array,target); return new int[]{first,last}; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tprotected void logic() {\n\n\t}", "public static void generateCode()\n {\n \n }", "public void logic(){\r\n\r\n\t}", "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "public void ganar() {\n // TODO implement here\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void working()\n {\n \n \n }", "@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 void mo38117a() {\n }", "void pramitiTechTutorials() {\n\t\n}", "public void mo4359a() {\n }", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public void furyo ()\t{\n }", "@Override\n\tprotected void interr() {\n\t}", "public void baocun() {\n\t\t\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "Programming(){\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public void perder() {\n // TODO implement here\n }", "public final void mo51373a() {\n }", "@Override\n public void feedingHerb() {\n\n }", "@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\tprotected void postRun() {\n\n\t}", "@Override\n\t\tprotected void onPreExecute() \n\t\t{\n\t\t}", "private void kk12() {\n\n\t}", "private static void oneUserExample()\t{\n\t}", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "@SuppressLint(\"InlinedApi\")\n @Override\n public void run() {\n }", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "CD withCode();", "public static void main(String[] args) {\n // write your code here - this is called comment and it always starts with double slash\n // and comlier will ignore this because of the // sign.\n // I am gonna say hello\n // JAVA IS CASE SENSITIVE LANGUAGE\n // System and system are very different things in java\n //Hello AND hello are different for java\n // System.out.println(\"Hello Batch 15!\");\n // System.out.println(\"I am still here.\");\n // System.out.println(\"I love Java.\");\n\n // Write a program to display your information.\n // When you run it, it should have this outcome.\n // I am your name here\n // I am from batch 15\n // I am from your city here\n // I love Java\n\n System.out.println(\"I am Sevim.\");\n System.out.println(\"I am from Batch 15.\");\n System.out.println(\"I'm from New Jersey.\");\n System.out.println(\"I love Java.\");\n\n\n\n }", "public void hello(){\n\t\t\r\n \t\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void run() {\n\t\t\t\t\n\t\t\t}", "private void strin() {\n\n\t}", "public void themesa()\n {\n \n \n \n \n }", "@Override\n\tpublic void function() {\n\t\t\n\t}", "public static void main(String args[]) throws Exception\n {\n \n \n \n }", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "@Override\n public void execute() {\n \n \n }", "private void getStatus() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void doDomething() {\r\n\t\t\tSystem.out.println(\"I am here\");\r\n\t\t\t\r\n\t\t}", "protected void mo6255a() {\n }", "@Override\n\tpublic void view() {\n\t\t\n\t}", "protected void run() {\r\n\t\t//\r\n\t}", "void berechneFlaeche() {\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\t\tprotected void onPreExecute() {\n\t\t}", "@Override\r\n\tprotected void doPre() {\n\t\t\r\n\t}", "public void genCode(CodeFile code) {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\t\tprotected void onPreExecute() {\n\t\t\t \n\t\t\t super.onPreExecute();\n\t\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void onPreExecute() {\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\n\t\t\tprotected void onPreExecute()\n\t\t\t{\n\n\t\t\t}", "@Override\n\tprotected void onCreate() {\n\t}", "public void mo3376r() {\n }", "@Override\n\t\t\tpublic void onPreExecute() {\n\t\t\t\t\n\t\t\t}", "@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}", "@Override\n protected void execute() {\n \n }", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "public void mo9848a() {\n }", "public void mo5382o() {\n }", "@Override\n protected void execute() {\n \n }", "public static void listing5_14() {\n }", "static void feladat5() {\n\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\r\n\t\tprotected void onPreExecute() {\n\t\t}", "@Override\n\tvoid output() {\n\t\t\n\t}", "public void mo6081a() {\n }", "protected void display() {\n\r\n\t}", "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.main);\n \n // TODO Insert awesome here!\n \n }", "public void cocinar(){\n\n }", "@Override\n public void run() {\n \t\n }", "@Override\r\n\tprotected void doF3() {\n\t\t\r\n\t}", "public void mo97908d() {\n }", "@Override\n\tpublic void pre()\n\t{\n\n\t}", "public void run() {\n\n }", "public void mo21793R() {\n }", "@Override\n public void memoria() {\n \n }" ]
[ "0.6391402", "0.6311098", "0.624755", "0.61831844", "0.61533976", "0.60399926", "0.59993136", "0.5996294", "0.5946502", "0.59442973", "0.59355855", "0.5931021", "0.59228575", "0.5908761", "0.5908761", "0.58897495", "0.5883447", "0.5880071", "0.5871656", "0.5866796", "0.585635", "0.5847956", "0.5838891", "0.5838891", "0.58289075", "0.58276755", "0.5791821", "0.57861865", "0.5768845", "0.5763018", "0.5763018", "0.57496774", "0.57458127", "0.5718249", "0.5716154", "0.5707578", "0.57073766", "0.57073766", "0.57016325", "0.56865615", "0.5680708", "0.5674869", "0.5669747", "0.5666708", "0.5663667", "0.5663667", "0.5663574", "0.5657701", "0.56480646", "0.5647303", "0.56458896", "0.56388116", "0.5637752", "0.5625008", "0.56248975", "0.5624845", "0.5615293", "0.56087506", "0.56066823", "0.56024444", "0.560207", "0.559122", "0.55903345", "0.55882084", "0.55847484", "0.55816245", "0.557936", "0.5575565", "0.55753136", "0.55701154", "0.55665034", "0.5564932", "0.5561873", "0.5561447", "0.55611265", "0.55574936", "0.5553097", "0.55521125", "0.5551053", "0.55508924", "0.5550512", "0.55397046", "0.55378693", "0.5536712", "0.5535839", "0.55350924", "0.5533634", "0.5533634", "0.55331177", "0.5525757", "0.5525652", "0.5524744", "0.5520566", "0.55205166", "0.5511705", "0.5511288", "0.5510113", "0.5505197", "0.5499423", "0.5499207", "0.5498893" ]
0.0
-1
TODO Autogenerated method stub
@Override public String getName() { return super.getName(); }
{ "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
TODO Autogenerated method stub
@Override public void setName(String name) { super.setName(name); }
{ "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
TODO Autogenerated method stub
@Override public String getUserName() { return super.getUserName(); }
{ "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
TODO Autogenerated method stub
@Override public void setUserName(String userName) { super.setUserName(userName); }
{ "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
TODO Autogenerated method stub
@Override public String getPassword() { return super.getPassword(); }
{ "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
TODO Autogenerated method stub
@Override public void setPassword(String password) { super.setPassword(password); }
{ "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
TODO Autogenerated method stub
@Override public String getProfession() { return super.getProfession(); }
{ "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
TODO Autogenerated method stub
@Override public void setProfession(String profession) { super.setProfession(profession); }
{ "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
Constructor for primary key
public BaseCustomRecordCheck (java.lang.Integer id) { this.setId(id); initialize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PrimaryKey createPrimaryKey();", "public DatasetParameterPK() {\n }", "public ParametroPorParametroPK() {\r\n\t}", "PrimaryKey getPrimarykey();", "Key getPrimaryKey();", "public TdOficioAfectacionPK() {\n }", "PrimaryKey getPrimaryKey();", "public DomainPK()\n {\n }", "public LeaguePrimaryKey() {\n }", "public TdNmResumenPK() {\n }", "public PrimaryKey getPrimaryKey();", "public EnvioPersonaPK() {\r\n }", "public static Key createPrimaryKey(Number idexped, Number idbulto)\n {\n return new Key(new Object[] {idexped, idbulto});\n }", "public void setPrimaryKey(String primaryKey);", "public void setPrimaryKey(String primaryKey);", "public void setPrimaryKey(String primaryKey);", "public PaymentRecordKey() {\n super();\n }", "private Integer newPrimaryKey( )\n {\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n daoUtil.executeQuery( );\n Integer nKey = null;\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 );\n }\n else\n {\n nKey = 1;\n }\n daoUtil.close( );\n\n return nKey.intValue( );\n }", "public MarketplaceRatingPK(){\n\t}", "public static PrimaryIndexBuilder pkIndex() {\n return new PrimaryKeyBuilderImpl();\n }", "public void setPrimaryKey(String primaryKey) {\r\n this.primaryKey = primaryKey;\r\n }", "@Override\r\n\tpublic String getPrimaryKey() {\n\t\treturn \"ID\";\r\n\t}", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(int primaryKey);", "public Key()\n {\n name = \"\";\n fields = new Vector<String>();\n options = new Vector<String>();\n isPrimary = false;\n isUnique = false;\n }", "public void setPrimaryKey(String primaryKey) {\n this.primaryKey = primaryKey;\n }", "public void setPrimaryKey(long primaryKey) {\n this.primaryKey = primaryKey;\n }", "public Constraint setKey( String theId) {\n\t\tmyKey = new IdDt(theId); \n\t\treturn this; \n\t}", "Object getPrimaryKey() throws IllegalStateException;", "public void setPrimaryKey(String primaryKey) {\r\n\t\tthis.primaryKey = primaryKey;\r\n\t}", "private int newPrimaryKey( )\n {\n int nKey;\n DAOUtil daoUtil = new DAOUtil( SQL_QUERY_NEW_PK );\n\n daoUtil.executeQuery( );\n\n if ( daoUtil.next( ) )\n {\n nKey = daoUtil.getInt( 1 ) + 1;\n }\n else\n {\n // If the table is empty\n nKey = 1;\n }\n\n daoUtil.free( );\n\n return nKey;\n }", "PK create(T newInstance);", "public ProductoPk createPk() {\r\n return new ProductoPk(idProducto);\r\n }", "private TbviajepasajeroPK getPrimaryKey(PathSegment pathSegment) {\r\n ugt.entidades.TbviajepasajeroPK key = new ugt.entidades.TbviajepasajeroPK();\r\n javax.ws.rs.core.MultivaluedMap<String, String> map = pathSegment.getMatrixParameters();\r\n java.util.List<String> idviaje = map.get(\"idviaje\");\r\n if (idviaje != null && !idviaje.isEmpty()) {\r\n key.setIdviaje(new java.lang.Integer(idviaje.get(0)));\r\n }\r\n java.util.List<String> cedulap = map.get(\"cedulap\");\r\n if (cedulap != null && !cedulap.isEmpty()) {\r\n key.setCedulap(java.lang.String.valueOf(cedulap.get(0)));\r\n }\r\n return key;\r\n }", "public String getPrimaryKey() {\n if (primaryKey == null) primaryKey = \"id\";\n return primaryKey;\n }", "public static Key createPrimaryKey(Number supplierId) {\n return new Key(new Object[]{supplierId});\n }", "public void setPrimaryKey(String primaryKey) {\n\t\tthis.primaryKey = primaryKey;\n\t}", "public PIEBankPlatinumKey() {\n\tsuper();\n}", "public ListaPorMenuPK() {\r\n\t}", "public DBRecordKey<gDBR> createKey() // <? extends DBRecord<?>>\n throws DBException\n {\n if (this.keyClass != null) {\n try {\n // this creates an empty key with no key fields\n Constructor<? extends DBRecordKey<gDBR>> kc = this.keyClass.getConstructor(new Class<?>[0]);\n return kc.newInstance(new Object[0]); // \"unchecked cast\"\n } catch (Throwable t) { // NoSuchMethodException, ...\n // Implementation error (should never occur)\n throw new DBException(\"Key Creation\", t);\n }\n }\n return null;\n }", "boolean isPrimaryKey();", "public void setIdkey(String pIdkey){\n this.idkey = pIdkey;\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_1()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\");\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = false;\n\t\tString columnName1 = \"\";\n\t\tString columnName2 = \"0123456789\";\n\t\tString columnName3 = \"An��t-1.0.txt\";\n\t\tString columnName4 = null;\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1, columnName2, columnName3, columnName4);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT PRIMARY KEY (, 0123456789, An��t-1.0.txt, )\", result.toString());\n\t\tassertEquals(false, result.isNameDeterministic());\n\t\tassertEquals(\"\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "@Test\n\tpublic void testDBPrimaryKeyConstraint_18()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\", new DBSchema(\"\"));\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"0123456789\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT PRIMARY KEY (0123456789)\", result.toString());\n\t\tassertEquals(true, result.isNameDeterministic());\n\t\tassertEquals(\"\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "public SQLRowIdentifier() {\n\t\tsuper(EnumSQLType.SqlRowIdentifier, LENGTH);\n\t\t\n\t\tthis.page = new SQLInteger();\n\t\tthis.slot = new SQLInteger();\n\t}", "public void setPrimaryKey(VLegalFORelPK primaryKey);", "@Override\n\tpublic Object getPrimaryKey() {\n\t\treturn null;\n\t}", "@Test\n\tpublic void testDBPrimaryKeyConstraint_23()\n\t\tthrows Exception {\n\t\tDBTable table = new LazyTable(new JDBCDBImporter(\"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\"), (DBSchema) null, (String) null, (String) null);\n\t\tString name = \"0123456789\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"\";\n\t\tString columnName2 = \"0123456789\";\n\t\tString columnName3 = \"An��t-1.0.txt\";\n\t\tString columnName4 = null;\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1, columnName2, columnName3, columnName4);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.NullPointerException\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.getCatalog(LazyTable.java:130)\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.getRealTable(LazyTable.java:256)\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.setPrimaryKey(LazyTable.java:97)\n\t\t// at org.databene.jdbacl.model.DBPrimaryKeyConstraint.<init>(DBPrimaryKeyConstraint.java:47)\n\t\tassertNotNull(result);\n\t}", "protected String createPrimaryKeyConstraint(TableModel table) {\r\n\t\tColumnModel[] pks = table.getPrimaryKeyColumns();\r\n\t\tString s = \"\";\r\n\t\tif (pks.length > 1) {\r\n\t\t\ts = \",\\n PRIMARY KEY(\";\r\n\t\t\tString a = \"\";\r\n\t\t\tfor (ColumnModel c : pks) {\r\n\t\t\t\tif (a.length() > 0) {\r\n\t\t\t\t\ta += \", \";\r\n\t\t\t\t}\r\n\t\t\t\ta += this.quote(c.getName());\r\n\t\t\t}\r\n\t\t\ts += a + \")\";\r\n\t\t}\r\n\t\treturn s;\r\n\t}", "public Object generalPK() {\n\t\treturn null;\r\n\t}", "public Key getKey() {\n\t\tString fieldvalue = getValue(\"sys_id\");\n\t\tassert fieldvalue != null;\n\t\treturn new Key(fieldvalue);\n\t}", "@Test\n\tpublic void testDBPrimaryKeyConstraint_29()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\");\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = false;\n\t\tString columnName1 = \"\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT PRIMARY KEY ()\", result.toString());\n\t\tassertEquals(false, result.isNameDeterministic());\n\t\tassertEquals(\"\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}", "@Override\n\tpublic Key getPk() {\n\t\treturn null;\n\t}", "@Override\n public void setPrimaryKey(long primaryKey) {\n _partido.setPrimaryKey(primaryKey);\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_2()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\", new DBSchema(\"\"));\n\t\tString name = \"0123456789\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT 0123456789 PRIMARY KEY ()\", result.toString());\n\t\tassertEquals(true, result.isNameDeterministic());\n\t\tassertEquals(\"0123456789\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "@Test\n\tpublic void testDBPrimaryKeyConstraint_24()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\", new DBSchema(\"\"));\n\t\tString name = \"0123456789\";\n\t\tboolean nameDeterministic = false;\n\t\tString columnName1 = \"\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT 0123456789 PRIMARY KEY ()\", result.toString());\n\t\tassertEquals(false, result.isNameDeterministic());\n\t\tassertEquals(\"0123456789\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "public void setPrimaryKey(int primaryKey) {\n\t\tthis.primaryKey = primaryKey;\n\t}", "public JobID() {\n super();\n }", "public PessoaVO(Long pk){\r\n\t\tsuper(pk);\r\n\t}", "public PrimaryKeySpec(String aSchema, String aTable, String aField, String aCName) {\n this();\n copyPkFromValues(aSchema, aTable, aField, aCName);\n }", "public ObjectKey getPrimaryKey()\n {\n return SimpleKey.keyFor(getNewsletterId());\n }", "public String getPrimaryKey() {\r\n return primaryKey;\r\n }", "@Nonnull\n protected KeyExpression buildPrimaryKey() {\n return Key.Expressions.concat(\n Key.Expressions.recordType(),\n Key.Expressions.list(constituents.stream()\n .map(c -> Key.Expressions.field(c.getName()).nest(c.getRecordType().getPrimaryKey()))\n .collect(Collectors.toList())));\n }", "public abstract String getPrimaryKey(String tableName);", "@Override\n public String getPrimaryKey(String tableName) {\n return super.getPrimaryKey(tableName);\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_11()\n\t\tthrows Exception {\n\t\tDBTable table = new LazyTable(new JDBCDBImporter(\"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\", \"0123456789\"), (DBSchema) null, (String) null, (String) null);\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\t// An unexpected exception was thrown in user code while executing this test:\n\t\t// java.lang.NullPointerException\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.getCatalog(LazyTable.java:130)\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.getRealTable(LazyTable.java:256)\n\t\t// at org.databene.jdbacl.model.jdbc.LazyTable.setPrimaryKey(LazyTable.java:97)\n\t\t// at org.databene.jdbacl.model.DBPrimaryKeyConstraint.<init>(DBPrimaryKeyConstraint.java:47)\n\t\tassertNotNull(result);\n\t}", "boolean getPrimaryKey();", "@Test\n\tpublic void testDBPrimaryKeyConstraint_19()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"0123456789\", new DBSchema(\"\", new DBCatalog(\"\")));\n\t\tString name = \"0123456789\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"0123456789\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT 0123456789 PRIMARY KEY (0123456789)\", result.toString());\n\t\tassertEquals(true, result.isNameDeterministic());\n\t\tassertEquals(\"0123456789\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_phieugiahan.setPrimaryKey(primaryKey);\n\t}", "public EntityID() {\n }", "public Key(int type)\n {\n this.type = type;\n this.columns = new ArrayList<Column>();\n }", "protected EquipmentTable() {\r\n\t\tsuper(NAME, PRIMARY_KEY_CONSTRAINT, null, null, GeneralHelper.getNonPrimaryColumns(COLUMNS));\r\n\t}", "public OmOrgSrefNamePK() {\r\n\t}", "@Override\n public String getKey()\n {\n return id; \n }", "public DbRecord()\n {\n m_UserName = \"\";\n // Generate user's unique identifier\n m_Key = new byte[16];\n java.util.UUID guid = java.util.UUID.randomUUID();\n long itemHigh = guid.getMostSignificantBits();\n long itemLow = guid.getLeastSignificantBits();\n for( int i = 7; i >= 0; i-- )\n {\n m_Key[i] = (byte)(itemHigh & 0xFF);\n itemHigh >>>= 8;\n m_Key[8+i] = (byte)(itemLow & 0xFF);\n itemLow >>>= 8;\n }\n m_Template = null;\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_8()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"\", new DBSchema(\"\"));\n\t\tString name = \"0123456789\";\n\t\tboolean nameDeterministic = true;\n\t\tString columnName1 = \"0123456789\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT 0123456789 PRIMARY KEY (0123456789)\", result.toString());\n\t\tassertEquals(true, result.isNameDeterministic());\n\t\tassertEquals(\"0123456789\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "public ContentKey() {}", "public void setPrimaryKey(String primaryKey) {\n getBasicChar().setPrimaryKey(primaryKey);\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_13()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"0123456789\", new DBSchema(\"\", new DBCatalog(\"\")));\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = false;\n\t\tString columnName1 = \"\";\n\t\tString columnName2 = \"0123456789\";\n\t\tString columnName3 = \"An��t-1.0.txt\";\n\t\tString columnName4 = null;\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1, columnName2, columnName3, columnName4);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT PRIMARY KEY (, 0123456789, An��t-1.0.txt, )\", result.toString());\n\t\tassertEquals(false, result.isNameDeterministic());\n\t\tassertEquals(\"\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "protected String createPKString(DbEntity entity) {\n List pk = entity.getPrimaryKey();\n\n if (pk == null || pk.size() == 0) {\n throw new CayenneRuntimeException(\n \"Entity '\" + entity.getName() + \"' has no PK defined.\");\n }\n\n StringBuffer buffer = new StringBuffer();\n buffer.append(\"CREATE PRIMARY KEY \").append(entity.getName()).append(\" (\");\n\n Iterator it = pk.iterator();\n\n // at this point we know that there is at least on PK column\n DbAttribute firstColumn = (DbAttribute) it.next();\n buffer.append(firstColumn.getName());\n\n while (it.hasNext()) {\n DbAttribute column = (DbAttribute) it.next();\n buffer.append(\", \").append(column.getName());\n }\n\n buffer.append(\")\");\n return buffer.toString();\n }", "@Test\n\tpublic void testDBPrimaryKeyConstraint_30()\n\t\tthrows Exception {\n\t\tDBTable table = new DefaultDBTable(\"0123456789\", new DBSchema(\"\", new DBCatalog(\"\")));\n\t\tString name = \"\";\n\t\tboolean nameDeterministic = false;\n\t\tString columnName1 = \"\";\n\n\t\tDBPrimaryKeyConstraint result = new DBPrimaryKeyConstraint(table, name, nameDeterministic, columnName1);\n\n\t\t// add additional test code here\n\t\tassertNotNull(result);\n\t\tassertEquals(\"CONSTRAINT PRIMARY KEY ()\", result.toString());\n\t\tassertEquals(false, result.isNameDeterministic());\n\t\tassertEquals(\"\", result.getName());\n\t\tassertEquals(\"unique constraint\", result.getObjectType());\n\t\tassertEquals(null, result.getDoc());\n\t}", "protected LocationPK() {\n super();\n }", "public String getPrimaryKey() throws CloneNotSupportedException {\r\n\t\tString key=\"\";\r\n\t\tfor (int i = 0; i < this.state.getSizeCol(); i++) {\r\n\t\t\tfor (int j = 0; j < this.state.getSizeRow(); j++) {\r\n\t\t\t\tkey+=this.state.getValue(new Position(i,j));\r\n\t\t\t}\r\n\t\t}\r\n\t\tkey+=\"?\"+this.state.getTractor().getPosition().toString();\r\n\t\treturn key;\r\n\t}", "public long getPrimaryKey() {\n return primaryKey;\n }" ]
[ "0.7875029", "0.7489606", "0.739803", "0.7096801", "0.70711553", "0.69975173", "0.69803166", "0.69716835", "0.6964837", "0.69633687", "0.69163185", "0.67959905", "0.6758902", "0.6702319", "0.6702319", "0.6702319", "0.6699209", "0.65859973", "0.6582905", "0.65318656", "0.6529337", "0.652376", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.65121114", "0.6507339", "0.646869", "0.64554304", "0.6440007", "0.6433323", "0.63936985", "0.6373589", "0.6351165", "0.630879", "0.6299928", "0.6296938", "0.6293471", "0.6288448", "0.6270761", "0.6257724", "0.62434083", "0.62414855", "0.62291366", "0.62212694", "0.62169766", "0.621116", "0.6202717", "0.61946255", "0.6194046", "0.61931163", "0.6191176", "0.61866844", "0.6173761", "0.61571634", "0.615285", "0.615285", "0.61485153", "0.6146449", "0.61374635", "0.6129914", "0.61275476", "0.61203897", "0.6111364", "0.61075836", "0.61074877", "0.61038184", "0.6102018", "0.6097855", "0.60977715", "0.60935456", "0.60913575", "0.6080798", "0.60706085", "0.60668147", "0.60645634", "0.6064229", "0.6061586", "0.6050735", "0.6044876", "0.60380024", "0.60372776", "0.60357565", "0.60341185", "0.60327", "0.60230243", "0.6022192", "0.6021738" ]
0.0
-1
Constructor for required fields
public BaseCustomRecordCheck ( java.lang.Integer id, java.lang.Byte checkStep, java.lang.Boolean rejected) { this.setId(id); this.setCheckStep(checkStep); this.setRejected(rejected); initialize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Field() {\r\n\t}", "public Field(){\n\n // this(\"\",\"\",\"\",\"\",\"\");\n }", "public CisFieldError()\n\t{\n\t\t// required for jaxb\n\t}", "public RequirementsRecord() {\n super(Requirements.REQUIREMENTS);\n }", "private void fillMandatoryFields() {\n\n }", "public AirField() {\n\n\t}", "private FieldInfo() {\r\n\t}", "public UserInputField() {\n }", "public DependencyDescriptor(Field field, boolean required) {\n\t\tthis(field, required, true);\n\t}", "public FormFieldsReport() {}", "public FieldInfo() {\r\n \t// No implementation required\r\n }", "public Field(String watermark,\n String showfieldname,\n String saveRequired,\n String jfunction,\n String onChange,\n String onKeyDown,\n String defaultValue,\n String type,\n String sqlValue,\n String field_name,\n String relation,\n String states,\n String relationField,\n String onClickVList,\n String jIdList,\n String name,\n String searchRequired,\n String id,\n String placeholder,\n String value,\n String fieldType,\n String onclicksummary,\n String newRecord,\n List<Field> dListArray,\n List<OptionModel> mOptionsArrayList,\n String onclickrightbutton,\n String webSaveRequired,\n String field_type) {\n\n this.watermark = watermark;\n this.showfieldname = showfieldname;\n this.saveRequired = saveRequired;\n this.jfunction = jfunction;\n this.onChange = onChange;\n this.onKeyDown = onKeyDown;\n this.defaultValue = defaultValue;\n this.type = type;\n this.sqlValue = sqlValue;\n this.field_name = field_name;\n this.relation = relation;\n this.states = states;\n this.relationField = relationField;\n this.onClickVList = onClickVList;\n this.jIdList = jIdList;\n this.name = name;\n this.searchRequired = searchRequired;\n this.id = id;\n this.placeholder = placeholder;\n this.value = value;\n this.fieldType = fieldType;\n this.onclicksummary = onclicksummary;\n this.newRecord = newRecord;\n this.dListArray = dListArray;\n this.optionsArrayList = mOptionsArrayList;\n this.onclickrightbutton = onclickrightbutton;\n this.webSaveRequired = webSaveRequired;\n this.field_type = field_type;\n\n// this( watermark, showfieldname, saveRequired, jfunction,\n// onChange, onKeyDown, defaultValue, type, sqlValue,\n// field_name, relation, states, relationField,\n// onClickVList, jIdList, name, \"\",\n// searchRequired, id, placeholder, value,\n// fieldType, onclicksummary, newRecord, \"\",\n// dListArray,mOptionsArrayList,onclickrightbutton);\n }", "public PickUpCasualtyRequest() {\n\n // empty\n }", "private void fillMandatoryFields_custom() {\n\n }", "public Customer(@NotBlank(message = \"Name can't be blank\") String name, @NotBlank(message = \"Surname can't be blank\") String surname, @NotBlank(message = \"Phone can't be blank\") String phone, @NotNull(message = \"Date of birth can't be blank\") LocalDate dateOfBirth, int numberOfOffices, @NotNull(message = \"level of privilege can't be blank\") int levelOfPrivilege) {\n super(name, surname, phone, dateOfBirth);\n this.numberOfOffices = numberOfOffices;\n this.levelOfPrivilege = levelOfPrivilege;\n }", "@Override\n\tprotected void initializeFields() {\n\n\t}", "public FieldScrapper() \r\n {\r\n }", "private Request() {\n initFields();\n }", "public CpFldValidDate() { super(10018, 1); }", "public UBERequest() {\r\n }", "public ValidationComponent ()\n\t\t{\n\t\t}", "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}", "private ValidationError() {\n }", "public QBXMLRequest() {\n }", "public StudentCourse() {\n this(\"student_course\", null);\n }", "public JsonField() {\n }", "private DatabaseValidationProperties() {}", "public MyPractice()\n\t{\n\t\t//Unless we specify values all data members\n\t\t//are a zero, false, or null\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "public InquiryGrupomuscularRequest()\r\n\t{\r\n\r\n\t}", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "public HLCPaymentDetails() { }", "public Identity()\n {\n super( Fields.ARGS );\n }", "public abstract List<String> requiredFields();", "public IntegerField() {\r this(3, 0, 0, 0);\r }", "public User() {\r\n this(\"\", \"\");\r\n }", "public Validation() {\n }", "public ModuleParams()\n\t{\n\t}", "public Person() {\n\t\tname \t= \"\";\n\t\taddress = \"\";\n\t\tcity \t= \"\";\n\t\tage \t= 0;\n\t}", "public FieldObject() {\n super(\"fields/\");\n setEnterable(true);\n }", "private void validateConstructor () throws ModelValidationException\n\t\t\t{\n\t\t\t\t// no constructor or no arg constructor\n\t\t\t\tModel model = getModel();\n\t\t\t\tboolean hasConstr = model.hasConstructor(keyClassName);\n\t\t\t\tObject noArgConstr = \n\t\t\t\t\tmodel.getConstructor(keyClassName, Model.NO_ARGS);\n\t\t\t\tint modifiers = model.getModifiers(noArgConstr);\n\n\t\t\t\tif (hasConstr && \n\t\t\t\t\t((noArgConstr == null) || !Modifier.isPublic(modifiers)))\n\t\t\t\t{\n\t\t\t\t\tthrow new ModelValidationException(keyClass,\n\t\t\t\t\t\tI18NHelper.getMessage(getMessages(), \n\t\t\t\t\t\t\"util.validation.key_class_constructor\", //NOI18N\n\t\t\t\t\t\tkeyClassName, getClassName()));\n\t\t\t\t}\n\t\t\t}", "public BoletoPaymentRequest() {\n\n }", "public InquiryLftrattribRequest()\r\n\t{\r\n\t}", "public StudentRecord() {}", "public Course() {\n this(\"course\", null);\n }", "public Constructor(){\n\t\t\n\t}", "public PaymentDetails () {\n\t}", "public Message(){\n this(\"Not Specified\",\"Not Specified\");\n }", "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 Pojo1110110(){\r\n\t}", "@Override\n public JsonNode required(String fieldName) {\n return _reportRequiredViolation(\"Node of type %s has no fields\",\n ClassUtil.nameOf(getClass()));\n }", "@Test\n public void constructorComplete() {\n final String NAME = \"name\";\n final String PICTURE = \"pic\";\n final Integer POSITION = 5;\n final Integer STATUS = 1;\n final CourseType courseType = new CourseType(NAME, PICTURE, POSITION, STATUS);\n\n assertNull(courseType.getId());\n assertSame(NAME, courseType.getName());\n assertSame(PICTURE, courseType.getPicture());\n assertSame(POSITION, courseType.getPosition());\n assertSame(STATUS, courseType.getStatus());\n assertNull(courseType.getCourses());\n assertNull(courseType.getAllowedDishes());\n }", "public PersonRecord() {}", "private Validador() {\r\n }", "private FundInfo() {\n initFields();\n }", "private Reqbaz() {\n super(\"reqbaz\", null);\n }", "private Validate(){\n //private empty constructor to prevent object initiation\n }", "public MessageRequest() {\n\t}", "public ModuleParams() {\n }", "private Params()\n {\n }", "protected PricingModel() {\n }", "private TextReader() {\n // There are no fields required to initialize\n }", "public Student()\n {\n lname = \"Tantiviramanond\";\n fname = \"Anchalee\";\n grade = 12;\n studentNumber = 2185;\n }", "public ObjectSchema() {\n }", "public Employee(){\r\n this(\"\", \"\", \"\", 0, \"\", 0.0);\r\n }", "@Test\n public void constructorSetsEmptyExtra()\n {\n //act\n ProductInfo actual = new ProductInfo();\n\n //assert\n assertEquals(\"\", Deencapsulation.getField(actual, \"extra\"));\n }", "public RTextField() {\r\n }", "@Test\n public void goalCustomConstructor_isCorrect() throws Exception {\n\n int goalId = 11;\n int userId = 1152;\n String name = \"Test Name\";\n int timePeriod = 1;\n int unit = 2;\n double amount = 1000.52;\n\n\n //Create goal\n Goal goal = new Goal(goalId, userId, name, timePeriod, unit, amount);\n\n // Verify Values\n assertEquals(goalId, goal.getGoalId());\n assertEquals(userId, goal.getUserId());\n assertEquals(name, goal.getGoalName());\n assertEquals(timePeriod, goal.getTimePeriod());\n assertEquals(unit, goal.getUnit());\n assertEquals(amount, goal.getAmount(),0);\n }", "public Potencial() {\r\n }", "public Request() {\n }", "private void setupRequiredValidation() {\n requiredMafExpressions.put(FIELD_HUGO_SYMBOL, Pattern.compile(\"\\\\S+\"));\r\n requiredFieldDescriptions.put(FIELD_HUGO_SYMBOL, \"may not be blank\");\r\n requiredMafExpressions.put(FIELD_ENTREZ_GENE_ID, Pattern.compile(\"\\\\d+\")); // number\r\n requiredFieldDescriptions.put(FIELD_ENTREZ_GENE_ID, \"must be an integer number\");\r\n requiredMafExpressions.put(FIELD_MATCHED_NORM_SAMPLE_BARCODE, QcLiveBarcodeAndUUIDValidatorImpl.ALIQUOT_BARCODE_PATTERN);\r\n requiredFieldDescriptions.put(FIELD_MATCHED_NORM_SAMPLE_BARCODE, \"must be a full aliquot barcode\");\r\n requiredMafExpressions.put(FIELD_TUMOR_SAMPLE_BARCODE, QcLiveBarcodeAndUUIDValidatorImpl.ALIQUOT_BARCODE_PATTERN);\r\n requiredFieldDescriptions.put(FIELD_TUMOR_SAMPLE_BARCODE, \"must be a full aliquot barcode\");\r\n requiredMafExpressions.put(FIELD_VALIDATION_STATUS, Pattern.compile(\"Valid|Wildtype|Unknown|\\\\S?\"));\r\n requiredFieldDescriptions.put(FIELD_VALIDATION_STATUS, \"must be Valid, Wildtype, Unknown, or blank\");\r\n requiredMafExpressions.put(FIELD_CHROMOSOME, Pattern.compile(\"\\\\S+\"));\r\n requiredFieldDescriptions.put(FIELD_CHROMOSOME, \"must be one of: X, Y, M, 1-22, or full name of unassigned fragment\");\r\n setupMafSpecificChecks();\r\n }", "private void init() {\n FieldWrapper id = new FieldWrapper();\n id.fieldDescription = new HashMap<String, Object>();\n id.fieldDescription.put(\"fullName\", \"Id\");\n id.fieldDescription.put(\"type\", \"Text\");\n\n FieldWrapper name = new FieldWrapper();\n name.fieldDescription = new HashMap<String, Object>();\n name.fieldDescription.put(\"fullName\", \"Name\");\n\n FieldWrapper createdBy = new FieldWrapper();\n createdBy.fieldDescription = new HashMap<String, Object>();\n createdBy.fieldDescription.put(\"fullName\", \"CreatedBy\");\n createdBy.fieldDescription.put(\"type\", \"Lookup\");\n\n FieldWrapper lastModifiedBy = new FieldWrapper();\n lastModifiedBy.fieldDescription = new HashMap<String, Object>();\n lastModifiedBy.fieldDescription.put(\"fullName\", \"LastModifiedBy\");\n lastModifiedBy.fieldDescription.put(\"type\", \"Lookup\");\n\n FieldWrapper owner = new FieldWrapper();\n owner.fieldDescription = new HashMap<String, Object>();\n owner.fieldDescription.put(\"fullName\", \"Owner\");\n owner.fieldDescription.put(\"type\", \"Lookup\");\n\n fieldDescribe = new HashMap<String, FieldWrapper>();\n\n fieldDescribe.put((String) id.fieldDescription.get(\"fullName\"), id);\n fieldDescribe.put((String) name.fieldDescription.get(\"fullName\"), name);\n fieldDescribe.put((String) createdBy.fieldDescription.get(\"fullName\"), createdBy);\n fieldDescribe.put((String) lastModifiedBy.fieldDescription.get(\"fullName\"), lastModifiedBy);\n fieldDescribe.put((String) owner.fieldDescription.get(\"fullName\"), owner);\n }", "public Car() {\r\n this(\"\", \"\", \"\", 0, Category.EMPTY, 0.00, \"\", 0, \"\", 0.00, \"\", DriveTrain.EMPTY,\r\n Aspiration.EMPTY, 0.00, 0.00, 0.00, 0.00, 0.0, 0.0, 0.0, 0.0, 0.0);\r\n }", "public Request(){\n\t\tthis(null, null, null);\n\t}", "@Test\n public void purchaseCustomConstructor_isCorrect() throws Exception {\n\n int purchaseId = 41;\n int userId = 99;\n int accountId = 6541;\n double price = 99.99;\n String date = \"02/19/2019\";\n String time = \"12:12\";\n String category = \"test category\";\n String location = \"test location\";\n String comment = \"test comment\";\n\n //Create empty purchase\n Purchase purchase = new Purchase(purchaseId, userId, accountId, price, date, time, category, location, comment);\n\n // Verify Values\n assertEquals(purchaseId, purchase.getPurchaseId());\n assertEquals(userId, purchase.getUserId());\n assertEquals(accountId, purchase.getAccountId());\n assertEquals(price, purchase.getPrice(), 0);\n assertEquals(date, purchase.getDate());\n assertEquals(time, purchase.getTime());\n assertEquals(category, purchase.getCategory());\n assertEquals(location, purchase.getLocation());\n assertEquals(comment, purchase.getComment());\n }", "public Question() {\r\n // This is the defult constructor b/c it takes no parameters\r\n firstPrompt = \"Please enter something:\";\r\n minScale = 1;\r\n maxScale = 10;\r\n secondPrompt = \"Additional comments:\";\r\n }", "public AirAndPollen() {\n\n\t}", "void initializeMandatorySectionFields();", "public ValidationMessage() {\n }", "public CalccustoRequest()\r\n\t{\r\n\t}", "public CreditCard ()\r\n\t{\r\n\t\t\r\n\t}", "public FundingDetails() {\n super();\n }", "public OnlyOneFieldException() {\n this.message = ONLY_ONE_FIELD_ALLOWED_MESSAGE;\n }", "public RequestMessage() {\r\n\t\tsuper();\r\n\t\tthis.criteria = new PersonSearchCriteria();\r\n\t\tthis.setSourceSystemID(SOURCE_SYSTEM_ID);\r\n\t\tthis.setSourceUserID(SOURCE_USER_ID);\r\n\t}", "public BaseParameters(){\r\n\t}", "public PSRelation()\n {\n }", "public FieldNotFoundException() {\n }", "public ErrorMessage() {\n\t}", "public AvroPerson() {}", "protected void initDataFields() {\r\n //this module doesn't require any data fields\r\n }", "public Validacion(String descripcion) {\n super(descripcion);\n }", "public Person()\n\t{\n\t\tthis.age = -1;\n\t\tthis.name = \"Unknown\";\n\t}", "public Person() {\n\t\t\n\t}", "public Student(String requiredStudentName)\n {\n studentName = requiredStudentName;\n }", "public Partage() {\n }", "public Parameters() {\n\t}", "public Student(){\n firstName = \"\";\n lastName = \"\";\n bootcamp = \"\";\n id = 42;\n grade = 1.0;\n }", "private void checkRequiredFields() {\n // check the fields which should be non-null\n if (configFileName == null || configFileName.trim().length() == 0) {\n throw new DAOConfigurationException(\n \"The 'configFileName' should not be null.\");\n }\n if (configNamespace == null || configNamespace.trim().length() == 0) {\n throw new DAOConfigurationException(\n \"The 'configNamespace' should not be null.\");\n }\n if (searchBundleManagerNamespace == null\n || searchBundleManagerNamespace.trim().length() == 0) {\n throw new DAOConfigurationException(\n \"The 'searchBundleManagerNamespace' should not be null.\");\n }\n if (entityManager == null) {\n throw new DAOConfigurationException(\n \"The 'entityManager' should not be null.\");\n }\n }", "public ValidaCpf() {\n }", "public TboFlightSearchRequest() {\n}", "public ProposalSpecialReviewForm() {\r\n }" ]
[ "0.71718425", "0.70593333", "0.68855685", "0.68011117", "0.6788171", "0.665877", "0.6643776", "0.65873665", "0.65260553", "0.6511593", "0.6507464", "0.6504741", "0.6499354", "0.6499127", "0.6489181", "0.6437741", "0.6416246", "0.6358725", "0.6338867", "0.6270355", "0.62663263", "0.62556946", "0.6238193", "0.62276506", "0.6220664", "0.6207473", "0.6206237", "0.6204278", "0.6196808", "0.61893594", "0.6187281", "0.6186825", "0.6161104", "0.6144782", "0.6139718", "0.6128913", "0.611601", "0.6112131", "0.6110289", "0.60815", "0.6078185", "0.60740966", "0.6069644", "0.6058821", "0.60550433", "0.6052316", "0.6043621", "0.6041452", "0.6036001", "0.6027981", "0.602094", "0.6007505", "0.6006354", "0.60061276", "0.6004664", "0.6003377", "0.5995326", "0.599425", "0.5993343", "0.59915775", "0.5983726", "0.5980581", "0.59750146", "0.5972299", "0.59663236", "0.5965931", "0.59658045", "0.59635407", "0.59588176", "0.59535575", "0.5952708", "0.5945984", "0.59436303", "0.5940319", "0.59401995", "0.5940003", "0.5935176", "0.5934589", "0.5927621", "0.5927444", "0.5920697", "0.59195745", "0.5919246", "0.5917688", "0.5914413", "0.59141284", "0.59101546", "0.5909702", "0.590349", "0.5902929", "0.59023005", "0.59008396", "0.5900033", "0.5896314", "0.5896261", "0.588807", "0.58799213", "0.58790374", "0.58776593", "0.58721083", "0.5871662" ]
0.0
-1
Return the unique identifier of this class
public java.lang.Integer getId () { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }", "public String getUniqueID();", "public String getUniqueID ( ) { return _uniqueID; }", "String getUniqueID();", "public String getClassid() {\n return classid;\n }", "String getUniqueId();", "public String getUniqueID() {\n return this.uniqueID;\n }", "int getClassID();", "public String getUniqueID()\r\n {\r\n return (m_uniqueID);\r\n }", "public int getClassId() {\r\n return classId;\r\n }", "public String getId() {\n\t\treturn Integer.toString(this.hashCode());\n\t}", "private UniqueIdentifier(){\n\t\t\n\t}", "public String uniqueId() {\n return this.uniqueId;\n }", "protected int getUniqueID() {\n\t\treturn uniqueID;\n\t}", "public static String getUniqueIdentifier() {\r\n UUID uuid = UUID.randomUUID();\r\n return uuid.toString();\r\n }", "public Integer getClassId() {\r\n return classId;\r\n }", "public Integer getClassId() {\n return classId;\n }", "public String getUniqueId() {\n return _uniqueId;\n }", "public int getUniqueId() {\r\n\t\treturn uniqueId;\r\n\t}", "public Integer getClassid() {\n return classid;\n }", "public int getClassId() {\n\t\treturn this.classId;\n\t}", "public static String uniqueId() {\r\n return UUID.randomUUID().toString();\r\n }", "public Integer getClassid() {\r\n return classid;\r\n }", "public int numericName()\n {\n return Factory.getID(this);\n }", "public Long getClassId() {\n return this.ClassId;\n }", "public static String uniqueId() {\n return UUID.randomUUID().toString();\n }", "String getInstanceID();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "String id();", "public String getInstanceIdentifier();", "UUID getUniqueId();", "public String getUniqueId() {\n\t\treturn m_serverName + \" - \" + m_userId + \" - \" + m_timestampMillisecs;\n\t}", "public static String id()\n {\n return _id;\n }", "UUID id();", "public String getUniqueId() {\n return getCurrentInstance().getViewRoot().createUniqueId();\n }", "public int getUniqueID() { \n return -1;\n }", "Identifier getId();", "@Override\n\tpublic UUID getUniqueId() {\n\t\treturn uid;\n\t}", "String uniqueId();", "long getInstanceID();", "public String getId(){\n\t\treturn uuid;\n\t}", "public String getIdTypeName() {\n\t\treturn this.getIdType(this.currentClass()).getSimpleName();\n\t}", "public String getIdentifier();", "public String getIdentifier();", "public long getClassNameId() {\n return classNameId;\n }", "public int getUID() {\n return 0;\n }", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();", "String getId();" ]
[ "0.8099061", "0.7793248", "0.7745005", "0.773952", "0.76971465", "0.76135826", "0.75959677", "0.75864595", "0.754388", "0.75299907", "0.75275266", "0.7500354", "0.7487855", "0.74852705", "0.74435693", "0.7425048", "0.74089086", "0.74007654", "0.73874485", "0.7354514", "0.73528504", "0.7340511", "0.7338164", "0.73118955", "0.73104423", "0.72716933", "0.72658145", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72586036", "0.72508395", "0.72500837", "0.72083086", "0.71785855", "0.71684575", "0.71609515", "0.7160401", "0.71590537", "0.7156529", "0.7150428", "0.7130385", "0.71290153", "0.7120187", "0.7057421", "0.7057421", "0.7045934", "0.70416576", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535", "0.70316535" ]
0.0
-1
Set the unique identifier of this class
public void setId (java.lang.Integer id) { this.id = id; this.hashCode = Integer.MIN_VALUE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setID() {\n\t\tthis.ID = UUID.randomUUID().toString();\n\t}", "public void setUniqueID(String uniqueID)\r\n {\r\n m_uniqueID = uniqueID;\r\n }", "@Override\n\tpublic void setUniqueId(int id) {}", "public void setUniqueId(final String uniqueId) {\n _uniqueId = uniqueId;\n }", "public void setId(String uid){\n this.uid = uid;\n }", "public String getUniqueID ( ) { return _uniqueID; }", "private UniqueIdentifier(){\n\t\t\n\t}", "void setIdNumber(String idNumber);", "@Override\n\t\tpublic void setId(final String identifier) {\n\t\t}", "public void setId(Uuid uuid) {\n\t\t this.id = uuid;;\n\t}", "public void setID() throws IOException;", "protected void setUniqueID(int newUniqueID) {\n\t\tuniqueID = newUniqueID;\n\t}", "public void generateID()\n {\n ID = this.hashCode();\n }", "public String getUniqueID();", "public void setInternalId()\n {\n // generate a unique id that will be used for the internal id:\n UUID uuid = UUID.randomUUID();\n this.internalId = uuid.toString();\n }", "@Override\n\tpublic void setId(Integer arg0) {\n\n\t}", "@Override\n\tpublic void setId(long value) {\n super.setId(value);\n }", "public void setId(String s) {\n\t\tid = s;\n\t}", "String getUniqueID();", "public void setId(String anId) {\n _theId = anId;\n }", "@Override\r\n\tpublic void setId(final K id) {\n\t\tsuper.setId(id);\r\n\t}", "public void setId(String i) {\n\t\tid = i;\n\t}", "private void setId() {\n id = count++;\n }", "public String getUniqueID() {\n return this.uniqueID;\n }", "void setId(String id);", "void setId(String id);", "void setId(String id);", "void setId(int val);", "public void setId(java.lang.String value) {\n this.id = value;\n }", "public void setId(java.lang.String value) {\n this.id = value;\n }", "public void setId(java.lang.String value) {\n this.id = value;\n }", "protected int getUniqueID() {\n\t\treturn uniqueID;\n\t}", "private Uniqueid() {\n\n }", "public void setID(long id);", "@Override\r\n\tpublic void setId(String id) {\n\t\t\r\n\t}", "public void setID(Number numID);", "public void setId(String id) {\n }", "public void setId (String id);", "@Override\n\tpublic UUID getUniqueId() {\n\t\treturn uid;\n\t}", "public void setId(String value) {\n setAttributeInternal(ID, value);\n }", "public void setId(String value) {\n setAttributeInternal(ID, value);\n }", "@Override\r\n\t\tpublic void setId(String id)\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}", "void setId(java.lang.String id);", "public void setId(String id)\r\n/* 19: */ {\r\n/* 20:17 */ this.id = id;\r\n/* 21: */ }", "public String getUniqueId() {\n return _uniqueId;\n }", "@PrePersist\n public void assignUUID() {\n this.uid = UUID.randomUUID();\n }", "public void setIdentifier(String value) {\n/* 214 */ setValue(\"identifier\", value);\n/* */ }", "public void setId (String id)\n {\n _id = id;\n }", "public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }", "@Override\n public void setId(final long id) {\n super.setId(id);\n }", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }", "public void setIdentifier( String pIdentifier )\n {\n identifier = pIdentifier;\n }", "public void setId (long id)\r\n {\r\n _id = id;\r\n }", "void setID(java.lang.String id);", "public void setId(String id);", "public void setId(String id);", "@Override\n public void setElementId(String arg0)\n {\n \n }", "private void setId(int value) {\n \n id_ = value;\n }", "@Override\n\tpublic void setId(String id)\n\t{\n\t\t\n\t}", "void setNilID();", "public void setId(java.lang.String param) {\n localIdTracker = true;\n\n this.localId = param;\n }", "public void setId(java.lang.String param) {\n localIdTracker = true;\n\n this.localId = param;\n }", "public void setID(String newID)\r\n {\r\n id=newID;\r\n }", "public int getUniqueId() {\r\n\t\treturn uniqueId;\r\n\t}", "public void setId(byte id){this.id = id;}", "public void setIdentifier(java.lang.String identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFIER$0);\n }\n target.setStringValue(identifier);\n }\n }", "private void setId(int value) {\n \n id_ = value;\n }", "public void setClassId(int value) {\r\n this.classId = value;\r\n }", "@Override\n\tpublic native final String createUniqueId() /*-{\n // In order to force uid's to be document-unique across multiple modules,\n // we hang a counter from the document.\n if (!this.gwt_uid) {\n this.gwt_uid = 1;\n }\n\n return \"gwt-uid-\" + this.gwt_uid++;\n\t}-*/;", "public void setId(Long pid) {\n this.pid = pid;\n }", "public void setId(String newValue);", "protected void setID(int i){\r\n\t\tthis.ID = i;\r\n\t}", "public native void setIdentifier (String identifier);", "public void setId(long id) {\n id_ = id;\n }", "private void setId(Integer id) { this.id = id; }", "public void setID(String idIn) {this.id = idIn;}", "private void AutoID() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "public void setID(String value) {\r\n \t\t_id = value;\r\n \r\n \t}", "void setId(final String id);", "@Override\r\n\tpublic void setID(String id) {\n\t\tsuper.id=id;\r\n\t}", "public void setId(byte value) {\r\n this.id = value;\r\n }", "public Object setID(int iD)\r\n/* */ {\r\n\t\t\t\tlogger.info(count++ + \" About to setId : \" + \"Agent\");\r\n/* 51 */ \tthis.myID = iD;\r\n/* 52 */ \treturn this;\r\n/* */ }", "@Override\n\t/**\n\t * sets the class ID for the created class, the class ID is the\n\t * primary method for identifying a class's name and all of its methods,\n\t * variables, and comments \n\t * \n\t * @param s \n\t */\n\tpublic void setClassID(int s) {\n\t\tID = s;\n\t}", "public void setId(String id) {\n this.id = id;\n }", "public void setID(java.lang.String ID) { throw new RuntimeException(\"Stub!\"); }", "public void setId(int i) { id = i; }", "public void setUID(int value) {\n this.uid = value;\n }", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);", "public void setId(long id);", "public abstract void setId(int id);", "String getUniqueId();", "void setId(ID id);", "public void setId(long id) { this.id = id; }", "public void setId(long id) { this.id = id; }", "@JsProperty(name = \"id\")\n public native void setId(String value);", "public String uniqueId() {\n return this.uniqueId;\n }", "void setId(Long id);" ]
[ "0.727901", "0.7187092", "0.7056752", "0.7055901", "0.69662476", "0.6878993", "0.6778249", "0.6775029", "0.6756876", "0.6735589", "0.66791254", "0.665256", "0.6610373", "0.66042626", "0.66011745", "0.6573998", "0.6569998", "0.6534458", "0.65259856", "0.6520803", "0.6503824", "0.64991796", "0.6480795", "0.6472447", "0.64664096", "0.64664096", "0.64664096", "0.6459152", "0.6442294", "0.6442294", "0.6442294", "0.6439911", "0.64354783", "0.64190775", "0.6414925", "0.63997", "0.63741696", "0.6373865", "0.63614887", "0.6360245", "0.6360245", "0.63495964", "0.63489515", "0.6347424", "0.63445055", "0.63242024", "0.63207364", "0.63200355", "0.6311786", "0.6305018", "0.6304545", "0.6304545", "0.6304545", "0.63011354", "0.62927896", "0.6291861", "0.6287675", "0.6287675", "0.62856215", "0.62843287", "0.6283938", "0.62819374", "0.62799096", "0.62799096", "0.62770915", "0.62769586", "0.6275572", "0.6272973", "0.6272245", "0.627173", "0.6251156", "0.62492055", "0.6248792", "0.624759", "0.62446266", "0.6243585", "0.6241233", "0.62383693", "0.623401", "0.6232556", "0.62303907", "0.6228884", "0.62252724", "0.62250644", "0.62248045", "0.6219339", "0.6216731", "0.6203247", "0.61949384", "0.61935747", "0.61935747", "0.61935747", "0.61935747", "0.61923474", "0.61820996", "0.61812466", "0.6171994", "0.6171994", "0.6171507", "0.61596787", "0.6159183" ]
0.0
-1
Return the value associated with the column: check_step
public java.lang.Byte getCheckStep () { return checkStep; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getStep();", "int getStep();", "int getStep();", "public Integer getStep() {\n return step;\n }", "public void setCheckStep (java.lang.Byte checkStep) {\n\t\tthis.checkStep = checkStep;\n\t}", "protected int getStep() {\n\t\treturn step;\n\t}", "public int getStep()\n\t{\n\t\treturn step;\n\t}", "@Override\r\n\tpublic Object getValueAt(int row, int col) {\n\t\tCheck tempCheck = checks.get(row);\r\n\t\t\r\n\t\tswitch(col) {\r\n\t\t\tcase CHECK_NUMBER_COL:\r\n\t\t\t\treturn tempCheck.getCheckNum();\r\n\t\t\tcase DATE_OF_CHECK_COL:\r\n\t\t\t\treturn tempCheck.getDateOfCheck();\r\n\t\t\tcase ROUTING_NUMBER_COL:\r\n\t\t\t\treturn tempCheck.getRoutingNum();\r\n\t\t\tcase HEALTH_INSURANCE_PROVIDER_COL:\r\n\t\t\t\treturn tempCheck.getHealthInsProv();\r\n\t\t\tcase CHECK_TOTAL_COL:\r\n\t\t\t\treturn tempCheck.getCheckTotal();\r\n\t\t\tcase REMAINDER_COL:\r\n\t\t\t\treturn tempCheck.getCheckRemain();\r\n\t\t\tcase OBJECT_COL:\r\n\t\t\t\treturn tempCheck;\r\n\t\t\tdefault:\r\n\t\t\t\treturn tempCheck.getCheckNum();\r\n\t\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "public int getStep() {\r\n\t\t\treturn this.enabled;\r\n\t\t}", "public int getStep() {\n return step;\n }", "public int getStep () {\n\t\treturn step_;\n\t}", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n\t\treturn step;\n\t}", "public CheckInOut getCheck() {\n\t\treturn check;\n\t}", "public double getStep() {\n\t\treturn step;\n\t}", "public TimeStep getTimeStep() {\n\t\t// Only here to ensure it is being used correctly.\n\t\t// cbit.util.Assertion.assertNotNull(fieldTimeStep);\n\t\treturn fieldTimeStep;\n\t}", "Double getStep();", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStepId() {\n return stepId;\n }", "public java.lang.String getStepStatus() {\n return stepStatus;\n }", "String getValue(String column, int row);", "public java.lang.String getCheckNumber() {\n return checkNumber;\n }", "public Element getStepExpression() {\n\t\treturn stepExpression;\n\t}", "public int getStepNumber() {\n return stepNumber;\n }", "public TCheckSumValue getCheckSumValue() {\n\n\t\treturn checkSumValue;\n\t}", "public int fetchNextStateRowOrColumn(int noOfSteps , int direction, int currVal)\n\t\t{\n\t\t\tint maxVal = (direction == DOWN) ? utilities.length-1 : utilities[0].length-1;\n\t\t\tif( direction == UP || direction == LEFT)\n\t\t\t{\n\t\t\t\tif( currVal - noOfSteps <= 0)\n\t\t\t\t\treturn 0;\n\t\t\t\telse\n\t\t\t\t\treturn (currVal - noOfSteps);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif( currVal + noOfSteps >= maxVal)\n\t\t\t\t\treturn maxVal;\n\t\t\t\telse\n\t\t\t\t\treturn (currVal + noOfSteps);\n\t\t\t}\n\t\t}", "private static Integer getOutcome(List<String> row) {\n\t return Integer.parseInt(row.get(8));\n\t}", "@Override\r\n\tpublic double getStep(double step){\n\t\treturn 0;\r\n\t}", "public BigDecimal getCheckDay() {\n return checkDay;\n }", "public Long getChecktime() {\n return checktime;\n }", "public int getProblemValue(int row, int column) {\n\t\treturn problem[row][column];\n\t}", "public int[][] getChecks(){return checks;}", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getValue() {\n return this.column;\n }", "public String getCheckStatus() {\r\n return checkStatus;\r\n }", "public long getStepNumber() {\n return schedule.getSteps();\n }", "public int getValue(int row, int column);", "public String getStepName()\r\n\t{\r\n\t\treturn stepName;\r\n\t}", "public static int getCheckDestination(Exp check) {\n if (check.is(JSExp.EXPR_RESULT)) check = check.getFirstChild();\n assert isInstrumentation(check) : \"Attempting to get the destination state of a non-check node.\";\n\n // The last argument of checkState is the destination state.\n String arg = check.getChild(ForkCheck.CHECK_ARGUMENT_COUNT).toCode();\n\n int sid = -2;\n try {\n sid = Integer.parseInt(arg);\n } catch (NumberFormatException ex) {\n Dbg.warn(\"Invalid destination state in call to \" + ForkCheck.CHECK_FUNCTION);\n }\n\n return sid;\n }", "public Integer getChecked() {\n return checked;\n }", "public Object getCol9check() {\n return col9check;\n }", "public String getCheckFlag() {\r\n return checkFlag;\r\n }", "boolean hasStep();", "boolean hasStep();", "boolean hasStep();", "private int getGoalValueForBlock(int row, int column) {\n \tif (row == dimension() - 1 && column == dimension() - 1) {\n \t\treturn 0;\n \t\t\n \t} else {\n \t\treturn (row * dimension()) + column + 1;\n \t}\n }", "public String getCheckFlag() {\n return checkFlag;\n }", "public static int getCheckSource(Exp check) {\n if (check.is(JSExp.EXPR_RESULT)) check = check.getFirstChild();\n assert isInstrumentation(check) : \"Attempting to get the source state of a non-check node.\";\n \n // The second-to-last argument of checkState is the source state.\n String arg = check.getChild(ForkCheck.CHECK_ARGUMENT_COUNT - 1).toCode();\n\n int sid = -2;\n try {\n sid = Integer.parseInt(arg);\n } catch (NumberFormatException ex) {\n Dbg.warn(\"Invalid source state in call to \" + ForkCheck.CHECK_FUNCTION);\n }\n\n return sid;\n }", "public Object getCol2check() {\n return col2check;\n }", "public Integer checkUp()\r\n\t{\r\n\t\treturn this.Y - 1;\r\n\t}", "public double getMutationStep() {\n // The variable mutationStep is obtained from the parameter file\n if(!mutStepFromSD){\n return mutationStep;\n }\n else{\n return mutationStep * experimentalData.getDataset(DatasetType.TRAINING).getOutputSD();\n }\n }", "public int fetchNextStateRowOrColumn(int noOfSteps , int direction, int currVal)\n\t\t{\n\t\t\tint maxVal = (direction == DOWN) ? rewards.length-1 : rewards[0].length-1;\n\t\t\tif( direction == UP || direction == LEFT)\n\t\t\t{\n\t\t\t\tif( currVal - noOfSteps < 0)\n\t\t\t\t\treturn 0;\n\t\t\t\telse\n\t\t\t\t\treturn (currVal - noOfSteps);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tif( currVal + noOfSteps > maxVal)\n\t\t\t\t\treturn maxVal;\n\t\t\t\telse\n\t\t\t\t\treturn (currVal + noOfSteps);\n\t\t\t}\n\t\t}", "public void getRequiredColumn() {\n\t\trequiredColumn = sheet.getRow(0).getCell(sheet.getRow(0).getLastCellNum()-1).getColumnIndex();\n\t}", "public int indexOfStep(Step step) {\r\n\t\treturn getSteps().indexOf( step );\r\n\t}", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public String value() {\n return this.column;\n }", "public T getMinStep() {\n return minStep;\n }", "public java.lang.String getStepName() {\n return stepName;\n }", "public HistoryStep getStep(String stepId) {\r\n HistoryStep[] steps = currentProcessInstance.getHistorySteps();\r\n \r\n for (int i = 0; i < steps.length; i++) {\r\n if (steps[i].getId().equals(stepId))\r\n return steps[i];\r\n }\r\n \r\n return null;\r\n }", "public int getValue(int row, int col, int dep) {\n\t\treturn board[row][col][dep];\n\t}", "public int Check(){\n return 6;\n }", "public String getCheckMethod() {\r\n return checkMethod;\r\n }", "public String getCheckStatus() {\n\t\treturn checkStatus;\n\t}", "public String getCheckStatus() {\n\t\treturn checkStatus;\n\t}", "ArrayList<Integer> getStepCounterTileX();", "public Object getCheckedValue();", "@Override\n\t\tpublic int getValueColumn() {\n\t\t\treturn valueColumn;\n\t\t}", "private int calStepScore(SlidingBoardManager slidingBoardManager) {\n int step = slidingBoardManager.getSlidingHistory().getSize() - 1;\n\n return Math.round(100 - step / 5);\n }", "public synchronized String Move(Coordinates step) {\n // check if player won't go over the grid\n if (step.getKey() + coord.getKey() < 0 || step.getKey() + coord.getKey() > sizeSide) {\n System.out.println(\"You can't go out of x bounds, retry\");\n return null;\n }\n else if (step.getValue() + coord.getValue() < 0 || step.getValue() + coord.getValue() > sizeSide) {\n System.out.println(\"You can't go out of y bounds, retry\");\n return null;\n }\n else {\n coord = new Coordinates(coord.getKey() + step.getKey(), coord.getValue() + step.getValue());\n return \"ok\";\n }\n }", "public static int getCurrentStepNumber() {\n return threadStepNumber.get();\n }", "protected String getCurrentStatusColumn() {\n\t\treturn \"CurrentPhase\";\n\t}", "public ProofStep [ ] getSteps ( ) ;", "public int getSteps() {\n\t\treturn this.steps;\n\t}", "float getStepPhaseShiftIncrement();" ]
[ "0.59283584", "0.59283584", "0.59283584", "0.57604283", "0.5683497", "0.56470937", "0.5645809", "0.5625003", "0.5619169", "0.55981684", "0.5598005", "0.5555142", "0.5555142", "0.5555142", "0.5552582", "0.5504565", "0.5496626", "0.54724133", "0.54682034", "0.5456283", "0.5456283", "0.5456283", "0.53359103", "0.5289345", "0.52860475", "0.52666116", "0.52129185", "0.51763487", "0.51674443", "0.5141699", "0.5135323", "0.5113149", "0.51081556", "0.51026136", "0.5096255", "0.50643295", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.5064104", "0.50593936", "0.50586504", "0.5003038", "0.49939138", "0.49801397", "0.49761394", "0.49647525", "0.49641266", "0.49577424", "0.49577424", "0.49577424", "0.49558643", "0.49395698", "0.4938159", "0.49330115", "0.49318302", "0.49263784", "0.49252295", "0.4921696", "0.49034044", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48962694", "0.48862848", "0.4878812", "0.48763305", "0.48717815", "0.48643625", "0.48640066", "0.48558503", "0.48558503", "0.4840529", "0.4825618", "0.48212758", "0.48154974", "0.4798057", "0.47910652", "0.47903842", "0.47746032", "0.47428963", "0.473715" ]
0.6992048
0
Set the value related to the column: check_step
public void setCheckStep (java.lang.Byte checkStep) { this.checkStep = checkStep; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.Byte getCheckStep () {\n\t\treturn checkStep;\n\t}", "public void setStep(int step)\n {\n this.step = step;\n this.stepSpecified = true;\n }", "public void setStep(Integer step) {\n this.step = step;\n }", "public void setStep(double step) {\n\t\tthis.step = step;\n\t}", "public void setTimeStep(TimeStep timeStep) throws java.beans.PropertyVetoException {\n\t\t// Only here to ensure it is being used correctly.\n\t\t// cbit.util.Assertion.assertNotNull(timeStep);\n\t\tif (!Matchable.areEqual(timeStep, fieldTimeStep)) {\n\t\t\tTimeStep oldValue = fieldTimeStep;\n\t\t\tfireVetoableChange(PROPERTY_TIME_STEP, oldValue, timeStep);\n\t\t\tfieldTimeStep = timeStep;\n\t\t\tfirePropertyChange(PROPERTY_TIME_STEP, oldValue, timeStep);\n\t\t}\n\t}", "public void setStep(int step) {\n this.step = step;\n }", "public void setStep(int step) {\n\t\tthis.step = step;\n\t}", "public void setXValue( int iTimeStep ){\r\n\t\tsuper.setXValue( new Integer(iTimeStep) );\r\n\t}", "public void setStep(int step) {\r\n\t\t\tthis.enabled = step;\r\n\t\t\trepaint();\r\n\t\t}", "public void setCheck(CheckInOut check) {\n\t\tthis.check = check;\n\t}", "public static void changeStepValue(int v){\n\t\tif(px<0)\n\t\t\tpx = -v;\n\t\telse if(px>=0)\n\t\t\tpx = v;\n\t\tif(py<0)\n\t\t\tpy = -v;\n\t\telse if (py>=0)\n\t\t\tpy = v;\n\t\t\t\n\t}", "public Builder setStep(int value) {\n bitField0_ |= 0x00000002;\n step_ = value;\n onChanged();\n return this;\n }", "public Builder setStep(int value) {\n bitField0_ |= 0x00000002;\n step_ = value;\n onChanged();\n return this;\n }", "void setStepCounterTileXY();", "public static int updateStep(int b_ref, int b_step) {\n\t\t\r\n\t\tSqlSession session = factory.openSession(true);\r\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\r\n\t\tmap.put(\"b_ref\", b_ref);\r\n\t\tmap.put(\"b_step\", b_step);\r\n\t\tint re = session.update(\"board.updateStep\", map);\r\n\t\tsession.close();\r\n\t\treturn re;\r\n\t}", "public Builder setStep(int value) {\n bitField0_ |= 0x00000004;\n step_ = value;\n onChanged();\n return this;\n }", "public void setCheckDay(BigDecimal checkDay) {\n this.checkDay = checkDay;\n }", "public Integer getStep() {\n return step;\n }", "public void setStepCount(long stepCount){\n steps = stepCount;\n }", "public void chg() {\n currentChangeStep = 3;\n }", "public int getStep() {\r\n\t\t\treturn this.enabled;\r\n\t\t}", "public int getStep() {\n return step;\n }", "protected int getStep() {\n\t\treturn step;\n\t}", "int getStep();", "int getStep();", "int getStep();", "public void setChecked(Integer checked) {\n this.checked = checked;\n }", "@Override\r\n\tpublic void stepHasBeenTaken(int steps) {\n\t\tTextView currLoc = (TextView) findViewById(R.id.stepsCount);\r\n\t\tcurrLoc.setText(\"\"+steps);\r\n\t}", "public abstract void setCheck(Boolean check);", "public abstract void setProgress (int currentStep, int totalSteps);", "public double getStep() {\n\t\treturn step;\n\t}", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public void setChecktime(Long checktime) {\n this.checktime = checktime;\n }", "private static void processValidation(boolean passed, String property, CHECK check) {\n if (!passed) {\n LOG.error(\"'{}' failed in {} validation\", property, check);\n HealthCheck.setFailed();\n } else {\n LOG.info(\"'{}' passed\", property);\n }\n }", "public int getStep()\n\t{\n\t\treturn step;\n\t}", "public int getStep() {\n\t\treturn step;\n\t}", "public int getStep () {\n\t\treturn step_;\n\t}", "@Override\r\n\tpublic double getStep(double step){\n\t\treturn 0;\r\n\t}", "public void setSteps(entity.LoadStep[] value);", "public void step()\n {\n status = stepInternal();\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public void setProcessstep(ItemI v) throws Exception{\n\t\t_Processstep =null;\n\t\ttry{\n\t\t\tif (v instanceof XFTItem)\n\t\t\t{\n\t\t\t\tgetItem().setChild(SCHEMA_ELEMENT_NAME + \"/processStep\",v,true);\n\t\t\t}else{\n\t\t\t\tgetItem().setChild(SCHEMA_ELEMENT_NAME + \"/processStep\",v.getItem(),true);\n\t\t\t}\n\t\t} catch (Exception e1) {logger.error(e1);throw e1;}\n\t}", "public void stepSeven(int step)\n\t{\n\t\tassignCounter=n;\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<n;j++)\n\t\t\t{\n\t\t\t\tif(matrix[i][j]==1)\n\t\t\t\t{\n\t\t\t\t\trowLabelFinalValues[i]=j;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void addStep(BooleanSupplier step) {\n _steps.add(step);\n }", "void setManualCheck (boolean value);", "public void setSteps(int steps) {\n\t\tthis.steps = steps;\n\t}", "public void setJob_StatusCheck(StatusCheckDataObject job_StatusCheck) {\r\n this.job_StatusCheck = job_StatusCheck;\r\n }", "public void setStepCount(long stepCount){\r\n\t\tsteps = stepCount;\r\n\t}", "Double getStep();", "public boolean setPropertyVolumeSteps(long aValue);", "public void setTurtleStep(int step)\n\t{\n\t\tturt.setStepLength(step);\n\t\trepaint();\n\t}", "public int step() {\n // PUT YOUR CODE HERE\n }", "public void updateTestStep(String teststep,ExtentReports r,ExtentTest l,WebDriver driver)\n\t{\n\t\tcurrentTestStep=teststep;\n\n\t}", "public void setValueAt(Object value, int row, int col)\r\n throws IllegalStateException {\r\n\r\n if(columnsAreNum != null && columnsAreNum.length>0){\r\n\t for(int i =0; i< columnsAreNum.length; i++){\r\n\t if(col == columnsAreNum[i]){\r\n\t value = new Double(tranferStringToNum(value.toString()));\r\n\t break;\r\n\t }\r\n\t }\r\n\t}\r\n //Set value at cell\r\n ( (Vector) data.elementAt(row)).setElementAt(value, col);\r\n //Set status modify to this row.\r\n if (!(Integer.parseInt( ( (Vector) data.elementAt(row)).elementAt\r\n (numberOfcolumns).toString()) == IS_INSERTED)) {\r\n ((Vector) data.elementAt(row)).setElementAt(new Integer(IS_MODIFIED),\r\n numberOfcolumns);\r\n this.updatedStatus = true;\r\n }\r\n }", "public int getStepNumber() {\n return stepNumber;\n }", "public void setCheckedValue(Object pValue);", "void Step(String step);", "public void setCheckNumber(java.lang.String checkNumber) {\n this.checkNumber = checkNumber;\n }", "public int getStepId() {\n return stepId;\n }", "public void setStepId(int stepId) {\n this.stepId = stepId;\n }", "@Test\n public void testSetOnFail_1()\n throws Exception {\n LogicStep fixture = new LogicStep();\n fixture.setScript(\"\");\n fixture.setName(\"\");\n fixture.setOnFail(\"\");\n fixture.setScriptGroupName(\"\");\n fixture.stepIndex = 1;\n String onFail = \"\";\n\n fixture.setOnFail(onFail);\n\n }", "StepTracker(int minimum) {\n STEPS = minimum;\n day=0;\n activeDay=0;\n totalSteps=0;\n }", "public void setM_Splitting_ID (int M_Splitting_ID)\n{\nset_ValueNoCheck (\"M_Splitting_ID\", new Integer(M_Splitting_ID));\n}", "private void setTileInField(int row, int column, int value, char section){\n if(!checkInput(row, column, value)) return;\n\n if(value > 0){\n gameField[row][column] = new Assignment(value, Section.getSection(section));\n } else {\n gameField[row][column] = new Guess(Section.getSection(section));\n }\n }", "@JsonProperty(\"checked\")\n public void setChecked(Date checked) {\n this.checked = checked;\n }", "CartogramWizardGoToStepAction (CartogramWizard wizard, int step)\n\t{\n\t\tmWizard = wizard;\n\t\tmStep = step;\n\t}", "public boolean stepIs(Step step) {\n return this.actualStep == step;\n }", "public void setValueAt(Object value,int row, int col)\n {\n\tif (col==1) {\n\t smartPrescaleTable.modRowSetScale(row, (Long)value);\n\t //fireTableStructureChanged();\n\t fireTableDataChanged();\n\t return;\n\t}\n\t\n\tString strCondition = SmartPrescaleTable.regularise((String)value);\n\tif(strCondition.equals(\"\")) return;\n\n\tStringTokenizer pathTokens = new StringTokenizer(strCondition,\"/ \");\n\n\twhile ( pathTokens.hasMoreTokens()) {\n\t String strPath = pathTokens.nextToken().trim();\n\t if (strPath.length()<5) continue;\n\t int g = -10000;\n\t try { \n\t\tg = Integer.parseInt(strPath); \n\t }catch (NumberFormatException e) { \n\t\tg = -10000;\n\t }\n\t if ( (g<0)\n\t\t && ! strPath.equals(\"FALSE\")\n && ! (strPath.indexOf(\"*\") >= 0) // quick hack to allow wildcards\n\t\t && ! smartPrescaleTable.checkL1TCondExists(strPath)\n\t\t && ! smartPrescaleTable.checkHLTPathExists(strPath) ) {\n\t\treturn;\n\t }\n\t}\n\n\t// replace conditions containing only FALSE by empty conditions\n\tstrCondition = SmartPrescaleTable.simplify(strCondition);\n\n\tif (!strCondition.equals(\"\")) {\n\t smartPrescaleTable.modRow(row,strCondition);\n\t //fireTableStructureChanged();\n\t fireTableDataChanged();\n\t}\n }", "public void setSteps(List<Step> steps) {\n mSteps = steps;\n }", "public boolean setPropertyVolumeMilliDbPerStep(long aValue);", "public abstract void setProgress (String description, int currentStep, int totalSteps);", "@Override\n public void setQuick(int row, int column, double value) {\n base.setQuick(rowPivot[row], columnPivot[column], value);\n }", "public void setCol2check(Object col2check) {\n this.col2check = col2check;\n }", "public void setStepNumber(int stepNumber) {\n this.stepNumber = stepNumber;\n }", "public boolean setPropertyVolumeSteps(long aValue)\n {\n return setPropertyUint(iPropertyVolumeSteps, aValue);\n }", "void setExpectedCheckDigit(final String expectedCheckDigit) {\n this.vars.put(\"expectedCheckDigit\", expectedCheckDigit);\n }", "public long getStepCount(){\n return steps;\n }", "public void markRunStart(){\r\n runStart = stepCount;\r\n }", "public void trackStart (int cell, int steps) {\r\n\t\toriginalCell = cell; \r\n\t\tstartTargets(cell, steps);\r\n\t}", "public abstract void setMovementPerTick(float step);", "public synchronized void setCellValue(byte in_cellValue)\n {\n cellValue = (in_cellValue > DEAD) ? ALIVE : DEAD;\n }", "public void setStepStart(FieldODEStateAndDerivative<T> stepStart2) {\r\n this.stepStart = stepStart2;\r\n }", "public void step(long t) {\n\n\t}", "void setPointChange(Integer setPoint, Integer expectedValue);", "public void setLastSyncStepsTime(long j) {\n ((SharedPreferences) this.fitClientStore.get()).edit().putLong(GoogleFitConstants.SharedPreferences.LAST_SYNC_TIME_STEPS, j).apply();\n }", "boolean hasStep();", "boolean hasStep();", "boolean hasStep();", "public void updatePercentComplete(String step) {\n\t\tif (step2ProgressMap.containsKey(step)) {\n\t\t\tthis.percentComplete = step2ProgressMap.get(step);\n\t\t}\n\t}", "public BaseCustomRecordCheck (\n\t\tjava.lang.Integer id,\n\t\tjava.lang.Byte checkStep,\n\t\tjava.lang.Boolean rejected) {\n\n\t\tthis.setId(id);\n\t\tthis.setCheckStep(checkStep);\n\t\tthis.setRejected(rejected);\n\t\tinitialize();\n\t}", "void setStepLineNumber(int number)\n\t{\n\t\tthis.stepLineNumber = number;\n\t}", "void setStepLineNumber(int number)\n\t{\n\t\tthis.stepLineNumber = number;\n\t}", "public void setrowStatus(Integer value){\n\t}", "public void setValueCurrentRow(final int column, final double value) {\r\n setValue(currentRow, column, value);\r\n }", "public void setCol9check(Object col9check) {\n this.col9check = col9check;\n }", "public static void addCheck(String property, CHECK check) {\n HealthCheck.checks.put(property, new CheckState(check));\n }" ]
[ "0.62478065", "0.6235199", "0.6058748", "0.6048619", "0.59282774", "0.5916634", "0.5872547", "0.5626143", "0.55657655", "0.54682493", "0.54323167", "0.5377578", "0.5377578", "0.5363713", "0.53495437", "0.5296522", "0.52825785", "0.5277187", "0.52749366", "0.5256044", "0.5245604", "0.5224778", "0.51863617", "0.51802176", "0.51802176", "0.51802176", "0.5171603", "0.5147884", "0.513962", "0.51270556", "0.51021796", "0.5096983", "0.5096983", "0.5096983", "0.5084128", "0.5080519", "0.50731283", "0.5066957", "0.50620055", "0.5034383", "0.50239074", "0.5007616", "0.5004378", "0.5004378", "0.5004378", "0.49976197", "0.49734917", "0.49726185", "0.4972534", "0.49660197", "0.49239424", "0.4920926", "0.486525", "0.4865166", "0.4860574", "0.48604852", "0.48352075", "0.4815245", "0.4809317", "0.4805204", "0.48013452", "0.47940245", "0.47932854", "0.4789077", "0.47856432", "0.4785371", "0.4765387", "0.47566515", "0.47264826", "0.4719783", "0.47158942", "0.47158703", "0.47140753", "0.47127554", "0.47106957", "0.47080436", "0.4703567", "0.46853146", "0.46843547", "0.46811453", "0.46785635", "0.46712875", "0.46610516", "0.46508256", "0.46417335", "0.4627344", "0.4622322", "0.4617313", "0.46166354", "0.4607896", "0.4607896", "0.4607896", "0.46076143", "0.4597783", "0.45959923", "0.45959923", "0.45942223", "0.45937365", "0.45894495", "0.4588271" ]
0.6999768
0