blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
332
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
7
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
557 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
684M
star_events_count
int64
0
77.7k
fork_events_count
int64
0
48k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
82 values
src_encoding
stringclasses
28 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
5.41M
extension
stringclasses
11 values
content
stringlengths
7
5.41M
authors
listlengths
1
1
author
stringlengths
0
161
94b760c20c3da2cb9fbcbb3b60fb141826cc501a
0279c98a51f4c1ee5d74434b8033e18f3dd47d6d
/REpeatExam/src/ForTest12.java
1dfa1afb0a05e5be36ce7d7055e94034195d67f7
[]
no_license
lunareclipsee/Moon
18dba20d6082ea7e74b0f0169f019e521e8dfc8b
8cbcb9d775e10ef2225e76f0d92c8aef0368225a
refs/heads/master
2021-01-03T05:17:30.474701
2020-04-21T09:39:21
2020-04-21T09:39:21
239,936,741
0
0
null
null
null
null
UTF-8
Java
false
false
627
java
/* 1~100의 범위에서 홀수만 더한다. 단 10번 더했다면 10번까지 더한값을 출력한다. ========================== 155 */ public class ForTest12 { public static void main(String[] args) { // TODO Auto-generated method stub int hol = 0; int sum = 0; int cnt = 1; String str = ""; for (int i = 1; i <= 100; i++) { if (i % 2 ==1) { System.out.println(cnt+"번째 누적값 : "+sum+" + "+ i+" = "+(sum+i)); sum = sum+i; cnt++; if (cnt == 10) { break; } } } } }
[ "TJ@DESKTOP-J2LIGQ3" ]
TJ@DESKTOP-J2LIGQ3
166910b6f30776db796266e28cd7be04c8463d34
fad4a0d2b269dc23d8fc7a57919400c2942618ca
/KSYStickerAndroid/app/src/main/java/com/ksyun/media/diversity/sticker/demo/DemoAudioFilter.java
1cc3c39da4b8cc7895e350e2443c8a67c7da0370
[]
no_license
MengJason/KSYDiversityLive_Android
b157f57a8394ee26411730048f2906e8891d4110
177d95c87223d6b5d107d89655c5c8caa4ac365c
refs/heads/master
2021-01-19T08:09:19.282684
2017-04-01T09:44:50
2017-04-01T09:44:50
87,605,301
2
1
null
2017-04-08T03:34:31
2017-04-08T03:34:31
null
UTF-8
Java
false
false
1,406
java
package com.ksyun.media.diversity.sticker.demo; import com.ksyun.media.streamer.filter.audio.AudioFilterBase; import com.ksyun.media.streamer.framework.AudioBufFormat; import com.ksyun.media.streamer.framework.AudioBufFrame; import java.nio.ShortBuffer; /** * demo audio filter * make voice lound */ public class DemoAudioFilter extends AudioFilterBase { private AudioBufFormat mAudioFormat; private float mVoiceVolume = 2.0f; /** * audio format changed * * @param format the changed format * @return the changed format */ @Override protected AudioBufFormat doFormatChanged(AudioBufFormat format) { mAudioFormat = format; return format; } /** * process your audio in this function * * @param frame the input frame (directBuffer) * @return return the frame after process */ @Override protected AudioBufFrame doFilter(AudioBufFrame frame) { //process frame if (mVoiceVolume != 1.0f) { ShortBuffer dstShort = frame.buf.asShortBuffer(); for (int i = 0; i < dstShort.limit(); i++) { dstShort.put(i, (short) (dstShort.get(i) * mVoiceVolume)); } dstShort.rewind(); } return frame; } /** * release your resource in this function */ @Override protected void doRelease() { } }
[ "zengxuhong@kingsoft.com" ]
zengxuhong@kingsoft.com
e80f82978dc589106f40f6a9ce609a83b720ebde
1dc89d4df474e84cd09f499dcb104585efd7a6b9
/org/relaxone/L51_IsValidBST.java
a747916f233c218aaf9e90f2c604723b1c7dd9c2
[]
no_license
RelaxOne/leetcode
40b4ea8d273b9dd226a33e94e02b91b504b5e2f1
a5ab13b39ba9369397478c5d0c9f0a2dc3e7a560
refs/heads/master
2020-04-28T22:54:23.799260
2019-04-22T01:08:50
2019-04-22T01:08:50
175,634,291
0
0
null
null
null
null
UTF-8
Java
false
false
717
java
package org.relaxone; import org.relaxone.common.TreeNode; public class L51_IsValidBST { public boolean isValidBST(TreeNode root) { if (root == null) return true; if (root.left == null && root.right == null) return true; if (root.right != null) { if (root.val >= root.right.val) return false; TreeNode p = root.right; while (p.left != null) { p = p.left; } if (root.val >= p.val) { return false; } } if (root.left != null) { if (root.val <= root.left.val) return false; TreeNode p = root.left; while (p.right != null) { p = p.right; } if (p.val >= root.val) return false; } return isValidBST(root.left) && isValidBST(root.right); } }
[ "zcw512178774@163.com" ]
zcw512178774@163.com
33eb7fb2a0aae69b865b966a64e37fcef2ff1196
cd148534f6fc40307b1f8774a38b3ea8f1643b9a
/mappers/RvReplyMapper.java
13874e249e08c28d25ffaadb1e545581fa60a98e
[]
no_license
nkmj78/movie_booking
360d69583a690585ec4bf4b18da170691abd099f
fa1efbc9879fa14a67fb0e8a599c6801f7218368
refs/heads/master
2023-01-11T22:34:47.747336
2020-11-16T12:43:42
2020-11-16T12:43:42
313,299,034
0
0
null
null
null
null
UTF-8
Java
false
false
1,741
java
package edu.spring.posco.mappers; import java.util.List; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; import edu.spring.posco.domain.Rvreply; public interface RvReplyMapper { String SQL_RVREPLY_INSERT = "insert into ${tbl_rvreply} (${col_rvcode}, ${col_memberid}, ${col_rvtext})" + "values ( #{rvcode}, #{memberid}, #{rvtext})"; String SQL_RVREPLY_UPDATE = "update ${tbl_rvreply} " + "set ${col_rvtext} = #{rvtext} " + "where ${col_rvreplycd} = #{rvreplycd}"; String SQL_RVREPLY_DELETE = "delete from ${tbl_rvreply} " + "where ${col_rvreplycd} = #{rvreplycd}"; String SQL_RVREPLY_SEARCH = "select * from ${tbl_rvreply} " + "where ${col_rvcode} = #{rvcode}"; String SQL_RVREPLY_SEARCH_RVREPLYCD = "select * from ${tbl_rvreply} " + "where ${col_rvreplycd} = #{rvreplycd}"; String SQL_READ_RVREPLYCD = "select ${col_rvcode} from ${tbl_rvreply} " + "where ${col_rvreplycd} = #{rvreplycd}"; String SQL_RVREPLY_DELETE_RVCODE = "delete from ${tbl_rvreply} " + "where ${col_rvcode} = #{rvcode}"; @Insert(SQL_RVREPLY_INSERT) int insertRvreply(Rvreply rvreply); @Update(SQL_RVREPLY_UPDATE) int updateRvreply(Rvreply rvreply); @Delete(SQL_RVREPLY_DELETE) int deleteRvreply(int rvreplycd); @Select(SQL_RVREPLY_SEARCH) List<Rvreply> searchRvreply(int rvcode); @Select(SQL_RVREPLY_SEARCH_RVREPLYCD) Rvreply selectRvreply(int rvreplycd); @Select(SQL_READ_RVREPLYCD) Integer readRvreplycd(int rvreplycd); @Delete(SQL_RVREPLY_DELETE_RVCODE) Integer deleteRvreplyByRvcode(int rvcode); } // end interface RvreplyMapper
[ "seoheee96@naver.com" ]
seoheee96@naver.com
9241164cf9210a08102fdcbebef4da149cb9e342
054b1ff58584fbe49de7f30fe46ac4ab0ac594d4
/apps/rasp/optimized-decompiled/rasp-home/dava/src/android/support/v4/widget/ListPopupWindowCompat$ListPopupWindowImpl.java
946695f741f4b0620a0754950435e854038be584
[]
no_license
fthomas-de/android_ipc
55083eeb8c52ff76116ad95e5b0716ddeb77dda3
626dc6aee76ededfb2d15084dfad74a1e7040016
refs/heads/master
2021-05-29T19:02:42.862103
2015-10-15T06:52:31
2015-10-15T06:52:31
null
0
0
null
null
null
null
UTF-8
Java
false
false
296
java
package android.support.v4.widget; import android.view.View; import android.view.View$OnTouchListener; abstract interface ListPopupWindowCompat$ListPopupWindowImpl { public abstract android.view.View$OnTouchListener createDragToOpenListener(java.lang.Object r0, android.view.View r1); }
[ "fthomas@tzi.de" ]
fthomas@tzi.de
4706bca3a988042018e57bc44ba1a15e0f21056d
d6a117163ece7fd49ee01874169d1c3ed665a9d5
/Daily_flash/27nov/Program4.java
ab9db09ed9cc56d36255c817bfbf2d976a32db68
[]
no_license
Priyanshu611/sortedmap
1a2f3919568151a0efd2727a7a3fc0a76831f19f
2b3e11dc262c69c7ef077267d6a9e63e9b94c731
refs/heads/master
2023-05-31T06:51:14.956615
2021-06-28T08:03:34
2021-06-28T08:03:34
281,047,255
0
0
null
null
null
null
UTF-8
Java
false
false
430
java
class Addition { void add(int a, int b){ System.out.println("Int Method"); System.out.println("Addition = " + (a+b)); } void add(int ...vargs){ System.out.println("Varargs Method"); int sum = 0; for(int i: vargs){ sum += i; } System.out.println(sum); } } class Demo1{ public static void main(String[] args){ Addition obj = new Addition(); obj.add(10,20); obj.add(10,20,30,40); } }
[ "spriyanshu611@gmail.com" ]
spriyanshu611@gmail.com
19271f2bbdaa81beba30d4ef2a80b65a1435c19f
c226dde02ed85cda53f85a91786cab7f2a07c88c
/src/main/java/performance/domain/Product.java
1473a3a0ec3476e0995bb32f3c2d6d05359f797d
[]
no_license
Nectarius/java-mapper-comparison
c1536d1ea049c52531814b47e848da9441dfa876
e8acf49117eda0415a65724df34df26523912b3b
refs/heads/master
2020-04-06T07:00:06.693003
2016-08-09T21:39:15
2016-08-09T21:39:15
55,582,497
1
0
null
null
null
null
UTF-8
Java
false
false
418
java
package performance.domain; /** * @author nefarius, <a href="mailto:Konstantin.Molodtsov@returnonintelligence.com">Konstantin Molodtsov</a> * @since 31 March 2016 */ public class Product { private String name; public Product(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } }
[ "nectarius@outlook.com" ]
nectarius@outlook.com
27cbe566792218549a3c1cf8f37da41af835296c
bdee962185293ee37b399eaedb0f0fb951bcb764
/easypoi-base/src/main/java/cn/afterturn/easypoi/pdf/styler/PdfExportStylerDefaultImpl.java
95bb155185e2f34b2f5e91719e190fa7f2036b55
[ "Apache-2.0" ]
permissive
yangjie-github/yangjieEasypoi
728a8864f618ced43a6989baf09e86b713849813
4a72cd82939fe1555d8df08021e40c9f2ed43c48
refs/heads/master
2022-12-22T23:36:58.993868
2019-08-16T13:49:38
2019-08-16T13:49:38
202,735,436
0
0
Apache-2.0
2022-12-16T00:36:54
2019-08-16T13:47:57
Java
UTF-8
Java
false
false
2,302
java
/** * Copyright 2013-2015 JueYue (qrb.jueyue@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package cn.afterturn.easypoi.pdf.styler; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Element; import com.itextpdf.text.Font; import com.itextpdf.text.PageSize; import com.itextpdf.text.Font.FontFamily; import com.itextpdf.text.pdf.BaseFont; import com.itextpdf.text.pdf.PdfPCell; import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; /** * 默认的PDFstyler 实现 * @author JueYue * 2016年1月8日 下午2:06:26 */ public class PdfExportStylerDefaultImpl implements IPdfExportStyler { private static final Logger LOGGER = LoggerFactory.getLogger(PdfExportStylerDefaultImpl.class); @Override public Document getDocument() { return new Document(PageSize.A4, 36, 36, 24, 36); } @Override public void setCellStyler(PdfPCell iCell, ExcelExportEntity entity, String text) { iCell.setHorizontalAlignment(Element.ALIGN_CENTER); iCell.setVerticalAlignment(Element.ALIGN_MIDDLE); } @Override public Font getFont(ExcelExportEntity entity, String text) { try { //用以支持中文 BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); Font font = new Font(bfChinese); return font; } catch (DocumentException e) { LOGGER.error(e.getMessage(), e); } catch (IOException e) { LOGGER.error(e.getMessage(), e); } Font font = new Font(FontFamily.UNDEFINED); return font; } }
[ "18202975766@163.com" ]
18202975766@163.com
38d6e34ebd7e2371a4ab184fad422d1ea1345859
7170548335df78b18c2ea5c6ffdd02bec4b2d41b
/app/src/main/java/com/example/zhangjiawen/daily/support/Tool.java
f27d9d223652ad23ab6c6ea3e83ccda05bcdb1ee
[]
no_license
pray-for/Daily
3eb8f7f07bc2dcaec719a4699eac24de4521c407
59d01867d26b9b72a322e9972fc07c957e56f217
refs/heads/master
2021-01-01T04:37:11.201604
2017-07-14T08:22:47
2017-07-14T08:22:47
97,209,531
0
0
null
null
null
null
UTF-8
Java
false
false
953
java
package com.example.zhangjiawen.daily.support; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * Created by zhangjiawen on 2017/5/3. * 工具类 */ public class Tool { /** * 检测当前的网络连接状态 * @return */ public static boolean isNetConnected(){ ConnectivityManager connectivityManager = (ConnectivityManager) MyApplication.getContext() .getSystemService(Context.CONNECTIVITY_SERVICE); if (connectivityManager != null){ NetworkInfo info = connectivityManager.getActiveNetworkInfo(); if (info != null && info.isConnected()){ //当前网络是连接的 if (info.getState() == NetworkInfo.State.CONNECTED){ //当前所连接的网络可用 return true; } } } return false; } }
[ "822032714@qq.com" ]
822032714@qq.com
5d831153c8590fc1d906be1128c62f51c4d33661
57067de1347b64aae39007e803f2f4899f71a0a9
/src/main/java/net/minecraft/creativetab/CreativeTabs.java
847eae59aa1f3ed0879dbf78f174bc5c8f418213
[ "MIT" ]
permissive
Akarin-project/Paper2Srg
4ae05ffeab86195c93406067ea06414cb240aad6
55798e89ed822e8d59dc55dfc6aa70cef1e47751
refs/heads/master
2020-03-20T21:57:05.620082
2018-06-23T10:17:43
2018-06-23T10:17:43
137,770,306
4
4
null
2018-06-21T14:51:05
2018-06-18T15:29:10
Java
UTF-8
Java
false
false
3,764
java
package net.minecraft.creativetab; import javax.annotation.Nullable; import net.minecraft.enchantment.EnumEnchantmentType; import net.minecraft.item.ItemStack; public abstract class CreativeTabs { public static final CreativeTabs[] field_78032_a = new CreativeTabs[12]; public static final CreativeTabs field_78030_b = new CreativeTabs(0, "buildingBlocks") { }; public static final CreativeTabs field_78031_c = new CreativeTabs(1, "decorations") { }; public static final CreativeTabs field_78028_d = new CreativeTabs(2, "redstone") { }; public static final CreativeTabs field_78029_e = new CreativeTabs(3, "transportation") { }; public static final CreativeTabs field_78026_f = new CreativeTabs(6, "misc") { }; public static final CreativeTabs field_78027_g = (new CreativeTabs(5, "search") { }).func_78025_a("item_search.png"); public static final CreativeTabs field_78039_h = new CreativeTabs(7, "food") { }; public static final CreativeTabs field_78040_i = (new CreativeTabs(8, "tools") { }).func_111229_a(new EnumEnchantmentType[] { EnumEnchantmentType.ALL, EnumEnchantmentType.DIGGER, EnumEnchantmentType.FISHING_ROD, EnumEnchantmentType.BREAKABLE}); public static final CreativeTabs field_78037_j = (new CreativeTabs(9, "combat") { }).func_111229_a(new EnumEnchantmentType[] { EnumEnchantmentType.ALL, EnumEnchantmentType.ARMOR, EnumEnchantmentType.ARMOR_FEET, EnumEnchantmentType.ARMOR_HEAD, EnumEnchantmentType.ARMOR_LEGS, EnumEnchantmentType.ARMOR_CHEST, EnumEnchantmentType.BOW, EnumEnchantmentType.WEAPON, EnumEnchantmentType.WEARABLE, EnumEnchantmentType.BREAKABLE}); public static final CreativeTabs field_78038_k = new CreativeTabs(10, "brewing") { }; public static final CreativeTabs field_78035_l = CreativeTabs.field_78026_f; public static final CreativeTabs field_192395_m = new CreativeTabs(4, "hotbar") { }; public static final CreativeTabs field_78036_m = (new CreativeTabs(11, "inventory") { }).func_78025_a("inventory.png").func_78022_j().func_78014_h(); private final int field_78033_n; private final String field_78034_o; private String field_78043_p = "items.png"; private boolean field_78042_q = true; private boolean field_78041_r = true; private EnumEnchantmentType[] field_111230_s = new EnumEnchantmentType[0]; private ItemStack field_151245_t; public CreativeTabs(int i, String s) { this.field_78033_n = i; this.field_78034_o = s; this.field_151245_t = ItemStack.field_190927_a; CreativeTabs.field_78032_a[i] = this; } public CreativeTabs func_78025_a(String s) { this.field_78043_p = s; return this; } public CreativeTabs func_78014_h() { this.field_78041_r = false; return this; } public CreativeTabs func_78022_j() { this.field_78042_q = false; return this; } public EnumEnchantmentType[] func_111225_m() { return this.field_111230_s; } public CreativeTabs func_111229_a(EnumEnchantmentType... aenchantmentslottype) { this.field_111230_s = aenchantmentslottype; return this; } public boolean func_111226_a(@Nullable EnumEnchantmentType enchantmentslottype) { if (enchantmentslottype != null) { EnumEnchantmentType[] aenchantmentslottype = this.field_111230_s; int i = aenchantmentslottype.length; for (int j = 0; j < i; ++j) { EnumEnchantmentType enchantmentslottype1 = aenchantmentslottype[j]; if (enchantmentslottype1 == enchantmentslottype) { return true; } } } return false; } }
[ "i@omc.hk" ]
i@omc.hk
d5a1472b9a999e439486511d3ececbfc5a33c24b
c02cdc5474f76d95f072a1c69307b968ceda9ee0
/dahe_hw2/src/package1/SongNode.java
34a120a0d7a657405b615988b4ab33fadfea1513
[]
no_license
Okawa38th/CSE214
d69a1c1373617b1cc0bd8dee6879d5baf6e81d6c
e4f644bd196555e17fd546fab7f64c26fad3b7d8
refs/heads/master
2022-12-02T12:31:42.987270
2020-08-10T03:59:25
2020-08-10T03:59:25
286,372,437
0
0
null
null
null
null
UTF-8
Java
false
false
846
java
package package1; /** * @author :Dachuan He * SBU ID: 111443457 * Recitation: 03 * Homework : 2 */ public class SongNode { private SongNode prev; private SongNode next; private Song data; /** * Constructor * Return an instance of SongNode with input Song * Postcondition: * An SongNode object with Song object input is created. * */ public SongNode(Song song){ data = song; } public SongNode getPrev() { return prev; } public void setPrev(SongNode prev) { this.prev = prev; } public SongNode getNext() { return next; } public void setNext(SongNode next) { this.next = next; } public Song getData() { return data; } public void setData(Song data) { this.data = data; } }
[ "dachuan.he@stonybrook.edu" ]
dachuan.he@stonybrook.edu
bb34c2cd39528afaa9798998c4231c98ccbc5ab3
8164645e63555caa1cb7a423da3eb03449f78818
/src/it/csi/mddtools/guigen/provider/ActorMappingParamItemProvider.java
2ce0a405986e961da1ed24de04936b0610652f06
[]
no_license
csipiemonte/guigen
1a3b7907f97095a47de70a547d44f82e16dd9473
82b05365d9c781df2c6714f8afc654ae85fd1aa0
refs/heads/master
2020-08-29T12:42:39.139671
2019-08-20T17:00:28
2019-08-20T17:00:28
218,027,979
0
0
null
null
null
null
UTF-8
Java
false
false
4,862
java
/** * <copyright> * (C) Copyright 2011 CSI-PIEMONTE; * Concesso in licenza a norma dell'EUPL, esclusivamente versione 1.1; * Non e' possibile utilizzare l'opera salvo nel rispetto della Licenza. * E' possibile ottenere una copia della Licenza al seguente indirizzo: * * http://www.eupl.it/opensource/eupl-1-1 * * Salvo diversamente indicato dalla legge applicabile o concordato per * iscritto, il software distribuito secondo i termini della Licenza e' * distribuito "TAL QUALE", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, * esplicite o implicite. * Si veda la Licenza per la lingua specifica che disciplina le autorizzazioni * e le limitazioni secondo i termini della Licenza. * </copyright> * * $Id$ */ package it.csi.mddtools.guigen.provider; import it.csi.mddtools.guigen.ActorMappingParam; import it.csi.mddtools.guigen.GuigenPackage; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; import org.eclipse.emf.edit.provider.IItemFontProvider; import org.eclipse.emf.edit.provider.IItemLabelProvider; import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; import org.eclipse.emf.edit.provider.IItemPropertySource; import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; import org.eclipse.emf.edit.provider.ITreeItemContentProvider; import org.eclipse.emf.edit.provider.ViewerNotification; /** * This is the item provider adapter for a {@link it.csi.mddtools.guigen.ActorMappingParam} object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public class ActorMappingParamItemProvider extends PDefParamItemProvider { /** * This constructs an instance from a factory and a notifier. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ActorMappingParamItemProvider(AdapterFactory adapterFactory) { super(adapterFactory); } /** * This returns the property descriptors for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); addDefActorPropertyDescriptor(object); } return itemPropertyDescriptors; } /** * This adds a property descriptor for the Def Actor feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void addDefActorPropertyDescriptor(Object object) { itemPropertyDescriptors.add (createItemPropertyDescriptor (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), getString("_UI_ActorMappingParam_defActor_feature"), getString("_UI_PropertyDescriptor_description", "_UI_ActorMappingParam_defActor_feature", "_UI_ActorMappingParam_type"), GuigenPackage.Literals.ACTOR_MAPPING_PARAM__DEF_ACTOR, true, false, true, null, null, null)); } /** * This returns ActorMappingParam.gif. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object getImage(Object object) { return overlayImage(object, getResourceLocator().getImage("full/obj16/ActorMappingParam")); } /** * This returns the label text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String getText(Object object) { String label = ((ActorMappingParam)object).getName(); return label == null || label.length() == 0 ? getString("_UI_ActorMappingParam_type") : getString("_UI_ActorMappingParam_type") + " " + label; } /** * This handles model notifications by calling {@link #updateChildren} to update any cached * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(ActorMappingParam.class)) { case GuigenPackage.ACTOR_MAPPING_PARAM__DEF_ACTOR: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; } super.notifyChanged(notification); } /** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); } }
[ "mauro.antonaci@csi.it" ]
mauro.antonaci@csi.it
3b7fa70a0eec56610f36195815a73e4eb08d33cf
0af8b92686a58eb0b64e319b22411432aca7a8f3
/large-multiproject/project84/src/main/java/org/gradle/test/performance84_5/Production84_489.java
f9e8d718140a54e2a7e5a2aa106aa36975eba8da
[]
no_license
gradle/performance-comparisons
b0d38db37c326e0ce271abebdb3c91769b860799
e53dc7182fafcf9fedf07920cbbea8b40ee4eef4
refs/heads/master
2023-08-14T19:24:39.164276
2022-11-24T05:18:33
2022-11-24T05:18:33
80,121,268
17
15
null
2022-09-30T08:04:35
2017-01-26T14:25:33
null
UTF-8
Java
false
false
305
java
package org.gradle.test.performance84_5; public class Production84_489 extends org.gradle.test.performance16_5.Production16_489 { private final String property; public Production84_489() { this.property = "foo"; } public String getProperty() { return property; } }
[ "cedric.champeau@gmail.com" ]
cedric.champeau@gmail.com
ae418a2fcd19d50c3a1d3e01995171bf0cc0fa8e
b062ea9d83b7cf0d98a0e2082c4a825e5e7640ec
/day 4,5,6/CourseController.java
35971b727c640c826496cd67d381cef0084fb10e
[]
no_license
kirushanIT/4191-Ecommerce
a9f3aa7f65d09c000e544883c50bf97fe3f4d965
b69e0365f08e2fc2bb8e5d139c58d1463a1bdd2b
refs/heads/main
2023-08-07T23:22:33.913797
2021-09-26T15:12:14
2021-09-26T15:12:14
391,258,476
0
0
null
null
null
null
UTF-8
Java
false
false
1,173
java
package lk.ac.vau.Controller; import lk.ac.vau.Controller.StudnetController; import java.util.*; import javax.ws.rs.Consumes; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import lk.ac.vau.Model.Course; import lk.ac.vau.Repo.CourseRepo; import lk.ac.vau.Repo.Repo; import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("course") @Produces(MediaType.APPLICATION_XML) @Consumes(MediaType.APPLICATION_XML) public class CourseController { private CourseRepo courses =new CourseRepo(); @GetMapping public Collection<Course> getAll(){ return courses.getAll(); } @GetMapping("/{id}") public Course get(@PathVariable("id") String id) { return courses.get(id); } @PostMapping public void add(@RequestBody Course course) { courses.add(course); } @DeleteMapping("/{id}") public void delete(@PathVariable("id") String id) { courses.delete(id); } @PutMapping("/{id}") public void update(@PathVariable("id") String id,@RequestBody Course course) { courses.update(id,course); } }
[ "noreply@github.com" ]
noreply@github.com
ec87d422e1e87b12184cf286b39411f744b51503
ec1ba29dba8f6bc0cab4dda9867f46ded52479b6
/user/branches/branches1.3.0/basics-user/basics-user-business/src/main/java/com/egeo/basics/user/condition/CompanyCondition.java
6618a242a7bf6eeff753b353f649d8f57b77f24a
[]
no_license
breakining/egeo
7e92e32c608b16c7a5a90e3cf2a6054bdc764d6e
c5c6333df6e40de9b9538026278d1a37e834392b
refs/heads/master
2023-08-11T18:29:12.900729
2019-09-01T15:10:17
2019-09-01T15:15:35
205,694,154
1
0
null
2023-07-22T15:03:22
2019-09-01T15:15:37
Java
UTF-8
Java
false
false
244
java
package com.egeo.basics.user.condition; import com.egeo.basics.user.po.CompanyPO; /** * * @author min * @date 2017-08-15 15:29:16 */ public class CompanyCondition extends CompanyPO { private static final long serialVersionUID = 1L; }
[ "guohongwei@163.com" ]
guohongwei@163.com
a216628bd70c383b38cb0e63874ac55e99e5b64a
c581b8339314e27af8f7fd2c18cd2abae49f3b21
/src/studentpractice/phamquangdung/graph/Base.java
4c38953ad59bc4e62d33798d35278225ce933faf
[]
no_license
dungkhmt/java
e5b76df14421981bb147f2de3aa9745b14c873ce
963d822528f43228a90f04d989459a532665e77c
refs/heads/master
2020-09-11T11:05:54.027915
2020-03-21T17:14:08
2020-03-21T17:14:08
222,043,896
4
3
null
null
null
null
UTF-8
Java
false
false
279
java
package studentpractice.phamquangdung.graph; public class Base { private int id; public int getId() { return id; } public void setId(int id) { this.id = id; } public void print(){ System.out.print("Base(" + id + ")"); } public Base(int id){ this.id = id; } }
[ "dungkhmt@gmail.com" ]
dungkhmt@gmail.com
d5dc8a323f928895d7c7ad27893fd86b71ccfee2
088cad7c00db1e05ad2ab219e393864f3bf7add6
/classes/ktd.java
c9d0126945be8a905f616471d3bd4f7820415ce3
[]
no_license
devidwfreitas/com-santander-app.7402
8e9f344f5132b1c602d80929f1ff892293f4495d
e9a92b20dc3af174f9b27ad140643b96fb78f04d
refs/heads/main
2023-05-01T09:33:58.835056
2021-05-18T23:54:43
2021-05-18T23:54:43
368,692,384
0
0
null
null
null
null
UTF-8
Java
false
false
666
java
public class ktd { @eks(a = "areaCode") private String a; @eks(a = "number") private String b; public ktd() {} public ktd(String paramString1, String paramString2) { this.a = paramString1; this.b = paramString2; } public String a() { return this.a; } public void a(String paramString) { this.a = paramString; } public String b() { return this.b; } public void b(String paramString) { this.b = paramString; } } /* Location: C:\Users\devid\Downloads\SAST\Santander\dex2jar-2.0\classes-dex2jar.jar!\ktd.class * Java compiler version: 6 (50.0) * JD-Core Version: 1.1.3 */
[ "devid.wfreitas@gmail.com" ]
devid.wfreitas@gmail.com
3e36aed052fb1f9ef287841559cd4114f60b654f
9923e30eb99716bfc179ba2bb789dcddc28f45e6
/openapi-generator/java/src/test/java/org/openapitools/client/model/InlineObject20Test.java
28b98827e934943a48093175ee71fe3441abd1c6
[]
no_license
silverspace/samsara-sdks
cefcd61458ed3c3753ac5e6bf767229dd8df9485
c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa
refs/heads/master
2020-04-25T13:16:59.137551
2019-03-01T05:49:05
2019-03-01T05:49:05
172,804,041
2
0
null
null
null
null
UTF-8
Java
false
false
6,912
java
/* * Samsara API * # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud API is a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer) accessed by an [HTTP](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol) client such as wget or curl, or HTTP libraries of most modern programming languages including python, ruby, java. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. We allow you to interact securely with our API from a client-side web application (though you should never expose your secret API key). [JSON](http://www.json.org/) is returned by all API responses, including errors. If you’re familiar with what you can build with a REST API, the following API reference guide will be your go-to resource. API access to the Samsara cloud is available to all Samsara administrators. To start developing with Samsara APIs you will need to [obtain your API keys](#section/Authentication) to authenticate your API requests. If you have any questions you can reach out to us on [support@samsara.com](mailto:support@samsara.com) # Endpoints All our APIs can be accessed through HTTP requests to URLs like: ```curl https://api.samsara.com/<version>/<endpoint> ``` All our APIs are [versioned](#section/Versioning). If we intend to make breaking changes to an API which either changes the response format or request parameter, we will increment the version. # Authentication To authenticate your API request you will need to include your secret token. You can manage your API tokens in the [Dashboard](https://cloud.samsara.com). They are visible under `Settings->Organization->API Tokens`. Your API tokens carry many privileges, so be sure to keep them secure. Do not share your secret API tokens in publicly accessible areas such as GitHub, client-side code, and so on. Authentication to the API is performed via [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Provide your API token as the basic access_token value in the URL. You do not need to provide a password. ```curl https://api.samsara.com/<version>/<endpoint>?access_token={access_token} ``` All API requests must be made over [HTTPS](https://en.wikipedia.org/wiki/HTTPS). Calls made over plain HTTP or without authentication will fail. # Request Methods Our API endpoints use [HTTP request methods](https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods) to specify the desired operation to be performed. The documentation below specified request method supported by each endpoint and the resulting action. ## GET GET requests are typically used for fetching data (like data for a particular driver). ## POST POST requests are typically used for creating or updating a record (like adding new tags to the system). With that being said, a few of our POST requests can be used for fetching data (like current location data of your fleet). ## PUT PUT requests are typically used for updating an existing record (like updating all devices associated with a particular tag). ## PATCH PATCH requests are typically used for modifying an existing record (like modifying a few devices associated with a particular tag). ## DELETE DELETE requests are used for deleting a record (like deleting a tag from the system). # Response Codes All API requests will respond with appropriate [HTTP status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes). Your API client should handle each response class differently. ## 2XX These are successful responses and indicate that the API request returned the expected response. ## 4XX These indicate that there was a problem with the request like a missing parameter or invalid values. Check the response for specific [error details](#section/Error-Responses). Requests that respond with a 4XX status code, should be modified before retrying. ## 5XX These indicate server errors when the server is unreachable or is misconfigured. In this case, you should retry the API request after some delay. # Error Responses In case of a 4XX status code, the body of the response will contain information to briefly explain the error reported. To help debugging the error, you can refer to the following table for understanding the error message. | Status Code | Message | Description | |-------------|----------------|-------------------------------------------------------------------| | 401 | Invalid token | The API token is invalid and could not be authenticated. Please refer to the [authentication section](#section/Authentication). | | 404 | Page not found | The API endpoint being accessed is invalid. | | 400 | Bad request | Default response for an invalid request. Please check the request to make sure it follows the format specified in the documentation. | # Versioning All our APIs are versioned. Our current API version is `v1` and we are continuously working on improving it further and provide additional endpoints. If we intend to make breaking changes to an API which either changes the response format or request parameter, we will increment the version. Thus, you can use our current API version worry free. # FAQs Check out our [responses to FAQs here](https://kb.samsara.com/hc/en-us/sections/360000538054-APIs). Don’t see an answer to your question? Reach out to us on [support@samsara.com](mailto:support@samsara.com). * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package org.openapitools.client.model; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; /** * Model tests for InlineObject20 */ public class InlineObject20Test { private final InlineObject20 model = new InlineObject20(); /** * Model tests for InlineObject20 */ @Test public void testInlineObject20() { // TODO: test InlineObject20 } /** * Test the property 'groupId' */ @Test public void groupIdTest() { // TODO: test groupId } /** * Test the property 'sensors' */ @Test public void sensorsTest() { // TODO: test sensors } }
[ "greg@samsara.com" ]
greg@samsara.com
dc8e9d8246753ebfc13f4c68f8a2b554da746424
4c10d15dc599fcc2e47d958ae315d8e476f174c2
/src/main/java/cn/ennwifi/opentsdb/resp/put/PutErrorResp2.java
12679eb127a7009a14e46dc2bf43640c0d45a3ca
[]
no_license
yxb0926/opentsdb-client
a42b7ca02161e4cbd574fd88c600570650d4b321
3958a1e99f8af041d246ef5ca1183a560c136412
refs/heads/master
2020-05-18T11:02:59.160663
2017-11-10T08:19:42
2017-11-10T08:19:42
null
0
0
null
null
null
null
UTF-8
Java
false
false
668
java
package cn.ennwifi.opentsdb.resp.put; /** * @author zhangbo * */ public class PutErrorResp2 extends PutResp { private PutErrorDetail errorDetail; public PutErrorResp2(int statusCode) { super(statusCode); } /** * @return the errorDetail */ public PutErrorDetail getErrorDetail() { return errorDetail; } /** * @param errorDetail the errorDetail to set */ public void setErrorDetail(PutErrorDetail errorDetail) { this.errorDetail = errorDetail; } @Override public String toString() { return "PutResponse [statusCode=" + statusCode + ", errorDetail=" + errorDetail + "]"; } }
[ "zhangboad@enn.cn" ]
zhangboad@enn.cn
55f8826dc997ce0b48917ede4dc259018c108647
bb936f8268743ec7c214bdb5557f8783240c4e2e
/hibernate/src/tw/ming/service/StudentTest.java
39730ab9fa6a3ed4bddb2ecb2c13bbae85e291f2
[]
no_license
partyyaya/hibernate
1af99fd515fb14675e087a682ec3d7047f7ac984
64335a03bd61f274bc29f5d2d73d5dbfcf0f67fc
refs/heads/master
2021-07-10T11:04:21.055774
2017-10-14T14:08:18
2017-10-14T14:08:18
106,919,002
0
0
null
null
null
null
BIG5
Java
false
false
2,248
java
package tw.ming.service; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate.cfg.Configuration; import org.hibernate.service.ServiceRegistry; import tw.ming.model.Student; import tw.ming.util.hibernateUtil; public class StudentTest { private SessionFactory sessionFactory = hibernateUtil.getSessionFactory(); private void add(String name) { Session session = sessionFactory.openSession();//生成一個session session.beginTransaction();//開起事務 Student s = new Student(); s.setName(name); session.save(s); session.getTransaction().commit();//提交事務 session.close();//關閉session //sessionFactory.close();//關閉工廠 } private void delete(long x) { Session session = sessionFactory.openSession();//生成一個session session.beginTransaction();//開起事務 Student student = (Student)session.get(Student.class,Long.valueOf(x));//選擇id=x的資料 session.delete(student); session.getTransaction().commit();//提交事務 session.close();//關閉session } private void update(long x,String name) { Session session = sessionFactory.openSession();//生成一個session session.beginTransaction();//開起事務 Student student = (Student)session.get(Student.class,Long.valueOf(x));//選擇id=x的資料 student.setName(name); session.save(student); session.getTransaction().commit();//提交事務 session.close();//關閉session } private void getAllStudent() { Session session = sessionFactory.openSession();//生成一個session session.beginTransaction();//開起事務 String hql = "from Student"; Query query = session.createQuery(hql); List<Student> list = query.list(); for(Student student : list) { System.out.println(student); } session.getTransaction().commit();//提交事務 session.close();//關閉session } public static void main(String[] args) { StudentTest studentTest = new StudentTest(); //studentTest.add();//增加資料 studentTest.getAllStudent(); } }
[ "user@user-PC" ]
user@user-PC
7bfaef2c951cd362f98fd0d5f7687fb4d18107e7
9462de38ac4bcd665b3b2207d5abc38ae4a92a90
/Module_4_version_2/case_study/src/main/java/com/example/customer/entity/Position.java
f1add74684ab716662cc000725b54dbab132f639
[]
no_license
KhangNguyenKun/C0920G1_NguyenLePhucKhang
f77c302df7cd2bdb89e887acccbd88cc636937a8
eb570bf7adafccb5a3c4fba0805008f64143d368
refs/heads/master
2023-03-29T09:40:43.514780
2021-04-02T07:59:48
2021-04-02T07:59:48
295,315,448
0
0
null
null
null
null
UTF-8
Java
false
false
915
java
package com.example.customer.entity; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; import java.util.List; @Entity public class Position { @Id private String positionId; private String positionName; @OneToMany(mappedBy = "position") private List<Employee> employeeList; public Position() { } public String getPositionId() { return positionId; } public void setPositionId(String positionId) { this.positionId = positionId; } public String getPositionName() { return positionName; } public void setPositionName(String positionName) { this.positionName = positionName; } public List<Employee> getEmployeeList() { return employeeList; } public void setEmployeeList(List<Employee> employeeList) { this.employeeList = employeeList; } }
[ "phuckhang98@gmail.com" ]
phuckhang98@gmail.com
e4fa76aa23d20d7ab8e8cca6ca96da9e1b069b91
44e7adc9a1c5c0a1116097ac99c2a51692d4c986
/aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/Template.java
6f6bae99a18a57a87e20abb44a01fe2bfb8acbb0
[ "Apache-2.0" ]
permissive
QiAnXinCodeSafe/aws-sdk-java
f93bc97c289984e41527ae5bba97bebd6554ddbe
8251e0a3d910da4f63f1b102b171a3abf212099e
refs/heads/master
2023-01-28T14:28:05.239019
2020-12-03T22:09:01
2020-12-03T22:09:01
318,460,751
1
0
Apache-2.0
2020-12-04T10:06:51
2020-12-04T09:05:03
null
UTF-8
Java
false
false
11,965
java
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** * <p> * A template object. A <i>template</i> is an entity in QuickSight that encapsulates the metadata required to create an * analysis and that you can use to create a dashboard. A template adds a layer of abstraction by using placeholders to * replace the dataset associated with an analysis. You can use templates to create dashboards by replacing dataset * placeholders with datasets that follow the same schema that was used to create the source analysis and template. * </p> * <p> * You can share templates across AWS accounts by allowing users in other AWS accounts to create a template or a * dashboard from an existing template. * </p> * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/Template" target="_top">AWS API * Documentation</a> */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Template implements Serializable, Cloneable, StructuredPojo { /** * <p> * The Amazon Resource Name (ARN) of the template. * </p> */ private String arn; /** * <p> * The display name of the template. * </p> */ private String name; /** * <p> * A structure describing the versions of the template. * </p> */ private TemplateVersion version; /** * <p> * The ID for the template. This is unique per AWS Region for each AWS account. * </p> */ private String templateId; /** * <p> * Time when this was last updated. * </p> */ private java.util.Date lastUpdatedTime; /** * <p> * Time when this was created. * </p> */ private java.util.Date createdTime; /** * <p> * The Amazon Resource Name (ARN) of the template. * </p> * * @param arn * The Amazon Resource Name (ARN) of the template. */ public void setArn(String arn) { this.arn = arn; } /** * <p> * The Amazon Resource Name (ARN) of the template. * </p> * * @return The Amazon Resource Name (ARN) of the template. */ public String getArn() { return this.arn; } /** * <p> * The Amazon Resource Name (ARN) of the template. * </p> * * @param arn * The Amazon Resource Name (ARN) of the template. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withArn(String arn) { setArn(arn); return this; } /** * <p> * The display name of the template. * </p> * * @param name * The display name of the template. */ public void setName(String name) { this.name = name; } /** * <p> * The display name of the template. * </p> * * @return The display name of the template. */ public String getName() { return this.name; } /** * <p> * The display name of the template. * </p> * * @param name * The display name of the template. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withName(String name) { setName(name); return this; } /** * <p> * A structure describing the versions of the template. * </p> * * @param version * A structure describing the versions of the template. */ public void setVersion(TemplateVersion version) { this.version = version; } /** * <p> * A structure describing the versions of the template. * </p> * * @return A structure describing the versions of the template. */ public TemplateVersion getVersion() { return this.version; } /** * <p> * A structure describing the versions of the template. * </p> * * @param version * A structure describing the versions of the template. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withVersion(TemplateVersion version) { setVersion(version); return this; } /** * <p> * The ID for the template. This is unique per AWS Region for each AWS account. * </p> * * @param templateId * The ID for the template. This is unique per AWS Region for each AWS account. */ public void setTemplateId(String templateId) { this.templateId = templateId; } /** * <p> * The ID for the template. This is unique per AWS Region for each AWS account. * </p> * * @return The ID for the template. This is unique per AWS Region for each AWS account. */ public String getTemplateId() { return this.templateId; } /** * <p> * The ID for the template. This is unique per AWS Region for each AWS account. * </p> * * @param templateId * The ID for the template. This is unique per AWS Region for each AWS account. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withTemplateId(String templateId) { setTemplateId(templateId); return this; } /** * <p> * Time when this was last updated. * </p> * * @param lastUpdatedTime * Time when this was last updated. */ public void setLastUpdatedTime(java.util.Date lastUpdatedTime) { this.lastUpdatedTime = lastUpdatedTime; } /** * <p> * Time when this was last updated. * </p> * * @return Time when this was last updated. */ public java.util.Date getLastUpdatedTime() { return this.lastUpdatedTime; } /** * <p> * Time when this was last updated. * </p> * * @param lastUpdatedTime * Time when this was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withLastUpdatedTime(java.util.Date lastUpdatedTime) { setLastUpdatedTime(lastUpdatedTime); return this; } /** * <p> * Time when this was created. * </p> * * @param createdTime * Time when this was created. */ public void setCreatedTime(java.util.Date createdTime) { this.createdTime = createdTime; } /** * <p> * Time when this was created. * </p> * * @return Time when this was created. */ public java.util.Date getCreatedTime() { return this.createdTime; } /** * <p> * Time when this was created. * </p> * * @param createdTime * Time when this was created. * @return Returns a reference to this object so that method calls can be chained together. */ public Template withCreatedTime(java.util.Date createdTime) { setCreatedTime(createdTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getVersion() != null) sb.append("Version: ").append(getVersion()).append(","); if (getTemplateId() != null) sb.append("TemplateId: ").append(getTemplateId()).append(","); if (getLastUpdatedTime() != null) sb.append("LastUpdatedTime: ").append(getLastUpdatedTime()).append(","); if (getCreatedTime() != null) sb.append("CreatedTime: ").append(getCreatedTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Template == false) return false; Template other = (Template) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getVersion() == null ^ this.getVersion() == null) return false; if (other.getVersion() != null && other.getVersion().equals(this.getVersion()) == false) return false; if (other.getTemplateId() == null ^ this.getTemplateId() == null) return false; if (other.getTemplateId() != null && other.getTemplateId().equals(this.getTemplateId()) == false) return false; if (other.getLastUpdatedTime() == null ^ this.getLastUpdatedTime() == null) return false; if (other.getLastUpdatedTime() != null && other.getLastUpdatedTime().equals(this.getLastUpdatedTime()) == false) return false; if (other.getCreatedTime() == null ^ this.getCreatedTime() == null) return false; if (other.getCreatedTime() != null && other.getCreatedTime().equals(this.getCreatedTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getVersion() == null) ? 0 : getVersion().hashCode()); hashCode = prime * hashCode + ((getTemplateId() == null) ? 0 : getTemplateId().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedTime() == null) ? 0 : getLastUpdatedTime().hashCode()); hashCode = prime * hashCode + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode()); return hashCode; } @Override public Template clone() { try { return (Template) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.quicksight.model.transform.TemplateMarshaller.getInstance().marshall(this, protocolMarshaller); } }
[ "" ]
bdee08120cc61b6b7ce8f4d6dafd798fbda19add
ca030864a3a1c24be6b9d1802c2353da4ca0d441
/classes8.dex_source_from_JADX/com/facebook/places/checkin/ui/CheckinNiemAlertViewImpl.java
01c63f0f835dca33535a86f8577ea51f1ab44101
[]
no_license
pxson001/facebook-app
87aa51e29195eeaae69adeb30219547f83a5b7b1
640630f078980f9818049625ebc42569c67c69f7
refs/heads/master
2020-04-07T20:36:45.758523
2018-03-07T09:04:57
2018-03-07T09:04:57
124,208,458
4
0
null
null
null
null
UTF-8
Java
false
false
4,462
java
package com.facebook.places.checkin.ui; import android.content.Context; import android.view.View; import android.view.View.OnClickListener; import com.facebook.fbui.widget.megaphone.Megaphone.OnDismissListener; import com.facebook.inject.Assisted; import com.facebook.inject.Lazy; import com.facebook.loom.logger.LogEntry.EntryType; import com.facebook.loom.logger.Logger; import com.facebook.ui.toaster.ClickableToast; import com.facebook.ui.toaster.ClickableToastBuilder; import com.facebook.uicontrib.error.AlertView; import com.facebook.widget.LazyView; import com.facebook.widget.refreshableview.ConnectionRetrySnackbarView; import javax.inject.Inject; /* compiled from: checkin_tap */ public class CheckinNiemAlertViewImpl extends BaseCheckinNiemUI { private Context f18069d; private final Lazy<ClickableToastBuilder> f18070e; public ClickableToast f18071f; public OnClickListener f18072g; /* compiled from: checkin_tap */ class C19501 implements OnClickListener { final /* synthetic */ CheckinNiemAlertViewImpl f18068a; C19501(CheckinNiemAlertViewImpl checkinNiemAlertViewImpl) { this.f18068a = checkinNiemAlertViewImpl; } public void onClick(View view) { int a = Logger.a(2, EntryType.UI_INPUT_START, -252712258); if (this.f18068a.f18071f != null) { this.f18068a.f18071f.b(); } this.f18068a.f18072g.onClick(view); Logger.a(2, EntryType.UI_INPUT_END, 800600316, a); } } @Inject public CheckinNiemAlertViewImpl(@Assisted LazyView lazyView, @Assisted String str, Context context, Lazy<ClickableToastBuilder> lazy) { super(lazyView, str, context.getResources()); this.f18069d = context; this.b = str; this.f18070e = lazy; } public final boolean mo1074a(OnClickListener onClickListener, OnDismissListener onDismissListener) { this.f18072g = onClickListener; AlertView alertView = (AlertView) mo1075b(); if (alertView == null) { return false; } alertView.setPrimaryButtonText(m22017a(2131235307, new String[0])); return true; } public final void mo1072a() { ((AlertView) mo1075b()).setVisibility(8); } public final void mo1073a(OnClickListener onClickListener) { AlertView alertView = (AlertView) mo1075b(); alertView.setVisibility(0); alertView.setMessage(m22017a(2131235172, new String[0])); alertView.setPrimaryButtonText(m22017a(2131235308, new String[0])); alertView.setPrimaryButtonClickListener(onClickListener); } public final void mo1076b(OnClickListener onClickListener) { AlertView alertView = (AlertView) mo1075b(); alertView.setVisibility(0); alertView.setMessage(m22017a(2131235302, new String[0])); alertView.setPrimaryButtonClickListener(onClickListener); } public final void mo1077c(OnClickListener onClickListener) { AlertView alertView = (AlertView) mo1075b(); alertView.setVisibility(0); alertView.setMessage(m22017a(2131235301, new String[0])); alertView.setPrimaryButtonText(m22017a(2131235306, new String[0])); alertView.setPrimaryButtonClickListener(onClickListener); } public final void mo1078d(OnClickListener onClickListener) { ConnectionRetrySnackbarView connectionRetrySnackbarView = new ConnectionRetrySnackbarView(this.f18069d); connectionRetrySnackbarView.setRetryClickListener(new C19501(this)); this.f18071f = ((ClickableToastBuilder) this.f18070e.get()).a(connectionRetrySnackbarView, 10000); this.f18071f.a(); } public final void mo1079e(OnClickListener onClickListener) { AlertView alertView = (AlertView) mo1075b(); alertView.setVisibility(0); alertView.setMessage(m22017a(2131235304, new String[0])); alertView.setPrimaryButtonClickListener(onClickListener); } public final void mo1080f(OnClickListener onClickListener) { AlertView alertView = (AlertView) mo1075b(); alertView.setVisibility(0); alertView.setMessage(m22017a(2131235305, this.f18065b)); alertView.setPrimaryButtonText(m22017a(2131235309, new String[0])); alertView.setPrimaryButtonClickListener(onClickListener); } protected final View mo1075b() { return this.f18066c.a(); } }
[ "son.pham@jmango360.com" ]
son.pham@jmango360.com
5fb67a99cc0284ac2e2bd30969661d254b921202
0c06c20868983902717471459b9ca67929825096
/RMIClient/src/gui/ClientGUIController.java
54380aea50299d21ca444d20267f323007f51419
[]
no_license
hiepdv128/SimpleMediaPlayer
48aec60b789d7ae9fc3cb3c25433a5b1e7abdb91
bde81b2ba09313be36eb8988055be43acf55e85f
refs/heads/master
2021-01-20T18:47:55.307303
2016-08-06T05:00:59
2016-08-06T05:00:59
65,065,090
1
0
null
null
null
null
UTF-8
Java
false
false
2,281
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package gui; import java.net.URL; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.util.ResourceBundle; import java.util.logging.Level; import java.util.logging.Logger; import javafx.animation.AnimationTimer; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Button; import javafx.scene.control.Label; /** * FXML Controller class * * @author hellb */ public class ClientGUIController implements Initializable { private RemotePlayer remote; private static final String HOST = "localhost"; private static final int PORT = 1099; @FXML private Button btPlay; @FXML private Button btPrev; @FXML private Button btNext; @FXML private Label lbNameSong; @FXML void onPrevClick(ActionEvent event) throws RemoteException { remote.prevClick(); System.out.println("Prev Click!"); } @FXML void onPlayClick(ActionEvent event) throws RemoteException { remote.playClick(); System.out.println("Play Click!"); } @FXML void onNextClick(ActionEvent event) throws RemoteException { remote.nextClick(); System.out.println("Next Click!"); } @Override public void initialize(URL url, ResourceBundle rb) { //TODO get remote object try { Registry registry = LocateRegistry.getRegistry(HOST,PORT); remote = (RemotePlayer) registry.lookup("RemotePlayer"); new AnimationTimer() { @Override public void handle(long now) { try { lbNameSong.setText(remote.getNameSong()); } catch (RemoteException ex) { Logger.getLogger(ClientGUIController.class.getName()).log(Level.SEVERE, null, ex); } } }.start(); } catch (Exception ex) { ex.printStackTrace(); } } }
[ "Hiepit3" ]
Hiepit3
4a3870d6c35119e8b7502570b32cf6727c941862
d6487c44a53aa378f60a9114c8b500073787dd3c
/app/src/main/java/com/liqun/securitymax/utils/StreamUtils.java
4232e01b9954b1f3398eed7d871fcc523f31e285
[]
no_license
MoeRookie/SecurityMax
4d027e7a7b025a3af4e6ac7888f5405a1bfd1b5a
15b120f304e8816429ccbdc2c845202a66e68f51
refs/heads/master
2021-08-15T11:04:47.624919
2021-08-01T11:51:34
2021-08-01T11:51:34
247,482,157
0
0
null
null
null
null
UTF-8
Java
false
false
1,201
java
package com.liqun.securitymax.utils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; public class StreamUtils { /** * 输入流 -> 字符串 * @param is 输入流对象 * @return 流转换成的字符串, 返回null代表异常 */ public static String stream2String(InputStream is) { // 1.在读取的过程中,将读取的内容存储到缓存中,然后一次性的转换成字符串返回 ByteArrayOutputStream baos = new ByteArrayOutputStream(); // 2.读流操作(读到没有为止[循环]) byte[] buffer = new byte[1024]; // 3.记录读取内容长度的临时变量 int temp = -1; try { while ((temp = is.read(buffer)) != -1) { baos.write(buffer,0,temp); } // 返回读取到的数据 return baos.toString(); } catch (IOException e) { e.printStackTrace(); }finally { try { baos.close(); is.close(); } catch (IOException e) { e.printStackTrace(); } } return null; } }
[ "MoeRookie@163.com" ]
MoeRookie@163.com
bbf74287b4384a799d1fe478e09d8d91ee85f70e
35e3ef2196e7e68e92ae64697ab7f7685a9274ab
/eureka-consumer-order80/src/main/java/com/jin/lb/LoadBalancer.java
0482fb0d6c06dfb9ca0d765439c4e88bf054e4de
[]
no_license
Jinx66666666/Jin_SpringCloud
ede8cf32ab7ae4289b19cf48522a7c9d0a77918d
d4cf64e386d63b89b76c62f8e93cf34782d15c54
refs/heads/master
2023-03-12T10:35:25.650417
2021-03-04T10:01:48
2021-03-04T10:01:48
269,594,979
0
0
null
null
null
null
UTF-8
Java
false
false
293
java
package com.jin.lb; import org.springframework.cloud.client.ServiceInstance; import java.util.List; /** * @author: Jin * @Date: 2021/2/19 15:42 * @Description: * @version: V1.0 */ public interface LoadBalancer { ServiceInstance instances(List<ServiceInstance> serviceInstances); }
[ "13273023452@163.com" ]
13273023452@163.com
f556351cac0a624e964541eae607453b7b9d00ad
b7904fbad06f0cec19e4cf84a0b7e5c30fd6d3ff
/share-common/src/test/java/AppTest.java
b6b22aca038e204c6ee2f0ab209690f24e867517
[]
no_license
chenglinjava68/share-platform
2373adf8a0fd183b35d623e18e7a6f611c9a8c0d
06caca3bafb8e3dd8d4bcef3d99de6730373ed92
refs/heads/master
2022-09-16T02:06:18.771656
2020-05-29T19:30:04
2020-05-29T19:30:04
null
0
0
null
null
null
null
UTF-8
Java
false
false
204
java
import org.andot.share.common.utils.ClassConvertUtil; public class AppTest { public static void main(String[] args) { User user = new User(); user.setName("ISO打防结合"); } }
[ "andotorg@outlook.com" ]
andotorg@outlook.com
96dc0f14f2d01bcc5c5ea735fc77bf90e77bde9f
ab7c80bb52003ceb06bf0fd9f7d6c769ab0ed14e
/app/src/main/java/com/feiyu4fun/centralauth/controllers/management/ManagementController.java
0bc442a190b3ac9218cee85c689bf47fec233d38
[]
no_license
chenfeiyude/centralauth
aa33d23eb4ec03983b1c6d246bd06e5a08e83174
58ed8de2269fc1cdf17dfa97dc68590c3c173c40
refs/heads/master
2021-05-21T13:16:23.872997
2020-08-14T22:13:13
2020-08-14T22:13:13
252,661,225
0
0
null
null
null
null
UTF-8
Java
false
false
996
java
package com.feiyu4fun.centralauth.controllers.management; import com.feiyu4fun.centralauth.dtos.management.UserDTO; import com.feiyu4fun.centralauth.interfaces.management.AuthService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletRequest; @RestController @RequestMapping(value="/api/management") @Validated @Slf4j public class ManagementController { @Autowired private AuthService authService; /** * api/management/user/get * * @param request * @return user json */ @RequestMapping(method=RequestMethod.GET, value="/user/get") public UserDTO getUser(HttpServletRequest request) { return authService.getUserFromSession(request); } }
[ "chenfeiyu0402@gmail.com" ]
chenfeiyu0402@gmail.com
ac685cb5f564ff8e46bf1af1f421d3e0b2e2ab19
844d8ae8a89c30d76a383facc4387380e9fd90f7
/Life.Test/src/com/substantial/life/test/WorldTests.java
d0167b8a87a7929d6a742ecad00da60d51782900
[]
no_license
davidmfoley/kindle-life
4c5f9e72e890f0f6df841dcfb46dee2b7412611c
c83c4a9cb2c970de55ad0cb3501b09285e830fbe
refs/heads/master
2021-01-23T07:02:50.143003
2012-12-04T17:41:07
2012-12-04T17:41:07
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,811
java
package com.substantial.life.test; import com.substantial.life.engine.World; import junit.framework.TestCase; public class WorldTests extends TestCase { World world; protected void setUp() throws Exception { world = new World(); super.setUp(); } public void testAliveAndDeadCells() { world.toggle(1,1); assertEquals(true, world.isAlive(1,1)); assertEquals(false, world.isAlive(0,2)); assertEquals(1, world.getAliveCells().size()); } public void testToggleTwice() { world.toggle(0,1); world.toggle(0,1); assertEquals(false, world.isAlive(0,1)); assertEquals(0, world.getAliveCells().size()); } public void testDiamond() { world.toggle(0,1); world.toggle(1,2); world.toggle(1,0); world.toggle(2,1); world.evolve(); assertEquals(true, world.isAlive(0,1)); assertEquals(true, world.isAlive(1,0)); assertEquals(true, world.isAlive(1,2)); assertEquals(true, world.isAlive(2,1)); assertEquals(false, world.isAlive(0,2)); assertEquals(false, world.isAlive(0,0)); assertEquals(false, world.isAlive(1,1)); assertEquals(4, world.getAliveCells().size()); } public void testLine() { world.toggle(0,1); world.toggle(1,1); world.toggle(2,1); world.evolve(); assertEquals(true, world.isAlive(1,0)); assertEquals(true, world.isAlive(1,1)); assertEquals(true, world.isAlive(1,2)); assertEquals(false, world.isAlive(2,1)); assertEquals(false, world.isAlive(0,1)); world.evolve(); assertEquals(true, world.isAlive(0,1)); assertEquals(true, world.isAlive(1,1)); assertEquals(true, world.isAlive(2,1)); assertEquals(false, world.isAlive(1,2)); assertEquals(false, world.isAlive(1,0)); assertEquals(3, world.getAliveCells().size()); } protected void tearDown() throws Exception { super.tearDown(); } }
[ "davidmfoley@gmail.com" ]
davidmfoley@gmail.com
9f0aa0f5013244948f21b0b9661ed1476c0f95ad
63b4ef9d38ba9c5510bef7e5a1a1de989b904550
/configurator/configurator/configurator-model/src/main/java/at/jku/cis/iVolunteer/configurator/model/configurations/clazz/ClassConfigurationBundle.java
7e1d3aecd5ca5afe4276fca6813c0d9dc9f7a7d9
[]
no_license
ntsmwk/iVolunteerPrototype
17c66a2616ecf7de6f00c9735b95f741588bbe07
2c48f9188a367f6104fe85d29cd638d103edaebd
refs/heads/commondev
2022-07-24T22:41:57.931536
2020-11-28T10:17:15
2020-11-28T10:17:15
118,117,598
2
2
null
2022-07-08T02:53:25
2018-01-19T11:31:23
Java
UTF-8
Java
false
false
1,203
java
package at.jku.cis.iVolunteer.configurator.model.configurations.clazz; import java.util.List; import at.jku.cis.iVolunteer.configurator.model.configurations.clazz.ClassConfiguration; import at.jku.cis.iVolunteer.configurator.model.meta.core.clazz.ClassDefinition; import at.jku.cis.iVolunteer.configurator.model.meta.core.relationship.Relationship; import at.jku.cis.iVolunteer.configurator.model.meta.core.relationship.RelationshipDTO; public class ClassConfigurationBundle { ClassConfiguration classConfiguration; List<ClassDefinition> classDefinitions; List<Relationship> relationships; public ClassConfiguration getClassConfiguration() { return classConfiguration; } public void setClassConfiguration(ClassConfiguration classConfiguration) { this.classConfiguration = classConfiguration; } public List<ClassDefinition> getClassDefinitions() { return classDefinitions; } public void setClassDefinitions(List<ClassDefinition> classDefinitions) { this.classDefinitions = classDefinitions; } public List<Relationship> getRelationships() { return relationships; } public void setRelationships(List<Relationship> relationships) { this.relationships = relationships; } }
[ "alexander.kopp@gmx.at" ]
alexander.kopp@gmx.at
6bce47254818c0c4d1a9bf85e3ff7836dbd07fc5
8c3c68d5551708ff33f2cbf4e7966ec175cfc5d5
/Foodtails_Website/src/mainPackage/sendmail.java
209106228a741e5dd54e2be6bec8a08ee99feb59
[]
no_license
lefterismarin/FoodTails-Servlet
8ff7047180ca6cab89d511d11780e6b05d861957
c8d78ebecbdd96babcf851ded71e30789fcf602d
refs/heads/master
2020-06-09T01:55:34.507611
2019-06-23T22:50:07
2019-06-23T22:50:07
193,347,684
0
1
null
2019-06-23T14:00:59
2019-06-23T12:52:20
HTML
UTF-8
Java
false
false
2,540
java
package mainPackage; import java.util.Properties; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class sendmail { public static boolean sendMailFunc(String recover_mail, String new_password) { boolean email_sent=false; final String username = "lefterismarin92@gmail.com"; final String password = "thelw1pitsa!"; Properties prop = new Properties(); prop.put("mail.smtp.auth", "true"); prop.put("mail.smtp.starttls.enable", "true"); prop.put("mail.smtp.host", "smtp.gmail.com"); prop.put("mail.smtp.port", "587"); Authenticator auth = new Authenticator(){ public PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(username, password); } }; Session session = Session.getInstance(prop, auth); try { Message message = new MimeMessage(session); message.setFrom(new InternetAddress("lefterismarin92@gmail.com")); message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(recover_mail)); message.setSubject("FOODTAILS Recover Password"); message.setContent("Your password: "+new_password, "text/html; charset=utf-8"); Transport.send(message); email_sent=true; } catch(MessagingException e) { System.out.println(e); return email_sent; } return email_sent; } public static void ContactMailFunc(String user, String text) { final String username = "lefterismarin92@gmail.com"; final String password = "thelw1pitsa!"; Properties prop = new Properties(); prop.put("mail.smtp.auth", "true"); prop.put("mail.smtp.starttls.enable", "true"); prop.put("mail.smtp.host", "smtp.gmail.com"); prop.put("mail.smtp.port", "587"); Authenticator auth = new Authenticator(){ public PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(username, password); } }; Session session = Session.getInstance(prop, auth); try { Message message = new MimeMessage(session); message.setFrom(new InternetAddress("lefterismarin92@gmail.com")); message.setRecipients(Message.RecipientType.TO, InternetAddress.parse("lefterismarin92@gmail.com")); message.setSubject("Message Received From User: "+user); message.setContent(user+": "+text, "text/html; charset=utf-8"); Transport.send(message); } catch(MessagingException e) { System.out.println(e); } } }
[ "noreply@github.com" ]
noreply@github.com
4b93ff201e322918d1c86e1ebbaaee739b14e570
82bcd2f5a8c26686af3d8624300ba987c42d557c
/src/main/java/com/devwon/koreaiptables/Aws.java
060775cdca56e90aee06699be060a565efb40fc1
[]
no_license
jwk1014/KoreaIptables
b58626aea52d2c1dabca8edad7cf1beb27122b71
d0c837da32ec05d657a3dd08fac7e4f72ab63a3d
refs/heads/master
2022-12-11T08:57:07.963278
2022-11-23T13:02:34
2022-11-23T13:02:34
181,502,423
0
0
null
null
null
null
UTF-8
Java
false
false
952
java
package com.devwon.koreaiptables; import retrofit2.Call; import retrofit2.http.GET; import java.util.List; public interface Aws { String BASE_URL = "https://ip-ranges.amazonaws.com"; @GET("/ip-ranges.json") Call<IpRangeList> getIpRangeList(); class IpRangeList { // syncToken // createDate private List<IpRange> prefixes; public List<IpRange> getPrefixes() { return prefixes; } } class IpRange { private String ipPrefix; private String region; private String service; private String networkBorderGroup; public String getIpPrefix() { return ipPrefix; } public String getRegion() { return region; } public String getService() { return service; } public String getNetworkBorderGroup() { return networkBorderGroup; } } }
[ "admin@devwon.com" ]
admin@devwon.com
d133a187d0649051933932043262bcd35f3e35d1
144bebc7a5e41ae588d1b1841f17eeba436a1250
/testcucumber/src/test/java/testcucumber/RunCucumberTest.java
c0f32c2de9893212a57eec112b33489e299e8732
[]
no_license
LeilaArmoush/TrunarrativeTest
f5bba461c458fc272f6ff4cb137c24891353f96e
ecefeff60c156cc7fc1a74faf2216e29c458c068
refs/heads/master
2021-07-18T15:27:06.772917
2019-10-31T07:59:12
2019-10-31T07:59:12
218,618,500
0
0
null
2020-10-13T17:06:45
2019-10-30T20:26:42
Java
UTF-8
Java
false
false
227
java
package testcucumber; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions(plugin = {"pretty"}) public class RunCucumberTest { }
[ "leila.armoush.1990@gmail.com" ]
leila.armoush.1990@gmail.com
093f3d0f79959062c21d8e582270a97417b53b76
45f20bf4597b5f89e5293c35e223204159310956
/quickfixj-core/src/main/java/quickfix/fix50sp1/MarketDataRequest.java
93e9e2f536a27911a5da4d293c6aa68a4a423acb
[ "BSD-2-Clause", "LicenseRef-scancode-public-domain" ]
permissive
lloydchan/quickfixj
9d42924c8e9d4cc0a96821faa4006fcd4b0d21c4
e26446c775b3f63d93bb4e8d6f02fde8a22d73fc
refs/heads/master
2020-07-31T21:20:20.178481
2019-09-26T14:40:49
2019-09-26T14:40:49
210,757,360
0
0
null
2019-09-25T04:46:02
2019-09-25T04:46:01
null
UTF-8
Java
false
false
147,465
java
package quickfix.fix50sp1; import quickfix.FieldNotFound; import quickfix.Group; public class MarketDataRequest extends Message { static final long serialVersionUID = 20050617; public static final String MSGTYPE = "V"; public MarketDataRequest() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); } public MarketDataRequest(quickfix.field.MDReqID mDReqID, quickfix.field.SubscriptionRequestType subscriptionRequestType, quickfix.field.MarketDepth marketDepth) { this(); setField(mDReqID); setField(subscriptionRequestType); setField(marketDepth); } public void set(quickfix.field.MDReqID value) { setField(value); } public quickfix.field.MDReqID get(quickfix.field.MDReqID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDReqID getMDReqID() throws FieldNotFound { return get(new quickfix.field.MDReqID()); } public boolean isSet(quickfix.field.MDReqID field) { return isSetField(field); } public boolean isSetMDReqID() { return isSetField(262); } public void set(quickfix.field.SubscriptionRequestType value) { setField(value); } public quickfix.field.SubscriptionRequestType get(quickfix.field.SubscriptionRequestType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SubscriptionRequestType getSubscriptionRequestType() throws FieldNotFound { return get(new quickfix.field.SubscriptionRequestType()); } public boolean isSet(quickfix.field.SubscriptionRequestType field) { return isSetField(field); } public boolean isSetSubscriptionRequestType() { return isSetField(263); } public void set(quickfix.fix50sp1.component.Parties component) { setComponent(component); } public quickfix.fix50sp1.component.Parties get(quickfix.fix50sp1.component.Parties component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.Parties getParties() throws FieldNotFound { return get(new quickfix.fix50sp1.component.Parties()); } public void set(quickfix.field.NoPartyIDs value) { setField(value); } public quickfix.field.NoPartyIDs get(quickfix.field.NoPartyIDs value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { return get(new quickfix.field.NoPartyIDs()); } public boolean isSet(quickfix.field.NoPartyIDs field) { return isSetField(field); } public boolean isSetNoPartyIDs() { return isSetField(453); } public static class NoPartyIDs extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {448, 447, 452, 802, 0}; public NoPartyIDs() { super(453, 448, ORDER); } public void set(quickfix.field.PartyID value) { setField(value); } public quickfix.field.PartyID get(quickfix.field.PartyID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PartyID getPartyID() throws FieldNotFound { return get(new quickfix.field.PartyID()); } public boolean isSet(quickfix.field.PartyID field) { return isSetField(field); } public boolean isSetPartyID() { return isSetField(448); } public void set(quickfix.field.PartyIDSource value) { setField(value); } public quickfix.field.PartyIDSource get(quickfix.field.PartyIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PartyIDSource getPartyIDSource() throws FieldNotFound { return get(new quickfix.field.PartyIDSource()); } public boolean isSet(quickfix.field.PartyIDSource field) { return isSetField(field); } public boolean isSetPartyIDSource() { return isSetField(447); } public void set(quickfix.field.PartyRole value) { setField(value); } public quickfix.field.PartyRole get(quickfix.field.PartyRole value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PartyRole getPartyRole() throws FieldNotFound { return get(new quickfix.field.PartyRole()); } public boolean isSet(quickfix.field.PartyRole field) { return isSetField(field); } public boolean isSetPartyRole() { return isSetField(452); } public void set(quickfix.fix50sp1.component.PtysSubGrp component) { setComponent(component); } public quickfix.fix50sp1.component.PtysSubGrp get(quickfix.fix50sp1.component.PtysSubGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.PtysSubGrp getPtysSubGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.PtysSubGrp()); } public void set(quickfix.field.NoPartySubIDs value) { setField(value); } public quickfix.field.NoPartySubIDs get(quickfix.field.NoPartySubIDs value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoPartySubIDs getNoPartySubIDs() throws FieldNotFound { return get(new quickfix.field.NoPartySubIDs()); } public boolean isSet(quickfix.field.NoPartySubIDs field) { return isSetField(field); } public boolean isSetNoPartySubIDs() { return isSetField(802); } public static class NoPartySubIDs extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {523, 803, 0}; public NoPartySubIDs() { super(802, 523, ORDER); } public void set(quickfix.field.PartySubID value) { setField(value); } public quickfix.field.PartySubID get(quickfix.field.PartySubID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PartySubID getPartySubID() throws FieldNotFound { return get(new quickfix.field.PartySubID()); } public boolean isSet(quickfix.field.PartySubID field) { return isSetField(field); } public boolean isSetPartySubID() { return isSetField(523); } public void set(quickfix.field.PartySubIDType value) { setField(value); } public quickfix.field.PartySubIDType get(quickfix.field.PartySubIDType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PartySubIDType getPartySubIDType() throws FieldNotFound { return get(new quickfix.field.PartySubIDType()); } public boolean isSet(quickfix.field.PartySubIDType field) { return isSetField(field); } public boolean isSetPartySubIDType() { return isSetField(803); } } } public void set(quickfix.field.MarketDepth value) { setField(value); } public quickfix.field.MarketDepth get(quickfix.field.MarketDepth value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MarketDepth getMarketDepth() throws FieldNotFound { return get(new quickfix.field.MarketDepth()); } public boolean isSet(quickfix.field.MarketDepth field) { return isSetField(field); } public boolean isSetMarketDepth() { return isSetField(264); } public void set(quickfix.field.MDUpdateType value) { setField(value); } public quickfix.field.MDUpdateType get(quickfix.field.MDUpdateType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDUpdateType getMDUpdateType() throws FieldNotFound { return get(new quickfix.field.MDUpdateType()); } public boolean isSet(quickfix.field.MDUpdateType field) { return isSetField(field); } public boolean isSetMDUpdateType() { return isSetField(265); } public void set(quickfix.field.AggregatedBook value) { setField(value); } public quickfix.field.AggregatedBook get(quickfix.field.AggregatedBook value) throws FieldNotFound { getField(value); return value; } public quickfix.field.AggregatedBook getAggregatedBook() throws FieldNotFound { return get(new quickfix.field.AggregatedBook()); } public boolean isSet(quickfix.field.AggregatedBook field) { return isSetField(field); } public boolean isSetAggregatedBook() { return isSetField(266); } public void set(quickfix.field.OpenCloseSettlFlag value) { setField(value); } public quickfix.field.OpenCloseSettlFlag get(quickfix.field.OpenCloseSettlFlag value) throws FieldNotFound { getField(value); return value; } public quickfix.field.OpenCloseSettlFlag getOpenCloseSettlFlag() throws FieldNotFound { return get(new quickfix.field.OpenCloseSettlFlag()); } public boolean isSet(quickfix.field.OpenCloseSettlFlag field) { return isSetField(field); } public boolean isSetOpenCloseSettlFlag() { return isSetField(286); } public void set(quickfix.field.Scope value) { setField(value); } public quickfix.field.Scope get(quickfix.field.Scope value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Scope getScope() throws FieldNotFound { return get(new quickfix.field.Scope()); } public boolean isSet(quickfix.field.Scope field) { return isSetField(field); } public boolean isSetScope() { return isSetField(546); } public void set(quickfix.field.MDImplicitDelete value) { setField(value); } public quickfix.field.MDImplicitDelete get(quickfix.field.MDImplicitDelete value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDImplicitDelete getMDImplicitDelete() throws FieldNotFound { return get(new quickfix.field.MDImplicitDelete()); } public boolean isSet(quickfix.field.MDImplicitDelete field) { return isSetField(field); } public boolean isSetMDImplicitDelete() { return isSetField(547); } public void set(quickfix.fix50sp1.component.MDReqGrp component) { setComponent(component); } public quickfix.fix50sp1.component.MDReqGrp get(quickfix.fix50sp1.component.MDReqGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.MDReqGrp getMDReqGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.MDReqGrp()); } public void set(quickfix.field.NoMDEntryTypes value) { setField(value); } public quickfix.field.NoMDEntryTypes get(quickfix.field.NoMDEntryTypes value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoMDEntryTypes getNoMDEntryTypes() throws FieldNotFound { return get(new quickfix.field.NoMDEntryTypes()); } public boolean isSet(quickfix.field.NoMDEntryTypes field) { return isSetField(field); } public boolean isSetNoMDEntryTypes() { return isSetField(267); } public static class NoMDEntryTypes extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {269, 0}; public NoMDEntryTypes() { super(267, 269, ORDER); } public void set(quickfix.field.MDEntryType value) { setField(value); } public quickfix.field.MDEntryType get(quickfix.field.MDEntryType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDEntryType getMDEntryType() throws FieldNotFound { return get(new quickfix.field.MDEntryType()); } public boolean isSet(quickfix.field.MDEntryType field) { return isSetField(field); } public boolean isSetMDEntryType() { return isSetField(269); } } public void set(quickfix.fix50sp1.component.InstrmtMDReqGrp component) { setComponent(component); } public quickfix.fix50sp1.component.InstrmtMDReqGrp get(quickfix.fix50sp1.component.InstrmtMDReqGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.InstrmtMDReqGrp getInstrmtMDReqGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.InstrmtMDReqGrp()); } public void set(quickfix.field.NoRelatedSym value) { setField(value); } public quickfix.field.NoRelatedSym get(quickfix.field.NoRelatedSym value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoRelatedSym getNoRelatedSym() throws FieldNotFound { return get(new quickfix.field.NoRelatedSym()); } public boolean isSet(quickfix.field.NoRelatedSym field) { return isSetField(field); } public boolean isSetNoRelatedSym() { return isSetField(146); } public static class NoRelatedSym extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {55, 65, 48, 22, 454, 460, 1227, 1151, 461, 167, 762, 200, 541, 1079, 966, 1049, 965, 224, 225, 239, 226, 227, 228, 255, 543, 470, 471, 472, 240, 202, 947, 967, 968, 206, 231, 969, 1146, 996, 1147, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 201, 1244, 1242, 997, 223, 207, 970, 971, 106, 348, 349, 107, 350, 351, 1184, 1185, 1186, 691, 667, 875, 876, 864, 873, 874, 1018, 711, 555, 15, 537, 63, 64, 271, 0}; public NoRelatedSym() { super(146, 55, ORDER); } public void set(quickfix.fix50sp1.component.Instrument component) { setComponent(component); } public quickfix.fix50sp1.component.Instrument get(quickfix.fix50sp1.component.Instrument component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.Instrument getInstrument() throws FieldNotFound { return get(new quickfix.fix50sp1.component.Instrument()); } public void set(quickfix.field.Symbol value) { setField(value); } public quickfix.field.Symbol get(quickfix.field.Symbol value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Symbol getSymbol() throws FieldNotFound { return get(new quickfix.field.Symbol()); } public boolean isSet(quickfix.field.Symbol field) { return isSetField(field); } public boolean isSetSymbol() { return isSetField(55); } public void set(quickfix.field.SymbolSfx value) { setField(value); } public quickfix.field.SymbolSfx get(quickfix.field.SymbolSfx value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { return get(new quickfix.field.SymbolSfx()); } public boolean isSet(quickfix.field.SymbolSfx field) { return isSetField(field); } public boolean isSetSymbolSfx() { return isSetField(65); } public void set(quickfix.field.SecurityID value) { setField(value); } public quickfix.field.SecurityID get(quickfix.field.SecurityID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityID getSecurityID() throws FieldNotFound { return get(new quickfix.field.SecurityID()); } public boolean isSet(quickfix.field.SecurityID field) { return isSetField(field); } public boolean isSetSecurityID() { return isSetField(48); } public void set(quickfix.field.SecurityIDSource value) { setField(value); } public quickfix.field.SecurityIDSource get(quickfix.field.SecurityIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { return get(new quickfix.field.SecurityIDSource()); } public boolean isSet(quickfix.field.SecurityIDSource field) { return isSetField(field); } public boolean isSetSecurityIDSource() { return isSetField(22); } public void set(quickfix.fix50sp1.component.SecAltIDGrp component) { setComponent(component); } public quickfix.fix50sp1.component.SecAltIDGrp get(quickfix.fix50sp1.component.SecAltIDGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.SecAltIDGrp getSecAltIDGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.SecAltIDGrp()); } public void set(quickfix.field.NoSecurityAltID value) { setField(value); } public quickfix.field.NoSecurityAltID get(quickfix.field.NoSecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoSecurityAltID getNoSecurityAltID() throws FieldNotFound { return get(new quickfix.field.NoSecurityAltID()); } public boolean isSet(quickfix.field.NoSecurityAltID field) { return isSetField(field); } public boolean isSetNoSecurityAltID() { return isSetField(454); } public static class NoSecurityAltID extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {455, 456, 0}; public NoSecurityAltID() { super(454, 455, ORDER); } public void set(quickfix.field.SecurityAltID value) { setField(value); } public quickfix.field.SecurityAltID get(quickfix.field.SecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityAltID getSecurityAltID() throws FieldNotFound { return get(new quickfix.field.SecurityAltID()); } public boolean isSet(quickfix.field.SecurityAltID field) { return isSetField(field); } public boolean isSetSecurityAltID() { return isSetField(455); } public void set(quickfix.field.SecurityAltIDSource value) { setField(value); } public quickfix.field.SecurityAltIDSource get(quickfix.field.SecurityAltIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityAltIDSource getSecurityAltIDSource() throws FieldNotFound { return get(new quickfix.field.SecurityAltIDSource()); } public boolean isSet(quickfix.field.SecurityAltIDSource field) { return isSetField(field); } public boolean isSetSecurityAltIDSource() { return isSetField(456); } } public void set(quickfix.field.Product value) { setField(value); } public quickfix.field.Product get(quickfix.field.Product value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Product getProduct() throws FieldNotFound { return get(new quickfix.field.Product()); } public boolean isSet(quickfix.field.Product field) { return isSetField(field); } public boolean isSetProduct() { return isSetField(460); } public void set(quickfix.field.ProductComplex value) { setField(value); } public quickfix.field.ProductComplex get(quickfix.field.ProductComplex value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ProductComplex getProductComplex() throws FieldNotFound { return get(new quickfix.field.ProductComplex()); } public boolean isSet(quickfix.field.ProductComplex field) { return isSetField(field); } public boolean isSetProductComplex() { return isSetField(1227); } public void set(quickfix.field.SecurityGroup value) { setField(value); } public quickfix.field.SecurityGroup get(quickfix.field.SecurityGroup value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityGroup getSecurityGroup() throws FieldNotFound { return get(new quickfix.field.SecurityGroup()); } public boolean isSet(quickfix.field.SecurityGroup field) { return isSetField(field); } public boolean isSetSecurityGroup() { return isSetField(1151); } public void set(quickfix.field.CFICode value) { setField(value); } public quickfix.field.CFICode get(quickfix.field.CFICode value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CFICode getCFICode() throws FieldNotFound { return get(new quickfix.field.CFICode()); } public boolean isSet(quickfix.field.CFICode field) { return isSetField(field); } public boolean isSetCFICode() { return isSetField(461); } public void set(quickfix.field.SecurityType value) { setField(value); } public quickfix.field.SecurityType get(quickfix.field.SecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityType getSecurityType() throws FieldNotFound { return get(new quickfix.field.SecurityType()); } public boolean isSet(quickfix.field.SecurityType field) { return isSetField(field); } public boolean isSetSecurityType() { return isSetField(167); } public void set(quickfix.field.SecuritySubType value) { setField(value); } public quickfix.field.SecuritySubType get(quickfix.field.SecuritySubType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecuritySubType getSecuritySubType() throws FieldNotFound { return get(new quickfix.field.SecuritySubType()); } public boolean isSet(quickfix.field.SecuritySubType field) { return isSetField(field); } public boolean isSetSecuritySubType() { return isSetField(762); } public void set(quickfix.field.MaturityMonthYear value) { setField(value); } public quickfix.field.MaturityMonthYear get(quickfix.field.MaturityMonthYear value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MaturityMonthYear getMaturityMonthYear() throws FieldNotFound { return get(new quickfix.field.MaturityMonthYear()); } public boolean isSet(quickfix.field.MaturityMonthYear field) { return isSetField(field); } public boolean isSetMaturityMonthYear() { return isSetField(200); } public void set(quickfix.field.MaturityDate value) { setField(value); } public quickfix.field.MaturityDate get(quickfix.field.MaturityDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { return get(new quickfix.field.MaturityDate()); } public boolean isSet(quickfix.field.MaturityDate field) { return isSetField(field); } public boolean isSetMaturityDate() { return isSetField(541); } public void set(quickfix.field.MaturityTime value) { setField(value); } public quickfix.field.MaturityTime get(quickfix.field.MaturityTime value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MaturityTime getMaturityTime() throws FieldNotFound { return get(new quickfix.field.MaturityTime()); } public boolean isSet(quickfix.field.MaturityTime field) { return isSetField(field); } public boolean isSetMaturityTime() { return isSetField(1079); } public void set(quickfix.field.SettleOnOpenFlag value) { setField(value); } public quickfix.field.SettleOnOpenFlag get(quickfix.field.SettleOnOpenFlag value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SettleOnOpenFlag getSettleOnOpenFlag() throws FieldNotFound { return get(new quickfix.field.SettleOnOpenFlag()); } public boolean isSet(quickfix.field.SettleOnOpenFlag field) { return isSetField(field); } public boolean isSetSettleOnOpenFlag() { return isSetField(966); } public void set(quickfix.field.InstrmtAssignmentMethod value) { setField(value); } public quickfix.field.InstrmtAssignmentMethod get(quickfix.field.InstrmtAssignmentMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrmtAssignmentMethod getInstrmtAssignmentMethod() throws FieldNotFound { return get(new quickfix.field.InstrmtAssignmentMethod()); } public boolean isSet(quickfix.field.InstrmtAssignmentMethod field) { return isSetField(field); } public boolean isSetInstrmtAssignmentMethod() { return isSetField(1049); } public void set(quickfix.field.SecurityStatus value) { setField(value); } public quickfix.field.SecurityStatus get(quickfix.field.SecurityStatus value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityStatus getSecurityStatus() throws FieldNotFound { return get(new quickfix.field.SecurityStatus()); } public boolean isSet(quickfix.field.SecurityStatus field) { return isSetField(field); } public boolean isSetSecurityStatus() { return isSetField(965); } public void set(quickfix.field.CouponPaymentDate value) { setField(value); } public quickfix.field.CouponPaymentDate get(quickfix.field.CouponPaymentDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CouponPaymentDate getCouponPaymentDate() throws FieldNotFound { return get(new quickfix.field.CouponPaymentDate()); } public boolean isSet(quickfix.field.CouponPaymentDate field) { return isSetField(field); } public boolean isSetCouponPaymentDate() { return isSetField(224); } public void set(quickfix.field.IssueDate value) { setField(value); } public quickfix.field.IssueDate get(quickfix.field.IssueDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.IssueDate getIssueDate() throws FieldNotFound { return get(new quickfix.field.IssueDate()); } public boolean isSet(quickfix.field.IssueDate field) { return isSetField(field); } public boolean isSetIssueDate() { return isSetField(225); } public void set(quickfix.field.RepoCollateralSecurityType value) { setField(value); } public quickfix.field.RepoCollateralSecurityType get(quickfix.field.RepoCollateralSecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.RepoCollateralSecurityType getRepoCollateralSecurityType() throws FieldNotFound { return get(new quickfix.field.RepoCollateralSecurityType()); } public boolean isSet(quickfix.field.RepoCollateralSecurityType field) { return isSetField(field); } public boolean isSetRepoCollateralSecurityType() { return isSetField(239); } public void set(quickfix.field.RepurchaseTerm value) { setField(value); } public quickfix.field.RepurchaseTerm get(quickfix.field.RepurchaseTerm value) throws FieldNotFound { getField(value); return value; } public quickfix.field.RepurchaseTerm getRepurchaseTerm() throws FieldNotFound { return get(new quickfix.field.RepurchaseTerm()); } public boolean isSet(quickfix.field.RepurchaseTerm field) { return isSetField(field); } public boolean isSetRepurchaseTerm() { return isSetField(226); } public void set(quickfix.field.RepurchaseRate value) { setField(value); } public quickfix.field.RepurchaseRate get(quickfix.field.RepurchaseRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.RepurchaseRate getRepurchaseRate() throws FieldNotFound { return get(new quickfix.field.RepurchaseRate()); } public boolean isSet(quickfix.field.RepurchaseRate field) { return isSetField(field); } public boolean isSetRepurchaseRate() { return isSetField(227); } public void set(quickfix.field.Factor value) { setField(value); } public quickfix.field.Factor get(quickfix.field.Factor value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Factor getFactor() throws FieldNotFound { return get(new quickfix.field.Factor()); } public boolean isSet(quickfix.field.Factor field) { return isSetField(field); } public boolean isSetFactor() { return isSetField(228); } public void set(quickfix.field.CreditRating value) { setField(value); } public quickfix.field.CreditRating get(quickfix.field.CreditRating value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CreditRating getCreditRating() throws FieldNotFound { return get(new quickfix.field.CreditRating()); } public boolean isSet(quickfix.field.CreditRating field) { return isSetField(field); } public boolean isSetCreditRating() { return isSetField(255); } public void set(quickfix.field.InstrRegistry value) { setField(value); } public quickfix.field.InstrRegistry get(quickfix.field.InstrRegistry value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { return get(new quickfix.field.InstrRegistry()); } public boolean isSet(quickfix.field.InstrRegistry field) { return isSetField(field); } public boolean isSetInstrRegistry() { return isSetField(543); } public void set(quickfix.field.CountryOfIssue value) { setField(value); } public quickfix.field.CountryOfIssue get(quickfix.field.CountryOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CountryOfIssue getCountryOfIssue() throws FieldNotFound { return get(new quickfix.field.CountryOfIssue()); } public boolean isSet(quickfix.field.CountryOfIssue field) { return isSetField(field); } public boolean isSetCountryOfIssue() { return isSetField(470); } public void set(quickfix.field.StateOrProvinceOfIssue value) { setField(value); } public quickfix.field.StateOrProvinceOfIssue get(quickfix.field.StateOrProvinceOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.StateOrProvinceOfIssue getStateOrProvinceOfIssue() throws FieldNotFound { return get(new quickfix.field.StateOrProvinceOfIssue()); } public boolean isSet(quickfix.field.StateOrProvinceOfIssue field) { return isSetField(field); } public boolean isSetStateOrProvinceOfIssue() { return isSetField(471); } public void set(quickfix.field.LocaleOfIssue value) { setField(value); } public quickfix.field.LocaleOfIssue get(quickfix.field.LocaleOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LocaleOfIssue getLocaleOfIssue() throws FieldNotFound { return get(new quickfix.field.LocaleOfIssue()); } public boolean isSet(quickfix.field.LocaleOfIssue field) { return isSetField(field); } public boolean isSetLocaleOfIssue() { return isSetField(472); } public void set(quickfix.field.RedemptionDate value) { setField(value); } public quickfix.field.RedemptionDate get(quickfix.field.RedemptionDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.RedemptionDate getRedemptionDate() throws FieldNotFound { return get(new quickfix.field.RedemptionDate()); } public boolean isSet(quickfix.field.RedemptionDate field) { return isSetField(field); } public boolean isSetRedemptionDate() { return isSetField(240); } public void set(quickfix.field.StrikePrice value) { setField(value); } public quickfix.field.StrikePrice get(quickfix.field.StrikePrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { return get(new quickfix.field.StrikePrice()); } public boolean isSet(quickfix.field.StrikePrice field) { return isSetField(field); } public boolean isSetStrikePrice() { return isSetField(202); } public void set(quickfix.field.StrikeCurrency value) { setField(value); } public quickfix.field.StrikeCurrency get(quickfix.field.StrikeCurrency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { return get(new quickfix.field.StrikeCurrency()); } public boolean isSet(quickfix.field.StrikeCurrency field) { return isSetField(field); } public boolean isSetStrikeCurrency() { return isSetField(947); } public void set(quickfix.field.StrikeMultiplier value) { setField(value); } public quickfix.field.StrikeMultiplier get(quickfix.field.StrikeMultiplier value) throws FieldNotFound { getField(value); return value; } public quickfix.field.StrikeMultiplier getStrikeMultiplier() throws FieldNotFound { return get(new quickfix.field.StrikeMultiplier()); } public boolean isSet(quickfix.field.StrikeMultiplier field) { return isSetField(field); } public boolean isSetStrikeMultiplier() { return isSetField(967); } public void set(quickfix.field.StrikeValue value) { setField(value); } public quickfix.field.StrikeValue get(quickfix.field.StrikeValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.StrikeValue getStrikeValue() throws FieldNotFound { return get(new quickfix.field.StrikeValue()); } public boolean isSet(quickfix.field.StrikeValue field) { return isSetField(field); } public boolean isSetStrikeValue() { return isSetField(968); } public void set(quickfix.field.OptAttribute value) { setField(value); } public quickfix.field.OptAttribute get(quickfix.field.OptAttribute value) throws FieldNotFound { getField(value); return value; } public quickfix.field.OptAttribute getOptAttribute() throws FieldNotFound { return get(new quickfix.field.OptAttribute()); } public boolean isSet(quickfix.field.OptAttribute field) { return isSetField(field); } public boolean isSetOptAttribute() { return isSetField(206); } public void set(quickfix.field.ContractMultiplier value) { setField(value); } public quickfix.field.ContractMultiplier get(quickfix.field.ContractMultiplier value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ContractMultiplier getContractMultiplier() throws FieldNotFound { return get(new quickfix.field.ContractMultiplier()); } public boolean isSet(quickfix.field.ContractMultiplier field) { return isSetField(field); } public boolean isSetContractMultiplier() { return isSetField(231); } public void set(quickfix.field.MinPriceIncrement value) { setField(value); } public quickfix.field.MinPriceIncrement get(quickfix.field.MinPriceIncrement value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MinPriceIncrement getMinPriceIncrement() throws FieldNotFound { return get(new quickfix.field.MinPriceIncrement()); } public boolean isSet(quickfix.field.MinPriceIncrement field) { return isSetField(field); } public boolean isSetMinPriceIncrement() { return isSetField(969); } public void set(quickfix.field.MinPriceIncrementAmount value) { setField(value); } public quickfix.field.MinPriceIncrementAmount get(quickfix.field.MinPriceIncrementAmount value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MinPriceIncrementAmount getMinPriceIncrementAmount() throws FieldNotFound { return get(new quickfix.field.MinPriceIncrementAmount()); } public boolean isSet(quickfix.field.MinPriceIncrementAmount field) { return isSetField(field); } public boolean isSetMinPriceIncrementAmount() { return isSetField(1146); } public void set(quickfix.field.UnitOfMeasure value) { setField(value); } public quickfix.field.UnitOfMeasure get(quickfix.field.UnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnitOfMeasure getUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.UnitOfMeasure()); } public boolean isSet(quickfix.field.UnitOfMeasure field) { return isSetField(field); } public boolean isSetUnitOfMeasure() { return isSetField(996); } public void set(quickfix.field.UnitOfMeasureQty value) { setField(value); } public quickfix.field.UnitOfMeasureQty get(quickfix.field.UnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnitOfMeasureQty getUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.UnitOfMeasureQty()); } public boolean isSet(quickfix.field.UnitOfMeasureQty field) { return isSetField(field); } public boolean isSetUnitOfMeasureQty() { return isSetField(1147); } public void set(quickfix.field.PriceUnitOfMeasure value) { setField(value); } public quickfix.field.PriceUnitOfMeasure get(quickfix.field.PriceUnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PriceUnitOfMeasure getPriceUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.PriceUnitOfMeasure()); } public boolean isSet(quickfix.field.PriceUnitOfMeasure field) { return isSetField(field); } public boolean isSetPriceUnitOfMeasure() { return isSetField(1191); } public void set(quickfix.field.PriceUnitOfMeasureQty value) { setField(value); } public quickfix.field.PriceUnitOfMeasureQty get(quickfix.field.PriceUnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PriceUnitOfMeasureQty getPriceUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.PriceUnitOfMeasureQty()); } public boolean isSet(quickfix.field.PriceUnitOfMeasureQty field) { return isSetField(field); } public boolean isSetPriceUnitOfMeasureQty() { return isSetField(1192); } public void set(quickfix.field.SettlMethod value) { setField(value); } public quickfix.field.SettlMethod get(quickfix.field.SettlMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SettlMethod getSettlMethod() throws FieldNotFound { return get(new quickfix.field.SettlMethod()); } public boolean isSet(quickfix.field.SettlMethod field) { return isSetField(field); } public boolean isSetSettlMethod() { return isSetField(1193); } public void set(quickfix.field.ExerciseStyle value) { setField(value); } public quickfix.field.ExerciseStyle get(quickfix.field.ExerciseStyle value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ExerciseStyle getExerciseStyle() throws FieldNotFound { return get(new quickfix.field.ExerciseStyle()); } public boolean isSet(quickfix.field.ExerciseStyle field) { return isSetField(field); } public boolean isSetExerciseStyle() { return isSetField(1194); } public void set(quickfix.field.OptPayAmount value) { setField(value); } public quickfix.field.OptPayAmount get(quickfix.field.OptPayAmount value) throws FieldNotFound { getField(value); return value; } public quickfix.field.OptPayAmount getOptPayAmount() throws FieldNotFound { return get(new quickfix.field.OptPayAmount()); } public boolean isSet(quickfix.field.OptPayAmount field) { return isSetField(field); } public boolean isSetOptPayAmount() { return isSetField(1195); } public void set(quickfix.field.PriceQuoteMethod value) { setField(value); } public quickfix.field.PriceQuoteMethod get(quickfix.field.PriceQuoteMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PriceQuoteMethod getPriceQuoteMethod() throws FieldNotFound { return get(new quickfix.field.PriceQuoteMethod()); } public boolean isSet(quickfix.field.PriceQuoteMethod field) { return isSetField(field); } public boolean isSetPriceQuoteMethod() { return isSetField(1196); } public void set(quickfix.field.FuturesValuationMethod value) { setField(value); } public quickfix.field.FuturesValuationMethod get(quickfix.field.FuturesValuationMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.FuturesValuationMethod getFuturesValuationMethod() throws FieldNotFound { return get(new quickfix.field.FuturesValuationMethod()); } public boolean isSet(quickfix.field.FuturesValuationMethod field) { return isSetField(field); } public boolean isSetFuturesValuationMethod() { return isSetField(1197); } public void set(quickfix.field.ListMethod value) { setField(value); } public quickfix.field.ListMethod get(quickfix.field.ListMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ListMethod getListMethod() throws FieldNotFound { return get(new quickfix.field.ListMethod()); } public boolean isSet(quickfix.field.ListMethod field) { return isSetField(field); } public boolean isSetListMethod() { return isSetField(1198); } public void set(quickfix.field.CapPrice value) { setField(value); } public quickfix.field.CapPrice get(quickfix.field.CapPrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CapPrice getCapPrice() throws FieldNotFound { return get(new quickfix.field.CapPrice()); } public boolean isSet(quickfix.field.CapPrice field) { return isSetField(field); } public boolean isSetCapPrice() { return isSetField(1199); } public void set(quickfix.field.FloorPrice value) { setField(value); } public quickfix.field.FloorPrice get(quickfix.field.FloorPrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.FloorPrice getFloorPrice() throws FieldNotFound { return get(new quickfix.field.FloorPrice()); } public boolean isSet(quickfix.field.FloorPrice field) { return isSetField(field); } public boolean isSetFloorPrice() { return isSetField(1200); } public void set(quickfix.field.PutOrCall value) { setField(value); } public quickfix.field.PutOrCall get(quickfix.field.PutOrCall value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PutOrCall getPutOrCall() throws FieldNotFound { return get(new quickfix.field.PutOrCall()); } public boolean isSet(quickfix.field.PutOrCall field) { return isSetField(field); } public boolean isSetPutOrCall() { return isSetField(201); } public void set(quickfix.field.FlexibleIndicator value) { setField(value); } public quickfix.field.FlexibleIndicator get(quickfix.field.FlexibleIndicator value) throws FieldNotFound { getField(value); return value; } public quickfix.field.FlexibleIndicator getFlexibleIndicator() throws FieldNotFound { return get(new quickfix.field.FlexibleIndicator()); } public boolean isSet(quickfix.field.FlexibleIndicator field) { return isSetField(field); } public boolean isSetFlexibleIndicator() { return isSetField(1244); } public void set(quickfix.field.FlexProductEligibilityIndicator value) { setField(value); } public quickfix.field.FlexProductEligibilityIndicator get(quickfix.field.FlexProductEligibilityIndicator value) throws FieldNotFound { getField(value); return value; } public quickfix.field.FlexProductEligibilityIndicator getFlexProductEligibilityIndicator() throws FieldNotFound { return get(new quickfix.field.FlexProductEligibilityIndicator()); } public boolean isSet(quickfix.field.FlexProductEligibilityIndicator field) { return isSetField(field); } public boolean isSetFlexProductEligibilityIndicator() { return isSetField(1242); } public void set(quickfix.field.TimeUnit value) { setField(value); } public quickfix.field.TimeUnit get(quickfix.field.TimeUnit value) throws FieldNotFound { getField(value); return value; } public quickfix.field.TimeUnit getTimeUnit() throws FieldNotFound { return get(new quickfix.field.TimeUnit()); } public boolean isSet(quickfix.field.TimeUnit field) { return isSetField(field); } public boolean isSetTimeUnit() { return isSetField(997); } public void set(quickfix.field.CouponRate value) { setField(value); } public quickfix.field.CouponRate get(quickfix.field.CouponRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CouponRate getCouponRate() throws FieldNotFound { return get(new quickfix.field.CouponRate()); } public boolean isSet(quickfix.field.CouponRate field) { return isSetField(field); } public boolean isSetCouponRate() { return isSetField(223); } public void set(quickfix.field.SecurityExchange value) { setField(value); } public quickfix.field.SecurityExchange get(quickfix.field.SecurityExchange value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityExchange getSecurityExchange() throws FieldNotFound { return get(new quickfix.field.SecurityExchange()); } public boolean isSet(quickfix.field.SecurityExchange field) { return isSetField(field); } public boolean isSetSecurityExchange() { return isSetField(207); } public void set(quickfix.field.PositionLimit value) { setField(value); } public quickfix.field.PositionLimit get(quickfix.field.PositionLimit value) throws FieldNotFound { getField(value); return value; } public quickfix.field.PositionLimit getPositionLimit() throws FieldNotFound { return get(new quickfix.field.PositionLimit()); } public boolean isSet(quickfix.field.PositionLimit field) { return isSetField(field); } public boolean isSetPositionLimit() { return isSetField(970); } public void set(quickfix.field.NTPositionLimit value) { setField(value); } public quickfix.field.NTPositionLimit get(quickfix.field.NTPositionLimit value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NTPositionLimit getNTPositionLimit() throws FieldNotFound { return get(new quickfix.field.NTPositionLimit()); } public boolean isSet(quickfix.field.NTPositionLimit field) { return isSetField(field); } public boolean isSetNTPositionLimit() { return isSetField(971); } public void set(quickfix.field.Issuer value) { setField(value); } public quickfix.field.Issuer get(quickfix.field.Issuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Issuer getIssuer() throws FieldNotFound { return get(new quickfix.field.Issuer()); } public boolean isSet(quickfix.field.Issuer field) { return isSetField(field); } public boolean isSetIssuer() { return isSetField(106); } public void set(quickfix.field.EncodedIssuerLen value) { setField(value); } public quickfix.field.EncodedIssuerLen get(quickfix.field.EncodedIssuerLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedIssuerLen getEncodedIssuerLen() throws FieldNotFound { return get(new quickfix.field.EncodedIssuerLen()); } public boolean isSet(quickfix.field.EncodedIssuerLen field) { return isSetField(field); } public boolean isSetEncodedIssuerLen() { return isSetField(348); } public void set(quickfix.field.EncodedIssuer value) { setField(value); } public quickfix.field.EncodedIssuer get(quickfix.field.EncodedIssuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedIssuer getEncodedIssuer() throws FieldNotFound { return get(new quickfix.field.EncodedIssuer()); } public boolean isSet(quickfix.field.EncodedIssuer field) { return isSetField(field); } public boolean isSetEncodedIssuer() { return isSetField(349); } public void set(quickfix.field.SecurityDesc value) { setField(value); } public quickfix.field.SecurityDesc get(quickfix.field.SecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityDesc getSecurityDesc() throws FieldNotFound { return get(new quickfix.field.SecurityDesc()); } public boolean isSet(quickfix.field.SecurityDesc field) { return isSetField(field); } public boolean isSetSecurityDesc() { return isSetField(107); } public void set(quickfix.field.EncodedSecurityDescLen value) { setField(value); } public quickfix.field.EncodedSecurityDescLen get(quickfix.field.EncodedSecurityDescLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { return get(new quickfix.field.EncodedSecurityDescLen()); } public boolean isSet(quickfix.field.EncodedSecurityDescLen field) { return isSetField(field); } public boolean isSetEncodedSecurityDescLen() { return isSetField(350); } public void set(quickfix.field.EncodedSecurityDesc value) { setField(value); } public quickfix.field.EncodedSecurityDesc get(quickfix.field.EncodedSecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedSecurityDesc getEncodedSecurityDesc() throws FieldNotFound { return get(new quickfix.field.EncodedSecurityDesc()); } public boolean isSet(quickfix.field.EncodedSecurityDesc field) { return isSetField(field); } public boolean isSetEncodedSecurityDesc() { return isSetField(351); } public void set(quickfix.fix50sp1.component.SecurityXML component) { setComponent(component); } public quickfix.fix50sp1.component.SecurityXML get(quickfix.fix50sp1.component.SecurityXML component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.SecurityXML getSecurityXML() throws FieldNotFound { return get(new quickfix.fix50sp1.component.SecurityXML()); } public void set(quickfix.field.SecurityXMLLen value) { setField(value); } public quickfix.field.SecurityXMLLen get(quickfix.field.SecurityXMLLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityXMLLen getSecurityXMLLen() throws FieldNotFound { return get(new quickfix.field.SecurityXMLLen()); } public boolean isSet(quickfix.field.SecurityXMLLen field) { return isSetField(field); } public boolean isSetSecurityXMLLen() { return isSetField(1184); } public void set(quickfix.field.SecurityXMLData value) { setField(value); } public quickfix.field.SecurityXMLData get(quickfix.field.SecurityXMLData value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityXMLData getSecurityXMLData() throws FieldNotFound { return get(new quickfix.field.SecurityXMLData()); } public boolean isSet(quickfix.field.SecurityXMLData field) { return isSetField(field); } public boolean isSetSecurityXMLData() { return isSetField(1185); } public void set(quickfix.field.SecurityXMLSchema value) { setField(value); } public quickfix.field.SecurityXMLSchema get(quickfix.field.SecurityXMLSchema value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SecurityXMLSchema getSecurityXMLSchema() throws FieldNotFound { return get(new quickfix.field.SecurityXMLSchema()); } public boolean isSet(quickfix.field.SecurityXMLSchema field) { return isSetField(field); } public boolean isSetSecurityXMLSchema() { return isSetField(1186); } public void set(quickfix.field.Pool value) { setField(value); } public quickfix.field.Pool get(quickfix.field.Pool value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Pool getPool() throws FieldNotFound { return get(new quickfix.field.Pool()); } public boolean isSet(quickfix.field.Pool field) { return isSetField(field); } public boolean isSetPool() { return isSetField(691); } public void set(quickfix.field.ContractSettlMonth value) { setField(value); } public quickfix.field.ContractSettlMonth get(quickfix.field.ContractSettlMonth value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ContractSettlMonth getContractSettlMonth() throws FieldNotFound { return get(new quickfix.field.ContractSettlMonth()); } public boolean isSet(quickfix.field.ContractSettlMonth field) { return isSetField(field); } public boolean isSetContractSettlMonth() { return isSetField(667); } public void set(quickfix.field.CPProgram value) { setField(value); } public quickfix.field.CPProgram get(quickfix.field.CPProgram value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CPProgram getCPProgram() throws FieldNotFound { return get(new quickfix.field.CPProgram()); } public boolean isSet(quickfix.field.CPProgram field) { return isSetField(field); } public boolean isSetCPProgram() { return isSetField(875); } public void set(quickfix.field.CPRegType value) { setField(value); } public quickfix.field.CPRegType get(quickfix.field.CPRegType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.CPRegType getCPRegType() throws FieldNotFound { return get(new quickfix.field.CPRegType()); } public boolean isSet(quickfix.field.CPRegType field) { return isSetField(field); } public boolean isSetCPRegType() { return isSetField(876); } public void set(quickfix.fix50sp1.component.EvntGrp component) { setComponent(component); } public quickfix.fix50sp1.component.EvntGrp get(quickfix.fix50sp1.component.EvntGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.EvntGrp getEvntGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.EvntGrp()); } public void set(quickfix.field.NoEvents value) { setField(value); } public quickfix.field.NoEvents get(quickfix.field.NoEvents value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoEvents getNoEvents() throws FieldNotFound { return get(new quickfix.field.NoEvents()); } public boolean isSet(quickfix.field.NoEvents field) { return isSetField(field); } public boolean isSetNoEvents() { return isSetField(864); } public static class NoEvents extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {865, 866, 1145, 867, 868, 0}; public NoEvents() { super(864, 865, ORDER); } public void set(quickfix.field.EventType value) { setField(value); } public quickfix.field.EventType get(quickfix.field.EventType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EventType getEventType() throws FieldNotFound { return get(new quickfix.field.EventType()); } public boolean isSet(quickfix.field.EventType field) { return isSetField(field); } public boolean isSetEventType() { return isSetField(865); } public void set(quickfix.field.EventDate value) { setField(value); } public quickfix.field.EventDate get(quickfix.field.EventDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EventDate getEventDate() throws FieldNotFound { return get(new quickfix.field.EventDate()); } public boolean isSet(quickfix.field.EventDate field) { return isSetField(field); } public boolean isSetEventDate() { return isSetField(866); } public void set(quickfix.field.EventTime value) { setField(value); } public quickfix.field.EventTime get(quickfix.field.EventTime value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EventTime getEventTime() throws FieldNotFound { return get(new quickfix.field.EventTime()); } public boolean isSet(quickfix.field.EventTime field) { return isSetField(field); } public boolean isSetEventTime() { return isSetField(1145); } public void set(quickfix.field.EventPx value) { setField(value); } public quickfix.field.EventPx get(quickfix.field.EventPx value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EventPx getEventPx() throws FieldNotFound { return get(new quickfix.field.EventPx()); } public boolean isSet(quickfix.field.EventPx field) { return isSetField(field); } public boolean isSetEventPx() { return isSetField(867); } public void set(quickfix.field.EventText value) { setField(value); } public quickfix.field.EventText get(quickfix.field.EventText value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EventText getEventText() throws FieldNotFound { return get(new quickfix.field.EventText()); } public boolean isSet(quickfix.field.EventText field) { return isSetField(field); } public boolean isSetEventText() { return isSetField(868); } } public void set(quickfix.field.DatedDate value) { setField(value); } public quickfix.field.DatedDate get(quickfix.field.DatedDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.DatedDate getDatedDate() throws FieldNotFound { return get(new quickfix.field.DatedDate()); } public boolean isSet(quickfix.field.DatedDate field) { return isSetField(field); } public boolean isSetDatedDate() { return isSetField(873); } public void set(quickfix.field.InterestAccrualDate value) { setField(value); } public quickfix.field.InterestAccrualDate get(quickfix.field.InterestAccrualDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InterestAccrualDate getInterestAccrualDate() throws FieldNotFound { return get(new quickfix.field.InterestAccrualDate()); } public boolean isSet(quickfix.field.InterestAccrualDate field) { return isSetField(field); } public boolean isSetInterestAccrualDate() { return isSetField(874); } public void set(quickfix.fix50sp1.component.InstrumentParties component) { setComponent(component); } public quickfix.fix50sp1.component.InstrumentParties get(quickfix.fix50sp1.component.InstrumentParties component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.InstrumentParties getInstrumentParties() throws FieldNotFound { return get(new quickfix.fix50sp1.component.InstrumentParties()); } public void set(quickfix.field.NoInstrumentParties value) { setField(value); } public quickfix.field.NoInstrumentParties get(quickfix.field.NoInstrumentParties value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoInstrumentParties getNoInstrumentParties() throws FieldNotFound { return get(new quickfix.field.NoInstrumentParties()); } public boolean isSet(quickfix.field.NoInstrumentParties field) { return isSetField(field); } public boolean isSetNoInstrumentParties() { return isSetField(1018); } public static class NoInstrumentParties extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {1019, 1050, 1051, 1052, 0}; public NoInstrumentParties() { super(1018, 1019, ORDER); } public void set(quickfix.field.InstrumentPartyID value) { setField(value); } public quickfix.field.InstrumentPartyID get(quickfix.field.InstrumentPartyID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrumentPartyID getInstrumentPartyID() throws FieldNotFound { return get(new quickfix.field.InstrumentPartyID()); } public boolean isSet(quickfix.field.InstrumentPartyID field) { return isSetField(field); } public boolean isSetInstrumentPartyID() { return isSetField(1019); } public void set(quickfix.field.InstrumentPartyIDSource value) { setField(value); } public quickfix.field.InstrumentPartyIDSource get(quickfix.field.InstrumentPartyIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrumentPartyIDSource getInstrumentPartyIDSource() throws FieldNotFound { return get(new quickfix.field.InstrumentPartyIDSource()); } public boolean isSet(quickfix.field.InstrumentPartyIDSource field) { return isSetField(field); } public boolean isSetInstrumentPartyIDSource() { return isSetField(1050); } public void set(quickfix.field.InstrumentPartyRole value) { setField(value); } public quickfix.field.InstrumentPartyRole get(quickfix.field.InstrumentPartyRole value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrumentPartyRole getInstrumentPartyRole() throws FieldNotFound { return get(new quickfix.field.InstrumentPartyRole()); } public boolean isSet(quickfix.field.InstrumentPartyRole field) { return isSetField(field); } public boolean isSetInstrumentPartyRole() { return isSetField(1051); } public void set(quickfix.fix50sp1.component.InstrumentPtysSubGrp component) { setComponent(component); } public quickfix.fix50sp1.component.InstrumentPtysSubGrp get(quickfix.fix50sp1.component.InstrumentPtysSubGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.InstrumentPtysSubGrp getInstrumentPtysSubGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.InstrumentPtysSubGrp()); } public void set(quickfix.field.NoInstrumentPartySubIDs value) { setField(value); } public quickfix.field.NoInstrumentPartySubIDs get(quickfix.field.NoInstrumentPartySubIDs value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoInstrumentPartySubIDs getNoInstrumentPartySubIDs() throws FieldNotFound { return get(new quickfix.field.NoInstrumentPartySubIDs()); } public boolean isSet(quickfix.field.NoInstrumentPartySubIDs field) { return isSetField(field); } public boolean isSetNoInstrumentPartySubIDs() { return isSetField(1052); } public static class NoInstrumentPartySubIDs extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {1053, 1054, 0}; public NoInstrumentPartySubIDs() { super(1052, 1053, ORDER); } public void set(quickfix.field.InstrumentPartySubID value) { setField(value); } public quickfix.field.InstrumentPartySubID get(quickfix.field.InstrumentPartySubID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrumentPartySubID getInstrumentPartySubID() throws FieldNotFound { return get(new quickfix.field.InstrumentPartySubID()); } public boolean isSet(quickfix.field.InstrumentPartySubID field) { return isSetField(field); } public boolean isSetInstrumentPartySubID() { return isSetField(1053); } public void set(quickfix.field.InstrumentPartySubIDType value) { setField(value); } public quickfix.field.InstrumentPartySubIDType get(quickfix.field.InstrumentPartySubIDType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.InstrumentPartySubIDType getInstrumentPartySubIDType() throws FieldNotFound { return get(new quickfix.field.InstrumentPartySubIDType()); } public boolean isSet(quickfix.field.InstrumentPartySubIDType field) { return isSetField(field); } public boolean isSetInstrumentPartySubIDType() { return isSetField(1054); } } } public void set(quickfix.fix50sp1.component.UndInstrmtGrp component) { setComponent(component); } public quickfix.fix50sp1.component.UndInstrmtGrp get(quickfix.fix50sp1.component.UndInstrmtGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UndInstrmtGrp getUndInstrmtGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UndInstrmtGrp()); } public void set(quickfix.field.NoUnderlyings value) { setField(value); } public quickfix.field.NoUnderlyings get(quickfix.field.NoUnderlyings value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoUnderlyings getNoUnderlyings() throws FieldNotFound { return get(new quickfix.field.NoUnderlyings()); } public boolean isSet(quickfix.field.NoUnderlyings field) { return isSetField(field); } public boolean isSetNoUnderlyings() { return isSetField(711); } public static class NoUnderlyings extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {311, 312, 309, 305, 457, 462, 463, 310, 763, 313, 542, 1213, 241, 242, 243, 244, 245, 246, 256, 595, 592, 593, 594, 247, 316, 941, 317, 436, 998, 1423, 1424, 1425, 1000, 1419, 435, 308, 306, 362, 363, 307, 364, 365, 877, 878, 972, 318, 879, 975, 973, 974, 810, 882, 883, 884, 885, 886, 887, 1044, 1045, 1046, 1038, 1058, 1039, 315, 0}; public NoUnderlyings() { super(711, 311, ORDER); } public void set(quickfix.fix50sp1.component.UnderlyingInstrument component) { setComponent(component); } public quickfix.fix50sp1.component.UnderlyingInstrument get(quickfix.fix50sp1.component.UnderlyingInstrument component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UnderlyingInstrument getUnderlyingInstrument() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UnderlyingInstrument()); } public void set(quickfix.field.UnderlyingSymbol value) { setField(value); } public quickfix.field.UnderlyingSymbol get(quickfix.field.UnderlyingSymbol value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSymbol getUnderlyingSymbol() throws FieldNotFound { return get(new quickfix.field.UnderlyingSymbol()); } public boolean isSet(quickfix.field.UnderlyingSymbol field) { return isSetField(field); } public boolean isSetUnderlyingSymbol() { return isSetField(311); } public void set(quickfix.field.UnderlyingSymbolSfx value) { setField(value); } public quickfix.field.UnderlyingSymbolSfx get(quickfix.field.UnderlyingSymbolSfx value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSymbolSfx getUnderlyingSymbolSfx() throws FieldNotFound { return get(new quickfix.field.UnderlyingSymbolSfx()); } public boolean isSet(quickfix.field.UnderlyingSymbolSfx field) { return isSetField(field); } public boolean isSetUnderlyingSymbolSfx() { return isSetField(312); } public void set(quickfix.field.UnderlyingSecurityID value) { setField(value); } public quickfix.field.UnderlyingSecurityID get(quickfix.field.UnderlyingSecurityID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityID()); } public boolean isSet(quickfix.field.UnderlyingSecurityID field) { return isSetField(field); } public boolean isSetUnderlyingSecurityID() { return isSetField(309); } public void set(quickfix.field.UnderlyingSecurityIDSource value) { setField(value); } public quickfix.field.UnderlyingSecurityIDSource get(quickfix.field.UnderlyingSecurityIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityIDSource getUnderlyingSecurityIDSource() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityIDSource()); } public boolean isSet(quickfix.field.UnderlyingSecurityIDSource field) { return isSetField(field); } public boolean isSetUnderlyingSecurityIDSource() { return isSetField(305); } public void set(quickfix.fix50sp1.component.UndSecAltIDGrp component) { setComponent(component); } public quickfix.fix50sp1.component.UndSecAltIDGrp get(quickfix.fix50sp1.component.UndSecAltIDGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UndSecAltIDGrp getUndSecAltIDGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UndSecAltIDGrp()); } public void set(quickfix.field.NoUnderlyingSecurityAltID value) { setField(value); } public quickfix.field.NoUnderlyingSecurityAltID get(quickfix.field.NoUnderlyingSecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { return get(new quickfix.field.NoUnderlyingSecurityAltID()); } public boolean isSet(quickfix.field.NoUnderlyingSecurityAltID field) { return isSetField(field); } public boolean isSetNoUnderlyingSecurityAltID() { return isSetField(457); } public static class NoUnderlyingSecurityAltID extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {458, 459, 0}; public NoUnderlyingSecurityAltID() { super(457, 458, ORDER); } public void set(quickfix.field.UnderlyingSecurityAltID value) { setField(value); } public quickfix.field.UnderlyingSecurityAltID get(quickfix.field.UnderlyingSecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityAltID getUnderlyingSecurityAltID() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityAltID()); } public boolean isSet(quickfix.field.UnderlyingSecurityAltID field) { return isSetField(field); } public boolean isSetUnderlyingSecurityAltID() { return isSetField(458); } public void set(quickfix.field.UnderlyingSecurityAltIDSource value) { setField(value); } public quickfix.field.UnderlyingSecurityAltIDSource get(quickfix.field.UnderlyingSecurityAltIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityAltIDSource getUnderlyingSecurityAltIDSource() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityAltIDSource()); } public boolean isSet(quickfix.field.UnderlyingSecurityAltIDSource field) { return isSetField(field); } public boolean isSetUnderlyingSecurityAltIDSource() { return isSetField(459); } } public void set(quickfix.field.UnderlyingProduct value) { setField(value); } public quickfix.field.UnderlyingProduct get(quickfix.field.UnderlyingProduct value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingProduct getUnderlyingProduct() throws FieldNotFound { return get(new quickfix.field.UnderlyingProduct()); } public boolean isSet(quickfix.field.UnderlyingProduct field) { return isSetField(field); } public boolean isSetUnderlyingProduct() { return isSetField(462); } public void set(quickfix.field.UnderlyingCFICode value) { setField(value); } public quickfix.field.UnderlyingCFICode get(quickfix.field.UnderlyingCFICode value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { return get(new quickfix.field.UnderlyingCFICode()); } public boolean isSet(quickfix.field.UnderlyingCFICode field) { return isSetField(field); } public boolean isSetUnderlyingCFICode() { return isSetField(463); } public void set(quickfix.field.UnderlyingSecurityType value) { setField(value); } public quickfix.field.UnderlyingSecurityType get(quickfix.field.UnderlyingSecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityType getUnderlyingSecurityType() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityType()); } public boolean isSet(quickfix.field.UnderlyingSecurityType field) { return isSetField(field); } public boolean isSetUnderlyingSecurityType() { return isSetField(310); } public void set(quickfix.field.UnderlyingSecuritySubType value) { setField(value); } public quickfix.field.UnderlyingSecuritySubType get(quickfix.field.UnderlyingSecuritySubType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecuritySubType getUnderlyingSecuritySubType() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecuritySubType()); } public boolean isSet(quickfix.field.UnderlyingSecuritySubType field) { return isSetField(field); } public boolean isSetUnderlyingSecuritySubType() { return isSetField(763); } public void set(quickfix.field.UnderlyingMaturityMonthYear value) { setField(value); } public quickfix.field.UnderlyingMaturityMonthYear get(quickfix.field.UnderlyingMaturityMonthYear value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingMaturityMonthYear getUnderlyingMaturityMonthYear() throws FieldNotFound { return get(new quickfix.field.UnderlyingMaturityMonthYear()); } public boolean isSet(quickfix.field.UnderlyingMaturityMonthYear field) { return isSetField(field); } public boolean isSetUnderlyingMaturityMonthYear() { return isSetField(313); } public void set(quickfix.field.UnderlyingMaturityDate value) { setField(value); } public quickfix.field.UnderlyingMaturityDate get(quickfix.field.UnderlyingMaturityDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingMaturityDate getUnderlyingMaturityDate() throws FieldNotFound { return get(new quickfix.field.UnderlyingMaturityDate()); } public boolean isSet(quickfix.field.UnderlyingMaturityDate field) { return isSetField(field); } public boolean isSetUnderlyingMaturityDate() { return isSetField(542); } public void set(quickfix.field.UnderlyingMaturityTime value) { setField(value); } public quickfix.field.UnderlyingMaturityTime get(quickfix.field.UnderlyingMaturityTime value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingMaturityTime getUnderlyingMaturityTime() throws FieldNotFound { return get(new quickfix.field.UnderlyingMaturityTime()); } public boolean isSet(quickfix.field.UnderlyingMaturityTime field) { return isSetField(field); } public boolean isSetUnderlyingMaturityTime() { return isSetField(1213); } public void set(quickfix.field.UnderlyingCouponPaymentDate value) { setField(value); } public quickfix.field.UnderlyingCouponPaymentDate get(quickfix.field.UnderlyingCouponPaymentDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCouponPaymentDate getUnderlyingCouponPaymentDate() throws FieldNotFound { return get(new quickfix.field.UnderlyingCouponPaymentDate()); } public boolean isSet(quickfix.field.UnderlyingCouponPaymentDate field) { return isSetField(field); } public boolean isSetUnderlyingCouponPaymentDate() { return isSetField(241); } public void set(quickfix.field.UnderlyingIssueDate value) { setField(value); } public quickfix.field.UnderlyingIssueDate get(quickfix.field.UnderlyingIssueDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingIssueDate getUnderlyingIssueDate() throws FieldNotFound { return get(new quickfix.field.UnderlyingIssueDate()); } public boolean isSet(quickfix.field.UnderlyingIssueDate field) { return isSetField(field); } public boolean isSetUnderlyingIssueDate() { return isSetField(242); } public void set(quickfix.field.UnderlyingRepoCollateralSecurityType value) { setField(value); } public quickfix.field.UnderlyingRepoCollateralSecurityType get(quickfix.field.UnderlyingRepoCollateralSecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { return get(new quickfix.field.UnderlyingRepoCollateralSecurityType()); } public boolean isSet(quickfix.field.UnderlyingRepoCollateralSecurityType field) { return isSetField(field); } public boolean isSetUnderlyingRepoCollateralSecurityType() { return isSetField(243); } public void set(quickfix.field.UnderlyingRepurchaseTerm value) { setField(value); } public quickfix.field.UnderlyingRepurchaseTerm get(quickfix.field.UnderlyingRepurchaseTerm value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingRepurchaseTerm getUnderlyingRepurchaseTerm() throws FieldNotFound { return get(new quickfix.field.UnderlyingRepurchaseTerm()); } public boolean isSet(quickfix.field.UnderlyingRepurchaseTerm field) { return isSetField(field); } public boolean isSetUnderlyingRepurchaseTerm() { return isSetField(244); } public void set(quickfix.field.UnderlyingRepurchaseRate value) { setField(value); } public quickfix.field.UnderlyingRepurchaseRate get(quickfix.field.UnderlyingRepurchaseRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingRepurchaseRate getUnderlyingRepurchaseRate() throws FieldNotFound { return get(new quickfix.field.UnderlyingRepurchaseRate()); } public boolean isSet(quickfix.field.UnderlyingRepurchaseRate field) { return isSetField(field); } public boolean isSetUnderlyingRepurchaseRate() { return isSetField(245); } public void set(quickfix.field.UnderlyingFactor value) { setField(value); } public quickfix.field.UnderlyingFactor get(quickfix.field.UnderlyingFactor value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { return get(new quickfix.field.UnderlyingFactor()); } public boolean isSet(quickfix.field.UnderlyingFactor field) { return isSetField(field); } public boolean isSetUnderlyingFactor() { return isSetField(246); } public void set(quickfix.field.UnderlyingCreditRating value) { setField(value); } public quickfix.field.UnderlyingCreditRating get(quickfix.field.UnderlyingCreditRating value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCreditRating getUnderlyingCreditRating() throws FieldNotFound { return get(new quickfix.field.UnderlyingCreditRating()); } public boolean isSet(quickfix.field.UnderlyingCreditRating field) { return isSetField(field); } public boolean isSetUnderlyingCreditRating() { return isSetField(256); } public void set(quickfix.field.UnderlyingInstrRegistry value) { setField(value); } public quickfix.field.UnderlyingInstrRegistry get(quickfix.field.UnderlyingInstrRegistry value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingInstrRegistry getUnderlyingInstrRegistry() throws FieldNotFound { return get(new quickfix.field.UnderlyingInstrRegistry()); } public boolean isSet(quickfix.field.UnderlyingInstrRegistry field) { return isSetField(field); } public boolean isSetUnderlyingInstrRegistry() { return isSetField(595); } public void set(quickfix.field.UnderlyingCountryOfIssue value) { setField(value); } public quickfix.field.UnderlyingCountryOfIssue get(quickfix.field.UnderlyingCountryOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCountryOfIssue getUnderlyingCountryOfIssue() throws FieldNotFound { return get(new quickfix.field.UnderlyingCountryOfIssue()); } public boolean isSet(quickfix.field.UnderlyingCountryOfIssue field) { return isSetField(field); } public boolean isSetUnderlyingCountryOfIssue() { return isSetField(592); } public void set(quickfix.field.UnderlyingStateOrProvinceOfIssue value) { setField(value); } public quickfix.field.UnderlyingStateOrProvinceOfIssue get(quickfix.field.UnderlyingStateOrProvinceOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStateOrProvinceOfIssue getUnderlyingStateOrProvinceOfIssue() throws FieldNotFound { return get(new quickfix.field.UnderlyingStateOrProvinceOfIssue()); } public boolean isSet(quickfix.field.UnderlyingStateOrProvinceOfIssue field) { return isSetField(field); } public boolean isSetUnderlyingStateOrProvinceOfIssue() { return isSetField(593); } public void set(quickfix.field.UnderlyingLocaleOfIssue value) { setField(value); } public quickfix.field.UnderlyingLocaleOfIssue get(quickfix.field.UnderlyingLocaleOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingLocaleOfIssue getUnderlyingLocaleOfIssue() throws FieldNotFound { return get(new quickfix.field.UnderlyingLocaleOfIssue()); } public boolean isSet(quickfix.field.UnderlyingLocaleOfIssue field) { return isSetField(field); } public boolean isSetUnderlyingLocaleOfIssue() { return isSetField(594); } public void set(quickfix.field.UnderlyingRedemptionDate value) { setField(value); } public quickfix.field.UnderlyingRedemptionDate get(quickfix.field.UnderlyingRedemptionDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingRedemptionDate getUnderlyingRedemptionDate() throws FieldNotFound { return get(new quickfix.field.UnderlyingRedemptionDate()); } public boolean isSet(quickfix.field.UnderlyingRedemptionDate field) { return isSetField(field); } public boolean isSetUnderlyingRedemptionDate() { return isSetField(247); } public void set(quickfix.field.UnderlyingStrikePrice value) { setField(value); } public quickfix.field.UnderlyingStrikePrice get(quickfix.field.UnderlyingStrikePrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStrikePrice getUnderlyingStrikePrice() throws FieldNotFound { return get(new quickfix.field.UnderlyingStrikePrice()); } public boolean isSet(quickfix.field.UnderlyingStrikePrice field) { return isSetField(field); } public boolean isSetUnderlyingStrikePrice() { return isSetField(316); } public void set(quickfix.field.UnderlyingStrikeCurrency value) { setField(value); } public quickfix.field.UnderlyingStrikeCurrency get(quickfix.field.UnderlyingStrikeCurrency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStrikeCurrency getUnderlyingStrikeCurrency() throws FieldNotFound { return get(new quickfix.field.UnderlyingStrikeCurrency()); } public boolean isSet(quickfix.field.UnderlyingStrikeCurrency field) { return isSetField(field); } public boolean isSetUnderlyingStrikeCurrency() { return isSetField(941); } public void set(quickfix.field.UnderlyingOptAttribute value) { setField(value); } public quickfix.field.UnderlyingOptAttribute get(quickfix.field.UnderlyingOptAttribute value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingOptAttribute getUnderlyingOptAttribute() throws FieldNotFound { return get(new quickfix.field.UnderlyingOptAttribute()); } public boolean isSet(quickfix.field.UnderlyingOptAttribute field) { return isSetField(field); } public boolean isSetUnderlyingOptAttribute() { return isSetField(317); } public void set(quickfix.field.UnderlyingContractMultiplier value) { setField(value); } public quickfix.field.UnderlyingContractMultiplier get(quickfix.field.UnderlyingContractMultiplier value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingContractMultiplier getUnderlyingContractMultiplier() throws FieldNotFound { return get(new quickfix.field.UnderlyingContractMultiplier()); } public boolean isSet(quickfix.field.UnderlyingContractMultiplier field) { return isSetField(field); } public boolean isSetUnderlyingContractMultiplier() { return isSetField(436); } public void set(quickfix.field.UnderlyingUnitOfMeasure value) { setField(value); } public quickfix.field.UnderlyingUnitOfMeasure get(quickfix.field.UnderlyingUnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingUnitOfMeasure getUnderlyingUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.UnderlyingUnitOfMeasure()); } public boolean isSet(quickfix.field.UnderlyingUnitOfMeasure field) { return isSetField(field); } public boolean isSetUnderlyingUnitOfMeasure() { return isSetField(998); } public void set(quickfix.field.UnderlyingUnitOfMeasureQty value) { setField(value); } public quickfix.field.UnderlyingUnitOfMeasureQty get(quickfix.field.UnderlyingUnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingUnitOfMeasureQty getUnderlyingUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.UnderlyingUnitOfMeasureQty()); } public boolean isSet(quickfix.field.UnderlyingUnitOfMeasureQty field) { return isSetField(field); } public boolean isSetUnderlyingUnitOfMeasureQty() { return isSetField(1423); } public void set(quickfix.field.UnderlyingPriceUnitOfMeasure value) { setField(value); } public quickfix.field.UnderlyingPriceUnitOfMeasure get(quickfix.field.UnderlyingPriceUnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingPriceUnitOfMeasure getUnderlyingPriceUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.UnderlyingPriceUnitOfMeasure()); } public boolean isSet(quickfix.field.UnderlyingPriceUnitOfMeasure field) { return isSetField(field); } public boolean isSetUnderlyingPriceUnitOfMeasure() { return isSetField(1424); } public void set(quickfix.field.UnderlyingPriceUnitOfMeasureQty value) { setField(value); } public quickfix.field.UnderlyingPriceUnitOfMeasureQty get(quickfix.field.UnderlyingPriceUnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingPriceUnitOfMeasureQty getUnderlyingPriceUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.UnderlyingPriceUnitOfMeasureQty()); } public boolean isSet(quickfix.field.UnderlyingPriceUnitOfMeasureQty field) { return isSetField(field); } public boolean isSetUnderlyingPriceUnitOfMeasureQty() { return isSetField(1425); } public void set(quickfix.field.UnderlyingTimeUnit value) { setField(value); } public quickfix.field.UnderlyingTimeUnit get(quickfix.field.UnderlyingTimeUnit value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingTimeUnit getUnderlyingTimeUnit() throws FieldNotFound { return get(new quickfix.field.UnderlyingTimeUnit()); } public boolean isSet(quickfix.field.UnderlyingTimeUnit field) { return isSetField(field); } public boolean isSetUnderlyingTimeUnit() { return isSetField(1000); } public void set(quickfix.field.UnderlyingExerciseStyle value) { setField(value); } public quickfix.field.UnderlyingExerciseStyle get(quickfix.field.UnderlyingExerciseStyle value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingExerciseStyle getUnderlyingExerciseStyle() throws FieldNotFound { return get(new quickfix.field.UnderlyingExerciseStyle()); } public boolean isSet(quickfix.field.UnderlyingExerciseStyle field) { return isSetField(field); } public boolean isSetUnderlyingExerciseStyle() { return isSetField(1419); } public void set(quickfix.field.UnderlyingCouponRate value) { setField(value); } public quickfix.field.UnderlyingCouponRate get(quickfix.field.UnderlyingCouponRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCouponRate getUnderlyingCouponRate() throws FieldNotFound { return get(new quickfix.field.UnderlyingCouponRate()); } public boolean isSet(quickfix.field.UnderlyingCouponRate field) { return isSetField(field); } public boolean isSetUnderlyingCouponRate() { return isSetField(435); } public void set(quickfix.field.UnderlyingSecurityExchange value) { setField(value); } public quickfix.field.UnderlyingSecurityExchange get(quickfix.field.UnderlyingSecurityExchange value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityExchange getUnderlyingSecurityExchange() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityExchange()); } public boolean isSet(quickfix.field.UnderlyingSecurityExchange field) { return isSetField(field); } public boolean isSetUnderlyingSecurityExchange() { return isSetField(308); } public void set(quickfix.field.UnderlyingIssuer value) { setField(value); } public quickfix.field.UnderlyingIssuer get(quickfix.field.UnderlyingIssuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { return get(new quickfix.field.UnderlyingIssuer()); } public boolean isSet(quickfix.field.UnderlyingIssuer field) { return isSetField(field); } public boolean isSetUnderlyingIssuer() { return isSetField(306); } public void set(quickfix.field.EncodedUnderlyingIssuerLen value) { setField(value); } public quickfix.field.EncodedUnderlyingIssuerLen get(quickfix.field.EncodedUnderlyingIssuerLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { return get(new quickfix.field.EncodedUnderlyingIssuerLen()); } public boolean isSet(quickfix.field.EncodedUnderlyingIssuerLen field) { return isSetField(field); } public boolean isSetEncodedUnderlyingIssuerLen() { return isSetField(362); } public void set(quickfix.field.EncodedUnderlyingIssuer value) { setField(value); } public quickfix.field.EncodedUnderlyingIssuer get(quickfix.field.EncodedUnderlyingIssuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedUnderlyingIssuer getEncodedUnderlyingIssuer() throws FieldNotFound { return get(new quickfix.field.EncodedUnderlyingIssuer()); } public boolean isSet(quickfix.field.EncodedUnderlyingIssuer field) { return isSetField(field); } public boolean isSetEncodedUnderlyingIssuer() { return isSetField(363); } public void set(quickfix.field.UnderlyingSecurityDesc value) { setField(value); } public quickfix.field.UnderlyingSecurityDesc get(quickfix.field.UnderlyingSecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSecurityDesc getUnderlyingSecurityDesc() throws FieldNotFound { return get(new quickfix.field.UnderlyingSecurityDesc()); } public boolean isSet(quickfix.field.UnderlyingSecurityDesc field) { return isSetField(field); } public boolean isSetUnderlyingSecurityDesc() { return isSetField(307); } public void set(quickfix.field.EncodedUnderlyingSecurityDescLen value) { setField(value); } public quickfix.field.EncodedUnderlyingSecurityDescLen get(quickfix.field.EncodedUnderlyingSecurityDescLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedUnderlyingSecurityDescLen getEncodedUnderlyingSecurityDescLen() throws FieldNotFound { return get(new quickfix.field.EncodedUnderlyingSecurityDescLen()); } public boolean isSet(quickfix.field.EncodedUnderlyingSecurityDescLen field) { return isSetField(field); } public boolean isSetEncodedUnderlyingSecurityDescLen() { return isSetField(364); } public void set(quickfix.field.EncodedUnderlyingSecurityDesc value) { setField(value); } public quickfix.field.EncodedUnderlyingSecurityDesc get(quickfix.field.EncodedUnderlyingSecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedUnderlyingSecurityDesc getEncodedUnderlyingSecurityDesc() throws FieldNotFound { return get(new quickfix.field.EncodedUnderlyingSecurityDesc()); } public boolean isSet(quickfix.field.EncodedUnderlyingSecurityDesc field) { return isSetField(field); } public boolean isSetEncodedUnderlyingSecurityDesc() { return isSetField(365); } public void set(quickfix.field.UnderlyingCPProgram value) { setField(value); } public quickfix.field.UnderlyingCPProgram get(quickfix.field.UnderlyingCPProgram value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCPProgram getUnderlyingCPProgram() throws FieldNotFound { return get(new quickfix.field.UnderlyingCPProgram()); } public boolean isSet(quickfix.field.UnderlyingCPProgram field) { return isSetField(field); } public boolean isSetUnderlyingCPProgram() { return isSetField(877); } public void set(quickfix.field.UnderlyingCPRegType value) { setField(value); } public quickfix.field.UnderlyingCPRegType get(quickfix.field.UnderlyingCPRegType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCPRegType getUnderlyingCPRegType() throws FieldNotFound { return get(new quickfix.field.UnderlyingCPRegType()); } public boolean isSet(quickfix.field.UnderlyingCPRegType field) { return isSetField(field); } public boolean isSetUnderlyingCPRegType() { return isSetField(878); } public void set(quickfix.field.UnderlyingAllocationPercent value) { setField(value); } public quickfix.field.UnderlyingAllocationPercent get(quickfix.field.UnderlyingAllocationPercent value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingAllocationPercent getUnderlyingAllocationPercent() throws FieldNotFound { return get(new quickfix.field.UnderlyingAllocationPercent()); } public boolean isSet(quickfix.field.UnderlyingAllocationPercent field) { return isSetField(field); } public boolean isSetUnderlyingAllocationPercent() { return isSetField(972); } public void set(quickfix.field.UnderlyingCurrency value) { setField(value); } public quickfix.field.UnderlyingCurrency get(quickfix.field.UnderlyingCurrency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCurrency getUnderlyingCurrency() throws FieldNotFound { return get(new quickfix.field.UnderlyingCurrency()); } public boolean isSet(quickfix.field.UnderlyingCurrency field) { return isSetField(field); } public boolean isSetUnderlyingCurrency() { return isSetField(318); } public void set(quickfix.field.UnderlyingQty value) { setField(value); } public quickfix.field.UnderlyingQty get(quickfix.field.UnderlyingQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingQty getUnderlyingQty() throws FieldNotFound { return get(new quickfix.field.UnderlyingQty()); } public boolean isSet(quickfix.field.UnderlyingQty field) { return isSetField(field); } public boolean isSetUnderlyingQty() { return isSetField(879); } public void set(quickfix.field.UnderlyingSettlementType value) { setField(value); } public quickfix.field.UnderlyingSettlementType get(quickfix.field.UnderlyingSettlementType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSettlementType getUnderlyingSettlementType() throws FieldNotFound { return get(new quickfix.field.UnderlyingSettlementType()); } public boolean isSet(quickfix.field.UnderlyingSettlementType field) { return isSetField(field); } public boolean isSetUnderlyingSettlementType() { return isSetField(975); } public void set(quickfix.field.UnderlyingCashAmount value) { setField(value); } public quickfix.field.UnderlyingCashAmount get(quickfix.field.UnderlyingCashAmount value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCashAmount getUnderlyingCashAmount() throws FieldNotFound { return get(new quickfix.field.UnderlyingCashAmount()); } public boolean isSet(quickfix.field.UnderlyingCashAmount field) { return isSetField(field); } public boolean isSetUnderlyingCashAmount() { return isSetField(973); } public void set(quickfix.field.UnderlyingCashType value) { setField(value); } public quickfix.field.UnderlyingCashType get(quickfix.field.UnderlyingCashType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCashType getUnderlyingCashType() throws FieldNotFound { return get(new quickfix.field.UnderlyingCashType()); } public boolean isSet(quickfix.field.UnderlyingCashType field) { return isSetField(field); } public boolean isSetUnderlyingCashType() { return isSetField(974); } public void set(quickfix.field.UnderlyingPx value) { setField(value); } public quickfix.field.UnderlyingPx get(quickfix.field.UnderlyingPx value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingPx getUnderlyingPx() throws FieldNotFound { return get(new quickfix.field.UnderlyingPx()); } public boolean isSet(quickfix.field.UnderlyingPx field) { return isSetField(field); } public boolean isSetUnderlyingPx() { return isSetField(810); } public void set(quickfix.field.UnderlyingDirtyPrice value) { setField(value); } public quickfix.field.UnderlyingDirtyPrice get(quickfix.field.UnderlyingDirtyPrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingDirtyPrice getUnderlyingDirtyPrice() throws FieldNotFound { return get(new quickfix.field.UnderlyingDirtyPrice()); } public boolean isSet(quickfix.field.UnderlyingDirtyPrice field) { return isSetField(field); } public boolean isSetUnderlyingDirtyPrice() { return isSetField(882); } public void set(quickfix.field.UnderlyingEndPrice value) { setField(value); } public quickfix.field.UnderlyingEndPrice get(quickfix.field.UnderlyingEndPrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingEndPrice getUnderlyingEndPrice() throws FieldNotFound { return get(new quickfix.field.UnderlyingEndPrice()); } public boolean isSet(quickfix.field.UnderlyingEndPrice field) { return isSetField(field); } public boolean isSetUnderlyingEndPrice() { return isSetField(883); } public void set(quickfix.field.UnderlyingStartValue value) { setField(value); } public quickfix.field.UnderlyingStartValue get(quickfix.field.UnderlyingStartValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStartValue getUnderlyingStartValue() throws FieldNotFound { return get(new quickfix.field.UnderlyingStartValue()); } public boolean isSet(quickfix.field.UnderlyingStartValue field) { return isSetField(field); } public boolean isSetUnderlyingStartValue() { return isSetField(884); } public void set(quickfix.field.UnderlyingCurrentValue value) { setField(value); } public quickfix.field.UnderlyingCurrentValue get(quickfix.field.UnderlyingCurrentValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCurrentValue getUnderlyingCurrentValue() throws FieldNotFound { return get(new quickfix.field.UnderlyingCurrentValue()); } public boolean isSet(quickfix.field.UnderlyingCurrentValue field) { return isSetField(field); } public boolean isSetUnderlyingCurrentValue() { return isSetField(885); } public void set(quickfix.field.UnderlyingEndValue value) { setField(value); } public quickfix.field.UnderlyingEndValue get(quickfix.field.UnderlyingEndValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingEndValue getUnderlyingEndValue() throws FieldNotFound { return get(new quickfix.field.UnderlyingEndValue()); } public boolean isSet(quickfix.field.UnderlyingEndValue field) { return isSetField(field); } public boolean isSetUnderlyingEndValue() { return isSetField(886); } public void set(quickfix.fix50sp1.component.UnderlyingStipulations component) { setComponent(component); } public quickfix.fix50sp1.component.UnderlyingStipulations get(quickfix.fix50sp1.component.UnderlyingStipulations component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UnderlyingStipulations getUnderlyingStipulations() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UnderlyingStipulations()); } public void set(quickfix.field.NoUnderlyingStips value) { setField(value); } public quickfix.field.NoUnderlyingStips get(quickfix.field.NoUnderlyingStips value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoUnderlyingStips getNoUnderlyingStips() throws FieldNotFound { return get(new quickfix.field.NoUnderlyingStips()); } public boolean isSet(quickfix.field.NoUnderlyingStips field) { return isSetField(field); } public boolean isSetNoUnderlyingStips() { return isSetField(887); } public static class NoUnderlyingStips extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {888, 889, 0}; public NoUnderlyingStips() { super(887, 888, ORDER); } public void set(quickfix.field.UnderlyingStipType value) { setField(value); } public quickfix.field.UnderlyingStipType get(quickfix.field.UnderlyingStipType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStipType getUnderlyingStipType() throws FieldNotFound { return get(new quickfix.field.UnderlyingStipType()); } public boolean isSet(quickfix.field.UnderlyingStipType field) { return isSetField(field); } public boolean isSetUnderlyingStipType() { return isSetField(888); } public void set(quickfix.field.UnderlyingStipValue value) { setField(value); } public quickfix.field.UnderlyingStipValue get(quickfix.field.UnderlyingStipValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingStipValue getUnderlyingStipValue() throws FieldNotFound { return get(new quickfix.field.UnderlyingStipValue()); } public boolean isSet(quickfix.field.UnderlyingStipValue field) { return isSetField(field); } public boolean isSetUnderlyingStipValue() { return isSetField(889); } } public void set(quickfix.field.UnderlyingAdjustedQuantity value) { setField(value); } public quickfix.field.UnderlyingAdjustedQuantity get(quickfix.field.UnderlyingAdjustedQuantity value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingAdjustedQuantity getUnderlyingAdjustedQuantity() throws FieldNotFound { return get(new quickfix.field.UnderlyingAdjustedQuantity()); } public boolean isSet(quickfix.field.UnderlyingAdjustedQuantity field) { return isSetField(field); } public boolean isSetUnderlyingAdjustedQuantity() { return isSetField(1044); } public void set(quickfix.field.UnderlyingFXRate value) { setField(value); } public quickfix.field.UnderlyingFXRate get(quickfix.field.UnderlyingFXRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingFXRate getUnderlyingFXRate() throws FieldNotFound { return get(new quickfix.field.UnderlyingFXRate()); } public boolean isSet(quickfix.field.UnderlyingFXRate field) { return isSetField(field); } public boolean isSetUnderlyingFXRate() { return isSetField(1045); } public void set(quickfix.field.UnderlyingFXRateCalc value) { setField(value); } public quickfix.field.UnderlyingFXRateCalc get(quickfix.field.UnderlyingFXRateCalc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingFXRateCalc getUnderlyingFXRateCalc() throws FieldNotFound { return get(new quickfix.field.UnderlyingFXRateCalc()); } public boolean isSet(quickfix.field.UnderlyingFXRateCalc field) { return isSetField(field); } public boolean isSetUnderlyingFXRateCalc() { return isSetField(1046); } public void set(quickfix.field.UnderlyingCapValue value) { setField(value); } public quickfix.field.UnderlyingCapValue get(quickfix.field.UnderlyingCapValue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingCapValue getUnderlyingCapValue() throws FieldNotFound { return get(new quickfix.field.UnderlyingCapValue()); } public boolean isSet(quickfix.field.UnderlyingCapValue field) { return isSetField(field); } public boolean isSetUnderlyingCapValue() { return isSetField(1038); } public void set(quickfix.fix50sp1.component.UndlyInstrumentParties component) { setComponent(component); } public quickfix.fix50sp1.component.UndlyInstrumentParties get(quickfix.fix50sp1.component.UndlyInstrumentParties component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UndlyInstrumentParties getUndlyInstrumentParties() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UndlyInstrumentParties()); } public void set(quickfix.field.NoUndlyInstrumentParties value) { setField(value); } public quickfix.field.NoUndlyInstrumentParties get(quickfix.field.NoUndlyInstrumentParties value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoUndlyInstrumentParties getNoUndlyInstrumentParties() throws FieldNotFound { return get(new quickfix.field.NoUndlyInstrumentParties()); } public boolean isSet(quickfix.field.NoUndlyInstrumentParties field) { return isSetField(field); } public boolean isSetNoUndlyInstrumentParties() { return isSetField(1058); } public static class NoUndlyInstrumentParties extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {1059, 1060, 1061, 1062, 0}; public NoUndlyInstrumentParties() { super(1058, 1059, ORDER); } public void set(quickfix.field.UndlyInstrumentPartyID value) { setField(value); } public quickfix.field.UndlyInstrumentPartyID get(quickfix.field.UndlyInstrumentPartyID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UndlyInstrumentPartyID getUndlyInstrumentPartyID() throws FieldNotFound { return get(new quickfix.field.UndlyInstrumentPartyID()); } public boolean isSet(quickfix.field.UndlyInstrumentPartyID field) { return isSetField(field); } public boolean isSetUndlyInstrumentPartyID() { return isSetField(1059); } public void set(quickfix.field.UndlyInstrumentPartyIDSource value) { setField(value); } public quickfix.field.UndlyInstrumentPartyIDSource get(quickfix.field.UndlyInstrumentPartyIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UndlyInstrumentPartyIDSource getUndlyInstrumentPartyIDSource() throws FieldNotFound { return get(new quickfix.field.UndlyInstrumentPartyIDSource()); } public boolean isSet(quickfix.field.UndlyInstrumentPartyIDSource field) { return isSetField(field); } public boolean isSetUndlyInstrumentPartyIDSource() { return isSetField(1060); } public void set(quickfix.field.UndlyInstrumentPartyRole value) { setField(value); } public quickfix.field.UndlyInstrumentPartyRole get(quickfix.field.UndlyInstrumentPartyRole value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UndlyInstrumentPartyRole getUndlyInstrumentPartyRole() throws FieldNotFound { return get(new quickfix.field.UndlyInstrumentPartyRole()); } public boolean isSet(quickfix.field.UndlyInstrumentPartyRole field) { return isSetField(field); } public boolean isSetUndlyInstrumentPartyRole() { return isSetField(1061); } public void set(quickfix.fix50sp1.component.UndlyInstrumentPtysSubGrp component) { setComponent(component); } public quickfix.fix50sp1.component.UndlyInstrumentPtysSubGrp get(quickfix.fix50sp1.component.UndlyInstrumentPtysSubGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.UndlyInstrumentPtysSubGrp getUndlyInstrumentPtysSubGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.UndlyInstrumentPtysSubGrp()); } public void set(quickfix.field.NoUndlyInstrumentPartySubIDs value) { setField(value); } public quickfix.field.NoUndlyInstrumentPartySubIDs get(quickfix.field.NoUndlyInstrumentPartySubIDs value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoUndlyInstrumentPartySubIDs getNoUndlyInstrumentPartySubIDs() throws FieldNotFound { return get(new quickfix.field.NoUndlyInstrumentPartySubIDs()); } public boolean isSet(quickfix.field.NoUndlyInstrumentPartySubIDs field) { return isSetField(field); } public boolean isSetNoUndlyInstrumentPartySubIDs() { return isSetField(1062); } public static class NoUndlyInstrumentPartySubIDs extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {1063, 1064, 0}; public NoUndlyInstrumentPartySubIDs() { super(1062, 1063, ORDER); } public void set(quickfix.field.UndlyInstrumentPartySubID value) { setField(value); } public quickfix.field.UndlyInstrumentPartySubID get(quickfix.field.UndlyInstrumentPartySubID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UndlyInstrumentPartySubID getUndlyInstrumentPartySubID() throws FieldNotFound { return get(new quickfix.field.UndlyInstrumentPartySubID()); } public boolean isSet(quickfix.field.UndlyInstrumentPartySubID field) { return isSetField(field); } public boolean isSetUndlyInstrumentPartySubID() { return isSetField(1063); } public void set(quickfix.field.UndlyInstrumentPartySubIDType value) { setField(value); } public quickfix.field.UndlyInstrumentPartySubIDType get(quickfix.field.UndlyInstrumentPartySubIDType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UndlyInstrumentPartySubIDType getUndlyInstrumentPartySubIDType() throws FieldNotFound { return get(new quickfix.field.UndlyInstrumentPartySubIDType()); } public boolean isSet(quickfix.field.UndlyInstrumentPartySubIDType field) { return isSetField(field); } public boolean isSetUndlyInstrumentPartySubIDType() { return isSetField(1064); } } } public void set(quickfix.field.UnderlyingSettlMethod value) { setField(value); } public quickfix.field.UnderlyingSettlMethod get(quickfix.field.UnderlyingSettlMethod value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingSettlMethod getUnderlyingSettlMethod() throws FieldNotFound { return get(new quickfix.field.UnderlyingSettlMethod()); } public boolean isSet(quickfix.field.UnderlyingSettlMethod field) { return isSetField(field); } public boolean isSetUnderlyingSettlMethod() { return isSetField(1039); } public void set(quickfix.field.UnderlyingPutOrCall value) { setField(value); } public quickfix.field.UnderlyingPutOrCall get(quickfix.field.UnderlyingPutOrCall value) throws FieldNotFound { getField(value); return value; } public quickfix.field.UnderlyingPutOrCall getUnderlyingPutOrCall() throws FieldNotFound { return get(new quickfix.field.UnderlyingPutOrCall()); } public boolean isSet(quickfix.field.UnderlyingPutOrCall field) { return isSetField(field); } public boolean isSetUnderlyingPutOrCall() { return isSetField(315); } } public void set(quickfix.fix50sp1.component.InstrmtLegGrp component) { setComponent(component); } public quickfix.fix50sp1.component.InstrmtLegGrp get(quickfix.fix50sp1.component.InstrmtLegGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.InstrmtLegGrp getInstrmtLegGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.InstrmtLegGrp()); } public void set(quickfix.field.NoLegs value) { setField(value); } public quickfix.field.NoLegs get(quickfix.field.NoLegs value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoLegs getNoLegs() throws FieldNotFound { return get(new quickfix.field.NoLegs()); } public boolean isSet(quickfix.field.NoLegs field) { return isSetField(field); } public boolean isSetNoLegs() { return isSetField(555); } public static class NoLegs extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {600, 601, 602, 603, 604, 607, 608, 609, 764, 610, 611, 1212, 248, 249, 250, 251, 252, 253, 257, 599, 596, 597, 598, 254, 612, 942, 613, 614, 999, 1224, 1421, 1422, 1001, 1420, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 556, 740, 739, 955, 956, 1358, 1017, 566, 0}; public NoLegs() { super(555, 600, ORDER); } public void set(quickfix.fix50sp1.component.InstrumentLeg component) { setComponent(component); } public quickfix.fix50sp1.component.InstrumentLeg get(quickfix.fix50sp1.component.InstrumentLeg component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.InstrumentLeg getInstrumentLeg() throws FieldNotFound { return get(new quickfix.fix50sp1.component.InstrumentLeg()); } public void set(quickfix.field.LegSymbol value) { setField(value); } public quickfix.field.LegSymbol get(quickfix.field.LegSymbol value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSymbol getLegSymbol() throws FieldNotFound { return get(new quickfix.field.LegSymbol()); } public boolean isSet(quickfix.field.LegSymbol field) { return isSetField(field); } public boolean isSetLegSymbol() { return isSetField(600); } public void set(quickfix.field.LegSymbolSfx value) { setField(value); } public quickfix.field.LegSymbolSfx get(quickfix.field.LegSymbolSfx value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { return get(new quickfix.field.LegSymbolSfx()); } public boolean isSet(quickfix.field.LegSymbolSfx field) { return isSetField(field); } public boolean isSetLegSymbolSfx() { return isSetField(601); } public void set(quickfix.field.LegSecurityID value) { setField(value); } public quickfix.field.LegSecurityID get(quickfix.field.LegSecurityID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { return get(new quickfix.field.LegSecurityID()); } public boolean isSet(quickfix.field.LegSecurityID field) { return isSetField(field); } public boolean isSetLegSecurityID() { return isSetField(602); } public void set(quickfix.field.LegSecurityIDSource value) { setField(value); } public quickfix.field.LegSecurityIDSource get(quickfix.field.LegSecurityIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityIDSource getLegSecurityIDSource() throws FieldNotFound { return get(new quickfix.field.LegSecurityIDSource()); } public boolean isSet(quickfix.field.LegSecurityIDSource field) { return isSetField(field); } public boolean isSetLegSecurityIDSource() { return isSetField(603); } public void set(quickfix.fix50sp1.component.LegSecAltIDGrp component) { setComponent(component); } public quickfix.fix50sp1.component.LegSecAltIDGrp get(quickfix.fix50sp1.component.LegSecAltIDGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.LegSecAltIDGrp getLegSecAltIDGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.LegSecAltIDGrp()); } public void set(quickfix.field.NoLegSecurityAltID value) { setField(value); } public quickfix.field.NoLegSecurityAltID get(quickfix.field.NoLegSecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoLegSecurityAltID getNoLegSecurityAltID() throws FieldNotFound { return get(new quickfix.field.NoLegSecurityAltID()); } public boolean isSet(quickfix.field.NoLegSecurityAltID field) { return isSetField(field); } public boolean isSetNoLegSecurityAltID() { return isSetField(604); } public static class NoLegSecurityAltID extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {605, 606, 0}; public NoLegSecurityAltID() { super(604, 605, ORDER); } public void set(quickfix.field.LegSecurityAltID value) { setField(value); } public quickfix.field.LegSecurityAltID get(quickfix.field.LegSecurityAltID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityAltID getLegSecurityAltID() throws FieldNotFound { return get(new quickfix.field.LegSecurityAltID()); } public boolean isSet(quickfix.field.LegSecurityAltID field) { return isSetField(field); } public boolean isSetLegSecurityAltID() { return isSetField(605); } public void set(quickfix.field.LegSecurityAltIDSource value) { setField(value); } public quickfix.field.LegSecurityAltIDSource get(quickfix.field.LegSecurityAltIDSource value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityAltIDSource getLegSecurityAltIDSource() throws FieldNotFound { return get(new quickfix.field.LegSecurityAltIDSource()); } public boolean isSet(quickfix.field.LegSecurityAltIDSource field) { return isSetField(field); } public boolean isSetLegSecurityAltIDSource() { return isSetField(606); } } public void set(quickfix.field.LegProduct value) { setField(value); } public quickfix.field.LegProduct get(quickfix.field.LegProduct value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { return get(new quickfix.field.LegProduct()); } public boolean isSet(quickfix.field.LegProduct field) { return isSetField(field); } public boolean isSetLegProduct() { return isSetField(607); } public void set(quickfix.field.LegCFICode value) { setField(value); } public quickfix.field.LegCFICode get(quickfix.field.LegCFICode value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCFICode getLegCFICode() throws FieldNotFound { return get(new quickfix.field.LegCFICode()); } public boolean isSet(quickfix.field.LegCFICode field) { return isSetField(field); } public boolean isSetLegCFICode() { return isSetField(608); } public void set(quickfix.field.LegSecurityType value) { setField(value); } public quickfix.field.LegSecurityType get(quickfix.field.LegSecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityType getLegSecurityType() throws FieldNotFound { return get(new quickfix.field.LegSecurityType()); } public boolean isSet(quickfix.field.LegSecurityType field) { return isSetField(field); } public boolean isSetLegSecurityType() { return isSetField(609); } public void set(quickfix.field.LegSecuritySubType value) { setField(value); } public quickfix.field.LegSecuritySubType get(quickfix.field.LegSecuritySubType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecuritySubType getLegSecuritySubType() throws FieldNotFound { return get(new quickfix.field.LegSecuritySubType()); } public boolean isSet(quickfix.field.LegSecuritySubType field) { return isSetField(field); } public boolean isSetLegSecuritySubType() { return isSetField(764); } public void set(quickfix.field.LegMaturityMonthYear value) { setField(value); } public quickfix.field.LegMaturityMonthYear get(quickfix.field.LegMaturityMonthYear value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegMaturityMonthYear getLegMaturityMonthYear() throws FieldNotFound { return get(new quickfix.field.LegMaturityMonthYear()); } public boolean isSet(quickfix.field.LegMaturityMonthYear field) { return isSetField(field); } public boolean isSetLegMaturityMonthYear() { return isSetField(610); } public void set(quickfix.field.LegMaturityDate value) { setField(value); } public quickfix.field.LegMaturityDate get(quickfix.field.LegMaturityDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegMaturityDate getLegMaturityDate() throws FieldNotFound { return get(new quickfix.field.LegMaturityDate()); } public boolean isSet(quickfix.field.LegMaturityDate field) { return isSetField(field); } public boolean isSetLegMaturityDate() { return isSetField(611); } public void set(quickfix.field.LegMaturityTime value) { setField(value); } public quickfix.field.LegMaturityTime get(quickfix.field.LegMaturityTime value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegMaturityTime getLegMaturityTime() throws FieldNotFound { return get(new quickfix.field.LegMaturityTime()); } public boolean isSet(quickfix.field.LegMaturityTime field) { return isSetField(field); } public boolean isSetLegMaturityTime() { return isSetField(1212); } public void set(quickfix.field.LegCouponPaymentDate value) { setField(value); } public quickfix.field.LegCouponPaymentDate get(quickfix.field.LegCouponPaymentDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCouponPaymentDate getLegCouponPaymentDate() throws FieldNotFound { return get(new quickfix.field.LegCouponPaymentDate()); } public boolean isSet(quickfix.field.LegCouponPaymentDate field) { return isSetField(field); } public boolean isSetLegCouponPaymentDate() { return isSetField(248); } public void set(quickfix.field.LegIssueDate value) { setField(value); } public quickfix.field.LegIssueDate get(quickfix.field.LegIssueDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegIssueDate getLegIssueDate() throws FieldNotFound { return get(new quickfix.field.LegIssueDate()); } public boolean isSet(quickfix.field.LegIssueDate field) { return isSetField(field); } public boolean isSetLegIssueDate() { return isSetField(249); } public void set(quickfix.field.LegRepoCollateralSecurityType value) { setField(value); } public quickfix.field.LegRepoCollateralSecurityType get(quickfix.field.LegRepoCollateralSecurityType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegRepoCollateralSecurityType getLegRepoCollateralSecurityType() throws FieldNotFound { return get(new quickfix.field.LegRepoCollateralSecurityType()); } public boolean isSet(quickfix.field.LegRepoCollateralSecurityType field) { return isSetField(field); } public boolean isSetLegRepoCollateralSecurityType() { return isSetField(250); } public void set(quickfix.field.LegRepurchaseTerm value) { setField(value); } public quickfix.field.LegRepurchaseTerm get(quickfix.field.LegRepurchaseTerm value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegRepurchaseTerm getLegRepurchaseTerm() throws FieldNotFound { return get(new quickfix.field.LegRepurchaseTerm()); } public boolean isSet(quickfix.field.LegRepurchaseTerm field) { return isSetField(field); } public boolean isSetLegRepurchaseTerm() { return isSetField(251); } public void set(quickfix.field.LegRepurchaseRate value) { setField(value); } public quickfix.field.LegRepurchaseRate get(quickfix.field.LegRepurchaseRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegRepurchaseRate getLegRepurchaseRate() throws FieldNotFound { return get(new quickfix.field.LegRepurchaseRate()); } public boolean isSet(quickfix.field.LegRepurchaseRate field) { return isSetField(field); } public boolean isSetLegRepurchaseRate() { return isSetField(252); } public void set(quickfix.field.LegFactor value) { setField(value); } public quickfix.field.LegFactor get(quickfix.field.LegFactor value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegFactor getLegFactor() throws FieldNotFound { return get(new quickfix.field.LegFactor()); } public boolean isSet(quickfix.field.LegFactor field) { return isSetField(field); } public boolean isSetLegFactor() { return isSetField(253); } public void set(quickfix.field.LegCreditRating value) { setField(value); } public quickfix.field.LegCreditRating get(quickfix.field.LegCreditRating value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCreditRating getLegCreditRating() throws FieldNotFound { return get(new quickfix.field.LegCreditRating()); } public boolean isSet(quickfix.field.LegCreditRating field) { return isSetField(field); } public boolean isSetLegCreditRating() { return isSetField(257); } public void set(quickfix.field.LegInstrRegistry value) { setField(value); } public quickfix.field.LegInstrRegistry get(quickfix.field.LegInstrRegistry value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegInstrRegistry getLegInstrRegistry() throws FieldNotFound { return get(new quickfix.field.LegInstrRegistry()); } public boolean isSet(quickfix.field.LegInstrRegistry field) { return isSetField(field); } public boolean isSetLegInstrRegistry() { return isSetField(599); } public void set(quickfix.field.LegCountryOfIssue value) { setField(value); } public quickfix.field.LegCountryOfIssue get(quickfix.field.LegCountryOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCountryOfIssue getLegCountryOfIssue() throws FieldNotFound { return get(new quickfix.field.LegCountryOfIssue()); } public boolean isSet(quickfix.field.LegCountryOfIssue field) { return isSetField(field); } public boolean isSetLegCountryOfIssue() { return isSetField(596); } public void set(quickfix.field.LegStateOrProvinceOfIssue value) { setField(value); } public quickfix.field.LegStateOrProvinceOfIssue get(quickfix.field.LegStateOrProvinceOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegStateOrProvinceOfIssue getLegStateOrProvinceOfIssue() throws FieldNotFound { return get(new quickfix.field.LegStateOrProvinceOfIssue()); } public boolean isSet(quickfix.field.LegStateOrProvinceOfIssue field) { return isSetField(field); } public boolean isSetLegStateOrProvinceOfIssue() { return isSetField(597); } public void set(quickfix.field.LegLocaleOfIssue value) { setField(value); } public quickfix.field.LegLocaleOfIssue get(quickfix.field.LegLocaleOfIssue value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegLocaleOfIssue getLegLocaleOfIssue() throws FieldNotFound { return get(new quickfix.field.LegLocaleOfIssue()); } public boolean isSet(quickfix.field.LegLocaleOfIssue field) { return isSetField(field); } public boolean isSetLegLocaleOfIssue() { return isSetField(598); } public void set(quickfix.field.LegRedemptionDate value) { setField(value); } public quickfix.field.LegRedemptionDate get(quickfix.field.LegRedemptionDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegRedemptionDate getLegRedemptionDate() throws FieldNotFound { return get(new quickfix.field.LegRedemptionDate()); } public boolean isSet(quickfix.field.LegRedemptionDate field) { return isSetField(field); } public boolean isSetLegRedemptionDate() { return isSetField(254); } public void set(quickfix.field.LegStrikePrice value) { setField(value); } public quickfix.field.LegStrikePrice get(quickfix.field.LegStrikePrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegStrikePrice getLegStrikePrice() throws FieldNotFound { return get(new quickfix.field.LegStrikePrice()); } public boolean isSet(quickfix.field.LegStrikePrice field) { return isSetField(field); } public boolean isSetLegStrikePrice() { return isSetField(612); } public void set(quickfix.field.LegStrikeCurrency value) { setField(value); } public quickfix.field.LegStrikeCurrency get(quickfix.field.LegStrikeCurrency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegStrikeCurrency getLegStrikeCurrency() throws FieldNotFound { return get(new quickfix.field.LegStrikeCurrency()); } public boolean isSet(quickfix.field.LegStrikeCurrency field) { return isSetField(field); } public boolean isSetLegStrikeCurrency() { return isSetField(942); } public void set(quickfix.field.LegOptAttribute value) { setField(value); } public quickfix.field.LegOptAttribute get(quickfix.field.LegOptAttribute value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegOptAttribute getLegOptAttribute() throws FieldNotFound { return get(new quickfix.field.LegOptAttribute()); } public boolean isSet(quickfix.field.LegOptAttribute field) { return isSetField(field); } public boolean isSetLegOptAttribute() { return isSetField(613); } public void set(quickfix.field.LegContractMultiplier value) { setField(value); } public quickfix.field.LegContractMultiplier get(quickfix.field.LegContractMultiplier value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegContractMultiplier getLegContractMultiplier() throws FieldNotFound { return get(new quickfix.field.LegContractMultiplier()); } public boolean isSet(quickfix.field.LegContractMultiplier field) { return isSetField(field); } public boolean isSetLegContractMultiplier() { return isSetField(614); } public void set(quickfix.field.LegUnitOfMeasure value) { setField(value); } public quickfix.field.LegUnitOfMeasure get(quickfix.field.LegUnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegUnitOfMeasure getLegUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.LegUnitOfMeasure()); } public boolean isSet(quickfix.field.LegUnitOfMeasure field) { return isSetField(field); } public boolean isSetLegUnitOfMeasure() { return isSetField(999); } public void set(quickfix.field.LegUnitOfMeasureQty value) { setField(value); } public quickfix.field.LegUnitOfMeasureQty get(quickfix.field.LegUnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegUnitOfMeasureQty getLegUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.LegUnitOfMeasureQty()); } public boolean isSet(quickfix.field.LegUnitOfMeasureQty field) { return isSetField(field); } public boolean isSetLegUnitOfMeasureQty() { return isSetField(1224); } public void set(quickfix.field.LegPriceUnitOfMeasure value) { setField(value); } public quickfix.field.LegPriceUnitOfMeasure get(quickfix.field.LegPriceUnitOfMeasure value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegPriceUnitOfMeasure getLegPriceUnitOfMeasure() throws FieldNotFound { return get(new quickfix.field.LegPriceUnitOfMeasure()); } public boolean isSet(quickfix.field.LegPriceUnitOfMeasure field) { return isSetField(field); } public boolean isSetLegPriceUnitOfMeasure() { return isSetField(1421); } public void set(quickfix.field.LegPriceUnitOfMeasureQty value) { setField(value); } public quickfix.field.LegPriceUnitOfMeasureQty get(quickfix.field.LegPriceUnitOfMeasureQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegPriceUnitOfMeasureQty getLegPriceUnitOfMeasureQty() throws FieldNotFound { return get(new quickfix.field.LegPriceUnitOfMeasureQty()); } public boolean isSet(quickfix.field.LegPriceUnitOfMeasureQty field) { return isSetField(field); } public boolean isSetLegPriceUnitOfMeasureQty() { return isSetField(1422); } public void set(quickfix.field.LegTimeUnit value) { setField(value); } public quickfix.field.LegTimeUnit get(quickfix.field.LegTimeUnit value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegTimeUnit getLegTimeUnit() throws FieldNotFound { return get(new quickfix.field.LegTimeUnit()); } public boolean isSet(quickfix.field.LegTimeUnit field) { return isSetField(field); } public boolean isSetLegTimeUnit() { return isSetField(1001); } public void set(quickfix.field.LegExerciseStyle value) { setField(value); } public quickfix.field.LegExerciseStyle get(quickfix.field.LegExerciseStyle value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegExerciseStyle getLegExerciseStyle() throws FieldNotFound { return get(new quickfix.field.LegExerciseStyle()); } public boolean isSet(quickfix.field.LegExerciseStyle field) { return isSetField(field); } public boolean isSetLegExerciseStyle() { return isSetField(1420); } public void set(quickfix.field.LegCouponRate value) { setField(value); } public quickfix.field.LegCouponRate get(quickfix.field.LegCouponRate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCouponRate getLegCouponRate() throws FieldNotFound { return get(new quickfix.field.LegCouponRate()); } public boolean isSet(quickfix.field.LegCouponRate field) { return isSetField(field); } public boolean isSetLegCouponRate() { return isSetField(615); } public void set(quickfix.field.LegSecurityExchange value) { setField(value); } public quickfix.field.LegSecurityExchange get(quickfix.field.LegSecurityExchange value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityExchange getLegSecurityExchange() throws FieldNotFound { return get(new quickfix.field.LegSecurityExchange()); } public boolean isSet(quickfix.field.LegSecurityExchange field) { return isSetField(field); } public boolean isSetLegSecurityExchange() { return isSetField(616); } public void set(quickfix.field.LegIssuer value) { setField(value); } public quickfix.field.LegIssuer get(quickfix.field.LegIssuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegIssuer getLegIssuer() throws FieldNotFound { return get(new quickfix.field.LegIssuer()); } public boolean isSet(quickfix.field.LegIssuer field) { return isSetField(field); } public boolean isSetLegIssuer() { return isSetField(617); } public void set(quickfix.field.EncodedLegIssuerLen value) { setField(value); } public quickfix.field.EncodedLegIssuerLen get(quickfix.field.EncodedLegIssuerLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedLegIssuerLen getEncodedLegIssuerLen() throws FieldNotFound { return get(new quickfix.field.EncodedLegIssuerLen()); } public boolean isSet(quickfix.field.EncodedLegIssuerLen field) { return isSetField(field); } public boolean isSetEncodedLegIssuerLen() { return isSetField(618); } public void set(quickfix.field.EncodedLegIssuer value) { setField(value); } public quickfix.field.EncodedLegIssuer get(quickfix.field.EncodedLegIssuer value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedLegIssuer getEncodedLegIssuer() throws FieldNotFound { return get(new quickfix.field.EncodedLegIssuer()); } public boolean isSet(quickfix.field.EncodedLegIssuer field) { return isSetField(field); } public boolean isSetEncodedLegIssuer() { return isSetField(619); } public void set(quickfix.field.LegSecurityDesc value) { setField(value); } public quickfix.field.LegSecurityDesc get(quickfix.field.LegSecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSecurityDesc getLegSecurityDesc() throws FieldNotFound { return get(new quickfix.field.LegSecurityDesc()); } public boolean isSet(quickfix.field.LegSecurityDesc field) { return isSetField(field); } public boolean isSetLegSecurityDesc() { return isSetField(620); } public void set(quickfix.field.EncodedLegSecurityDescLen value) { setField(value); } public quickfix.field.EncodedLegSecurityDescLen get(quickfix.field.EncodedLegSecurityDescLen value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedLegSecurityDescLen getEncodedLegSecurityDescLen() throws FieldNotFound { return get(new quickfix.field.EncodedLegSecurityDescLen()); } public boolean isSet(quickfix.field.EncodedLegSecurityDescLen field) { return isSetField(field); } public boolean isSetEncodedLegSecurityDescLen() { return isSetField(621); } public void set(quickfix.field.EncodedLegSecurityDesc value) { setField(value); } public quickfix.field.EncodedLegSecurityDesc get(quickfix.field.EncodedLegSecurityDesc value) throws FieldNotFound { getField(value); return value; } public quickfix.field.EncodedLegSecurityDesc getEncodedLegSecurityDesc() throws FieldNotFound { return get(new quickfix.field.EncodedLegSecurityDesc()); } public boolean isSet(quickfix.field.EncodedLegSecurityDesc field) { return isSetField(field); } public boolean isSetEncodedLegSecurityDesc() { return isSetField(622); } public void set(quickfix.field.LegRatioQty value) { setField(value); } public quickfix.field.LegRatioQty get(quickfix.field.LegRatioQty value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegRatioQty getLegRatioQty() throws FieldNotFound { return get(new quickfix.field.LegRatioQty()); } public boolean isSet(quickfix.field.LegRatioQty field) { return isSetField(field); } public boolean isSetLegRatioQty() { return isSetField(623); } public void set(quickfix.field.LegSide value) { setField(value); } public quickfix.field.LegSide get(quickfix.field.LegSide value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegSide getLegSide() throws FieldNotFound { return get(new quickfix.field.LegSide()); } public boolean isSet(quickfix.field.LegSide field) { return isSetField(field); } public boolean isSetLegSide() { return isSetField(624); } public void set(quickfix.field.LegCurrency value) { setField(value); } public quickfix.field.LegCurrency get(quickfix.field.LegCurrency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { return get(new quickfix.field.LegCurrency()); } public boolean isSet(quickfix.field.LegCurrency field) { return isSetField(field); } public boolean isSetLegCurrency() { return isSetField(556); } public void set(quickfix.field.LegPool value) { setField(value); } public quickfix.field.LegPool get(quickfix.field.LegPool value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegPool getLegPool() throws FieldNotFound { return get(new quickfix.field.LegPool()); } public boolean isSet(quickfix.field.LegPool field) { return isSetField(field); } public boolean isSetLegPool() { return isSetField(740); } public void set(quickfix.field.LegDatedDate value) { setField(value); } public quickfix.field.LegDatedDate get(quickfix.field.LegDatedDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegDatedDate getLegDatedDate() throws FieldNotFound { return get(new quickfix.field.LegDatedDate()); } public boolean isSet(quickfix.field.LegDatedDate field) { return isSetField(field); } public boolean isSetLegDatedDate() { return isSetField(739); } public void set(quickfix.field.LegContractSettlMonth value) { setField(value); } public quickfix.field.LegContractSettlMonth get(quickfix.field.LegContractSettlMonth value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegContractSettlMonth getLegContractSettlMonth() throws FieldNotFound { return get(new quickfix.field.LegContractSettlMonth()); } public boolean isSet(quickfix.field.LegContractSettlMonth field) { return isSetField(field); } public boolean isSetLegContractSettlMonth() { return isSetField(955); } public void set(quickfix.field.LegInterestAccrualDate value) { setField(value); } public quickfix.field.LegInterestAccrualDate get(quickfix.field.LegInterestAccrualDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegInterestAccrualDate getLegInterestAccrualDate() throws FieldNotFound { return get(new quickfix.field.LegInterestAccrualDate()); } public boolean isSet(quickfix.field.LegInterestAccrualDate field) { return isSetField(field); } public boolean isSetLegInterestAccrualDate() { return isSetField(956); } public void set(quickfix.field.LegPutOrCall value) { setField(value); } public quickfix.field.LegPutOrCall get(quickfix.field.LegPutOrCall value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegPutOrCall getLegPutOrCall() throws FieldNotFound { return get(new quickfix.field.LegPutOrCall()); } public boolean isSet(quickfix.field.LegPutOrCall field) { return isSetField(field); } public boolean isSetLegPutOrCall() { return isSetField(1358); } public void set(quickfix.field.LegOptionRatio value) { setField(value); } public quickfix.field.LegOptionRatio get(quickfix.field.LegOptionRatio value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegOptionRatio getLegOptionRatio() throws FieldNotFound { return get(new quickfix.field.LegOptionRatio()); } public boolean isSet(quickfix.field.LegOptionRatio field) { return isSetField(field); } public boolean isSetLegOptionRatio() { return isSetField(1017); } public void set(quickfix.field.LegPrice value) { setField(value); } public quickfix.field.LegPrice get(quickfix.field.LegPrice value) throws FieldNotFound { getField(value); return value; } public quickfix.field.LegPrice getLegPrice() throws FieldNotFound { return get(new quickfix.field.LegPrice()); } public boolean isSet(quickfix.field.LegPrice field) { return isSetField(field); } public boolean isSetLegPrice() { return isSetField(566); } } public void set(quickfix.field.Currency value) { setField(value); } public quickfix.field.Currency get(quickfix.field.Currency value) throws FieldNotFound { getField(value); return value; } public quickfix.field.Currency getCurrency() throws FieldNotFound { return get(new quickfix.field.Currency()); } public boolean isSet(quickfix.field.Currency field) { return isSetField(field); } public boolean isSetCurrency() { return isSetField(15); } public void set(quickfix.field.QuoteType value) { setField(value); } public quickfix.field.QuoteType get(quickfix.field.QuoteType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.QuoteType getQuoteType() throws FieldNotFound { return get(new quickfix.field.QuoteType()); } public boolean isSet(quickfix.field.QuoteType field) { return isSetField(field); } public boolean isSetQuoteType() { return isSetField(537); } public void set(quickfix.field.SettlType value) { setField(value); } public quickfix.field.SettlType get(quickfix.field.SettlType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SettlType getSettlType() throws FieldNotFound { return get(new quickfix.field.SettlType()); } public boolean isSet(quickfix.field.SettlType field) { return isSetField(field); } public boolean isSetSettlType() { return isSetField(63); } public void set(quickfix.field.SettlDate value) { setField(value); } public quickfix.field.SettlDate get(quickfix.field.SettlDate value) throws FieldNotFound { getField(value); return value; } public quickfix.field.SettlDate getSettlDate() throws FieldNotFound { return get(new quickfix.field.SettlDate()); } public boolean isSet(quickfix.field.SettlDate field) { return isSetField(field); } public boolean isSetSettlDate() { return isSetField(64); } public void set(quickfix.field.MDEntrySize value) { setField(value); } public quickfix.field.MDEntrySize get(quickfix.field.MDEntrySize value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDEntrySize getMDEntrySize() throws FieldNotFound { return get(new quickfix.field.MDEntrySize()); } public boolean isSet(quickfix.field.MDEntrySize field) { return isSetField(field); } public boolean isSetMDEntrySize() { return isSetField(271); } } public void set(quickfix.fix50sp1.component.TrdgSesGrp component) { setComponent(component); } public quickfix.fix50sp1.component.TrdgSesGrp get(quickfix.fix50sp1.component.TrdgSesGrp component) throws FieldNotFound { getComponent(component); return component; } public quickfix.fix50sp1.component.TrdgSesGrp getTrdgSesGrp() throws FieldNotFound { return get(new quickfix.fix50sp1.component.TrdgSesGrp()); } public void set(quickfix.field.NoTradingSessions value) { setField(value); } public quickfix.field.NoTradingSessions get(quickfix.field.NoTradingSessions value) throws FieldNotFound { getField(value); return value; } public quickfix.field.NoTradingSessions getNoTradingSessions() throws FieldNotFound { return get(new quickfix.field.NoTradingSessions()); } public boolean isSet(quickfix.field.NoTradingSessions field) { return isSetField(field); } public boolean isSetNoTradingSessions() { return isSetField(386); } public static class NoTradingSessions extends Group { static final long serialVersionUID = 20050617; private static final int[] ORDER = {336, 625, 0}; public NoTradingSessions() { super(386, 336, ORDER); } public void set(quickfix.field.TradingSessionID value) { setField(value); } public quickfix.field.TradingSessionID get(quickfix.field.TradingSessionID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { return get(new quickfix.field.TradingSessionID()); } public boolean isSet(quickfix.field.TradingSessionID field) { return isSetField(field); } public boolean isSetTradingSessionID() { return isSetField(336); } public void set(quickfix.field.TradingSessionSubID value) { setField(value); } public quickfix.field.TradingSessionSubID get(quickfix.field.TradingSessionSubID value) throws FieldNotFound { getField(value); return value; } public quickfix.field.TradingSessionSubID getTradingSessionSubID() throws FieldNotFound { return get(new quickfix.field.TradingSessionSubID()); } public boolean isSet(quickfix.field.TradingSessionSubID field) { return isSetField(field); } public boolean isSetTradingSessionSubID() { return isSetField(625); } } public void set(quickfix.field.ApplQueueAction value) { setField(value); } public quickfix.field.ApplQueueAction get(quickfix.field.ApplQueueAction value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ApplQueueAction getApplQueueAction() throws FieldNotFound { return get(new quickfix.field.ApplQueueAction()); } public boolean isSet(quickfix.field.ApplQueueAction field) { return isSetField(field); } public boolean isSetApplQueueAction() { return isSetField(815); } public void set(quickfix.field.ApplQueueMax value) { setField(value); } public quickfix.field.ApplQueueMax get(quickfix.field.ApplQueueMax value) throws FieldNotFound { getField(value); return value; } public quickfix.field.ApplQueueMax getApplQueueMax() throws FieldNotFound { return get(new quickfix.field.ApplQueueMax()); } public boolean isSet(quickfix.field.ApplQueueMax field) { return isSetField(field); } public boolean isSetApplQueueMax() { return isSetField(812); } public void set(quickfix.field.MDQuoteType value) { setField(value); } public quickfix.field.MDQuoteType get(quickfix.field.MDQuoteType value) throws FieldNotFound { getField(value); return value; } public quickfix.field.MDQuoteType getMDQuoteType() throws FieldNotFound { return get(new quickfix.field.MDQuoteType()); } public boolean isSet(quickfix.field.MDQuoteType field) { return isSetField(field); } public boolean isSetMDQuoteType() { return isSetField(1070); } }
[ "lloyd.khc.chan@gmail.com" ]
lloyd.khc.chan@gmail.com
15611ade0fdf60d766d0956e32bc7bf32f2e974b
3a2369c3680b7fbf5510222c616b2c425f4587c6
/app/src/androidTest/java/com/example/twoactivities2/ExampleInstrumentedTest.java
b9fb53f2ac3cfa73cadcabf263cf6b10df1b716f
[]
no_license
SabinaSubedi/Activity2
2fb4fb1be0645b2fb9241d79e13aeefc380f8274
05ca2d71a3b8270d5c47759f1f3ea7b0f42e14b4
refs/heads/master
2021-04-14T17:05:47.874109
2020-03-22T18:37:20
2020-03-22T18:37:20
249,248,206
0
0
null
null
null
null
UTF-8
Java
false
false
768
java
package com.example.twoactivities2; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Android device. * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ @RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { @Test public void useAppContext() { // Context of the app under test. Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); assertEquals("com.example.twoactivities2", appContext.getPackageName()); } }
[ "sabinasubedi0479@gmail.com" ]
sabinasubedi0479@gmail.com
3853c560b9da86322c0f4a22b472f65ffcc1deb3
4344c4af20199431b0daae8f72e0bef3ee3ef1f0
/src/java/com/bpp/hibernate/EconomicSegmentHeader2HibernateHelper.java
f4ab2a517347019ac35457bbb00035bddd8e243a
[]
no_license
adewaleazeez/BudgetPlanningPortals
2b3ce5d512bfe76d4e033c0655b520a1d49a0588
b6cc7f3219caa9dd4a2f80f44930102897f6e3a6
refs/heads/master
2023-04-24T05:49:37.877856
2021-05-17T12:47:30
2021-05-17T12:47:30
368,181,973
0
0
null
null
null
null
UTF-8
Java
false
false
12,060
java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.bpp.hibernate; import com.bpp.utility.Utility; import com.google.gson.Gson; import java.util.HashMap; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.HibernateException; import org.hibernate.SQLQuery; import org.hibernate.Transaction; import org.hibernate.type.StandardBasicTypes; /** * * @author Adewale */ public class EconomicSegmentHeader2HibernateHelper { /* EconomicSegment methods begin */ public synchronized String insert(EconomicSegmentHeader2 economicSegment) { EconomicSegmentHeader2 checkEconomicSegment = exists(economicSegment.getName()); if (checkEconomicSegment == null) { final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); tx = session.beginTransaction(); //session.beginTransaction(); session.save(economicSegment); //session.getTransaction().commit(); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); return ""; } finally { //session.close(); } return Utility.ActionResponse.INSERTED.toString(); } else { return Utility.ActionResponse.RECORD_EXISTS.toString(); } } public synchronized String update(EconomicSegmentHeader2 economicSegment) { System.out.println("Updating "+economicSegment.getName()); EconomicSegmentHeader2 checkEconomicSegment = exists(economicSegment.getName()); if (checkEconomicSegment == null || economicSegment.getId() == checkEconomicSegment.getId()) { final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); tx = session.beginTransaction(); //session.beginTransaction(); session.merge(economicSegment); //session.getTransaction().commit(); tx.commit(); } catch (HibernateException e) { System.out.println("error: "+e.getMessage()); if (tx != null) { tx.rollback(); } e.printStackTrace(); return ""; } finally { //session.close(); } return Utility.ActionResponse.UPDATED.toString(); } else { return Utility.ActionResponse.RECORD_EXISTS.toString(); } } public synchronized String delete(EconomicSegmentHeader2 economicSegment) { EconomicSegmentHeader2 checkEconomicSegment = fetchOne(economicSegment.getId()+""); if (checkEconomicSegment != null) { final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); tx = session.beginTransaction(); //session.beginTransaction(); session.delete(economicSegment); //session.getTransaction().commit(); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); return ""; } finally { //session.close(); } return Utility.ActionResponse.DELETED.toString(); } else { return Utility.ActionResponse.NO_RECORD.toString(); } } public synchronized EconomicSegmentHeader2 exists(String name) { EconomicSegmentHeader2 economicSegment = null; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); Query q = session.createQuery("from EconomicSegmentHeader2 as a where a.name='" + name + "'"); //q.setMaxResults(2); economicSegment = (EconomicSegmentHeader2) q.uniqueResult(); //session.getTransaction().commit(); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return economicSegment; } public synchronized String getMaxSerialNo(String tablename) { tablename = "dbo."+tablename; List recordlist = null; String resp = ""; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); String sql = "select max(id) as maxserialno from "+tablename; SQLQuery q = session.createSQLQuery(sql); q.setMaxResults(1); q.setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP); recordlist = q.list(); HashMap hmap = (HashMap) recordlist.get(0); if (hmap.get("maxserialno") == null) { resp = "0"; } else { resp = hmap.get("maxserialno").toString(); } tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return resp; } public synchronized String fetchAll() { List economicSegmentsList = null; String jsonList = ""; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); String sql = "select * from Economic_Segment_Header2 a where a.name<>'' order by a.name"; //sql = "select productid from stockin"; SQLQuery q = session.createSQLQuery(sql); economicSegmentsList = q.list(); // Query q = session.createQuery("from EconomicSegment as a where a.name<>'' order by a.name"); // economicSegmentsList = q.list(); //session.getTransaction().commit(); Gson gson = new Gson(); jsonList = gson.toJson(economicSegmentsList); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return jsonList; } public synchronized List fetchAllAsList(String code) { List economicSegmentsList = null; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); String sql = "select * from Economic_Segment_Header2 a where a.code LIKE '"+ code +"%' order by a.id"; //sql = "select productid from stockin"; SQLQuery q = session.createSQLQuery(sql).addEntity(EconomicSegmentHeader2.class); economicSegmentsList = q.list(); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return economicSegmentsList; } public synchronized String fetchAll(Integer parent) { List economicSegmentsList = null; String jsonList = ""; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); String sql = "select * from Economic_Segment_Header2 a where a.parent = "+parent+"order by a.name"; //sql = "select productid from stockin"; SQLQuery q = session.createSQLQuery(sql); economicSegmentsList = q.list(); // Query q = session.createQuery("from EconomicSegment as a where a.name<>'' order by a.name"); // economicSegmentsList = q.list(); //session.getTransaction().commit(); Gson gson = new Gson(); jsonList = gson.toJson(economicSegmentsList); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return jsonList; } public synchronized EconomicSegmentHeader2 fetchOne(String id){ EconomicSegmentHeader2 economicSegment = null; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { tx = session.beginTransaction(); Query q = session.createQuery("from EconomicSegmentHeader2 as a where a.id='" + id + "'"); economicSegment = (EconomicSegmentHeader2) q.uniqueResult(); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return economicSegment; } public synchronized String fetchOneJSON(String id) { List economicSegmentList = null; String jsonList = ""; final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = null; try { //final Session session = HibernateUtil.getSessionFactory().getCurrentSession(); //session.beginTransaction(); tx = session.beginTransaction(); String sql = "select a.id,a.name,a.code,a.parent from Economic_Segment_Header2 a where a.id = "+id+" order by a.id"; //sql = "select productid from stockin"; SQLQuery q = session.createSQLQuery(sql).addScalar("id",StandardBasicTypes.INTEGER).addScalar("name",StandardBasicTypes.STRING) .addScalar("code",StandardBasicTypes.STRING).addScalar("parent",StandardBasicTypes.INTEGER); q.setMaxResults(1); economicSegmentList = q.list(); //session.getTransaction().commit(); Gson gson = new Gson(); jsonList = gson.toJson(economicSegmentList); tx.commit(); } catch (HibernateException e) { if (tx != null) { tx.rollback(); } e.printStackTrace(); } finally { //session.close(); } return jsonList; } /* EconomicSegment methods end */ }
[ "adewaleazeez@gmail.com" ]
adewaleazeez@gmail.com
6afea4c232497a365ade9a5678c4347a2df87d82
e89d45f9e6831afc054468cc7a6ec675867cd3d7
/src/main/java/com/microsoft/graph/requests/extensions/IAndroidForWorkSettingsRequestSignupUrlRequestBuilder.java
6c1e59a1b81d76a581997930aac5af8e601fc90c
[ "MIT" ]
permissive
isabella232/msgraph-beta-sdk-java
67d3b9251317f04a465042d273fe533ef1ace13e
7d2b929d5c99c01ec1af1a251f4bf5876ca95ed8
refs/heads/dev
2023-03-12T05:44:24.349020
2020-11-19T15:51:17
2020-11-19T15:51:17
318,158,544
0
0
MIT
2021-02-23T20:48:09
2020-12-03T10:37:46
null
UTF-8
Java
false
false
1,562
java
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ package com.microsoft.graph.requests.extensions; import com.microsoft.graph.requests.extensions.IAndroidForWorkSettingsRequestSignupUrlRequest; import com.microsoft.graph.http.IRequestBuilder; // **NOTE** This file was generated by a tool and any changes will be overwritten. /** * The interface for the Android For Work Settings Request Signup Url Request Builder. */ public interface IAndroidForWorkSettingsRequestSignupUrlRequestBuilder extends IRequestBuilder { /** * Creates the IAndroidForWorkSettingsRequestSignupUrlRequest * * @param requestOptions the options for the request * @return the IAndroidForWorkSettingsRequestSignupUrlRequest instance */ IAndroidForWorkSettingsRequestSignupUrlRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions); /** * Creates the IAndroidForWorkSettingsRequestSignupUrlRequest with specific options instead of the existing options * * @param requestOptions the options for the request * @return the IAndroidForWorkSettingsRequestSignupUrlRequest instance */ IAndroidForWorkSettingsRequestSignupUrlRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions); }
[ "GraphTooling@service.microsoft.com" ]
GraphTooling@service.microsoft.com
764859d84a5f4c70347c38204d64f411d9549e19
e89b8150540235e1d851df2e94bdc701470e7c14
/kd-shop-common/src/main/java/com/lvr/common/core/domain/model/LoginBody.java
dd192d84f1e49cb345a77868b47a59b032290b83
[]
no_license
wuweiguang123/kd-shop
f90a4d6890cba6a063b1015732f89140d499cc0b
0cee192d82fd43139e61b9ab01178b457fb2cdee
refs/heads/master
2023-02-12T11:29:30.065110
2021-01-07T03:10:33
2021-01-07T03:10:33
263,935,426
2
0
null
2021-01-07T03:10:35
2020-05-14T14:18:41
Java
UTF-8
Java
false
false
969
java
package com.lvr.common.core.domain.model; /** * 用户登录对象 * * @author */ public class LoginBody { /** * 用户名 */ private String username; /** * 用户密码 */ private String password; /** * 验证码 */ private String code; /** * 唯一标识 */ private String uuid = ""; public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getUuid() { return uuid; } public void setUuid(String uuid) { this.uuid = uuid; } }
[ "lvr1997@qq.com" ]
lvr1997@qq.com
a43392ebb0e6b6f5095d7f01ec5f2908a5c32a35
9fda6c1c64f483d408d835cca4d56ea146c7f1cf
/FishJoy_Final/src/fishjoy/model/netinformation/INetInformation.java
df05d86da2eac5410796e0456eb39cd3cbb6b9e8
[]
no_license
trananh1992/android-resource
f2172e18936815c85713b990762471d250391702
8a5c08648591f275b0fa5c2af3c47ec0f8934390
refs/heads/master
2021-01-10T01:56:32.199649
2012-08-15T03:21:01
2012-08-15T03:21:01
48,525,290
0
0
null
null
null
null
UTF-8
Java
false
false
341
java
package fishjoy.model.netinformation; import fishjoy.model.IEntityInformation; public class INetInformation extends IEntityInformation { public INetInformation(String path, int sizeW, int sizeH, int textureRegionWidth, int textureRegionHeight) { super(path, sizeW, sizeH, textureRegionWidth, textureRegionHeight); } }
[ "yinzch@qq.com" ]
yinzch@qq.com
6fed186ae69b4b54be2bd819df7d0293b0615c74
297158ffd94f79afed05a3761c84eff68f5f1ac5
/app/src/main/java/com/hhthien/luanvan/telehome/Models/KhuyenMai.java
00437b3db3850fbb5f781b6e41249f3ad589d3bc
[]
no_license
huuthiendev/Telehome
1138774624ae0f4f650b7594dece521824543065
0e70c2b4636cca108115bb26d61a122269af02c3
refs/heads/master
2020-12-14T04:30:44.734050
2017-07-11T01:57:19
2017-07-11T01:57:19
95,506,775
0
0
null
null
null
null
UTF-8
Java
false
false
1,258
java
package com.hhthien.luanvan.telehome.Models; /** * Created by HUUTHIEN on 6/9/2017. */ public class KhuyenMai { private int id; private String tenkm; private String ngaybd; private String ngaykt; private String hinhkm; public KhuyenMai() {} public KhuyenMai(String hinhkm) { this.hinhkm = hinhkm; } public KhuyenMai(int id, String tenkm, String ngaybd, String ngaykt, String hinhkm) { this.id = id; this.tenkm = tenkm; this.ngaybd = ngaybd; this.ngaykt = ngaykt; this.hinhkm = hinhkm; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getTenkm() { return tenkm; } public void setTenkm(String tenkm) { this.tenkm = tenkm; } public String getNgaybd() { return ngaybd; } public void setNgaybd(String ngaybd) { this.ngaybd = ngaybd; } public String getNgaykt() { return ngaykt; } public void setNgaykt(String ngaykt) { this.ngaykt = ngaykt; } public String getHinhkm() { return hinhkm; } public void setHinhkm(String hinhkm) { this.hinhkm = hinhkm; } }
[ "huuthiendev@gmail.com" ]
huuthiendev@gmail.com
a9e6307aab6af52745263c40300ad0635634b08f
262ff9e40f539124acc38e9b648884af376027ec
/mybatis-druid/src/test/java/com/yp/mybatis/druid/test/TestMybatis.java
e4043a4cdb9ed49a0298531f1feeb4f342864a4c
[]
no_license
painye/mybatis-study
4b7c71759a8f821880aa329a78140077cb232861
18a4d2aa2c6ecceaa4015f8df1b0f5993db2035c
refs/heads/master
2023-02-23T21:55:52.593440
2021-01-26T14:55:45
2021-01-26T14:55:45
333,069,765
0
0
null
null
null
null
UTF-8
Java
false
false
1,383
java
package com.yp.mybatis.druid.test; import com.yp.mybatis.domain.entity.Student; import com.yp.mybatis.druid.mapper.IStudentMapper; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; import org.apache.log4j.Logger; import org.junit.After; import org.junit.Test; import java.io.IOException; import java.util.List; public class TestMybatis { private static SqlSessionFactory sqlSessionFactory; private static SqlSession sqlSession; static{ init(); } private static void init(){ try { //创建一个工厂,该工厂由builder类的build方法创建,需要传入参数reader sqlSessionFactory = new SqlSessionFactoryBuilder().build(Resources.getResourceAsReader("mybatis-configuration.xml")); } catch (IOException e) { e.printStackTrace(); } } @Test public void testFindAll() throws Exception{ sqlSession=sqlSessionFactory.openSession(); IStudentMapper mapper = sqlSession.getMapper(IStudentMapper.class); List<Student> list = mapper.findAll(); Logger.getLogger(this.getClass()).debug(list); } @After public void finish(){ sqlSession.commit(); sqlSession.close(); } }
[ "1850384745@qq.com" ]
1850384745@qq.com
818a9601d1b662a74a913b208b47a2b894e7d80a
8366f19bd538b8c392084b44a0d18de6e8be4e06
/hadoop/mapreduce/src/main/java/com/cycloneboy/bigdata/hadoop/mapreduce/friend/FFMapper1.java
827b2481dca89fa94e75e60dfb0e50ec7e6c05b4
[]
no_license
CycloneBoy/sparklearn
3113299df94c0eb8134e9260d9d17dee80c15d28
3e21a45cadf492b654eba418f90e9077b7ad0354
refs/heads/master
2022-11-25T02:28:35.199672
2021-03-28T05:01:03
2021-03-28T05:01:03
166,571,418
1
2
null
2022-11-16T08:40:28
2019-01-19T17:02:42
PLpgSQL
UTF-8
Java
false
false
753
java
package com.cycloneboy.bigdata.hadoop.mapreduce.friend; import java.io.IOException; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; /** Create by sl on 2019-10-24 11:00 */ public class FFMapper1 extends Mapper<LongWritable, Text, Text, Text> { private Text k = new Text(); private Text v = new Text(); @Override protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException { String[] split = value.toString().split(":"); // 关注别人的人作为value v.set(split[0]); // 被关注的人作为key for (String man : split[1].split(",")) { k.set(man); context.write(k, v); } } }
[ "xuanfeng1992@gmail.com" ]
xuanfeng1992@gmail.com
44afd48291a74c2fe0d5b6d01591051caec5c470
543f474acd63a45fa77250c479c72f6ee960fd96
/score-dao/src/main/java/org/trc/domain/impower/ImpowerCommonDO.java
1a6702bf979cb785fe24272e75947b2d71dcc00a
[]
no_license
wang369073048/jifenserver2
94236be3da7fc2a2649e2ac09a4ba401dfe9157b
cbde6fc1b2125b90d7b0181edf2c37ed8a2cc8b2
refs/heads/master
2021-01-23T19:30:09.137303
2017-09-08T06:00:38
2017-09-08T06:00:38
102,827,253
0
0
null
null
null
null
UTF-8
Java
false
false
1,227
java
package org.trc.domain.impower; import org.hibernate.validator.constraints.Length; import java.io.Serializable; import java.util.Date; /** * author: hzwzhen * JDK-version: JDK1.8 * since Date: 2017/7/13 */ public class ImpowerCommonDO implements Serializable{ private Date createTime; //创建时间 private Date updateTime; //更新时间 @Length(max = 32, message = "字典类型编码字母和数字不能超过32个,汉字不能超过16个") private String createOperator; //创建人 private Integer isDeleted; public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getCreateOperator() { return createOperator; } public void setCreateOperator(String createOperator) { this.createOperator = createOperator; } public Integer getIsDeleted() { return isDeleted; } public void setIsDeleted(Integer isDeleted) { this.isDeleted = isDeleted; } }
[ "369073048@qq.com" ]
369073048@qq.com
c70865d1b89f7784e1cc5226f4dc5d4254d07096
04ac2d1695cf49f0d4ba6c9cc9c03221fb479b5b
/src/test/java/dp/appiumjava/runner/CucumberRunnerTest.java
7a88c9e9371736cb851aefe190e3257e64391fca
[]
no_license
SarahGamalEid/Appium-java
13b6643a674da4606d69c2ecb0cb0c48ea7c3c1e
8d84d8dccb050e37b750b29b595f016cb6713d50
refs/heads/master
2022-10-26T05:51:48.963686
2020-06-17T13:28:42
2020-06-17T13:28:42
null
0
0
null
null
null
null
UTF-8
Java
false
false
886
java
package dp.appiumjava.runner; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.runner.RunWith; import dp.appiumjava.capabilities.DriverFactoryManager; import cucumber.api.CucumberOptions; import cucumber.api.SnippetType; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @CucumberOptions(monochrome = true, snippets = SnippetType.CAMELCASE, features = "features", glue = "dp.appiumjava/stepsdefinitions", tags = {"@teste","~@unit", "~@notIntegrated"}, plugin = {"io.qameta.allure.cucumberjvm.AllureCucumberJvm", "pretty"}) public class CucumberRunnerTest { @BeforeClass public static void tearUp() { DriverFactoryManager.startDriverByMavenParameter(System.getProperty("environment")); } @AfterClass public static void tearDown() { DriverFactoryManager.quitDriver(); } }
[ "danilopolicarpo14@gmail.com" ]
danilopolicarpo14@gmail.com
c86a92638a9a8193c803a00eac9446e33f755202
be60ad5b42d2b6fe0e617de56c2532b4686d2105
/src/main/java/com/anamika/app/client/FleetNetCallable.java
df002dc0b598835d1d96e7ee6ff78334e4203d12
[]
no_license
AnamikaN/WarpService
381a8af2d4893f5e914f667c87052a3980d2671d
a504a9b0bd0a57bb4d9b80e3bd959a98d65240df
refs/heads/master
2020-03-19T04:01:02.859035
2018-06-06T08:19:28
2018-06-06T08:25:36
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,856
java
package com.anamika.app.client; import com.anamika.app.client.exception.ApiException; import com.anamika.app.service.ServiceInstanceProvider; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.Builder; import lombok.Data; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.web.util.UriComponentsBuilder; import java.lang.invoke.MethodHandles; import java.net.URI; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import static com.anamika.app.utils.Constants.FLEET_NET_SERVICE_NAME; /** * */ @Data @Builder public class FleetNetCallable implements Callable<Response> { private static final Logger LOGGER = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); private static final OkHttpClient HTTP_CLIENT = new OkHttpClient.Builder() .connectTimeout(2, TimeUnit.MINUTES) .readTimeout(2, TimeUnit.MINUTES) .writeTimeout(2, TimeUnit.MINUTES) .build(); private static final HttpMethod HTTP_METHOD = HttpMethod.GET; private static final String PATH = "fleetnet.service/"; private final ObjectMapper objectMapper; private final ServiceInstanceProvider instanceProvider; private final String fleetId; public String getPath() { return PATH; } public HttpMethod getHttpMethod() { return HTTP_METHOD; } @Override public Response call() throws Exception { final URI serviceEndpoint = getInstanceProvider().getInstance(FLEET_NET_SERVICE_NAME); final URI uri = UriComponentsBuilder .fromUri(serviceEndpoint) .path(getPath()) .path(getFleetId()) .build().toUri(); LOGGER.debug("uri = {}", uri); Request.Builder builder = new Request.Builder() .url(uri.toURL()) .header(HttpHeaders.ACCEPT, MediaType.APPLICATION_JSON_VALUE); switch (getHttpMethod()) { case GET: builder.get(); break; case POST: builder.post(null); break; default: break; } Response response = HTTP_CLIENT.newCall(builder.build()).execute(); HttpStatus status = HttpStatus.valueOf(response.code()); LOGGER.info("Request = {}, Response Code = {}", uri, status); if (status.is2xxSuccessful()) { return response; } throw ApiException.getApiErrorMessage(getObjectMapper(), status, response.body().byteStream()); } }
[ "ajgaonkaranamika@gmail.com" ]
ajgaonkaranamika@gmail.com
a65a85c05188824766a2d9e71c453353676f8ed1
94d30c715d838e42a99ce525ba2da0b635d7ee49
/ProxyDesignPattern/src/com/jalbum/servlet/GalleryServlet.java
0e8ad0fab2ffc2296eae17ec6001ba2cecb04916
[]
no_license
AbhaleAmol/sample-test
144232b998fc8502aa713195b75d08801c609ec9
c766193f7e1e2a8a989e0e583b5dafd81ace98f7
refs/heads/master
2021-09-01T01:52:08.587445
2017-12-24T08:24:50
2017-12-24T08:24:50
115,140,535
0
0
null
null
null
null
UTF-8
Java
false
false
1,464
java
package com.jalbum.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.jalbum.delegate.GalleryDelegate; public class GalleryServlet extends HttpServlet { private GalleryDelegate galleryDelegate; @Override public void init() throws ServletException { galleryDelegate = new GalleryDelegate(); } @Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String currentAction = request.getParameter("action"); Integer targetImageID = null; Integer currentImageID = null; if(currentAction == null || currentAction.length() <= 0) { targetImageID = galleryDelegate.getFirstImageID(); } else if("next".equals(currentAction)) { currentImageID = Integer.parseInt(request.getParameter("image_id")); targetImageID = galleryDelegate.getNextImageID(currentImageID); } else if("prev".equals(currentAction)) { currentImageID = Integer.parseInt(request.getParameter("image_id")); targetImageID = galleryDelegate.getPreviousImageID(currentImageID); } if(targetImageID == null || targetImageID == 0) { targetImageID = currentImageID; } request.setAttribute("image_id", targetImageID); request.getRequestDispatcher("/WEB-INF/view/Gallery.jsp").forward(request, response); } }
[ "abhaleamol@hotmail.com" ]
abhaleamol@hotmail.com
6629e89a64bc8f9e75d414caf1ea2bd8bf0994cb
5b8e74fa81c1439b20e6d048203fce2b446722e3
/baremaps-benchmarks/src/main/java/com/baremaps/TileReaderBenchmark.java
0755395b3e296f975e8d437c46594449980f126a
[ "Apache-2.0" ]
permissive
sunlingzhiliber/baremaps
b9dfdc0ad6d0868cb1b88d9d8e65d0e4de9db7fb
002951a1cff62e8367e1310169a6c27f297a63ff
refs/heads/master
2022-11-27T15:15:48.646395
2020-07-22T21:21:51
2020-07-22T21:58:21
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,819
java
/* * Copyright (C) 2020 The Baremaps Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.baremaps; import com.baremaps.tiles.Tile; import com.baremaps.tiles.config.Config; import com.baremaps.tiles.store.PostgisTileStore; import com.baremaps.util.postgis.PostgisHelper; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.sql.SQLException; import java.util.concurrent.TimeUnit; import java.util.stream.Stream; import org.apache.commons.dbcp2.PoolingDataSource; import org.locationtech.jts.geom.Envelope; import org.locationtech.jts.io.ParseException; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Level; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; @State(Scope.Benchmark) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Fork(1) public class TileReaderBenchmark { private Config config; private PoolingDataSource datasource; private PostgisTileStore reader; @Setup(Level.Invocation) public void prepare() throws IOException, ClassNotFoundException { Class.forName("org.postgresql.Driver"); try (FileInputStream fis = new FileInputStream(new File("./examples/openstreetmap/config.yaml"))) { config = Config.load(fis); datasource = PostgisHelper.poolingDataSource( "jdbc:postgresql://localhost:5432/baremaps?allowMultiQueries=true&user=baremaps&password=baremaps"); } } @Benchmark @BenchmarkMode(Mode.SingleShotTime) @Warmup(iterations = 1) @Measurement(iterations = 2) public void with() throws SQLException, ParseException { reader = new PostgisTileStore(datasource, config); execute(); } public void execute() throws SQLException, ParseException { Envelope geometry = reader.envelope(); Stream<Tile> coords = Tile.getTiles(geometry, 14); coords.forEach(xyz -> { try { reader.read(xyz); } catch (IOException ex) { ex.printStackTrace(); } }); } }
[ "bchapuis@gmail.com" ]
bchapuis@gmail.com
2afbc10ac12da330d76bf2b307ab5dc93a9985c1
adddc5755200aa2aa328fabca6ddec1dc32797c8
/src/test/java/com/guidetogalaxy/galacticunitconverter/service/impl/GalacticUnitConverterServiceImplTest.java
caf501a0616e1109aea82d4c4df7d5e0f592b4f2
[]
no_license
rbutti/guide-to-the-galaxy
a624103cdea3c081cd7078f42f38646f56fdc27b
12cc30e8ab7dad12aac74b7b09443e84cbdbe9a9
refs/heads/master
2020-05-15T18:31:23.613174
2019-05-01T13:17:56
2019-05-01T13:17:56
182,419,120
0
0
null
null
null
null
UTF-8
Java
false
false
2,299
java
package com.guidetogalaxy.galacticunitconverter.service.impl; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.ArrayList; import java.util.List; import org.junit.Test; import com.guidetogalaxy.galacticunitconverter.domain.ConverterResult; import com.guidetogalaxy.galacticunitconverter.service.GalacticUnitConverterService; public class GalacticUnitConverterServiceImplTest { GalacticUnitConverterService service = new GalacticUnitConverterServiceImpl(); @Test public void testProcessInput_EmptyInput() throws Exception { ConverterResult result = service.processInput(new ArrayList<String>()); assertNotNull(result); assertEquals(0, result.getInputQuestions().size()); assertEquals(0, result.getOutputValues().size()); } @Test public void testProcessInput_NullInput() throws Exception { ConverterResult result = service.processInput(null); assertNotNull(result); assertEquals(0, result.getInputQuestions().size()); assertEquals(0, result.getOutputValues().size()); } @Test public void testProcessInput_ValidInput() throws Exception { List<String> input = new ArrayList<String>(); input.add("glob is I"); input.add("prok is V"); input.add("pish is X"); input.add("tegj is L"); input.add("glob glob Silver is 34 Credits"); input.add("glob prok Gold is 57800 Credits"); input.add("pish pish Iron is 3910 Credits"); input.add("how much is pish tegj glob glob ?"); input.add("how many Credits is glob prok Silver ?"); input.add("how many Credits is glob prok Gold ?"); input.add("how many Credits is glob prok Iron ?"); input.add("how much wood could a woodchuck chuck if a woodchuck could chuck wood ?"); ConverterResult result = service.processInput(input); assertNotNull(result); assertEquals(5, result.getInputQuestions().size()); assertEquals(5, result.getOutputValues().size()); assertEquals("42", result.getOutputValues().get(0)); assertEquals("68.0", result.getOutputValues().get(1)); assertEquals("57800.0", result.getOutputValues().get(2)); assertEquals("782.0", result.getOutputValues().get(3)); assertEquals("I have no idea what you are talking about", result.getOutputValues().get(4)); } }
[ "ravikiran763@gmail.com" ]
ravikiran763@gmail.com
82dae1191beb6c8bea9559750f088d0e7757ede0
f487532281c1c6a36a5c62a29744d8323584891b
/sdk/java/src/main/java/com/pulumi/azure/databricks/inputs/WorkspaceState.java
a3c8c5dd6939febba840b7a37bf01369b21142c1
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0" ]
permissive
pulumi/pulumi-azure
a8f8f21c46c802aecf1397c737662ddcc438a2db
c16962e5c4f5810efec2806b8bb49d0da960d1ea
refs/heads/master
2023-08-25T00:17:05.290397
2023-08-24T06:11:55
2023-08-24T06:11:55
103,183,737
129
57
Apache-2.0
2023-09-13T05:44:10
2017-09-11T20:19:15
Java
UTF-8
Java
false
false
35,311
java
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.azure.databricks.inputs; import com.pulumi.azure.databricks.inputs.WorkspaceCustomParametersArgs; import com.pulumi.azure.databricks.inputs.WorkspaceManagedDiskIdentityArgs; import com.pulumi.azure.databricks.inputs.WorkspaceStorageAccountIdentityArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; public final class WorkspaceState extends com.pulumi.resources.ResourceArgs { public static final WorkspaceState Empty = new WorkspaceState(); /** * A `custom_parameters` block as documented below. * */ @Import(name="customParameters") private @Nullable Output<WorkspaceCustomParametersArgs> customParameters; /** * @return A `custom_parameters` block as documented below. * */ public Optional<Output<WorkspaceCustomParametersArgs>> customParameters() { return Optional.ofNullable(this.customParameters); } /** * Is the workspace enabled for customer managed key encryption? If `true` this enables the Managed Identity for the managed storage account. Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. * */ @Import(name="customerManagedKeyEnabled") private @Nullable Output<Boolean> customerManagedKeyEnabled; /** * @return Is the workspace enabled for customer managed key encryption? If `true` this enables the Managed Identity for the managed storage account. Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. * */ public Optional<Output<Boolean>> customerManagedKeyEnabled() { return Optional.ofNullable(this.customerManagedKeyEnabled); } /** * The ID of Managed Disk Encryption Set created by the Databricks Workspace. * */ @Import(name="diskEncryptionSetId") private @Nullable Output<String> diskEncryptionSetId; /** * @return The ID of Managed Disk Encryption Set created by the Databricks Workspace. * */ public Optional<Output<String>> diskEncryptionSetId() { return Optional.ofNullable(this.diskEncryptionSetId); } /** * Is the Databricks File System root file system enabled with a secondary layer of encryption with platform managed keys? Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. Changing this forces a new resource to be created. * */ @Import(name="infrastructureEncryptionEnabled") private @Nullable Output<Boolean> infrastructureEncryptionEnabled; /** * @return Is the Databricks File System root file system enabled with a secondary layer of encryption with platform managed keys? Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. Changing this forces a new resource to be created. * */ public Optional<Output<Boolean>> infrastructureEncryptionEnabled() { return Optional.ofNullable(this.infrastructureEncryptionEnabled); } /** * Resource ID of the Outbound Load balancer Backend Address Pool for Secure Cluster Connectivity (No Public IP) workspace. Changing this forces a new resource to be created. * */ @Import(name="loadBalancerBackendAddressPoolId") private @Nullable Output<String> loadBalancerBackendAddressPoolId; /** * @return Resource ID of the Outbound Load balancer Backend Address Pool for Secure Cluster Connectivity (No Public IP) workspace. Changing this forces a new resource to be created. * */ public Optional<Output<String>> loadBalancerBackendAddressPoolId() { return Optional.ofNullable(this.loadBalancerBackendAddressPoolId); } /** * Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. * */ @Import(name="location") private @Nullable Output<String> location; /** * @return Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. * */ public Optional<Output<String>> location() { return Optional.ofNullable(this.location); } /** * Customer managed encryption properties for the Databricks Workspace managed disks. * */ @Import(name="managedDiskCmkKeyVaultKeyId") private @Nullable Output<String> managedDiskCmkKeyVaultKeyId; /** * @return Customer managed encryption properties for the Databricks Workspace managed disks. * */ public Optional<Output<String>> managedDiskCmkKeyVaultKeyId() { return Optional.ofNullable(this.managedDiskCmkKeyVaultKeyId); } /** * Whether customer managed keys for disk encryption will automatically be rotated to the latest version. * */ @Import(name="managedDiskCmkRotationToLatestVersionEnabled") private @Nullable Output<Boolean> managedDiskCmkRotationToLatestVersionEnabled; /** * @return Whether customer managed keys for disk encryption will automatically be rotated to the latest version. * */ public Optional<Output<Boolean>> managedDiskCmkRotationToLatestVersionEnabled() { return Optional.ofNullable(this.managedDiskCmkRotationToLatestVersionEnabled); } /** * A `managed_disk_identity` block as documented below. * */ @Import(name="managedDiskIdentities") private @Nullable Output<List<WorkspaceManagedDiskIdentityArgs>> managedDiskIdentities; /** * @return A `managed_disk_identity` block as documented below. * */ public Optional<Output<List<WorkspaceManagedDiskIdentityArgs>>> managedDiskIdentities() { return Optional.ofNullable(this.managedDiskIdentities); } /** * The ID of the Managed Resource Group created by the Databricks Workspace. * */ @Import(name="managedResourceGroupId") private @Nullable Output<String> managedResourceGroupId; /** * @return The ID of the Managed Resource Group created by the Databricks Workspace. * */ public Optional<Output<String>> managedResourceGroupId() { return Optional.ofNullable(this.managedResourceGroupId); } /** * The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created. * * &gt; **NOTE** Make sure that this field is unique if you have multiple Databrick Workspaces deployed in your subscription and choose to not have the `managed_resource_group_name` auto generated by the Azure Resource Provider. Having multiple Databrick Workspaces deployed in the same subscription with the same `manage_resource_group_name` may result in some resources that cannot be deleted. * */ @Import(name="managedResourceGroupName") private @Nullable Output<String> managedResourceGroupName; /** * @return The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created. * * &gt; **NOTE** Make sure that this field is unique if you have multiple Databrick Workspaces deployed in your subscription and choose to not have the `managed_resource_group_name` auto generated by the Azure Resource Provider. Having multiple Databrick Workspaces deployed in the same subscription with the same `manage_resource_group_name` may result in some resources that cannot be deleted. * */ public Optional<Output<String>> managedResourceGroupName() { return Optional.ofNullable(this.managedResourceGroupName); } /** * Customer managed encryption properties for the Databricks Workspace managed resources(e.g. Notebooks and Artifacts). * */ @Import(name="managedServicesCmkKeyVaultKeyId") private @Nullable Output<String> managedServicesCmkKeyVaultKeyId; /** * @return Customer managed encryption properties for the Databricks Workspace managed resources(e.g. Notebooks and Artifacts). * */ public Optional<Output<String>> managedServicesCmkKeyVaultKeyId() { return Optional.ofNullable(this.managedServicesCmkKeyVaultKeyId); } /** * Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created. * */ @Import(name="name") private @Nullable Output<String> name; /** * @return Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created. * */ public Optional<Output<String>> name() { return Optional.ofNullable(this.name); } /** * Does the data plane (clusters) to control plane communication happen over private link endpoint only or publicly? Possible values `AllRules`, `NoAzureDatabricksRules` or `NoAzureServiceRules`. Required when `public_network_access_enabled` is set to `false`. * */ @Import(name="networkSecurityGroupRulesRequired") private @Nullable Output<String> networkSecurityGroupRulesRequired; /** * @return Does the data plane (clusters) to control plane communication happen over private link endpoint only or publicly? Possible values `AllRules`, `NoAzureDatabricksRules` or `NoAzureServiceRules`. Required when `public_network_access_enabled` is set to `false`. * */ public Optional<Output<String>> networkSecurityGroupRulesRequired() { return Optional.ofNullable(this.networkSecurityGroupRulesRequired); } /** * Allow public access for accessing workspace. Set value to `false` to access workspace only via private link endpoint. Possible values include `true` or `false`. Defaults to `true`. * */ @Import(name="publicNetworkAccessEnabled") private @Nullable Output<Boolean> publicNetworkAccessEnabled; /** * @return Allow public access for accessing workspace. Set value to `false` to access workspace only via private link endpoint. Possible values include `true` or `false`. Defaults to `true`. * */ public Optional<Output<Boolean>> publicNetworkAccessEnabled() { return Optional.ofNullable(this.publicNetworkAccessEnabled); } /** * The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created. * */ @Import(name="resourceGroupName") private @Nullable Output<String> resourceGroupName; /** * @return The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created. * */ public Optional<Output<String>> resourceGroupName() { return Optional.ofNullable(this.resourceGroupName); } /** * The `sku` to use for the Databricks Workspace. Possible values are `standard`, `premium`, or `trial`. * * &gt; **NOTE** Downgrading to a `trial sku` from a `standard` or `premium sku` will force a new resource to be created. * */ @Import(name="sku") private @Nullable Output<String> sku; /** * @return The `sku` to use for the Databricks Workspace. Possible values are `standard`, `premium`, or `trial`. * * &gt; **NOTE** Downgrading to a `trial sku` from a `standard` or `premium sku` will force a new resource to be created. * */ public Optional<Output<String>> sku() { return Optional.ofNullable(this.sku); } /** * A `storage_account_identity` block as documented below. * */ @Import(name="storageAccountIdentities") private @Nullable Output<List<WorkspaceStorageAccountIdentityArgs>> storageAccountIdentities; /** * @return A `storage_account_identity` block as documented below. * */ public Optional<Output<List<WorkspaceStorageAccountIdentityArgs>>> storageAccountIdentities() { return Optional.ofNullable(this.storageAccountIdentities); } /** * A mapping of tags to assign to the resource. * */ @Import(name="tags") private @Nullable Output<Map<String,String>> tags; /** * @return A mapping of tags to assign to the resource. * */ public Optional<Output<Map<String,String>>> tags() { return Optional.ofNullable(this.tags); } /** * The unique identifier of the databricks workspace in Databricks control plane. * */ @Import(name="workspaceId") private @Nullable Output<String> workspaceId; /** * @return The unique identifier of the databricks workspace in Databricks control plane. * */ public Optional<Output<String>> workspaceId() { return Optional.ofNullable(this.workspaceId); } /** * The workspace URL which is of the format &#39;adb-{workspaceId}.{random}.azuredatabricks.net&#39; * */ @Import(name="workspaceUrl") private @Nullable Output<String> workspaceUrl; /** * @return The workspace URL which is of the format &#39;adb-{workspaceId}.{random}.azuredatabricks.net&#39; * */ public Optional<Output<String>> workspaceUrl() { return Optional.ofNullable(this.workspaceUrl); } private WorkspaceState() {} private WorkspaceState(WorkspaceState $) { this.customParameters = $.customParameters; this.customerManagedKeyEnabled = $.customerManagedKeyEnabled; this.diskEncryptionSetId = $.diskEncryptionSetId; this.infrastructureEncryptionEnabled = $.infrastructureEncryptionEnabled; this.loadBalancerBackendAddressPoolId = $.loadBalancerBackendAddressPoolId; this.location = $.location; this.managedDiskCmkKeyVaultKeyId = $.managedDiskCmkKeyVaultKeyId; this.managedDiskCmkRotationToLatestVersionEnabled = $.managedDiskCmkRotationToLatestVersionEnabled; this.managedDiskIdentities = $.managedDiskIdentities; this.managedResourceGroupId = $.managedResourceGroupId; this.managedResourceGroupName = $.managedResourceGroupName; this.managedServicesCmkKeyVaultKeyId = $.managedServicesCmkKeyVaultKeyId; this.name = $.name; this.networkSecurityGroupRulesRequired = $.networkSecurityGroupRulesRequired; this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled; this.resourceGroupName = $.resourceGroupName; this.sku = $.sku; this.storageAccountIdentities = $.storageAccountIdentities; this.tags = $.tags; this.workspaceId = $.workspaceId; this.workspaceUrl = $.workspaceUrl; } public static Builder builder() { return new Builder(); } public static Builder builder(WorkspaceState defaults) { return new Builder(defaults); } public static final class Builder { private WorkspaceState $; public Builder() { $ = new WorkspaceState(); } public Builder(WorkspaceState defaults) { $ = new WorkspaceState(Objects.requireNonNull(defaults)); } /** * @param customParameters A `custom_parameters` block as documented below. * * @return builder * */ public Builder customParameters(@Nullable Output<WorkspaceCustomParametersArgs> customParameters) { $.customParameters = customParameters; return this; } /** * @param customParameters A `custom_parameters` block as documented below. * * @return builder * */ public Builder customParameters(WorkspaceCustomParametersArgs customParameters) { return customParameters(Output.of(customParameters)); } /** * @param customerManagedKeyEnabled Is the workspace enabled for customer managed key encryption? If `true` this enables the Managed Identity for the managed storage account. Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. * * @return builder * */ public Builder customerManagedKeyEnabled(@Nullable Output<Boolean> customerManagedKeyEnabled) { $.customerManagedKeyEnabled = customerManagedKeyEnabled; return this; } /** * @param customerManagedKeyEnabled Is the workspace enabled for customer managed key encryption? If `true` this enables the Managed Identity for the managed storage account. Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. * * @return builder * */ public Builder customerManagedKeyEnabled(Boolean customerManagedKeyEnabled) { return customerManagedKeyEnabled(Output.of(customerManagedKeyEnabled)); } /** * @param diskEncryptionSetId The ID of Managed Disk Encryption Set created by the Databricks Workspace. * * @return builder * */ public Builder diskEncryptionSetId(@Nullable Output<String> diskEncryptionSetId) { $.diskEncryptionSetId = diskEncryptionSetId; return this; } /** * @param diskEncryptionSetId The ID of Managed Disk Encryption Set created by the Databricks Workspace. * * @return builder * */ public Builder diskEncryptionSetId(String diskEncryptionSetId) { return diskEncryptionSetId(Output.of(diskEncryptionSetId)); } /** * @param infrastructureEncryptionEnabled Is the Databricks File System root file system enabled with a secondary layer of encryption with platform managed keys? Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. Changing this forces a new resource to be created. * * @return builder * */ public Builder infrastructureEncryptionEnabled(@Nullable Output<Boolean> infrastructureEncryptionEnabled) { $.infrastructureEncryptionEnabled = infrastructureEncryptionEnabled; return this; } /** * @param infrastructureEncryptionEnabled Is the Databricks File System root file system enabled with a secondary layer of encryption with platform managed keys? Possible values are `true` or `false`. Defaults to `false`. This field is only valid if the Databricks Workspace `sku` is set to `premium`. Changing this forces a new resource to be created. * * @return builder * */ public Builder infrastructureEncryptionEnabled(Boolean infrastructureEncryptionEnabled) { return infrastructureEncryptionEnabled(Output.of(infrastructureEncryptionEnabled)); } /** * @param loadBalancerBackendAddressPoolId Resource ID of the Outbound Load balancer Backend Address Pool for Secure Cluster Connectivity (No Public IP) workspace. Changing this forces a new resource to be created. * * @return builder * */ public Builder loadBalancerBackendAddressPoolId(@Nullable Output<String> loadBalancerBackendAddressPoolId) { $.loadBalancerBackendAddressPoolId = loadBalancerBackendAddressPoolId; return this; } /** * @param loadBalancerBackendAddressPoolId Resource ID of the Outbound Load balancer Backend Address Pool for Secure Cluster Connectivity (No Public IP) workspace. Changing this forces a new resource to be created. * * @return builder * */ public Builder loadBalancerBackendAddressPoolId(String loadBalancerBackendAddressPoolId) { return loadBalancerBackendAddressPoolId(Output.of(loadBalancerBackendAddressPoolId)); } /** * @param location Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. * * @return builder * */ public Builder location(@Nullable Output<String> location) { $.location = location; return this; } /** * @param location Specifies the supported Azure location where the resource has to be created. Changing this forces a new resource to be created. * * @return builder * */ public Builder location(String location) { return location(Output.of(location)); } /** * @param managedDiskCmkKeyVaultKeyId Customer managed encryption properties for the Databricks Workspace managed disks. * * @return builder * */ public Builder managedDiskCmkKeyVaultKeyId(@Nullable Output<String> managedDiskCmkKeyVaultKeyId) { $.managedDiskCmkKeyVaultKeyId = managedDiskCmkKeyVaultKeyId; return this; } /** * @param managedDiskCmkKeyVaultKeyId Customer managed encryption properties for the Databricks Workspace managed disks. * * @return builder * */ public Builder managedDiskCmkKeyVaultKeyId(String managedDiskCmkKeyVaultKeyId) { return managedDiskCmkKeyVaultKeyId(Output.of(managedDiskCmkKeyVaultKeyId)); } /** * @param managedDiskCmkRotationToLatestVersionEnabled Whether customer managed keys for disk encryption will automatically be rotated to the latest version. * * @return builder * */ public Builder managedDiskCmkRotationToLatestVersionEnabled(@Nullable Output<Boolean> managedDiskCmkRotationToLatestVersionEnabled) { $.managedDiskCmkRotationToLatestVersionEnabled = managedDiskCmkRotationToLatestVersionEnabled; return this; } /** * @param managedDiskCmkRotationToLatestVersionEnabled Whether customer managed keys for disk encryption will automatically be rotated to the latest version. * * @return builder * */ public Builder managedDiskCmkRotationToLatestVersionEnabled(Boolean managedDiskCmkRotationToLatestVersionEnabled) { return managedDiskCmkRotationToLatestVersionEnabled(Output.of(managedDiskCmkRotationToLatestVersionEnabled)); } /** * @param managedDiskIdentities A `managed_disk_identity` block as documented below. * * @return builder * */ public Builder managedDiskIdentities(@Nullable Output<List<WorkspaceManagedDiskIdentityArgs>> managedDiskIdentities) { $.managedDiskIdentities = managedDiskIdentities; return this; } /** * @param managedDiskIdentities A `managed_disk_identity` block as documented below. * * @return builder * */ public Builder managedDiskIdentities(List<WorkspaceManagedDiskIdentityArgs> managedDiskIdentities) { return managedDiskIdentities(Output.of(managedDiskIdentities)); } /** * @param managedDiskIdentities A `managed_disk_identity` block as documented below. * * @return builder * */ public Builder managedDiskIdentities(WorkspaceManagedDiskIdentityArgs... managedDiskIdentities) { return managedDiskIdentities(List.of(managedDiskIdentities)); } /** * @param managedResourceGroupId The ID of the Managed Resource Group created by the Databricks Workspace. * * @return builder * */ public Builder managedResourceGroupId(@Nullable Output<String> managedResourceGroupId) { $.managedResourceGroupId = managedResourceGroupId; return this; } /** * @param managedResourceGroupId The ID of the Managed Resource Group created by the Databricks Workspace. * * @return builder * */ public Builder managedResourceGroupId(String managedResourceGroupId) { return managedResourceGroupId(Output.of(managedResourceGroupId)); } /** * @param managedResourceGroupName The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created. * * &gt; **NOTE** Make sure that this field is unique if you have multiple Databrick Workspaces deployed in your subscription and choose to not have the `managed_resource_group_name` auto generated by the Azure Resource Provider. Having multiple Databrick Workspaces deployed in the same subscription with the same `manage_resource_group_name` may result in some resources that cannot be deleted. * * @return builder * */ public Builder managedResourceGroupName(@Nullable Output<String> managedResourceGroupName) { $.managedResourceGroupName = managedResourceGroupName; return this; } /** * @param managedResourceGroupName The name of the resource group where Azure should place the managed Databricks resources. Changing this forces a new resource to be created. * * &gt; **NOTE** Make sure that this field is unique if you have multiple Databrick Workspaces deployed in your subscription and choose to not have the `managed_resource_group_name` auto generated by the Azure Resource Provider. Having multiple Databrick Workspaces deployed in the same subscription with the same `manage_resource_group_name` may result in some resources that cannot be deleted. * * @return builder * */ public Builder managedResourceGroupName(String managedResourceGroupName) { return managedResourceGroupName(Output.of(managedResourceGroupName)); } /** * @param managedServicesCmkKeyVaultKeyId Customer managed encryption properties for the Databricks Workspace managed resources(e.g. Notebooks and Artifacts). * * @return builder * */ public Builder managedServicesCmkKeyVaultKeyId(@Nullable Output<String> managedServicesCmkKeyVaultKeyId) { $.managedServicesCmkKeyVaultKeyId = managedServicesCmkKeyVaultKeyId; return this; } /** * @param managedServicesCmkKeyVaultKeyId Customer managed encryption properties for the Databricks Workspace managed resources(e.g. Notebooks and Artifacts). * * @return builder * */ public Builder managedServicesCmkKeyVaultKeyId(String managedServicesCmkKeyVaultKeyId) { return managedServicesCmkKeyVaultKeyId(Output.of(managedServicesCmkKeyVaultKeyId)); } /** * @param name Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created. * * @return builder * */ public Builder name(@Nullable Output<String> name) { $.name = name; return this; } /** * @param name Specifies the name of the Databricks Workspace resource. Changing this forces a new resource to be created. * * @return builder * */ public Builder name(String name) { return name(Output.of(name)); } /** * @param networkSecurityGroupRulesRequired Does the data plane (clusters) to control plane communication happen over private link endpoint only or publicly? Possible values `AllRules`, `NoAzureDatabricksRules` or `NoAzureServiceRules`. Required when `public_network_access_enabled` is set to `false`. * * @return builder * */ public Builder networkSecurityGroupRulesRequired(@Nullable Output<String> networkSecurityGroupRulesRequired) { $.networkSecurityGroupRulesRequired = networkSecurityGroupRulesRequired; return this; } /** * @param networkSecurityGroupRulesRequired Does the data plane (clusters) to control plane communication happen over private link endpoint only or publicly? Possible values `AllRules`, `NoAzureDatabricksRules` or `NoAzureServiceRules`. Required when `public_network_access_enabled` is set to `false`. * * @return builder * */ public Builder networkSecurityGroupRulesRequired(String networkSecurityGroupRulesRequired) { return networkSecurityGroupRulesRequired(Output.of(networkSecurityGroupRulesRequired)); } /** * @param publicNetworkAccessEnabled Allow public access for accessing workspace. Set value to `false` to access workspace only via private link endpoint. Possible values include `true` or `false`. Defaults to `true`. * * @return builder * */ public Builder publicNetworkAccessEnabled(@Nullable Output<Boolean> publicNetworkAccessEnabled) { $.publicNetworkAccessEnabled = publicNetworkAccessEnabled; return this; } /** * @param publicNetworkAccessEnabled Allow public access for accessing workspace. Set value to `false` to access workspace only via private link endpoint. Possible values include `true` or `false`. Defaults to `true`. * * @return builder * */ public Builder publicNetworkAccessEnabled(Boolean publicNetworkAccessEnabled) { return publicNetworkAccessEnabled(Output.of(publicNetworkAccessEnabled)); } /** * @param resourceGroupName The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created. * * @return builder * */ public Builder resourceGroupName(@Nullable Output<String> resourceGroupName) { $.resourceGroupName = resourceGroupName; return this; } /** * @param resourceGroupName The name of the Resource Group in which the Databricks Workspace should exist. Changing this forces a new resource to be created. * * @return builder * */ public Builder resourceGroupName(String resourceGroupName) { return resourceGroupName(Output.of(resourceGroupName)); } /** * @param sku The `sku` to use for the Databricks Workspace. Possible values are `standard`, `premium`, or `trial`. * * &gt; **NOTE** Downgrading to a `trial sku` from a `standard` or `premium sku` will force a new resource to be created. * * @return builder * */ public Builder sku(@Nullable Output<String> sku) { $.sku = sku; return this; } /** * @param sku The `sku` to use for the Databricks Workspace. Possible values are `standard`, `premium`, or `trial`. * * &gt; **NOTE** Downgrading to a `trial sku` from a `standard` or `premium sku` will force a new resource to be created. * * @return builder * */ public Builder sku(String sku) { return sku(Output.of(sku)); } /** * @param storageAccountIdentities A `storage_account_identity` block as documented below. * * @return builder * */ public Builder storageAccountIdentities(@Nullable Output<List<WorkspaceStorageAccountIdentityArgs>> storageAccountIdentities) { $.storageAccountIdentities = storageAccountIdentities; return this; } /** * @param storageAccountIdentities A `storage_account_identity` block as documented below. * * @return builder * */ public Builder storageAccountIdentities(List<WorkspaceStorageAccountIdentityArgs> storageAccountIdentities) { return storageAccountIdentities(Output.of(storageAccountIdentities)); } /** * @param storageAccountIdentities A `storage_account_identity` block as documented below. * * @return builder * */ public Builder storageAccountIdentities(WorkspaceStorageAccountIdentityArgs... storageAccountIdentities) { return storageAccountIdentities(List.of(storageAccountIdentities)); } /** * @param tags A mapping of tags to assign to the resource. * * @return builder * */ public Builder tags(@Nullable Output<Map<String,String>> tags) { $.tags = tags; return this; } /** * @param tags A mapping of tags to assign to the resource. * * @return builder * */ public Builder tags(Map<String,String> tags) { return tags(Output.of(tags)); } /** * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. * * @return builder * */ public Builder workspaceId(@Nullable Output<String> workspaceId) { $.workspaceId = workspaceId; return this; } /** * @param workspaceId The unique identifier of the databricks workspace in Databricks control plane. * * @return builder * */ public Builder workspaceId(String workspaceId) { return workspaceId(Output.of(workspaceId)); } /** * @param workspaceUrl The workspace URL which is of the format &#39;adb-{workspaceId}.{random}.azuredatabricks.net&#39; * * @return builder * */ public Builder workspaceUrl(@Nullable Output<String> workspaceUrl) { $.workspaceUrl = workspaceUrl; return this; } /** * @param workspaceUrl The workspace URL which is of the format &#39;adb-{workspaceId}.{random}.azuredatabricks.net&#39; * * @return builder * */ public Builder workspaceUrl(String workspaceUrl) { return workspaceUrl(Output.of(workspaceUrl)); } public WorkspaceState build() { return $; } } }
[ "noreply@github.com" ]
noreply@github.com
083adcf3d20184c470536a189273d0cfb07b5459
d262a69e0e3a6fb3a6acdc871cd2bc306ea726fc
/src/main/java/com/xiaoer/tests/JacksonTest.java
9387b008c751e5f3ef588c32b5214df714112c5d
[]
no_license
287852793/MyUtils
7d6ce41ae338fdad1f522dd95dafe0bc74aeb6a0
043e66d77eb85dcbb743468f780a0b0e935b51ba
refs/heads/master
2023-04-05T13:14:08.850388
2023-03-31T03:51:06
2023-03-31T03:51:06
252,061,739
1
0
null
2022-11-15T23:42:44
2020-04-01T03:26:05
Java
UTF-8
Java
false
false
942
java
package com.xiaoer.tests; import java.util.Map; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; public class JacksonTest { public static void main(String[] args) { String jsonStr = "{\"name\":\"seven\",\"password\":null}"; ObjectMapper mapper = new ObjectMapper(); try { Map json = mapper.readValue(jsonStr, Map.class); System.out.println(json.get("password") == null); System.out.println(json.get("password").getClass()); } catch (JsonMappingException e) { e.printStackTrace(); } catch (JsonProcessingException e) { e.printStackTrace(); } // Map<String, String> map = new JSONObject(jsonStr).toBean(Map.class); // System.out.println(map.get("password") == null); // System.out.println(map.get("password").getClass()); // // System.out.println(json.isNull("password")); } }
[ "yafei.pang@southgis.com" ]
yafei.pang@southgis.com
c4318054c777f72fbd1b4f083026dd2d56996733
3510ae8d1698d4ad3b323b73a8ac669862504589
/src/main/java/com/honglekai/study/dpStrategy/interpreter/Context.java
7b8cdba67d1a648476da005e3f871c3039e81295
[]
no_license
aicc2015/design-pattern
c6e25ccc39690246e74a7ed964023e7145eb4051
86381f4509be42b88b86c21d559d1ed075c3b854
refs/heads/master
2020-04-23T19:56:01.161649
2019-02-26T09:36:30
2019-02-26T09:36:30
171,422,120
2
0
null
null
null
null
UTF-8
Java
false
false
602
java
package com.honglekai.study.dpStrategy.interpreter; /** * description 解释器模式 * * company YH * * @Author hcc * modifyBy * createTime 2019/2/2 10:43 * modifyTime */ public class Context { private int num1; private int num2; public int getNum1() { return num1; } public void setNum1(int num1) { this.num1 = num1; } public int getNum2() { return num2; } public void setNum2(int num2) { this.num2 = num2; } public Context(int num1, int num2) { this.num1 = num1; this.num2 = num2; } }
[ "1020973308@qq.com" ]
1020973308@qq.com
24edcac23395c2d7cd0a9ac1d5ef4f01d7734a77
0b93651bf4c4be26f820702985bd41089026e681
/modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201802/cm/Chain.java
ec5b34f72ede13dca801535219a3b0b540526fbf
[ "Apache-2.0" ]
permissive
cmcewen-postmedia/googleads-java-lib
adf36ccaf717ab486e982b09d69922ddd09183e1
75724b4a363dff96e3cc57b7ffc443f9897a9da9
refs/heads/master
2021-10-08T16:50:38.364367
2018-12-14T22:10:58
2018-12-14T22:10:58
106,611,378
0
0
Apache-2.0
2018-12-14T22:10:59
2017-10-11T21:26:49
Java
UTF-8
Java
false
false
4,501
java
// Copyright 2018 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /** * Chain.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201802.cm; /** * Chain defines chain related metadata required in order to sync * features belonging to a chain. */ public class Chain implements java.io.Serializable { /* Id of the chain. */ private java.lang.Long chainId; public Chain() { } public Chain( java.lang.Long chainId) { this.chainId = chainId; } @Override public String toString() { return com.google.common.base.MoreObjects.toStringHelper(this.getClass()) .omitNullValues() .add("chainId", getChainId()) .toString(); } /** * Gets the chainId value for this Chain. * * @return chainId * Id of the chain. */ public java.lang.Long getChainId() { return chainId; } /** * Sets the chainId value for this Chain. * * @param chainId * Id of the chain. */ public void setChainId(java.lang.Long chainId) { this.chainId = chainId; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Chain)) return false; Chain other = (Chain) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.chainId==null && other.getChainId()==null) || (this.chainId!=null && this.chainId.equals(other.getChainId()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getChainId() != null) { _hashCode += getChainId().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Chain.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201802", "Chain")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("chainId"); elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201802", "chainId")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); } /** * Return type metadata object */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } /** * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } }
[ "jradcliff@users.noreply.github.com" ]
jradcliff@users.noreply.github.com
54a9789108c5e082ad7ce4015845337657e7ecb3
ffef9612d9926e59cefba3c26975e3550d2fa165
/open-metadata-implementation/access-services/data-infrastructure/data-infrastructure-api/src/main/java/org/odpi/openmetadata/accessservices/datainfrastructure/ffdc/exceptions/InvalidParameterException.java
a55e8b56b843c00fec3c17037d894f5f65af86a3
[ "Apache-2.0" ]
permissive
JPWKU/egeria
250f4fbce58969751340c2c3bc1f9a11911dc04f
4dc404fd1b077c39a90e50fb195fb4977314ba5c
refs/heads/master
2020-03-31T23:36:14.988487
2018-10-10T20:43:22
2018-10-10T20:43:22
152,662,400
0
0
Apache-2.0
2018-10-11T22:17:19
2018-10-11T22:17:19
null
UTF-8
Java
false
false
4,800
java
/* SPDX-License-Identifier: Apache-2.0 */ package org.odpi.openmetadata.accessservices.datainfrastructure.ffdc.exceptions; import java.util.Objects; /** * The InvalidParameterException is thrown by the OMAS when a parameters is null or an invalid value. */ public class InvalidParameterException extends DataInfrastructureCheckedExceptionBase { private String parameterName; /** * This is the typical constructor used for creating an exception. * * @param httpCode http response code to use if this exception flows over a rest call * @param className name of class reporting error * @param actionDescription description of function it was performing when error detected * @param errorMessage description of error * @param systemAction actions of the system as a result of the error * @param userAction instructions for correcting the error * @param parameterName name of the invalid parameter if known */ public InvalidParameterException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, String parameterName) { super(httpCode, className, actionDescription, errorMessage, systemAction, userAction); this.parameterName = parameterName; } /** * This is the constructor used for creating an exception that resulted from a previous error. * * @param httpCode http response code to use if this exception flows over a rest call * @param className name of class reporting error * @param actionDescription description of function it was performing when error detected * @param errorMessage description of error * @param systemAction actions of the system as a result of the error * @param userAction instructions for correcting the error * @param caughtError the error that resulted in this exception. * @param parameterName name of the invalid parameter if known */ public InvalidParameterException(int httpCode, String className, String actionDescription, String errorMessage, String systemAction, String userAction, Throwable caughtError, String parameterName) { super(httpCode, className, actionDescription, errorMessage, systemAction, userAction, caughtError); this.parameterName = parameterName; } /** * Return the invalid parameter's name, if known. * * @return string name */ public String getParameterName() { return parameterName; } /** * JSON-style toString * * @return string of property names and values for this enum */ @Override public String toString() { return "InvalidParameterException{" + "parameterName='" + parameterName + '\'' + ", reportedHTTPCode=" + getReportedHTTPCode() + ", reportingClassName='" + getReportingClassName() + '\'' + ", reportingActionDescription='" + getReportingActionDescription() + '\'' + ", errorMessage='" + getErrorMessage() + '\'' + ", reportedSystemAction='" + getReportedSystemAction() + '\'' + ", reportedUserAction='" + getReportedUserAction() + '\'' + ", reportedCaughtException=" + getReportedCaughtException() + '}'; } /** * Return comparison result based on the content of the properties. * * @param objectToCompare test object * @return result of comparison */ @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof InvalidParameterException)) { return false; } if (!super.equals(objectToCompare)) { return false; } InvalidParameterException that = (InvalidParameterException) objectToCompare; return Objects.equals(getParameterName(), that.getParameterName()); } /** * Return hash code for this object * * @return int hash code */ @Override public int hashCode() { return Objects.hash(super.hashCode(), getParameterName()); } }
[ "mandy_chessell@uk.ibm.com" ]
mandy_chessell@uk.ibm.com
7820ae4b33f6e09acf88b90fb1a0481e1619871a
446bcad1fa5a0a40bbd18cc2f01d79e69d222f92
/src/main/java/evg_belyavskii/fincurstask/Products.java
c75aa5afb0e8327dda9c4ac329ba4ec592b2f250
[]
no_license
jb826/NewRepo
74b40d93954dd530e2ef0926747b32476b385f37
0ad1d79eb7fb025da7fb745bbbb9655ffaf72350
refs/heads/master
2021-01-22T04:33:51.277556
2017-02-10T11:08:43
2017-02-10T11:08:43
81,556,118
0
0
null
null
null
null
UTF-8
Java
false
false
3,155
java
package evg_belyavskii.fincurstask; import java.io.Serializable; import javax.persistence.Id; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; /* * Products Class - containe get/set methodes to Products data * @version 1.1 2.02.2017 * @author Yauheni Bialiauski */ @XmlRootElement (name = "products") public class Products implements Serializable { private static final long serialVersionUID = 1L; @Id private Integer id; private String prName; private String titleImgSrc; private String imgSrc; private Float priceText; private Float strike; private String prText; private Integer stars; private Integer category; private Integer count; public Products() { } public Products(Integer id) { this.id = id; } public Integer getId() { return id; } @XmlElement public void setId(Integer id) { this.id = id; } public String getPrName() { return prName; } @XmlElement public void setPrName(String prName) { this.prName = prName; } public String getTitleImgSrc() { return titleImgSrc; } @XmlElement public void setTitleImgSrc(String titleImgSrc) { this.titleImgSrc = titleImgSrc; } public String getImgSrc() { return imgSrc; } @XmlElement public void setImgSrc(String imgSrc) { this.imgSrc = imgSrc; } public Float getPriceText() { return priceText; } @XmlElement public void setPriceText(Float priceText) { this.priceText = priceText; } public Float getStrike() { return strike; } @XmlElement public void setStrike(Float strike) { this.strike = strike; } public String getPrText() { return prText; } @XmlElement public void setPrText(String prText) { this.prText = prText; } public Integer getStars() { return stars; } @XmlElement public void setStars(Integer stars) { this.stars = stars; } public Integer getCategory() { return category; } @XmlElement public void setCategory(Integer category) { this.category = category; } public Integer getCount() { return count; } @XmlElement public void setCount(Integer count) { this.count = count; } @Override public int hashCode() { int hash = 0; hash += (id != null ? id.hashCode() : 0); return hash; } @Override public boolean equals(Object object) { // TODO: Warning - this method won't work in the case the id fields are not set if (!(object instanceof Products)) { return false; } Products other = (Products) object; if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) { return false; } return true; } @Override public String toString() { return "evg_belyavskii.fincurstask.Products[ id=" + id + " ]"; } }
[ "belyavskiievgeniI@mail.ru" ]
belyavskiievgeniI@mail.ru
07eba4beef4ac8aa65c33cb87e85be73385dd0f6
ffe6ee3db5d64d80981aaf8d79f7660ceb948795
/InfoTech4.2/src/br/com/infotech/functions/modeloTabela.java
fdc3acc9586a20012f8a710a9f582bd413cda254
[]
no_license
gibabelo/InfoTech
80d4c107ab5cd5b2585e000a40e6eb224ead0acd
3548cb215ebd1efe436bbb083e6eb3134ef99534
refs/heads/master
2021-06-25T21:39:55.062588
2017-09-13T21:04:19
2017-09-13T21:04:19
103,193,798
0
1
null
null
null
null
UTF-8
Java
false
false
1,037
java
package br.com.infotech.functions; import java.util.ArrayList; import javax.swing.table.AbstractTableModel; /** * * @author Gilberto */ public class modeloTabela extends AbstractTableModel { private ArrayList Linhas = null; private String[] Colunas= null; public modeloTabela(ArrayList lin, String[] col){ setLinhas(lin); setColunas(col); } public ArrayList getLinhas(){ return Linhas; } public void setLinhas(ArrayList dados){ Linhas = dados; } public String[] getColunas(){ return Colunas; } public void setColunas(String[] colunas){ Colunas = colunas; } public int getColumnCount(){ return Colunas.length; } public int getRowCount(){ return Linhas.size(); } public String getColumnCoumName(int numCol){ return Colunas[numCol]; } public Object getValueAt(int numLim, int numCol){ Object[] Linha = (Object[])getLinhas().get(numLim); return Linha[numCol]; } }
[ "glbertoo@uninove.edu.br" ]
glbertoo@uninove.edu.br
242265709057eb67fdea114af5ceaea8d079314c
065c1f648e8dd061a20147ff9c0dbb6b5bc8b9be
/checkstyle_cluster/10167/src_0.java
007f6c8053cf0f3caca1fc927e436f0e5f7a7b6b
[]
no_license
martinezmatias/GenPat-data-C3
63cfe27efee2946831139747e6c20cf952f1d6f6
b360265a6aa3bb21bd1d64f1fc43c3b37d0da2a4
refs/heads/master
2022-04-25T17:59:03.905613
2020-04-15T14:41:34
2020-04-15T14:41:34
null
0
0
null
null
null
null
UTF-8
Java
false
false
5,897
java
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //////////////////////////////////////////////////////////////////////////////// package com.puppycrawl.tools.checkstyle.api; import static org.apache.commons.lang3.ArrayUtils.EMPTY_BYTE_ARRAY; import static org.apache.commons.lang3.ArrayUtils.EMPTY_OBJECT_ARRAY; import static org.junit.Assert.assertEquals; import static org.powermock.api.mockito.PowerMockito.mock; import static org.powermock.api.mockito.PowerMockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import java.util.Locale; import org.junit.After; import org.junit.Test; import org.mockito.Mockito; import nl.jqno.equalsverifier.EqualsVerifier; public class LocalizedMessageTest { private static final Locale DEFAULT_LOCALE = Locale.getDefault(); @Test public void testEqualsAndHashCode() { EqualsVerifier.forClass(LocalizedMessage.class).usingGetClass().verify(); } @Test public void testGetModuleId() { LocalizedMessage localizedMessage = createSampleLocalizedMessage(); assertEquals("module", localizedMessage.getModuleId()); } @Test public void testMessageInEnglish() { LocalizedMessage localizedMessage = createSampleLocalizedMessage(); LocalizedMessage.setLocale(Locale.ENGLISH); assertEquals("Empty statement.", localizedMessage.getMessage()); } @Test public void testBundleReloadUrlNull() throws IOException { LocalizedMessage.UTF8Control control = new LocalizedMessage.UTF8Control(); control.newBundle("com.puppycrawl.tools.checkstyle.checks.coding.messages", Locale.ENGLISH, "java.class", Thread.currentThread().getContextClassLoader(), true); } @Test public void testBundleReloadUrlNotNull() throws IOException { ClassLoader classloader = mock(ClassLoader.class); final URLConnection mockConnection = Mockito.mock(URLConnection.class); when(mockConnection.getInputStream()).thenReturn( new ByteArrayInputStream(EMPTY_BYTE_ARRAY)); URL url = getMockUrl(mockConnection); String resource = "com/puppycrawl/tools/checkstyle/checks/coding/messages_en.properties"; when(classloader.getResource(resource)).thenReturn(url); LocalizedMessage.UTF8Control control = new LocalizedMessage.UTF8Control(); control.newBundle("com.puppycrawl.tools.checkstyle.checks.coding.messages", Locale.ENGLISH, "java.class", classloader, true); } @Test public void testBundleReloadUrlNotNullStreamNull() throws IOException { ClassLoader classloader = mock(ClassLoader.class); String resource = "com/puppycrawl/tools/checkstyle/checks/coding/messages_en.properties"; URL url = getMockUrl(null); when(classloader.getResource(resource)).thenReturn(url); LocalizedMessage.UTF8Control control = new LocalizedMessage.UTF8Control(); control.newBundle("com.puppycrawl.tools.checkstyle.checks.coding.messages", Locale.ENGLISH, "java.class", classloader, true); } private static URL getMockUrl(final URLConnection connection) throws IOException { final URLStreamHandler handler = new URLStreamHandler() { @Override protected URLConnection openConnection(final URL url) { return connection; } }; return new URL("http://foo.bar", "foo.bar", 80, "", handler); } @Test public void testMessageInFrench() { LocalizedMessage localizedMessage = createSampleLocalizedMessage(); LocalizedMessage.setLocale(Locale.FRENCH); assertEquals("Instruction vide.", localizedMessage.getMessage()); } @Test public void testEnforceEnglishLanguageBySettingUnitedStatesLocale() { Locale.setDefault(Locale.FRENCH); LocalizedMessage.setLocale(Locale.US); LocalizedMessage localizedMessage = createSampleLocalizedMessage(); assertEquals("Empty statement.", localizedMessage.getMessage()); } @Test public void testEnforceEnglishLanguageBySettingRootLocale() { Locale.setDefault(Locale.FRENCH); LocalizedMessage.setLocale(Locale.ROOT); LocalizedMessage localizedMessage = createSampleLocalizedMessage(); assertEquals("Empty statement.", localizedMessage.getMessage()); } private static LocalizedMessage createSampleLocalizedMessage() { return new LocalizedMessage(0, "com.puppycrawl.tools.checkstyle.checks.coding.messages", "empty.statement", EMPTY_OBJECT_ARRAY, "module", LocalizedMessage.class, null); } @After public void tearDown() { Locale.setDefault(DEFAULT_LOCALE); LocalizedMessage.clearCache(); LocalizedMessage.setLocale(DEFAULT_LOCALE); } }
[ "375833274@qq.com" ]
375833274@qq.com
9bca785d23ced9faaaedcb0515d40bd84ef545fe
ce0a41eaf502114763ed6e81722ccac5f3f90786
/bonefishGenomeSequence/src/Model/SequencePair.java
bd9f6ebc91d27e30aae3e609fa74ee0de83792cd
[]
no_license
tommyhowell6/bonefish
bc119585024159fc59429841f70c7a6f71169f4d
a23a75863d0b6b0dd88f1c15137c1673c6331540
refs/heads/master
2021-08-28T17:21:38.768786
2017-12-12T22:42:30
2017-12-12T22:42:30
108,449,299
0
0
null
null
null
null
UTF-8
Java
false
false
353
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Model; /** * * @author Kris */ public interface SequencePair { public Sequence getFirstSequence(); public Sequence getSecondSequence(); }
[ "kristophermiles@gmail.com" ]
kristophermiles@gmail.com
022ebc3566692a6f72df3de242180996f48ad137
7a0a934469b1543545f30a449a0c54872bb3bf9a
/src/main/java/com/im/sky/algorithms/LCP23.java
fa0bac9ca82cac291605666d41498be0a029aa28
[]
no_license
jcw123/promotion
eb3993d329369b3008691d77b46053cbf0f4c4c7
a27f3e31616114bfdc54e6aa2d95e42cd321d987
refs/heads/master
2022-12-25T06:49:32.679498
2022-08-03T03:29:47
2022-08-03T03:29:47
193,919,745
0
1
null
2022-12-16T03:37:07
2019-06-26T14:22:22
Java
UTF-8
Java
false
false
1,721
java
package com.im.sky.algorithms; import java.util.LinkedList; import java.util.List; class LCP23 { public static void main(String[] args) { LCP23 lcp23 = new LCP23(); boolean ok = lcp23.isMagic(new int[] {2,4,3,1,5}); System.out.println(ok); } public boolean isMagic(int[] target) { int len = target.length; int[] arr = new int[len]; int[] tmp = new int[len]; for(int i = 1; i <= len; i++) { arr[i - 1] = i; tmp[i - 1] = i; } change(tmp, 0, len - 1); int k = 0; for(; k < len; k++) { if(tmp[k] != target[k]) { break; } } if(k == 0) { return false; } if(k == len) { return true; } return canEquals(arr, len, k, target); } private boolean canEquals(int[] arr, int len, int k, int[] target) { int lo = 0; while(lo < len) { change(arr, lo, len - 1); for(int i = lo; i < Math.min(lo + k, len); i++) { if(arr[i] != target[i]) { return false; } } lo = Math.min(lo + k, len); } return true; } private void change(int[] arr, int lo, int hi) { List<Integer> list = new LinkedList<>(); int t = 1; int index = lo; for(int i = lo; i <= hi; i++) { if( t % 2 == 0) { arr[index] = arr[i]; index++; }else { list.add(arr[i]); } t++; } for(Integer v : list) { arr[index++] = v; } } }
[ "1433179149@qq.com" ]
1433179149@qq.com
77e82e341c09dd7952c039df670ba47c77b039fa
63096b161a37d00edeaf49472592d233ff8402c0
/BestBuy_TestCases/src/main/java/BestBuy/BestBuyLogin.java
5c9d93396d0c459801624ad64e5ac5c11bfa1786
[]
no_license
Rafa1390/Calidad-Proyecto
af8d6e3db23630a7f1b46c142bc4d2be705293f5
dd8454361dd726150f0b17f5635be4a6eac7dea3
refs/heads/main
2023-04-12T10:23:11.652881
2021-05-01T03:23:24
2021-05-01T03:23:24
352,819,192
0
0
null
null
null
null
UTF-8
Java
false
false
503
java
package BestBuy; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; public class BestBuyLogin extends BasePage{ By Login_Btn = By.xpath("/html/body/div[1]/div/section/main/div[2]/div[1]/div/div/div/div/form/div[3]/button"); public BestBuyLogin(WebDriver driver) { super(driver); } public void login(String email, String password) { sendKeys(By.name("fld-e"), email); sendKeys(By.name("fld-p1"), password); click(Login_Btn); } }
[ "calvaradon@ucenfotec.ac.cr" ]
calvaradon@ucenfotec.ac.cr
ff3ca5ab5887540bbc89d149e5bf1f7ea38d7ce7
2b2fcb1902206ad0f207305b9268838504c3749b
/WakfuClientSources/srcx/class_11929_me.java
e1cd0444cb91efbe4af7b807af0832ce0635bed5
[]
no_license
shelsonjava/Synx
4fbcee964631f747efc9296477dee5a22826791a
0cb26d5473ba1f36a3ea1d7163a5b9e6ebcb0b1d
refs/heads/master
2021-01-15T13:51:41.816571
2013-11-17T10:46:22
2013-11-17T10:46:22
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,639
java
import java.util.Stack; public class me implements aTK { private uk W; private Stack X = new Stack(); public void a(cpa paramcpa, uk paramuk, dOc paramdOc) { this.W = paramuk; this.X.push(paramcpa); cpa localcpa = (cpa)this.X.peek(); dOc localdOc1 = paramdOc; Jg localJg1 = localdOc1.getAppearance(); localJg1.setElementMap(localcpa); ((cwJ)localJg1).setAlignment(aFG.eck); localJg1.setState("default"); paramdOc.bb(localJg1); localJg1.brn(); aAR localaAR1 = aAR.checkOut(); localaAR1.setElementMap(localcpa); localaAR1.setPosition(ajb.dhZ); localaAR1.setX(248); localaAR1.setY(430); localaAR1.setWidth(17); localaAR1.setHeight(23); localaAR1.setTexture(this.W.aH("mru_0.tga")); localJg1.bb(localaAR1); localaAR1.brn(); localaAR1.rV(); localJg1.rV(); dOc localdOc2 = paramdOc; Jg localJg2 = localdOc2.getAppearance(); localJg2.setElementMap(localcpa); ((cwJ)localJg2).setAlignment(aFG.eck); localJg2.setState("mouseHover"); paramdOc.bb(localJg2); localJg2.brn(); aAR localaAR2 = aAR.checkOut(); localaAR2.setElementMap(localcpa); localaAR2.setPosition(ajb.dhZ); localaAR2.setX(248); localaAR2.setY(404); localaAR2.setWidth(17); localaAR2.setHeight(23); localaAR2.setTexture(this.W.aH("mru_0.tga")); localJg2.bb(localaAR2); localaAR2.brn(); localaAR2.rV(); localJg2.rV(); dOc localdOc3 = paramdOc; Jg localJg3 = localdOc3.getAppearance(); localJg3.setElementMap(localcpa); ((cwJ)localJg3).setAlignment(aFG.eck); localJg3.setState("pressed"); paramdOc.bb(localJg3); localJg3.brn(); aAR localaAR3 = aAR.checkOut(); localaAR3.setElementMap(localcpa); localaAR3.setPosition(ajb.dhZ); localaAR3.setX(248); localaAR3.setY(430); localaAR3.setWidth(17); localaAR3.setHeight(23); localaAR3.setTexture(this.W.aH("mru_0.tga")); localJg3.bb(localaAR3); localaAR3.brn(); localaAR3.rV(); localJg3.rV(); dOc localdOc4 = paramdOc; Jg localJg4 = localdOc4.getAppearance(); localJg4.setElementMap(localcpa); ((cwJ)localJg4).setAlignment(aFG.eck); localJg4.setState("disabled"); paramdOc.bb(localJg4); localJg4.brn(); aAR localaAR4 = aAR.checkOut(); localaAR4.setElementMap(localcpa); localaAR4.setPosition(ajb.dhZ); localaAR4.setX(248); localaAR4.setY(456); localaAR4.setWidth(17); localaAR4.setHeight(23); localaAR4.setTexture(this.W.aH("mru_0.tga")); localJg4.bb(localaAR4); localaAR4.brn(); localaAR4.rV(); localJg4.rV(); } }
[ "music_inme@hotmail.fr" ]
music_inme@hotmail.fr
5bf0348e041d8e067a855cd7ac90a744a3a28b35
5eb1cf18826eb386d896bf586647fbc0891ae7ce
/jpaexam/src/main/java/examples/boot/jpaexam/domain/BoardFile.java
f8335e15f0a6ea56d341406123ce123487c02b10
[]
no_license
jaenyeong/Lecture_Sample-Springboot1-master
f99a8c22b9a4ad5651d272752271275f64525f9e
8ad5b3af1b95d63cad38c89f7c44ea7e9c60a95a
refs/heads/master
2021-09-29T01:39:09.587760
2018-11-22T13:59:28
2018-11-22T13:59:28
null
0
0
null
null
null
null
UTF-8
Java
false
false
841
java
package examples.boot.jpaexam.domain; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Getter; import lombok.Setter; import javax.persistence.*; @Entity @Table(name = "board_file") @Getter @Setter @JsonIgnoreProperties(value={"hibernateLazyInitializer", "handler"}) public class BoardFile { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; // Board @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "board_id") @JsonBackReference private Board board; @Column(name = "mime_type") private String mimeType; private String name; // 오리지널 파일 이름 @Column(name = "save_file_name") private String saveFileName; // c://tmp/2018/08/13/uuid명 private long size; }
[ "jaenyeong.dev@gmail.com" ]
jaenyeong.dev@gmail.com
df065f4bb1a117baa7578d837e47b0df0d0b9d48
736f9ca39df28b7efaf14c56e3efe6e5f32bace7
/app/src/main/java/com/mottmacdonald/android/Models/HumidityOptionsModel.java
52210b4ec28541bda34c6415e18ba3820dc1d82c
[]
no_license
kelvinlocc/mottMacDonald
87896ded584df4afe9456c4bb9bb8ca3d747c084
f9bc94471c22bf69e09afdc5f59b286e29a7a1bc
refs/heads/master
2021-01-15T15:26:24.293224
2016-08-24T10:29:32
2016-08-24T10:29:40
64,004,882
0
0
null
null
null
null
UTF-8
Java
false
false
363
java
package com.mottmacdonald.android.Models; import java.util.List; /** * 说明: * 创建人:Cipher * 创建日期:2016/4/13 0:25 * 备注: */ public class HumidityOptionsModel { public String status; public List<HumidityOptionsData> data; public class HumidityOptionsData{ public String id; public String name; } }
[ "ccloadust@gmail.com" ]
ccloadust@gmail.com
3b116e5f7e72f6266177e092012b76167aac7169
445c3cf84dd4bbcbbccf787b2d3c9eb8ed805602
/aliyun-java-sdk-ecsops/src/main/java/com/aliyuncs/ecsops/model/v20160401/OpsDescribeDiagnoseAbnormalRequest.java
a8ddd87bd048ca6be2fcfa7b119f64a674cb99da
[ "Apache-2.0" ]
permissive
caojiele/aliyun-openapi-java-sdk
b6367cc95469ac32249c3d9c119474bf76fe6db2
ecc1c949681276b3eed2500ec230637b039771b8
refs/heads/master
2023-06-02T02:30:02.232397
2021-06-18T04:08:36
2021-06-18T04:08:36
172,076,930
0
0
NOASSERTION
2019-02-22T14:08:29
2019-02-22T14:08:29
null
UTF-8
Java
false
false
2,649
java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.ecsops.model.v20160401; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.ecsops.Endpoint; /** * @author auto create * @version */ public class OpsDescribeDiagnoseAbnormalRequest extends RpcAcsRequest<OpsDescribeDiagnoseAbnormalResponse> { private Integer pageNumber; private Integer pageSize; private List<String> resourceIds; private String resourceType; public OpsDescribeDiagnoseAbnormalRequest() { super("Ecsops", "2016-04-01", "OpsDescribeDiagnoseAbnormal", "ecs"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Integer getPageNumber() { return this.pageNumber; } public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; if(pageNumber != null){ putQueryParameter("PageNumber", pageNumber.toString()); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public List<String> getResourceIds() { return this.resourceIds; } public void setResourceIds(List<String> resourceIds) { this.resourceIds = resourceIds; if (resourceIds != null) { for (int i = 0; i < resourceIds.size(); i++) { putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i)); } } } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; if(resourceType != null){ putQueryParameter("ResourceType", resourceType); } } @Override public Class<OpsDescribeDiagnoseAbnormalResponse> getResponseClass() { return OpsDescribeDiagnoseAbnormalResponse.class; } }
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
6496bb880ecdab078c96180e772b0f2d34df8b27
2e64eb7f80355d7315c742acc21d5bb07cc7cbef
/app/src/main/java/com/example/bookstore2077/ui/personal_page/PersonalPageFragment.java
463ef036407752fd7640555e1d424e1b652baabc
[]
no_license
Kaizer22/BookStore2077
a5e0f21aec97c4a97d3263f8e688a25a91bdf1f9
16b6576135b8c434fa96755342ab7b2f5a5f30fd
refs/heads/master
2021-04-10T19:40:57.310126
2020-03-22T13:56:32
2020-03-22T13:56:32
248,959,748
0
0
null
null
null
null
UTF-8
Java
false
false
2,131
java
package com.example.bookstore2077.ui.personal_page; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.lifecycle.Observer; import androidx.lifecycle.ViewModelProviders; import com.example.bookstore2077.R; import com.example.bookstore2077.ui.recycle.RecycleFragment; import com.example.bookstore2077.ui.shop.ShopFragment; public class PersonalPageFragment extends Fragment { private PersonalPageViewModel personalPageViewModel; public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { personalPageViewModel = ViewModelProviders.of(this).get(PersonalPageViewModel.class); View root = inflater.inflate(R.layout.fragment_personal_page, container, false); return root; } @Override public void onActivityCreated(@Nullable Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); SharedPreferences sharedPreferences = getActivity().getPreferences(Activity.MODE_PRIVATE); Button recycle = getActivity().findViewById(R.id.personalPageRecycleButton); recycle.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FragmentManager fragmentManager = getActivity().getSupportFragmentManager(); fragmentManager.beginTransaction().replace(R.id.personal_page_fragment, new RecycleFragment()).commit(); } }); TextView userName = getActivity().findViewById(R.id.personalPageName); userName.setText(sharedPreferences.getString("name", "NONE") + "\n" + sharedPreferences.getString("surname", "NONE")); } }
[ "dshebut@rambler.ru" ]
dshebut@rambler.ru
99ee91f16bcc9d8814638c92bfd92c8ba5b829a1
4f82a469b9e45cc20aecec72599d039406b22509
/Cq5-helloWorld-29-dialog-image-multicompositefield/src/main/java/pl/kwi/components/testComponent/TestComponentModel.java
b883a35105dad76fec3e83e99336d5fbdf78e3b4
[]
no_license
wisniewskikr/rep_cq5
b8513e7e8b62601e82361284c488adfe01d5a35c
ae5308b45415f1b9e6971f52d54fc7d123993e61
refs/heads/master
2021-01-15T21:45:14.834624
2018-02-08T12:40:09
2018-02-08T12:40:09
8,983,298
3
4
null
2013-07-26T22:24:56
2013-03-24T08:32:41
Java
UTF-8
Java
false
false
721
java
package pl.kwi.components.testComponent; import java.util.List; import pl.kwi.components.testComponentItem.TestComponentItemModel; import com.cognifide.cq.api.Dto; import com.cognifide.cq.model.mo.SingleDtoModelObject; public class TestComponentModel<T extends Dto> extends SingleDtoModelObject<T> { private List<TestComponentItemModel> testComponents; public TestComponentModel(T dto, List<TestComponentItemModel> testComponents) { super(dto); this.testComponents = testComponents; } public List<TestComponentItemModel> getTestComponents() { return testComponents; } public void setTestComponents(List<TestComponentItemModel> testComponents) { this.testComponents = testComponents; } }
[ "wisniewk@POZMWCOE27631.emea.roche.com" ]
wisniewk@POZMWCOE27631.emea.roche.com
c3b55d8b773c59e116816fdfe9f30a362e3c1bc7
ae10735cf3be7416ccb9e29a57ad2f1e2629536b
/SchollyProject/src/main/java/com/scholly/appl/beans/Form.java
081e28a12e1687191610f6187ed82349fee5011e
[]
no_license
dhrumil296/scholarship-gladiator
8a060cc0522d1776f51b362ed3933cc5e890c770
9cd624c65af05b3e54c59c8a9e3bad830a02f325
refs/heads/main
2023-07-10T05:35:11.997607
2021-08-16T18:03:20
2021-08-16T18:03:20
394,577,508
0
0
null
null
null
null
UTF-8
Java
false
false
7,808
java
package com.scholly.appl.beans; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.SequenceGenerator; import javax.persistence.Table; @Entity @Table(name = "FORM") public class Form { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "HB_FORMID_SEQ") @SequenceGenerator(name = "HB_FORMID_SEQ", sequenceName = "FormId_Seq", allocationSize = 0) @Column(name = "FORM_ID") private int formId; @Column(name = "COMMUNITY") private String community; @Column(name = "GUARDIAN_NAME") private String guardianName; @Column(name = "FAMILY_INCOME") private double familyIncome; @Column(name = "IS_DISABLED") private String isDisabled; @Column(name = "DISABILITY_TYPE") private String disabilityType; @Column(name = "SSC_PERCENTAGE") private double sscPercentage; @Column(name = "HSC_PERCENTAGE") private double hscPercentage; @Column(name = "INST_NAME") private String instituteName; @Column(name = "CURRENT_COURSE") private String currentCourse; @Column(name = "START_DATE") private String startDate; @Column(name = "TOTAL_FEES") private Double totalFees; @Column(name = "STUD_ID") private Long aadharNo; @Column(name = "SCHEME_ID") private int schemeId; @Column(name = "BANK_PASSBOOK") private String bankPassbook; @Column(name = "SSC_MARKSHEET") private String sscMarksheet; @Column(name = "HSC_MARKSHEET") private String hscMarkSheet; @Column(name = "AADHAR_CARD") private String aadharCardProof; @Column(name = "STATE") private String state; @Column(name = "DISTRICT") private String district; @Column(name = "CITY") private String city; @Column(name = "PIN_CODE") private int pinCode; @Column(name = "ADDRESS") private String address; @Column(name = "FORM_SUBMISSION_YEAR") private String formSubmissionYear; @Column(name = "FORM_STATUS") private String formStatus; public Form() { super(); } public Form(String community, String guardianName, double familyIncome, String isDisabled, String disabilityType, double sscPercentage, double hscPercentage, String instituteName, String currentCourse, String startDate, Double totalFees, Long aadharNo, int schemeId, String bankPassbook, String sscMarksheet, String hscMarkSheet, String aadharCardProof, String state, String district, String city, int pinCode, String address, String formSubmissionYear, String formStatus) { super(); this.community = community; this.guardianName = guardianName; this.familyIncome = familyIncome; this.isDisabled = isDisabled; this.disabilityType = disabilityType; this.sscPercentage = sscPercentage; this.hscPercentage = hscPercentage; this.instituteName = instituteName; this.currentCourse = currentCourse; this.startDate = startDate; this.totalFees = totalFees; this.aadharNo = aadharNo; this.schemeId = schemeId; this.bankPassbook = bankPassbook; this.sscMarksheet = sscMarksheet; this.hscMarkSheet = hscMarkSheet; this.aadharCardProof = aadharCardProof; this.state = state; this.district = district; this.city = city; this.pinCode = pinCode; this.address = address; this.formSubmissionYear = formSubmissionYear; this.formStatus = formStatus; } public int getFormId() { return formId; } public void setFormId(int formId) { this.formId = formId; } public String getCommunity() { return community; } public void setCommunity(String community) { this.community = community; } public String getGuardianName() { return guardianName; } public void setGuardianName(String guardianName) { this.guardianName = guardianName; } public double getFamilyIncome() { return familyIncome; } public void setFamilyIncome(double familyIncome) { this.familyIncome = familyIncome; } public String getIsDisabled() { return isDisabled; } public void setIsDisabled(String isDisabled) { this.isDisabled = isDisabled; } public String getDisabilityType() { return disabilityType; } public void setDisabilityType(String disabilityType) { this.disabilityType = disabilityType; } public double getSscPercentage() { return sscPercentage; } public void setSscPercentage(double sscPercentage) { this.sscPercentage = sscPercentage; } public double getHscPercentage() { return hscPercentage; } public void setHscPercentage(double hscPercentage) { this.hscPercentage = hscPercentage; } public String getInstituteName() { return instituteName; } public void setInstituteName(String instituteName) { this.instituteName = instituteName; } public String getCurrentCourse() { return currentCourse; } public void setCurrentCourse(String currentCourse) { this.currentCourse = currentCourse; } public String getStartDate() { return startDate; } public void setStartDate(String startDate) { this.startDate = startDate; } public Double getTotalFees() { return totalFees; } public void setTotalFees(Double totalFees) { this.totalFees = totalFees; } public Long getAadharNo() { return aadharNo; } public void setAadharNo(Long aadharNo) { this.aadharNo = aadharNo; } public int getSchemeId() { return schemeId; } public void setSchemeId(int schemeId) { this.schemeId = schemeId; } public String getBankPassbook() { return bankPassbook; } public void setBankPassbook(String bankPassbook) { this.bankPassbook = bankPassbook; } public String getSscMarksheet() { return sscMarksheet; } public void setSscMarksheet(String sscMarksheet) { this.sscMarksheet = sscMarksheet; } public String getHscMarkSheet() { return hscMarkSheet; } public void setHscMarkSheet(String hscMarkSheet) { this.hscMarkSheet = hscMarkSheet; } public String getAadharCardProof() { return aadharCardProof; } public void setAadharCardProof(String aadharCardProof) { this.aadharCardProof = aadharCardProof; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getDistrict() { return district; } public void setDistrict(String district) { this.district = district; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public int getPinCode() { return pinCode; } public void setPinCode(int pinCode) { this.pinCode = pinCode; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getFormStatus() { return formStatus; } public void setFormStatus(String formStatus) { this.formStatus = formStatus; } public String getFormSubmissionYear() { return formSubmissionYear; } public void setFormSubmissionYear(String formSubmissionYear) { this.formSubmissionYear = formSubmissionYear; } @Override public String toString() { return "Form [formId=" + formId + ", community=" + community + ", guardianName=" + guardianName + ", familyIncome=" + familyIncome + ", isDisabled=" + isDisabled + ", disabilityType=" + disabilityType + ", sscPercentage=" + sscPercentage + ", hscPercentage=" + hscPercentage + ", instituteName=" + instituteName + ", currentCourse=" + currentCourse + ", startDate=" + startDate + ", totalFees=" + totalFees + ", aadharNo=" + aadharNo + ", schemeId=" + schemeId + ", bankPassbook=" + bankPassbook + ", sscMarksheet=" + sscMarksheet + ", hscMarkSheet=" + hscMarkSheet + ", aadharCardProof=" + aadharCardProof + ", state=" + state + ", district=" + district + ", city=" + city + ", pinCode=" + pinCode + ", address=" + address + ", formSubmissionYear=" + formSubmissionYear + ", formStatus=" + formStatus + "]"; } }
[ "dhrumilmehta98@gmail.com" ]
dhrumilmehta98@gmail.com
c3192ee017e9c95e7a3101c71adcf34725ccd902
41f10481b60277d7f0db1018e7bcee3be550643c
/IM/IM_APP/ITalker2/common/src/main/java/csx/haha/com/common/tools/UiTool.java
db9b50162f4c04e64b07fc1659ad7663eb3a4b18
[]
no_license
shixinga/android_art
f39d2c2381f3b613881aedbab8a6131891907ec7
b687f70b1bd278479f7d3dc29ebfe9693cc3e17c
refs/heads/master
2021-09-23T17:58:42.315263
2018-09-26T05:18:48
2018-09-26T05:18:48
108,531,733
1
0
null
null
null
null
UTF-8
Java
false
false
2,499
java
package csx.haha.com.common.tools; import android.app.Activity; import android.content.res.Resources; import android.graphics.Rect; import android.os.Build; import android.util.DisplayMetrics; import android.view.Window; /** * @author qiujuer Email:qiujuer@live.cn * @version 1.0.0 */ public class UiTool { private static int STATUS_BAR_HEIGHT = -1; /** * 得到我们的状态栏的高度 * @param activity Activity * @return 状态栏的高度 */ public static int getStatusBarHeight(Activity activity) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && STATUS_BAR_HEIGHT == -1) { try { final Resources res = activity.getResources(); // 尝试获取status_bar_height这个属性的Id对应的资源int值 int resourceId = res.getIdentifier("status_bar_height", "dimen", "android"); if (resourceId <= 0) { Class<?> clazz = Class.forName("com.android.internal.R$dimen"); Object object = clazz.newInstance(); resourceId = Integer.parseInt(clazz.getField("status_bar_height") .get(object).toString()); } // 如果拿到了就直接调用获取值 if (resourceId > 0) STATUS_BAR_HEIGHT = res.getDimensionPixelSize(resourceId); // 如果还是未拿到 if (STATUS_BAR_HEIGHT <= 0) { // 通过Window拿取 Rect rectangle = new Rect(); Window window = activity.getWindow(); window.getDecorView().getWindowVisibleDisplayFrame(rectangle); STATUS_BAR_HEIGHT = rectangle.top; } } catch (Exception e) { e.printStackTrace(); } } return STATUS_BAR_HEIGHT; } public static int getScreenWidth(Activity activity) { DisplayMetrics displayMetrics = activity.getResources().getDisplayMetrics(); //int width = activity.getWindowManager().getDefaultDisplay().getWidth(); return displayMetrics.widthPixels; } public static int getScreenHeight(Activity activity) { DisplayMetrics displayMetrics = activity.getResources().getDisplayMetrics(); //int width = activity.getWindowManager().getDefaultDisplay().getWidth(); return displayMetrics.heightPixels; } }
[ "2677950307@qq.com" ]
2677950307@qq.com
42ac9012fd057c5f9683a26267183b9b8cb620d1
ad33b4c7c198b23065be9dd70303df245c2aff61
/AutomovilesOracle/src/main/java/com/mycompany/automovilesoracle/entidades/Color.java
80710f4c094efcfa12ea1e96539c758bc5909012
[ "Apache-2.0" ]
permissive
luiz158/javaee7-samples-2
5b4d7e95a15035adf913bd76361e718cc4119927
9c93e8f5781553375c77ec88f69795ed7d2033d3
refs/heads/master
2021-01-18T10:26:40.274169
2015-01-21T02:24:18
2015-01-21T02:24:18
null
0
0
null
null
null
null
UTF-8
Java
false
false
781
java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.mycompany.automovilesoracle.entidades; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; /** * * @author josediaz */ @Entity public class Color { @Id @GeneratedValue private Long id; private String descripcion; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getDescripcion() { return descripcion; } public void setDescripcion(String descripcion) { this.descripcion = descripcion; } @Override public String toString() { return descripcion; } }
[ "jose.diaz@joedayz.pe" ]
jose.diaz@joedayz.pe
a2ded4e8f2f03eb23f646b46aea2843615461196
0db3e214b66861aca27a9dfb5c8eb59ab99147ea
/src/main/java/HTTP/Models/Position.java
bb1cbdea1ff1fd501789831ed802b2c98d67d71d
[]
no_license
AlexanderStetsenko/JDIPresentation
85b87886f10b7e383266f16a6a87682195f80e9d
463b0c4131c84453eec2283347cca9685993800e
refs/heads/master
2020-05-21T05:27:47.964846
2017-04-19T07:07:35
2017-04-19T07:07:35
84,578,782
0
0
null
null
null
null
UTF-8
Java
false
false
655
java
package HTTP.Models; public class Position { String _id; String name; public Position() { } public Position(String _id, String name) { this._id = _id; this.name = name; } public String get_id() { return _id; } public void set_id(String _id) { this._id = _id; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return "Position{" + "_id=" + _id + ", name='" + name + '\'' + '}'; } }
[ "Alexander.Stetsenko@itechcraft.com" ]
Alexander.Stetsenko@itechcraft.com
377cef55c7dc4f77275583cfb93d2fff6f423c2c
08e081aca68fc57a425ef3245f28cb32f779294a
/storage/client/queue/src/main/java/com/azure/storage/queue/implementation/MessageIdsImpl.java
8a705fe7e4af77d79c1d2fe34f81c276bc344b5e
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kaerm/azure-sdk-for-java
f244bcd6b584161cc74637b4fea92e4b0fdbdd1d
aada6b84eab4ef95613747418966a68ebb743369
refs/heads/master
2020-06-23T16:53:04.857515
2019-07-24T17:09:10
2019-07-24T17:09:10
null
0
0
null
null
null
null
UTF-8
Java
false
false
8,646
java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.storage.queue.implementation; import com.azure.core.annotations.BodyParam; import com.azure.core.annotations.DELETE; import com.azure.core.annotations.ExpectedResponses; import com.azure.core.annotations.HeaderParam; import com.azure.core.annotations.Host; import com.azure.core.annotations.HostParam; import com.azure.core.annotations.PUT; import com.azure.core.annotations.QueryParam; import com.azure.core.annotations.Service; import com.azure.core.annotations.UnexpectedResponseExceptionType; import com.azure.core.implementation.RestProxy; import com.azure.core.util.Context; import com.azure.storage.queue.models.MessageIdsDeleteResponse; import com.azure.storage.queue.models.MessageIdsUpdateResponse; import com.azure.storage.queue.models.QueueMessage; import com.azure.storage.queue.models.StorageErrorException; import reactor.core.publisher.Mono; /** * An instance of this class provides access to all the operations defined in * MessageIds. */ public final class MessageIdsImpl { /** * The proxy service used to perform REST calls. */ private MessageIdsService service; /** * The service client containing this operation class. */ private AzureQueueStorageImpl client; /** * Initializes an instance of MessageIdsImpl. * * @param client the instance of the service client containing this operation class. */ public MessageIdsImpl(AzureQueueStorageImpl client) { this.service = RestProxy.create(MessageIdsService.class, client); this.client = client; } /** * The interface defining all the services for MessageIds to be used by the * proxy service to perform REST calls. */ @Host("{url}") @Service("Storage Queues MessageId") private interface MessageIdsService { @PUT("{queueName}/messages/{messageid}") @ExpectedResponses({204}) @UnexpectedResponseExceptionType(StorageErrorException.class) Mono<MessageIdsUpdateResponse> update(@HostParam("url") String url, @BodyParam("application/xml; charset=utf-8") QueueMessage queueMessage, @QueryParam("popreceipt") String popReceipt, @QueryParam("visibilitytimeout") int visibilitytimeout, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, Context context); @DELETE("{queueName}/messages/{messageid}") @ExpectedResponses({204}) @UnexpectedResponseExceptionType(StorageErrorException.class) Mono<MessageIdsDeleteResponse> delete(@HostParam("url") String url, @QueryParam("popreceipt") String popReceipt, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-client-request-id") String requestId, Context context); } /** * The Update operation was introduced with version 2011-08-18 of the Queue service API. The Update Message operation updates the visibility timeout of a message. You can also use this operation to update the contents of a message. A message must be in a format that can be included in an XML request with UTF-8 encoding, and the encoded message can be up to 64KB in size. * * @param queueMessage A Message object which can be stored in a Queue. * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to the Get Messages or Update Message operation. * @param visibilitytimeout Optional. Specifies the new visibility timeout value, in seconds, relative to server time. The default value is 30 seconds. A specified value must be larger than or equal to 1 second, and cannot be larger than 7 days, or larger than 2 hours on REST protocol versions prior to version 2011-08-18. The visibility timeout of a message can be set to a value later than the expiry time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ public Mono<MessageIdsUpdateResponse> updateWithRestResponseAsync(QueueMessage queueMessage, String popReceipt, int visibilitytimeout, Context context) { final Integer timeout = null; final String requestId = null; return service.update(this.client.url(), queueMessage, popReceipt, visibilitytimeout, timeout, this.client.version(), requestId, context); } /** * The Update operation was introduced with version 2011-08-18 of the Queue service API. The Update Message operation updates the visibility timeout of a message. You can also use this operation to update the contents of a message. A message must be in a format that can be included in an XML request with UTF-8 encoding, and the encoded message can be up to 64KB in size. * * @param queueMessage A Message object which can be stored in a Queue. * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to the Get Messages or Update Message operation. * @param visibilitytimeout Optional. Specifies the new visibility timeout value, in seconds, relative to server time. The default value is 30 seconds. A specified value must be larger than or equal to 1 second, and cannot be larger than 7 days, or larger than 2 hours on REST protocol versions prior to version 2011-08-18. The visibility timeout of a message can be set to a value later than the expiry time. * @param timeout The The timeout parameter is expressed in seconds. For more information, see &lt;a href="https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-queue-service-operations&gt;Setting Timeouts for Queue Service Operations.&lt;/a&gt;. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ public Mono<MessageIdsUpdateResponse> updateWithRestResponseAsync(QueueMessage queueMessage, String popReceipt, int visibilitytimeout, Integer timeout, String requestId, Context context) { return service.update(this.client.url(), queueMessage, popReceipt, visibilitytimeout, timeout, this.client.version(), requestId, context); } /** * The Delete operation deletes the specified message. * * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to the Get Messages or Update Message operation. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ public Mono<MessageIdsDeleteResponse> deleteWithRestResponseAsync(String popReceipt, Context context) { final Integer timeout = null; final String requestId = null; return service.delete(this.client.url(), popReceipt, timeout, this.client.version(), requestId, context); } /** * The Delete operation deletes the specified message. * * @param popReceipt Required. Specifies the valid pop receipt value returned from an earlier call to the Get Messages or Update Message operation. * @param timeout The The timeout parameter is expressed in seconds. For more information, see &lt;a href="https://docs.microsoft.com/en-us/rest/api/storageservices/setting-timeouts-for-queue-service-operations&gt;Setting Timeouts for Queue Service Operations.&lt;/a&gt;. * @param requestId Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @return a Mono which performs the network request upon subscription. */ public Mono<MessageIdsDeleteResponse> deleteWithRestResponseAsync(String popReceipt, Integer timeout, String requestId, Context context) { return service.delete(this.client.url(), popReceipt, timeout, this.client.version(), requestId, context); } }
[ "noreply@github.com" ]
noreply@github.com
6342447cca538acb1991eb5f4bfa88773530a106
e1459ec0c1722671ac5dbb4d374daf92d55d115e
/example/android/app/src/main/java/com/example/MainApplication.java
4da07547611f9d99bae678ac31a3022c9a9931a8
[]
no_license
m-cho/react-native-enjoy-sdk
e2ec8ecdb21adfa2e50c6c0c85fe05e6491b7c68
16d9d4ce73d913d3f818fbcb4ab66c8bf2f5b22a
refs/heads/master
2020-03-26T21:55:52.754743
2019-01-10T15:10:42
2019-01-10T15:10:42
145,418,731
1
0
null
null
null
null
UTF-8
Java
false
false
1,123
java
package com.example; import android.app.Application; import com.facebook.react.ReactApplication; import link.enjoy.rnsdk.RNEnjoySdkPackage; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.shell.MainReactPackage; import com.facebook.soloader.SoLoader; import java.util.Arrays; import java.util.List; public class MainApplication extends Application implements ReactApplication { private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override public boolean getUseDeveloperSupport() { return BuildConfig.DEBUG; } @Override protected List<ReactPackage> getPackages() { return Arrays.<ReactPackage>asList( new MainReactPackage(), new RNEnjoySdkPackage() ); } @Override protected String getJSMainModuleName() { return "index"; } }; @Override public ReactNativeHost getReactNativeHost() { return mReactNativeHost; } @Override public void onCreate() { super.onCreate(); SoLoader.init(this, /* native exopackage */ false); } }
[ "milanst019@outlook.com" ]
milanst019@outlook.com
166b78ae78dc01ebb3f2c47b57d7b67de13aa732
f50025c689e932ff55032a44edea1bf49a7082c1
/src/homeWork_lesson16/task11/Parrot.java
824d0370f170b0ad010d1b54b02b5d8cbf12a8fd
[]
no_license
buonviagio/javaHomeWork_lesson5
53420d3ff1894af4a56892af61c88e15dc1f1a75
86a5db4d8e4cf986ab4085f2c562d3c39d549394
refs/heads/master
2020-04-09T02:18:38.514019
2019-02-15T22:07:56
2019-02-15T22:07:56
159,936,004
0
1
null
null
null
null
UTF-8
Java
false
false
838
java
package homeWork_lesson16.task11; import java.util.Objects; public class Parrot extends Pet { private String name; public Parrot(String name) { this.name = name; } public Parrot(String name, String name1) { super(name); this.name = name1; } @Override public String getName() { return name; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Parrot parrot = (Parrot) o; return Objects.equals(name, parrot.name); } @Override public int hashCode() { return Objects.hash(name); } @Override public String toString() { return "Parrot{" + "name='" + name + '\'' + "} "; } }
[ "12098abC" ]
12098abC
46f717685449b5f1d1f39645d4f3439607a1db68
dc2c1bf64fac2b2e5271daf4ddbb3fbe9ffcd547
/PrimerProyecto/src/main/java/punto1/Punto1View.java
cc9e0b6c974a87f36b7f4744ca21c35bee02ae0d
[]
no_license
nicolArias/UD19
c70b2b001bc453021f76d896ee80e06dfce1062d
fbcee4f5500488ddad2cd0cd3e6f56fd7f61a4c3
refs/heads/main
2023-03-19T23:09:23.419842
2021-03-03T10:17:04
2021-03-03T10:17:04
343,930,909
0
0
null
null
null
null
UTF-8
Java
false
false
1,870
java
package punto1; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField; import java.awt.Font; /*Autor: Nicol Arias*/ public class Punto1View extends JFrame{ private static final long serialVersionUID = 1L; //Atributos private JPanel cPanel; private JLabel mensaje; private JTextField txtNom; private JButton btnSaludar; public Punto1View() { //Titulo setTitle("Punto 1"); //Hace visible la ventana setVisible(true); /*Coordenadas x y de la aplicación y su altura y longitud, * si no lo indicamos aparecera una ventana muy pequeña*/ setBounds(400,200,351,220); /*Indica que cuando se cierre la ventana se acaba la aplicacion, si no * lo indicamos cuando cerramos la ventana, la aplicacion seguira funcionando*/ setDefaultCloseOperation(EXIT_ON_CLOSE); cPanel=new JPanel(); //Asignar el panel a la ventana setContentPane(cPanel); cPanel.setLayout(null); mensaje=new JLabel("Escribe un nombre para saludar"); mensaje.setFont(new Font("Tahoma", Font.PLAIN, 13)); mensaje.setBounds(105, 54, 151, 14); cPanel.add(mensaje); txtNom=new JTextField(); txtNom.setFont(new Font("Tahoma", Font.PLAIN, 14)); txtNom.setBounds(71, 77, 199, 23); cPanel.add(txtNom); btnSaludar=new JButton("¡Saludar!"); btnSaludar.setBounds(126, 120, 97, 31); cPanel.add(btnSaludar); saludar(); } public void saludar() { ActionListener al=new ActionListener() { public void actionPerformed(ActionEvent e) { JOptionPane.showMessageDialog(null,"¡Hola "+txtNom.getText()+"!"); } }; btnSaludar.addActionListener(al); } }
[ "nicolariaslebro@gmail.com" ]
nicolariaslebro@gmail.com
884e5748fa149a665644c48bac53492c3f8d886b
746f4c244ff62d6e19e6be6ffc347dcbbf3453c1
/app/src/test/java/visionstech/menulearn/ExampleUnitTest.java
eb64bdf95808a199d36c787337103b18585b3724
[]
no_license
shollynoob/EnoughLearn
94d2f53bf313d42910966f151f305b15f23f5994
c3f5f49bd49b061eefa22af278e4c172da58016d
refs/heads/master
2021-01-19T12:24:06.680273
2017-08-19T09:17:49
2017-08-19T09:17:49
100,783,442
0
0
null
null
null
null
UTF-8
Java
false
false
399
java
package visionstech.menulearn; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
[ "shollynoob@yahoo.ca" ]
shollynoob@yahoo.ca
22469658e4b95c5b399f1a86d1a025701884391b
1703d24b6e1d617ee4de7fffcbdd9a33b29beb40
/JavaPractice/src/java8/HashMapSortByValues.java
299c95c3dd6266399bff8a174481f6cc81649fda
[]
no_license
snehal0087/JavaPractice
983eade64724f396f03fcb461f6eb9b8be437baa
482b842dcf288fc70a7003cf4bb195031c2fb57e
refs/heads/master
2022-01-18T10:53:26.205473
2019-05-05T03:51:37
2019-05-05T03:51:37
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,240
java
package java8; import java.util.*; import static java.util.stream.Collectors.*; /** * Example to demonstrate sort HashMap by value object property */ public class HashMapSortByValues { public static void main(String args[]) { HashMapSortByValues hashMapSortByValues = new HashMapSortByValues(); Person p1 = new Person("abc", 22); Person p2 = new Person("xyz", 10); Person p3 = new Person("mno", 35); Person p4 = new Person("def", 21); Map<String, Person> personMap = new HashMap<>(); personMap.put("abc", p1); personMap.put("xyz", p2); personMap.put("mno", p3); personMap.put("def", p4); // Print Map System.out.println("HashMap before sorting"); hashMapSortByValues.printMap(personMap.entrySet()); List<Map.Entry<String, Person>> list = hashMapSortByValues.sortWithoutUsingStream(personMap); //Print Map after sorting System.out.println("HashMap sorting by values without using Java 8 stream"); hashMapSortByValues.printMap(list); // Print Map System.out.println("HashMap sorting by values using Java 8 stream"); hashMapSortByValues.printMap(hashMapSortByValues.sortUsingStream(personMap).entrySet()); } private List<Map.Entry<String, Person>> sortWithoutUsingStream(Map<String, Person> personMap) { /** * Steps to sort Map by value object property * 1. Get EntrySet to list * 2. Sort list using Collections.sort */ List<Map.Entry<String, Person>> list = new ArrayList<>(personMap.entrySet()); //Sort Map by values without Java 8 Stream Collections.sort(list, new Comparator<Map.Entry<String, Person>>() { @Override public int compare(Map.Entry<String, Person> o1, Map.Entry<String, Person> o2) { return ((Integer) o1.getValue().getAge()).compareTo((Integer) o2.getValue().getAge()); } }); return list; } private void printMap(Collection<Map.Entry<String, Person>> collection) { // Print Map for (Map.Entry<String, Person> entry : collection) { System.out.println(entry.getKey() + ":" + entry.getValue()); } } private Map<String, Person> sortUsingStream(Map<String, Person> map) { //Java 8 stream return map .entrySet() .stream() .sorted((e1, e2) -> e1.getValue().getAge() - e2.getValue().getAge()) .collect(toMap(e -> e.getKey(), e -> e.getValue(), (e1, e2) -> e2, LinkedHashMap::new)); } } class Person { private String name; private int age; public Person(String name, int age) { this.name = name; this.age = age; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } @Override public String toString() { return "Person{" + "name='" + name + '\'' + ", age=" + age + '}'; } }
[ "hello.snehalm@gmail.com" ]
hello.snehalm@gmail.com
ddb571eafadc7b5e7d95885a4e58317984690291
247ec681dbb586e30db485151e751cdc8d468df0
/src/main/java/xyz/jangle/string/test/SplitTest.java
5bac0a3aad450ce86f0f1c28df7a56dcc34e6513
[]
no_license
bof-jangle/myTestDemo
26de9d910c1a1e90b82303194894cbf04b22bda6
a8e4028217a9153bf92cee0388aedbd2bde848bc
refs/heads/master
2023-04-05T13:21:02.044008
2023-03-15T09:03:31
2023-03-15T09:03:31
149,094,880
1
0
null
2022-12-05T23:49:38
2018-09-17T08:42:14
Java
UTF-8
Java
false
false
332
java
package xyz.jangle.string.test; /** * @author jangle E-mail: jangle@jangle.xyz * @version 2019年10月7日 下午4:17:58 * 类说明 */ public class SplitTest { public static void main(String[] args) { String s = "123 456789"; String[] split = s.split(" "); for(String sp:split) { System.out.println(sp); } } }
[ "jangle@jangle.xyz" ]
jangle@jangle.xyz
f3c5f927bef4a0e000951bd58dc5f983ebb68711
b37d151a421265e5fd6425b77c46ba2060cb505a
/src/main/java/com/pichincha/prueba/bo/IPersonaBO.java
cbaee67df4dcd52c0f17ddb1d9e59eb4dc28062a
[]
no_license
BZAMORA1998/pichincha-prueba-api
009f78853038171f3428a90cea9e09fed2c06d05
8d4d95e4f4fa5a6795218187043c73bfa72da8e7
refs/heads/master
2023-08-29T12:57:52.538735
2021-10-25T17:05:23
2021-10-25T17:05:23
419,065,996
0
0
null
null
null
null
UTF-8
Java
false
false
640
java
package com.pichincha.prueba.bo; import java.util.Map; import com.pichincha.prueba.dto.PersonaDTO; import com.pichincha.prueba.exceptions.BOException; public interface IPersonaBO { /** * Crea o actualiza una persona * @author Bryan Zamora * @param objPersonaDTO * @return */ public Map<String, Object> crearOActualizaPersona(PersonaDTO objPersonaDTO) throws BOException; /** * Retonara los datos de la persona por su numero de cedula * * @author Bryan Zamora * * @param strNumeroIdentificacion * @return */ public PersonaDTO consultarDatosPersonas(String strNumeroIdentificacion) throws BOException; }
[ "bryan.zamora@goitsa.me" ]
bryan.zamora@goitsa.me
5724d330787845a19531874a6a6bdffab9587514
69a85cd5b0d70c837277f92afbc508b6bf524b74
/app/src/androidTest/java/com/intelligence/raiffeisentest/ExampleInstrumentedTest.java
80cf0fa73c73b0da56b285e86797aa7a333e6ede
[]
no_license
Ana-MariaB/RaiffeisenTest
1b6e1e6e9d610fefc8dc53c794f57fc9a0695823
b3a347023c8dbc7de0e01c91e7fa584fe2b077dd
refs/heads/master
2021-07-01T05:36:58.312150
2017-09-18T14:44:57
2017-09-18T14:44:57
103,933,364
0
0
null
null
null
null
UTF-8
Java
false
false
766
java
package com.intelligence.raiffeisentest; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android device. * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ @RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { @Test public void useAppContext() throws Exception { // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); assertEquals("com.intelligence.raiffeisentest", appContext.getPackageName()); } }
[ "anamaria.birligea92@gmail.com" ]
anamaria.birligea92@gmail.com
95c05c6ee1f42583ffe17e4b4a3377d498095329
8c075182bc853ee12504ff61d5a7ae843ce7e2cc
/src/main/java/com/allegro/webapi/DurationInfoStruct.java
eb2c96116ca44fc837b563ba82cc643acdcda157
[]
no_license
Alienovsky/Kallegro
233ebe2a0aec1b2ac360399f1879ed660c8a3ced
8ef253b4c6abe34dde6e243399384f02c112a444
refs/heads/master
2020-07-04T11:33:24.781304
2016-09-15T15:11:15
2016-09-15T15:11:15
67,409,602
0
0
null
null
null
null
UTF-8
Java
false
false
1,382
java
package com.allegro.webapi; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for DurationInfoStruct complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="DurationInfoStruct"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;all> * &lt;element name="durationType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * &lt;/all> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DurationInfoStruct", propOrder = { }) public class DurationInfoStruct { protected Integer durationType; /** * Gets the value of the durationType property. * * @return * possible object is * {@link Integer } * */ public Integer getDurationType() { return durationType; } /** * Sets the value of the durationType property. * * @param value * allowed object is * {@link Integer } * */ public void setDurationType(Integer value) { this.durationType = value; } }
[ "klti@gft.com" ]
klti@gft.com
6bd5fda5530311785d9c222f22d8cecd4d6ca18f
28d38deb93bc3add008a8af9d61fe80cf9fed027
/app/src/main/java/com/ViktorDikov/BetrayalCharacterStats/Helpers/CastOptionsProvider.java
6afd74e4d045cd48ccc943bd94ddb5f1d3541ed3
[]
no_license
viktordd/BetrayalCharacterStats
b05ceea18503bd263deafe47d2c5950317dc2223
580f77de6e49779212e05c780d9ed27c23055bd3
refs/heads/master
2021-03-12T19:58:26.110824
2018-07-16T18:55:38
2018-07-16T18:55:38
17,736,279
3
0
null
null
null
null
UTF-8
Java
false
false
763
java
package com.ViktorDikov.BetrayalCharacterStats.Helpers; import android.content.Context; import com.google.android.gms.cast.framework.CastOptions; import com.google.android.gms.cast.framework.OptionsProvider; import com.google.android.gms.cast.framework.SessionProvider; import com.ViktorDikov.BetrayalCharacterStats.R; import java.util.List; public class CastOptionsProvider implements OptionsProvider { @Override public CastOptions getCastOptions(Context context) { return new CastOptions.Builder() .setReceiverApplicationId(context.getString(R.string.app_cast_id)) .build(); } @Override public List<SessionProvider> getAdditionalSessionProviders(Context context) { return null; } }
[ "viktordd@gmail.com" ]
viktordd@gmail.com
c9d257eefc957507d4ce23e2ff617026732a6ecf
595ac6227757e43d54beebe5719f8f272200fe79
/src/main/java/cu/edu/cujae/pweb/dto/CourseDto.java
afa7e5c4b6278d3860a9c00fdec563739e148ed0
[]
no_license
jveloa/school-frontend
ed873b19b1ee7d3d8e69a1de11e445d1b0c9af31
5457f099b85a658b9751abc0a486c8b2cb8b0b3b
refs/heads/master
2023-07-04T03:18:16.222812
2021-08-07T01:03:46
2021-08-07T01:03:46
373,737,704
1
1
null
null
null
null
UTF-8
Java
false
false
649
java
package cu.edu.cujae.pweb.dto; public class CourseDto { private int codCourse; private String course; public CourseDto() { } public CourseDto(int codCourse, String course) { this.codCourse = codCourse; this.course = course; } public CourseDto(int codCourse) { this.codCourse = codCourse; } public int getCodCourse() { return codCourse; } public void setCodCourse(int codCourse) { this.codCourse = codCourse; } public String getCourse() { return course; } public void setCourse(String course) { this.course = course; } }
[ "juniorvelo4@gmail.com" ]
juniorvelo4@gmail.com
30f09f0eb54e75567b8d0aaf6609dbde19d4b05f
3ee6106cafd33c7eee9ee343d4c2a5b03726933a
/src/main/java/kz/raissov/springProject/model/Booking.java
1b22889a228e91a378b24af4328c4afe7e069775
[]
no_license
raissov/java-ass-3
ea1d5079f87bb699ec9d6c6247eed36b276f6fef
48a5434bfd2510ef8b26a2653f950a2dc993b12a
refs/heads/main
2023-03-06T00:34:46.405942
2021-02-20T15:12:41
2021-02-20T15:12:41
340,683,456
0
0
null
null
null
null
UTF-8
Java
false
false
1,843
java
package kz.raissov.springProject.model; import javax.persistence.*; import java.util.Date; import java.util.HashSet; import java.util.Set; @Entity @Table(name = "books") public class Booking { private long bookingId; private long isbn; private String emailId; private String bookingStatus; private Date date; public Booking(long bookingId, long isbn, String emailId, String bookingStatus, Date date) { this.bookingId = bookingId; this.isbn = isbn; this.emailId = emailId; this.bookingStatus = bookingStatus; this.date = date; } public Booking() { } @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public long getBookingId(){ return bookingId; } public void setBookingId(long bookingId){ this.bookingId = bookingId; } @ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = "books", joinColumns = @JoinColumn(name = "isbn"), inverseJoinColumns = @JoinColumn(name = "isbn") ) private Set<Book> bookSet = new HashSet<>(); @Column(name = "isbn", nullable = false) public long getIsbn() { return isbn; } public void setIsbn(long isbn) { this.isbn = isbn; } @Column(name = "email_id") public String getEmailId() { return emailId; } public void setEmailId(String emailId) { this.emailId = emailId; } @Column(name = "bookingStatus", nullable = false) public String getBookingStatus() { return bookingStatus; } public void setBookingStatus(String bookingStatus) { this.bookingStatus = bookingStatus; } @Column(name = "date", nullable = false) public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } }
[ "brown.robert@bk.ru" ]
brown.robert@bk.ru
6d3e596a39e76da80e16c56d65c655a66e6f65bc
137f06bf2839b7dc3eff66eba0718621c8d259de
/src/main/java/com/epam/function/ParseCsvFn.java
f0a963dc0fa1be3d7d62e864a7d6382a6d7f91ed
[]
no_license
TarasDovganyuk/gcp-dataflow2
ceb9f33f6b1a0278d4d90279e16982a370d7232f
66b32471bbf0ba507e9d1578f561e0ece446af06
refs/heads/master
2023-05-23T23:39:42.724114
2021-06-25T13:47:07
2021-06-25T13:47:07
379,964,177
0
0
null
null
null
null
UTF-8
Java
false
false
732
java
package com.epam.function; import com.epam.entity.Csv; import com.google.gson.Gson; import lombok.extern.slf4j.Slf4j; import org.apache.beam.sdk.io.TextIO; import org.apache.beam.sdk.transforms.DoFn; import org.json.JSONObject; import org.yaml.snakeyaml.Yaml; import java.util.Arrays; import java.util.List; import java.util.Map; @Slf4j public class ParseCsvFn extends DoFn<String, /*Csv*/String> { @ProcessElement public void procesElement(@Element String element, OutputReceiver</*Csv*/String> receiver) { // log.info(String.format("Element: %s", element)); String[] words = element.split(","); // log.info(String.format("Words: %s", Arrays.toString(words))); receiver.output(element); } }
[ "taras_dovganyuk@epam.com" ]
taras_dovganyuk@epam.com
85b57464bf37bce9bde5ecf3d89ca29d325a840f
ca7beac354627fe0b62666c530d44df95fb6919e
/course work/tanya_server/src/main/java/com/example/project/entity/AccommodationType.java
41a10bfc1c043d3eed974f83a939b3953dbf89a5
[]
no_license
TatianaVolkovaa/FU_Java
6ce1158d578023c88d8cbff44a0039af4c618e9c
1ac7ae7871f4f84c24c22b649584736cd54f05ef
refs/heads/master
2023-05-26T14:51:24.344069
2021-06-09T16:50:56
2021-06-09T16:50:56
339,435,711
0
0
null
null
null
null
UTF-8
Java
false
false
858
java
package com.example.project.entity; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Data @NoArgsConstructor @Entity @Table(name = "accommodation_types") public class AccommodationType { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer accommodationTypeId; @Column(nullable = false) private String accommodationTypeName; public Integer getAccommodationTypeId() { return accommodationTypeId; } public void setAccommodationTypeId(Integer accommodationTypeId) { this.accommodationTypeId = accommodationTypeId; } public String getAccommodationTypeName() { return accommodationTypeName; } public void setAccommodationTypeName(String accommodationTypeName) { this.accommodationTypeName = accommodationTypeName; } }
[ "tvtatianavolkovatv@gmail.com" ]
tvtatianavolkovatv@gmail.com
b3de53cd4cfed741a1fb06a3e97854cc8dace0eb
0c95447c4f0bde172b93b497af9e21b8fc567a13
/src/main/java/no/smidig/test/testrepo/exceptions/CommentNotFoundException.java
816d378f18d829876edffe0394ed82adefeb1c6f
[]
no_license
TorgrimL91/smidig-stack-test
0cc86ec28a9fcdabfa98cf9d3e2f5786147a5aae
464b5236a7644a8710543c59123bdfc8d791f7bf
refs/heads/master
2022-01-19T16:36:58.167340
2019-07-22T00:56:53
2019-07-22T00:56:53
188,105,839
0
0
null
null
null
null
UTF-8
Java
false
false
345
java
package no.smidig.test.testrepo.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.BAD_REQUEST) public class CommentNotFoundException extends RuntimeException{ public CommentNotFoundException(String message){ super(message); } }
[ "31077044+alasal17@users.noreply.github.com" ]
31077044+alasal17@users.noreply.github.com
7c59ffee11d67906a37ee2895c0ab0834f528f94
fe2a46ea5c63cdfcd7f9cd11833d40dfa48b0657
/src/main/java/com/cloudcraftgaming/betterbroadcastplus/utils/FileManager.java
d9fcedec5683e19c418a8cbcecb9607d1bd33a9b
[]
no_license
NovaFox161/BetterBroadcast
945afa5c543b21d2a38a4aa200152b58fcb21865
5c6ac17bc57d4e13a63d9a252d604648cdf2f388
refs/heads/master
2021-01-19T01:23:21.755826
2016-07-10T01:39:07
2016-07-10T01:39:07
62,976,692
0
0
null
null
null
null
UTF-8
Java
false
false
2,384
java
package com.cloudcraftgaming.betterbroadcastplus.utils; import com.cloudcraftgaming.betterbroadcastplus.Main; import java.io.File; import java.util.List; /** * Created by Nova Fox on 5/29/2016. * Website: www.cloudcraftgaming.com * For Project: BetterBroadcast. */ public class FileManager { protected static double configVersion = 1.0; public static void createConfig() { File file = new File(Main.plugin.getDataFolder() + "/config.yml"); if (!file.exists()) { Main.plugin.getLogger().info("Generating config.yml..."); Main.plugin.getConfig().addDefault("DO NOT DELETE", "BetterBroadcastPlus is developed and managed by Shades161"); Main.plugin.getConfig().addDefault("Config Version", configVersion); Main.plugin.getConfig().addDefault("Check for Updates", true); Main.plugin.getConfig().addDefault("Console.Verbose", true); Main.plugin.getConfig().addDefault("Broadcast.Global.Prefix", "&1[BroadCast]"); Main.plugin.getConfig().addDefault("Broadcast.Global.Enabled", true); Main.plugin.getConfig().addDefault("Broadcast.Global.Delay", 180); Main.plugin.getConfig().addDefault("Broadcast.Global.Online-Only", true); List<String> globalBroadcasts = Main.plugin.getConfig().getStringList("Broadcasts.Global"); globalBroadcasts.add("This is a default broadcast."); globalBroadcasts.add("&4Configure your custom broadcasts in the config.yml"); Main.plugin.getConfig().set("Broadcasts.Global", globalBroadcasts); Main.plugin.getConfig().options().copyDefaults(true); Main.plugin.saveConfig(); Main.plugin.getConfig().options().copyDefaults(true); Main.plugin.saveConfig(); } } public static void checkFileVersions() { if (Main.plugin.getConfig().getDouble("Config Version") != configVersion) { Main.plugin.getLogger().severe("Config.yml outdated!! Plugin will not work until file is updated!"); Main.plugin.getLogger().severe("Please copy your settings, delete the config, and restart the server!"); Main.plugin.getLogger().severe("Disabling plugin to prevent further issues..."); Main.plugin.getServer().getPluginManager().disablePlugin(Main.plugin); } } }
[ "cloudcraftcontact@gmail.com" ]
cloudcraftcontact@gmail.com
a7dd76478bff5f75488c554395a7adb06f765fa2
9eb4fce36970b9947a490fba537114961478b278
/src/model/Empregado.java
26bf0a7080dd0d91875e3b528176142fb9f12e6a
[]
no_license
JonathanPO/jEmpresaWeb
bcbe0c238902f437a344b08a76388097612bfe51
df687aa2d7d6238109bde325898bbfe6979dc3b4
refs/heads/master
2020-08-10T08:56:41.728680
2019-10-11T00:32:02
2019-10-11T00:32:02
214,310,132
0
0
null
null
null
null
UTF-8
Java
false
false
2,507
java
package model; import java.util.Date; public class Empregado { private String nome; private String nomeDoMeio; private String sobrenome; private int codigo; private Date dtNascimento; private String endereco; private char sexo; private double salario; private Empregado gerente; private Departamento departamento; public Empregado(int codigo) { this.codigo = codigo; } public Empregado(String nome, String nomeDoMeio, String sobrenome, int codigo, Date dtNascimento, String endereco, char sexo, double salario, Empregado gerente, Departamento departamento) { this.nome = nome; this.nomeDoMeio = nomeDoMeio; this.sobrenome = sobrenome; this.codigo = codigo; this.dtNascimento = dtNascimento; this.endereco = endereco; this.sexo = sexo; this.salario = salario; this.gerente = gerente; this.departamento = departamento; } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getNomeDoMeio() { return nomeDoMeio; } public void setNomeDoMeio(String nomeDoMeio) { this.nomeDoMeio = nomeDoMeio; } public String getSobrenome() { return sobrenome; } public void setSobrenome(String sobrenome) { this.sobrenome = sobrenome; } public int getCodigo() { return codigo; } public void setCodigo(int codigo) { this.codigo = codigo; } public Date getDtNascimento() { return dtNascimento; } public void setDtNascimento(Date dtNascimento) { this.dtNascimento = dtNascimento; } public String getEndereco() { return endereco; } public void setEndereco(String endereco) { this.endereco = endereco; } public char getSexo() { return sexo; } public void setSexo(char sexo) { this.sexo = sexo; } public double getSalario() { return salario; } public void setSalario(double salario) { this.salario = salario; } public Empregado getGerente() { return gerente; } public void setGerente(Empregado gerente) { this.gerente = gerente; } public Departamento getDepartamento() { return departamento; } public void setDepartamento(Departamento departamento) { this.departamento = departamento; } }
[ "jonathanga2011@gmail.com" ]
jonathanga2011@gmail.com
43fc714df0767fc0aa776e3f61485af758c2b482
d4c6fdccee0d39df8b6a8411a57a33d1a52f230b
/project/src/main/java/org/developer/wwb/dao/impl/UserDaoImpl.java
84655c3c1dababc2eb5e1b40ba7fc7f55aea4952
[]
no_license
OnTrial/OnTrial
65fcc903169dbf43b88ccf680ba9ebb66d4df7bb
cd4f0207378ef52902b84585176a11807801dd31
refs/heads/master
2021-04-27T08:52:33.001469
2018-02-22T16:06:34
2018-02-22T16:06:34
122,501,224
0
0
null
null
null
null
UTF-8
Java
false
false
5,306
java
package org.developer.wwb.dao.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.persistence.Query; import org.apache.commons.lang3.StringUtils; import org.developer.wwb.core.exception.AppDaoException; import org.developer.wwb.dao.IUserDao; import org.developer.wwb.entity.User; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class UserDaoImpl extends GeneralDaoImpl implements IUserDao { private final Logger LOGGER = LoggerFactory.getLogger(UserDaoImpl.class); @Override public boolean isUserExisted(String userName) throws AppDaoException { try { Map<String, Object> params = new HashMap<String, Object>(); params.put("username", userName); long count = this.checkisExisted(User.class, params); return count > 0 ? true : false; } catch (Exception e) { LOGGER.error("Check username ({}) error {}", userName, e.getMessage()); throw new AppDaoException(e); } } @Override public boolean isEmailExisted(String email) throws AppDaoException { try { Map<String, Object> params = new HashMap<String, Object>(); params.put("email", email); long count = this.checkisExisted(User.class, params); return count > 0 ? true : false; } catch (Exception e) { LOGGER.error("Check email ({}) error {}", email, e.getMessage()); throw new AppDaoException(e); } } @Override public User getUserByName(String userName) throws AppDaoException { User user = null; try { Map<String, Object> params = new HashMap<String, Object>(); params.put("username", userName); user = (User) this.getEntity(User.class, params); } catch (Exception e) { LOGGER.error("Get User by userName ({}) error {}", userName, e.getMessage()); throw new AppDaoException(e); } return user; } @Override public User getUserByEmail(String email) throws AppDaoException { User user = null; try { Map<String, Object> params = new HashMap<String, Object>(); params.put("email", email); user = (User) this.getEntity(User.class, params); } catch (Exception e) { LOGGER.error("Get User by email ({}) error {}", email, e.getMessage()); throw new AppDaoException(e); } return user; } @SuppressWarnings("unchecked") @Override public List<User> getAllUserByParam(String keyword, String role, int pageNum, int pageSize, String orderby) throws AppDaoException { StringBuffer sql = new StringBuffer(); sql.append("select o from User o where 1=1 "); StringBuffer params = new StringBuffer(); if (keyword != null && !keyword.trim().equals("")) { params.append(" and username like '%"); params.append(keyword); // params.append("%' or nickName like '%"); // params.append(keyword); // params.append("%' or email like '%"); // params.append(keyword); params.append("%'"); } if (!StringUtils.isEmpty(role)) { params.append(" and userRole like '%").append(role).append("%' "); } sql.append(params); if (orderby != null && !orderby.trim().equals("")) { sql.append(" ORDER BY "); sql.append(orderby); sql.append("desc"); } Query query = em.createQuery(sql.toString(), User.class).setMaxResults(pageSize) .setFirstResult(pageNum * pageSize); List<User> entity = query.getResultList(); return entity; } @Override public long getAllUserCount(String keyword, String role) throws AppDaoException { StringBuffer sql = new StringBuffer(); sql.append("select count(id) from User o where 1=1 "); StringBuffer params = new StringBuffer(); if (keyword != null && !keyword.trim().equals("")) { params.append(" and username like '%"); params.append(keyword); // params.append("%' or nickName like '%"); // params.append(keyword); // params.append("%' or email like '%"); // params.append(keyword); params.append("%' and username !='admin' "); } if (!StringUtils.isEmpty(role)) { params.append(" and userRole like '%").append(role).append("%' "); } sql.append(params); Query query = em.createQuery(sql.toString()); Long count = (Long) query.getSingleResult(); return count; } @SuppressWarnings("unchecked") @Override public List<User> getUserByUserRole(String userFinanceRole) throws AppDaoException { StringBuffer sql = new StringBuffer(); sql.append("select o from User o "); StringBuffer params = new StringBuffer(); if (userFinanceRole != null && !userFinanceRole.trim().equals("")) { params.append(" where userRole like '%"); params.append(userFinanceRole); params.append("%'"); } sql.append(params); Query query = em.createQuery(sql.toString(), User.class); return query.getResultList(); } @SuppressWarnings("unchecked") @Override public List<User> getUsernamesByRole(String userRole) throws AppDaoException { StringBuffer sql = new StringBuffer(); sql.append("select o.username,o.nickName from User o where o.verified=1 and "); String[] roles = userRole.split(","); for (String role : roles) { sql.append(" userRole like '%").append(role).append("%' or "); } Query query = em.createQuery(sql.substring(0, sql.length() - 5)); return query.getResultList(); } }
[ "284350828@qq.com" ]
284350828@qq.com
e6f7b8a6b95504b3d8efdf7a6fcbb4dac46e1ee2
08ed0af3f17aab327decf676f366e3493078bf18
/OR/SeleniumLearner/src/classdemo/Upcasting.java
39276df378536201cf5afc0692f5fffcefea9fc9
[]
no_license
ajaykbiswal/seleniumtest3
61331282d2ee110e932c5e10879b869c98fe8cb3
30d2cc5d5d2a3031b131ce44ba84fb00dc2e650d
refs/heads/master
2022-01-12T10:14:34.044264
2019-07-21T06:18:33
2019-07-21T06:18:33
198,019,819
0
0
null
null
null
null
UTF-8
Java
false
false
208
java
package classdemo; public class Upcasting { public static void main(String[] args) { byte x=(byte) 170;//downcasting System.out.println(x); double z=10;//upcasting System.out.println(z); } }
[ "ajayb4@kpit.com" ]
ajayb4@kpit.com
ba2c6fed026f410c796da094a47d8a21585870f7
6c347158df1d94e6201a5d086d80b0818357d2e3
/src/main/java/com/notewitch/service/ProjectService.java
5211ebf5ac85a4f143ae568c7671b73cc9f429ee
[]
no_license
ardeneric/DB-Service
e8032df07ef76bb3e9dcd7429f78fc8dffafac73
9171c61a2669e37657472264583ccded62c18c22
refs/heads/master
2020-03-26T11:47:43.013026
2018-08-22T16:27:00
2018-08-22T16:27:00
144,860,164
0
0
null
null
null
null
UTF-8
Java
false
false
377
java
package com.notewitch.service; import java.util.stream.Stream; import com.notewitch.entity.Project; public interface ProjectService { public Project findById(String id); public Stream<Project> findByUser(String id); public Stream<Project> findByGroup(String id); public Stream<Project> findAll(); public Project save(Project project); public void delete(String id); }
[ "earden@IM-21-B1-005.local" ]
earden@IM-21-B1-005.local
788d5fa62bcc002b2dcb9dc46d4569589a8d86e2
194481161c72405fc172ede158422f8c90d1a6be
/src/com/company/Main.java
baba4c245bd04c1b016bef8c69f59fac4d3ad4f6
[]
no_license
jcjcarter/Daily-201-Practical-Java
58410b64ba170e4e5a34ad267ee383fa291c76d2
547e46a0ade89efa6e9c80f52e30d952c266d2b4
refs/heads/master
2021-01-10T08:54:41.242186
2015-10-19T18:48:38
2015-10-19T18:48:38
44,556,214
0
0
null
null
null
null
UTF-8
Java
false
false
3,029
java
package com.company; import java.util.ArrayList; public class Main { static enum option{A, B}; public static void main(String[] args){ PriorityQueue q = new PriorityQueue(); //Testing can be done here for(int i = 0; i < 10; i++){ q.enqueue((char)(i+60) + "0", (int)(Math.random()*50), (int)(Math.random()*50), i); } } static class PriorityQueue{ private static ArrayList<PriorityNode> list; public PriorityQueue(){ list = new ArrayList<PriorityNode>(); System.out.println("Created new PriorityQueue"); } public void enqueue(String str, int a, int b, int addOrder){ PriorityNode n = new PriorityNode(str, a, b, addOrder); list.add(n); } public String dequeueA(){ return dequeue(option.A); } public String dequeueB(){ return dequeue(option.B); } public String dequeue(option o){ ArrayList<PriorityNode> tempList = new ArrayList<PriorityNode>(); PriorityNode highest = null; for(PriorityNode n : list){ if(highest == null){ highest = n; } else{ if(o == option.A ? (n.getPriorityA() > highest.getPriorityA()):(n.getPriorityB() > highest.getPriorityB())){ highest = n; tempList.clear(); tempList.add(n); } else if(o == option.A ? (n.getPriorityA() == highest.getPriorityA()):(n.getPriorityB() == highest.getPriorityB())){ tempList.add(n); } } } if(tempList.size() == 1){ return tempList.get(0).getData(); } else{ int bestOrder = -1; highest = null; for(PriorityNode n : tempList){ if(n.getAddOrder() > bestOrder){ bestOrder = n.getAddOrder(); highest = n; } } return highest.getData(); } } public int count(){ return list.size(); } public void clear(){ list.clear(); } } private class PriorityNode{ private String data; private int priorityA; private int priorityB; private int addOrder; public PriorityNode(String str, int a, int b, int addOrder){ this.data = str; this.priorityA = a; this.priorityB = b; this.addOrder = addOrder; } public String getData() { return data; } public int getPriorityA() { return priorityA; } public int getPriorityB() { return priorityB; } public int getAddOrder() { return addOrder; } } }
[ "allstatetexan@hotmail.com" ]
allstatetexan@hotmail.com
d0766029015f3f2378881cd06343ff3520bb4aeb
9725e92fbd6502c5c4d6cd828e2fd73b63773c83
/appliweb/app/src/main/java/com/example/demo/Contact.java
c3fbf0e641e6150dec9a0a72ccca7c857b50d8dd
[]
no_license
waelfg/Appli-Web-et-Mobiles
a70be3f0afb2c6274749f324acf0dbfdb354d34a
ddb009e5407d3e1da254a9be983ee279c0d60f74
refs/heads/master
2023-01-03T06:20:00.654850
2020-10-29T15:47:11
2020-10-29T15:47:11
308,373,704
0
0
null
null
null
null
UTF-8
Java
false
false
139
java
package com.example.demo; public class Contact { private String num; public String getNum(){ return this.num; } }
[ "waelfg@outlook.com" ]
waelfg@outlook.com
0d2e80256b9a7402926f8f5e860dd19d23737c6c
9f23dd97e75a833824692e0ac60a9758029570ed
/CodingExercises/src/com/audang/Ex13_SumOdd.java
8845d763bfb46a8843453a98e6526ecc83d0dedf
[]
no_license
uhdang/JavaProgramming
43d4d9f2bf91c5e1d9b17b2917174b43b4583657
b0de9550f74f9944360197425469f42f2da2f9b1
refs/heads/master
2020-03-26T20:43:36.278469
2018-09-23T16:03:29
2018-09-23T16:03:29
145,341,931
0
0
null
null
null
null
UTF-8
Java
false
false
788
java
package com.audang; public class Ex13_SumOdd { public static void main(String[] args) { System.out.println(sumOdd(1, 100)); System.out.println(sumOdd(-1, 100)); System.out.println(sumOdd(100, 100)); System.out.println(sumOdd(100, -100)); System.out.println(sumOdd(100, 1000)); } public static boolean isOdd(int number) { if (number <= 0) { return false; } return number % 2 == 1; } public static int sumOdd(int start, int end) { if (start > end || start <= 0 || end <= 0) { return -1; } int sum = 0; for (int i = start; i <= end; i++) { if (isOdd(i)) { sum += i; } } return sum; } }
[ "uhdang@gmail.com" ]
uhdang@gmail.com
42a9164c4a70608282ac1a77b1f27b8cd46a9da7
0572ae15f8f95bc2c024d9972e352db7c6f0d423
/src/main/java/base/adapter/ext/IOuterUserBaseInfo.java
9587d4eb68a6d3b402143bdc073f46eb72a8cd62
[]
no_license
LiWenGu/awesome-designPatterns
05526fc4caaf2a409bbab63052679dca7ec0aacc
923f6200c7319f150f42f0f9234e275f457bde5c
refs/heads/master
2020-04-02T05:42:02.143798
2018-11-14T13:08:32
2018-11-14T13:08:32
154,098,643
1
0
null
null
null
null
UTF-8
Java
false
false
184
java
package base.adapter.ext; import java.util.Map; public interface IOuterUserBaseInfo { //基本信息,比如名称、性别、手机号码等 public Map getUserBaseInfo(); }
[ "liwenguang_dev@baletoo.com" ]
liwenguang_dev@baletoo.com
f10f266771aea2a5910c8562eb749c0fed954ae9
fc2e7a44240ce6760f3486cb76656b371a3bef16
/src/main/java/ca/gc/agr/mbb/itisproxy/entities/JurisdictionalOrigin.java
4664eaf560527672509bf4434efc3851d092aca5
[ "MIT" ]
permissive
AAFC-BICoE/ITISProxy
fc384616c65f6239869b3b4c54b8ec882085436e
04fb84a12a8b358abee1507ec8485896deea4197
refs/heads/master
2021-12-31T01:55:23.736620
2021-12-14T17:18:00
2021-12-14T17:18:00
11,081,775
0
0
null
null
null
null
UTF-8
Java
false
false
458
java
package ca.gc.agr.mbb.itisproxy.entities; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; public class JurisdictionalOrigin extends BaseClass{ @JsonProperty("jurisdictionValue") public String jurisdictionValue; @JsonProperty("origin") public String origin; @JsonProperty("updateDate") public String updateDate; public String toString(){ return jurisdictionValue + ":" + origin; } }
[ "glen.newton@gmail.com" ]
glen.newton@gmail.com
601cf74aa6c963ffd8b2e23a0f8eaf4ba560fd3f
0ac191b7650d48d86e9e191b3df6b34b2916bb2c
/SwapNodesInPairs.java
5a0091f5c064ccd9ced97ec19d6e2e064f26d413
[]
no_license
apriljdai/LL-Coding
bef97e23c7e72bed9ba91098b9dbc5e9bcc50639
eafcecfddc2b041f157680b5bdb3c149439df3ed
refs/heads/master
2016-09-06T01:18:51.354311
2015-03-17T23:32:24
2015-03-17T23:32:24
28,376,695
0
0
null
null
null
null
UTF-8
Java
false
false
1,138
java
/* Swap Nodes in Pairs Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes itself can be changed. */ /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { * val = x; * next = null; * } * } */ public class Solution { public ListNode swapPairs(ListNode head) { if(head == null|| head.next == null) return head; return swapTwoInteger(head); } public ListNode swapTwoInteger(ListNode node){ if(node == null|| node.next == null) return node; //in order to make the recursion ListNode next = node.next.next; //swap function ListNode temp = node; node = node.next; node.next = temp; //recursion node.next.next = swapTwoInteger(next); //return head return node; } }
[ "april.dai0415@gmail.com" ]
april.dai0415@gmail.com
aaa82aff40c3760b13cf962e9e8f866bd9dde910
c61714e7eebd33286fb110794b87328a104a1941
/src/main/java/com/beyondli/common/config/FeignContextConfiguration.java
5325fb5a3eff6cb64ccdefafd7ac6de25807d744
[]
no_license
beyondLi71/work-springcloud-feign-first
babc24433a319d35c9d9cb5b3429a030c79eb24d
85135de8c8a87e8d4eddefbe6c805638761d07e7
refs/heads/master
2021-04-09T12:54:00.273677
2018-03-29T01:48:11
2018-03-29T01:48:11
125,476,348
0
0
null
2018-03-29T01:48:11
2018-03-16T06:56:49
Java
UTF-8
Java
false
false
807
java
package com.beyondli.common.config; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.stereotype.Component; /** * @author beyondLi * @link https://github.com/spring-cloud/spring-cloud-netflix/issues/1952 * @desc 解决关闭容器时的异常Singleton bean creation. */ @Component public class FeignContextConfiguration implements BeanFactoryPostProcessor { @Override public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) { BeanDefinition bd = beanFactory.getBeanDefinition("feignContext"); bd.setDependsOn("eurekaServiceRegistry", "inetUtils"); } }
[ "liboyang@maxrocky.com" ]
liboyang@maxrocky.com
36f703d55ed02ae9b1579236d59cdc6a7f349cc7
966536f02133c797f1676e84fb24a1ca97b769c2
/Android/UdemyAndroid/WhatsappClone/app/src/androidTest/java/serio/tim/android/com/whatsappclone/ExampleInstrumentedTest.java
861122eeb01b7c582d51582c725ca98d9ddc80e9
[]
no_license
TimSerio32/online-classes
1bf2fecf9bf80fe5f5724f57805e75bd037d0397
db008428450825f91748a4f0731ce798d277eeec
refs/heads/master
2020-03-25T18:41:30.896799
2018-08-08T17:28:36
2018-08-08T17:28:36
144,044,498
0
0
null
null
null
null
UTF-8
Java
false
false
774
java
package serio.tim.android.com.whatsappclone; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android device. * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ @RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { @Test public void useAppContext() throws Exception { // Context of the app under test. Context appContext = InstrumentationRegistry.getTargetContext(); assertEquals("serio.tim.android.com.whatsappclone", appContext.getPackageName()); } }
[ "timserio32@gmail.com" ]
timserio32@gmail.com
860ea7dfe1a61071979ed0284715af171f7bb505
8a245dd5ba9701f523415cda3805bea6c60830e4
/src/org/greatfree/dsf/streaming/publisher/Publisher.java
5ccbbe867d18d1e1bc75927961187e77a3cbaf81
[]
no_license
ATM006/Programming-Clouds
93e762fff5fa12929fdc61abd2354924fd73abb0
569f30bdf9f8a956e47dcc4ae3514761520124eb
refs/heads/master
2022-12-21T06:48:32.171800
2020-09-14T12:55:50
2020-09-14T12:55:50
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,796
java
package org.greatfree.dsf.streaming.publisher; import java.io.IOException; import org.greatfree.client.CSClient; import org.greatfree.data.ClientConfig; import org.greatfree.dsf.multicast.MulticastConfig; import org.greatfree.dsf.multicast.message.PeerAddressRequest; import org.greatfree.dsf.multicast.message.PeerAddressResponse; import org.greatfree.dsf.p2p.RegistryConfig; import org.greatfree.dsf.streaming.StreamConfig; import org.greatfree.dsf.streaming.StreamData; import org.greatfree.dsf.streaming.message.AddStreamNotification; import org.greatfree.dsf.streaming.message.RemoveStreamNotification; import org.greatfree.dsf.streaming.message.StreamNotification; import org.greatfree.exceptions.RemoteReadException; import org.greatfree.util.IPAddress; import org.greatfree.util.Tools; // Created: 03/21/2020, Bing Li class Publisher { private CSClient client; private String publisherName; private IPAddress rootAddress; private IPAddress pubSubAddress; private Publisher() { } private static Publisher instance = new Publisher(); public static Publisher CLIENT() { if (instance == null) { instance = new Publisher(); return instance; } else { return instance; } } public void dispose() throws IOException, InterruptedException { this.client.dispose(); } public void init(String publisherName) throws ClassNotFoundException, RemoteReadException, IOException { this.client = new CSClient.CSClientBuilder() .freeClientPoolSize(RegistryConfig.CLIENT_POOL_SIZE) .clientIdleCheckDelay(RegistryConfig.SYNC_EVENTER_IDLE_CHECK_DELAY) .clientIdleCheckPeriod(RegistryConfig.SYNC_EVENTER_IDLE_CHECK_PERIOD) .clientMaxIdleTime(RegistryConfig.SYNC_EVENTER_MAX_IDLE_TIME) .asyncEventQueueSize(RegistryConfig.ASYNC_EVENT_QUEUE_SIZE) .asyncEventerSize(RegistryConfig.ASYNC_EVENTER_SIZE) .asyncEventingWaitTime(RegistryConfig.ASYNC_EVENTING_WAIT_TIME) .asyncEventerWaitTime(RegistryConfig.ASYNC_EVENTER_WAIT_TIME) .asyncEventerWaitRound(RegistryConfig.ASYNC_EVENTER_WAIT_ROUND) .asyncEventIdleCheckDelay(RegistryConfig.ASYNC_EVENT_IDLE_CHECK_DELAY) .asyncEventIdleCheckPeriod(RegistryConfig.ASYNC_EVENT_IDLE_CHECK_PERIOD) .schedulerPoolSize(RegistryConfig.SCHEDULER_THREAD_POOL_SIZE) .schedulerKeepAliveTime(RegistryConfig.SCHEDULER_THREAD_POOL_KEEP_ALIVE_TIME) .asyncSchedulerShutdownTimeout(ClientConfig.ASYNC_SCHEDULER_SHUTDOWN_TIMEOUT) .readerClientSize(RegistryConfig.READER_CLIENT_SIZE) .build(); this.publisherName = publisherName; PeerAddressResponse response = (PeerAddressResponse)this.client.read(RegistryConfig.PEER_REGISTRY_ADDRESS, RegistryConfig.PEER_REGISTRY_PORT, new PeerAddressRequest(Tools.getHash(MulticastConfig.CLUSTER_SERVER_ROOT_NAME))); this.rootAddress = response.getPeerAddress(); response = (PeerAddressResponse)this.client.read(RegistryConfig.PEER_REGISTRY_ADDRESS, RegistryConfig.PEER_REGISTRY_PORT, new PeerAddressRequest(Tools.getHash(StreamConfig.PUBSUB_SERVER_NAME))); this.pubSubAddress = response.getPeerAddress(); } public void addStream(String topic) throws IOException, InterruptedException { this.client.syncNotify(this.pubSubAddress.getIP(), this.pubSubAddress.getPort(), new AddStreamNotification(this.publisherName, topic)); } public void removeStream(String topic) throws IOException, InterruptedException { this.client.syncNotify(this.pubSubAddress.getIP(), this.pubSubAddress.getPort(), new RemoveStreamNotification(this.publisherName, topic)); } public void publishStream(String topic, String data) throws IOException, InterruptedException { this.client.syncNotify(this.rootAddress.getIP(), this.rootAddress.getPort(), new StreamNotification(new StreamData(this.publisherName, topic, data))); } }
[ "bing.li@asu.edu" ]
bing.li@asu.edu
62b0120ba14ae3be991799b66d768e2be21bee57
167c6226bc77c5daaedab007dfdad4377f588ef4
/java/ql/test/stubs/javafx-web/reactor/util/context/ContextView.java
548105a135514c2c561de948c91df7b36254872f
[ "MIT" ]
permissive
github/codeql
1eebb449a34f774db9e881b52cb8f7a1b1a53612
d109637e2d7ab3b819812eb960c05cb31d9d2168
refs/heads/main
2023-08-20T11:32:39.162059
2023-08-18T14:33:32
2023-08-18T14:33:32
143,040,428
5,987
1,363
MIT
2023-09-14T19:36:50
2018-07-31T16:35:51
CodeQL
UTF-8
Java
false
false
698
java
// Generated automatically from reactor.util.context.ContextView for testing purposes package reactor.util.context; import java.util.Map; import java.util.Optional; import java.util.function.BiConsumer; import java.util.stream.Stream; public interface ContextView { <T> T get(Object p0); Stream<Map.Entry<Object, Object>> stream(); boolean hasKey(Object p0); default <T> T get(java.lang.Class<T> p0){ return null; } default <T> T getOrDefault(Object p0, T p1){ return null; } default <T> java.util.Optional<T> getOrEmpty(Object p0){ return null; } default boolean isEmpty(){ return false; } default void forEach(BiConsumer<Object, Object> p0){} int size(); }
[ "kaeluka@github.com" ]
kaeluka@github.com