text
stringlengths
10
2.72M
class Solution { public String intToRoman(int num) { /* 1. example 2. data structure / algo Map each digit to Roman, use array 3. logic thousand: num / 1000 hundresds: 4800 - > num % 1000 = 800, 800 / 100 = 8 tens: 4810 -> num % 100 =...
package com.example.leosauvaget.channelmessaging.message; import android.content.Context; import android.content.Intent; import android.location.Location; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import com.example.leosauvaget.channelmessaging.R; import com...
/* * Copyright 2014, Stratio. * * 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 wri...
package cc.apoc.rccvm.qemu; import java.io.*; import java.net.Socket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class MonitorClient { private static final Logger logger = LoggerFactory.getLogger("rccvm.qemu"); private int port; private Socket socket; private BufferedReader inpu...
package com.root.mssm.List.List.suggestionlist; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class SearchCat { @SerializedName("cat_name") @Expose private String catName; @SerializedName("photo") @Expose private Object photo; @Seri...
/** * Copyright 2007 Jens Dietrich 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 writin...
package cn.edu.zucc.web.controller; import cn.edu.zucc.web.json.UpdateUserDataRequest; import cn.edu.zucc.web.json.UserPwdPojo; import cn.edu.zucc.web.security.PermissionSign; import cn.edu.zucc.web.security.RoleSign; import cn.edu.zucc.web.service.PhoneUIDService; import cn.edu.zucc.web.service.UserService; import or...
package util; public enum TipoLog { DEBUG, ERROR, FATAL, INFO, WARNING }
package epamlab; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.CountDownLatch; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantReadWriteLo...
package main.java.kashiish.autotext.autocorrect; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import main.java.kashiish.autotext.Lexicon; import main.java.kashiish.autotext.Tree; /** * BKTree data structure. * @author kashish * */ public class BKTree implements Tree { /* T...
package events; import java.lang.reflect.Method; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import fwk.ControllerFactory; import fwk.XMLMappingLoader; /** * Processing events from button of the view * * @author Yuliya */ public class EventHandler ...
/* * 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 com.jorgeivanmeza.oasimple.elements; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; /** * * ...
package com.github.vinja.util; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.util.UUID; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; public class SystemJob extends Thread { private int...
package Cargame; import java.util.*; import java.io.*; public class CarBL { public static void main(String [] args) { Scanner scanner = new Scanner(System.in); System.out.println("Press Enter to start"); String readString = scanner.nextLine(); while(readString!=null) { System.out.println(readString...
package com.tencent.mm.plugin.honey_pay.model; import com.tencent.mm.sdk.e.e; import com.tencent.mm.sdk.e.i; public final class b extends i<a> { public static final String[] diD = new String[]{i.a(a.dhO, "HoneyPayMsgRecord")}; private static final String[] eBa = new String[]{"*", "rowid"}; private e diF; ...
package com.erpambudi.moviecatalogue.ui.tvshow; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ProgressBar; import android.widget.Toast; import androidx.annotation.Nullable; import androidx.annotation.NonNull; import android...
package com.example.libroapp.ui.home; import android.content.res.Resources; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ListView; import androidx.annotation.NonNull; import androidx.frag...
package com.rofour.baseball.controller.model; import java.io.Serializable; /** * @ClassName: Ztree * @Description: ztree Model * @author ZhangLei * @date 2016年5月11日 下午7:24:11 * */ public class SimpleZtree implements Serializable { private static final long serialVersionUID = -1476850311068162763L; private S...
package com.zhonghuilv.shouyin.controller; import com.zhonghuilv.shouyin.common.BasicController; import com.zhonghuilv.shouyin.mapper.StockinDetailsMapper; import com.zhonghuilv.shouyin.pojo.OrderDetails; import com.zhonghuilv.shouyin.pojo.StockinDetails; import com.zhonghuilv.shouyin.result.ApiResult; import io.swagg...
package lesson5; import java.util.TreeMap; public class Main { public static void main(String[] args) { Movie movie1 = new Movie("The one living boy in new york", new Time(65, 200)); Movie movie2 = new Movie("The hunt", new Time(1, 40)); Movie movie3 = new Movie("The Call of the Wild", new...
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU...
/** * @author throwable * @version v1.0 * @description jsr-303 hibernate-validator implement * @since 2017/6/16 12:26 */ package org.throwable.validators;
package pl.cwanix.opensun.agentserver.packets.s2c.connection; import org.apache.commons.lang3.ArrayUtils; import pl.cwanix.opensun.agentserver.packets.AgentServerPacketOPCode; import pl.cwanix.opensun.model.character.CharacterModel; import pl.cwanix.opensun.agentserver.packets.structures.ClientCharacterPartPacket...
package ru.mmk.okpposad.server.dao; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Repos...
package com.rekoe.test.client; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelStateEvent; import org.jboss.netty.channel.SimpleChannelUpstreamHandler; import org.nutz.log.Log; import org.nutz.log.Logs; import com.rekoe.msg.BaseIoMessage; import com.rekoe.msg.cs.CS...
package extra_Practices; public abstract class home { String omr="Omer"; public home(String omr) { this.omr=omr; System.out.println("Hello from parent"+ omr); } static{ System.out.println("Static block in home"); } { System.out.println("Initilaztion block in home"); } public abstra...
package com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.builder; import com.thyssenkrupp.tks.fls.qf.server.qcs.receive.xml.EbenheitType; import java.io.StringWriter; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.namespace.QName; public class EbenheitTypeBuilder {...
package chc; /** used to test the bitmask during development of chc. */ public class TestBitMask { /** Constructed a new bit mask and then printed out the * size and the values of all the masks. The values should * correspond to those found in the MLJ-Options.file. */ public static void main(String...
/* * 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 pastesitessearch; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java...
package rhtn_homework; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class BOJ_7490_0만들기 { private static int N; private static StringBuilder sb = new StringBuilder(); public static void main(String[] args) throws IOException{ BufferedReader br = new Buff...
package model.persistence; import java.awt.Color; import java.awt.Graphics2D; import java.util.List; import model.interfaces.IShapeDraw; import model.shapes.Shape; public class ShapeDrawer implements IShapeDraw{ @Override public void drawAllShapes(Graphics2D graphics2d, List<Shape> shapeList) { for (Shape sha...
package com.anydecisions.controller.register; import java.sql.SQLException; import javax.naming.NamingException; import javax.servlet.http.HttpServletRequest; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; impo...
package com.mwj.bean; import java.util.Date; public class Employees { private Integer employeeId; private String empName; private String email; private String phoneNumber; private Date hireDate; private String jobId; private Integer salary; private Integer departmentId; pub...
package com.example.davidmacak.etzen; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.NotificationCompat; import android.support.v7.app.AppCompatActivity; import android.text.Html; import android.view.Gravity; import android.view.ViewGr...
package it.polimi.ingsw.GC_21.VIEW; import java.util.Scanner; import javax.naming.TimeLimitExceededException; import javax.net.ssl.SSLException; import javax.print.attribute.standard.Copies; import java.sql.Connection; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.concurr...
package SprESRepo; import org.elasticsearch.common.collect.Tuple; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by dekorate on 06/03/17. */ public class Graph { Map<Long, ProfileUser> userProfileMap; Map<Long, Message> messages; List<Tu...
package com.demo.total; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.Window; public class SplashScreen extends Activity { public class SplashView extends View { ...
/* * Copyright 2009 Kjetil Valstadsve * * 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 agre...
package com.family.model; import org.springframework.data.mongodb.core.mapping.Document; @Document public class Family { private String familyinitial; public String getFamilyinitial() { return familyinitial; } public void setFamilyinitial(String familyinitial) { this.familyinitial = fa...
/* * Copyright 2017 University of Michigan * * 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...
// ********************************************************************** // This file was generated by a TAF parser! // TAF version 3.2.1.6 by WSRD Tencent. // Generated from `/data/jcetool/taf//upload/opalli/pitu_meta_protocol.jce' // ********************************************************************** package NS_...
package net.asurovenko.netexam.ui.teacher_screen.exam_results; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.SimpleItemAnimator; import android.view.LayoutInfla...
/* * Copyright 2002-2016 the original author or 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 requi...
package com.example.myreadproject8.ui.adapter.booksource; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.example.myreadproject8.R; import com.example.myreadproject8.greendao.entity.Book; import com.example.myreadproject8.ui.adapter.holder.ViewHolderImpl; import c...
package com.elepy.annotations; import com.elepy.auth.Permissions; import com.elepy.handlers.DefaultDelete; import com.elepy.handlers.DeleteHandler; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * A...
package com.zhao.leetcode; //17.12 public class TreeToLinkList2 { public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(){} TreeNode(int x) { val = x; } TreeNode(int val, TreeNode left, TreeNode right) { this.val = val; this....
/** * */ /** * @author jinweizhang * */ public class LengthOfLastWord { /** * @param args * * Given a string s consists of upper/lower-case alphabets and empty * space characters ' ', return the length of last word in the * string. * * If the last wor...
package dao; import java.util.ArrayList; import entity.Order; import exception.DAOException; public interface IOrderDAO { public ArrayList<Order> queryAll() throws DAOException; public Order queryById(int orderId) throws DAOException; public void insert(Order order) throws DAOException; public void update(Orde...
package com.example.appBack.Tablas.Student.application; import com.example.appBack.Tablas.Student.application.port.CreateStudentPort; import com.example.appBack.Tablas.Student.domain.Student; import com.example.appBack.Tablas.Student.infrastructure.repositorio.port.SaveCreateStudentPort; import lombok.AllArgsConstruct...
package com.takshine.wxcrm.base.util; import java.util.Random; import java.util.UUID; import org.neo4j.cypher.internal.compiler.v2_1.docbuilders.internalDocBuilder; public class Get32Primarykey { /*** * 随机产生32位16进制字符串 * @return */ public static String getRandom32PK(){ return UUID.randomUUID().toString()....
/* * 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 SCBGerenciamento; import java.sql.*; import java.util.ArrayList; /** * * @author silvi */ public class Conta...
import java.util.Scanner; import java.io.*; public class Over_avg{ public static int average(int[] arr){ int avg=0; int count=0; for(int i=0;i<arr.length;i++){ avg=avg+arr[i]; count++; } avg=avg/count; return avg; } public static double average(double[] arr){ double avg=0.0; double count=0.0; for(int i=0;i<arr.length;i...
package com.behzad.spring5webapp.model; import javax.persistence.*; import java.util.HashSet; import java.util.Set; @Entity public class Guid { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String guidDescription; @OneToMany(cascade = CascadeType.ALL , mappedBy =...
package graphics; import listeners.DownButtonListener; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; /** * Created by Brian on 16/3/24. */ public clas...
package com.tencent.tencentmap.mapsdk.a; import com.qq.jutil.string.StringUtil; import java.util.ArrayList; public class al { String a; int b; int c; int d; int e; ay f; int g; public au h; int i; int j; boolean k; long l; String m; String n; String o; S...
package eu.lsem.bakalarka.filetypeprocess.archives; import java.io.File; import java.io.IOException; public interface ArchiveDecompressor { public void unpackFiles(File archive, File path) throws IOException; }
package com.tencent.mm.plugin.exdevice.model; import android.os.Looper; import com.tencent.mm.model.au; import com.tencent.mm.plugin.exdevice.h.a; import com.tencent.mm.plugin.exdevice.j.b; import com.tencent.mm.plugin.exdevice.service.c; import com.tencent.mm.plugin.exdevice.service.f$a; import com.tencent.mm.plugin....
package au.com.pactera.sampledownloader.adapters; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Matrix; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.w...
package com.template.data.local.preferences; public interface PreferencesHelper { String getAccessToken(); void setAccessToken(String accessToken); }
package com.example.osiris.testapp; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.google.firebase.auth.Fi...
package com.enat.sharemanagement.security.role; import com.enat.sharemanagement.security.privilage.Privilege; import com.enat.sharemanagement.utils.Auditable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.enat.sharemanagement.security.user.User; import lombok.Data; import org.springframewor...
package org.skunion.smallru8.util; public class RegularExpression { public static boolean isDigitOnly(String str) { return str.matches("[0-9]*"); } public static boolean isUpperOnly(String str) { return str.matches("[A-Z]*"); } public static boolean isLowerOnly(String str) { return str.matches("[a-z]*"...
package risk.game.strategy; import java.io.Serializable; import java.util.HashMap; import java.util.LinkedList; import java.util.Random; import risk.game.Cards; import risk.game.Player; import risk.game.Territory; /** * An Aggressive Strategy that implements strategy and serializable operation */ public class Aggre...
package VSMSerialization; import java.io.Serializable; import no.uib.cipr.matrix.DenseVector; public class VSMWordEmbeddingSyn implements Serializable { /** * */ private static final long serialVersionUID = 4497064505074068848L; private DenseVector wordEmbeddingSyn; public DenseVector getWordEmbeddingS...
package cn.itsite.abase.mvvm.view.base; import android.app.Dialog; import android.os.Bundle; import android.view.View; import androidx.annotation.CallSuper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.lifecycle.ViewModelProviders; import com.gyf.barlibrary.ImmersionBar; ...
/** * */ package org.ashah.sbcloudpayrollservice; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * @author avish * */ @Repository public interface EmployeePayrollRepository extends JpaRepository<EmployeePayroll, Long> { }
package com.lingnet.vocs.service.monit; import java.util.List; import com.lingnet.common.service.BaseService; import com.lingnet.util.Pager; import com.lingnet.vocs.entity.Annals; public interface AnnalsService extends BaseService<Annals, String> { public String getTemperatureData(Pager pager, Stri...
package com.accp.dong.vo; import java.util.List; import com.accp.pub.pojo.Grade; import com.accp.pub.pojo.Studentinfo; public class GradeorganizationuserVo { private Grade grade; private String graderName; private String banzhuren; private String jiaoyuan; private Integer stucount; private String zengban...
package io.github.wickhamwei.wessential.eventlistener; import io.github.wickhamwei.wessential.WEssentialMain; import org.bukkit.GameRule; import org.bukkit.World; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.world.WorldInitEvent; public class KeepInventoryListener im...
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
package com.company.phoneNum; public class Main { public static void main(String[] args) { Main main = new Main(); String phoneNum = "027778888"; System.out.println(main.solution(phoneNum)); } public String solution(String phone_number) { StringBuilder sb = new StringBuilde...
package com.shopping.li.shopping.Fragment.Mall; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import android.widget.Toast; import com.shopping.li.shopping.Ad...
/* * LumaQQ - Java QQ Client * * Copyright (C) 2004 luma <stubma@163.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any lat...
package alg; import impl.BasicHashSet; import impl.HeapPriorityQueue; import adt.PriorityQueue; import adt.Set; import adt.WeightedGraph; import adt.WeightedGraph.WeightedEdge; /** * PrimMinSpanTree * * Implementation of Prim's algorithm for computing * the minimum spanning tree of a graph. * * @author Thomas...
package com.stem.service; import com.stem.core.interfaces.BasicService; import com.stem.entity.WxMenu; import com.stem.entity.WxMenuExample; public interface WxMenuService extends BasicService<WxMenuExample, WxMenu> { }
package com.basis.cg.xtarefas.repository; import com.basis.cg.xtarefas.domain.Tarefa; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import org.springframework.stereotype.Repository; import jav...
package test.down; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; ...
package edu.byu.cs.tweeter.model.service; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import java.io.IOException; import edu.byu.cs.tweeter.model.domain.User; import edu.byu.cs.tweeter.model.net.ServerFacade; import ...
/* * Copyright 2019 iserge. * * 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 w...
package com.cnk.travelogix.jalo; import com.cnk.travelogix.constants.PaymentgatewaysConstants; import de.hybris.platform.jalo.JaloSession; import de.hybris.platform.jalo.extension.ExtensionManager; import org.apache.log4j.Logger; @SuppressWarnings("PMD") public class PaymentgatewaysManager extends GeneratedPaymentgat...
package io.swagger.client.api; import io.swagger.client.ApiException; import io.swagger.client.ApiClient; import io.swagger.client.Configuration; import io.swagger.client.model.*; import java.util.*; import io.swagger.client.model.FundingSourceListResponse; import io.swagger.client.model.FundingSource; import io.sw...
package com.diwakar.theater.exception; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.NOT_FOUND) public class TheaterNotFoundException extends RuntimeException { public TheaterNotFoundException(String message) { super(message); ...
package com.aplicacion.guiaplayasgalicia.utils; import java.util.List; import android.content.Context; import android.location.Location; import android.location.LocationManager; public class MapUtils { /** * Method that retrieves the last current location * @param context * @return Location object with the l...
import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.*; public class QuestionWindow extends JFrame { /** * */ private static final long serialVersionUID = 38476236516135752L; private JTextField entry; priva...
package edu.sit.bancodedados.conexao; public enum EErrosConexao { ABRE_CONEXAO ("Erro de Conexão: Não foi possível estabelecer conexão com o Banco de Dados."), FECHA_CONEXAO ("Erro de Conexão: Não foi possível fechar a conexão com o Banco de Dados."); private String mensagem; public String getMensagem() { ret...
package test; import static org.junit.Assert.*; import model.HeroDTO; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import dao.DAOException; import dao.mysql.HeroDAOImpl; public class TestHeroDAOImpl { private ...
package com.romariogrohmann.sistemagestaodevisitas; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class login extends AppCompatActivity { private Button btAcessar; @Override prote...
package modeltests; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.net.MalformedURLException; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import server.httprequest.HttpRequester; import utilities.Users; public class UsersTest { static H...
package de.dhbw.studientag.model; import android.os.Parcel; import android.os.Parcelable; /** * represents a comment / notes for a company * */ public class Comment implements Parcelable { private long id; private Company company; private String fullMessage; public Comment(long id, Company company, String me...
package com.tencent.mm.plugin.appbrand.jsapi.file; public final class r extends b<ao> { private static final int CTRL_INDEX = -1; private static final String NAME = "isdir"; public r() { super(new ao()); } }
package view.menuutil; import descriptionfiles.DescSection; import descriptionfiles.Description; import descriptionfiles.DescriptionFiles; import graphana.model.HelpSystem; import graphana.operationsystem.Operation; import view.argumentcomponents.ArgumentComponentManager; import view.argumentcomponents.Argumen...
package jpa.project.repository.board; import jpa.project.model.dto.board.BoardDto; import jpa.project.repository.search.BoardSearch; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Repository; @Repository public interface BoardReposi...
package interfaz; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.ArrayList; import java.util.List; import javax.swing.ImageIcon; import ...
package com.chris.projects.fx.ftp.fix; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import quickfix.*; public class FixSessionConnector implements SessionConnector { private static final Logger LOG = LoggerFactory.getLogger(FixSessionConnector.class); private Connector connector; private FixC...
package com.buckstracksui.widget; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.LinearLayout; import com.buckstracksui.R; /** * Created by carmelo.iriti on 30/03/2015. */ public class FeedLayout extends LinearLayout { public FeedLay...
import org.javacord.api.DiscordApi; import org.javacord.api.DiscordApiBuilder; import org.javacord.api.util.logging.ExceptionLogger; public class Main { public static void main(String[] args) { DiscordApi api = new DiscordApiBuilder().setToken(args[0]). login().exceptionally(Exceptio...
package Model.Set; import org.junit.Test; import java.util.HashSet; import java.util.stream.Collectors; import java.util.stream.Stream; import static org.junit.Assert.*; /** * Classe de test de SetStack */ public class SetStackTest { private final SetStack stack = SetStack.generate(); /** * Test de...
package com.zstu.util; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Iterator; import java.util.Map; public class...
package cn.yami.wechat.demo.dao; import cn.yami.wechat.demo.dto.OrderInfo; import cn.yami.wechat.demo.dto.SpikeOrder; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Component; @Mapper @Component public interface OrderDao { @Select("select * from spike_order where user_id = #{userId...
package com.xj.base.service; import com.xj.base.entity.Student; import com.xj.base.entity.User; import com.xj.base.service.support.IBaseService; /** * <p> * 人员服务类 * </p> * * @author xj * @since 2020-02-28 */ public interface IStudentService extends IBaseService<Student, Integer>{ /** * 根据用户名查找用户 * @param...