text stringlengths 10 2.72M |
|---|
package com.kadiraydemir.websocket;
import java.util.HashSet;
import java.util.Set;
import javax.websocket.Endpoint;
import javax.websocket.server.ServerApplicationConfig;
import javax.websocket.server.ServerEndpointConfig;
public class ServerApplicationConfigDemo implements ServerApplicationConfig {
@Override
p... |
package one.digitalInovation.dominio;
//>>Classe PAI abstrata não pode ser instanciada em outras
public abstract class Conteudo {
//>>Classe protected >>só os filhos podem acessar
protected static final double XP_PADRAO = 10.0;
private String titulo;
private String descricao;
//Criando um metodo abstrato T1:00... |
/**
* Created by Abuser on 5/2/2017.
*/
public class OsParser implements Parser {
@Override
public String parse(String line) {
String res = null;
if (line.toLowerCase().indexOf("windows") >= 0) {
res = "Windows";
} else if (line.toLowerCase().indexOf("mac") >= 0) {
... |
package br.com.missionsst.javacrud.domain.model;
import javax.persistence.*;
@Entity
public class Departamento {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long codDepartamento;
private String nomeDepartamento;
@ManyToOne
private Regiao codRegiao;
public Long getCodDepartamento() ... |
package com.metoo.modul.app.game.tree.tools;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.metoo.core.tools.CommUtil;
import com.metoo.foundation.domain.Addres... |
package org.spongepowered.asm.launch;
import net.minecraft.launchwrapper.ITweaker;
import net.minecraft.launchwrapper.LaunchClassLoader;
import org.spongepowered.asm.launch.platform.CommandLineOptions;
import java.io.File;
import java.util.List;
public class MyBootstrap implements ITweaker {
private String[] lau... |
package com.company;
public class Painting
{
public static void main(String[] args)
{
int length = 32;
int width = 40;
int height = 16;
int multi = (length*width) + (length*height*2) + (width*height*2) - (20*2) - (15*4);
System.out.println (multi);
int finale = m... |
package net.b07z.sepia.server.mesh.plugins;
import org.json.simple.JSONObject;
/**
* Holds a result created via {@link Plugin} execute.
*
* @author Florian Quirin
*
*/
public class PluginResult {
JSONObject resultJson;
public PluginResult(JSONObject result){
this.resultJson = result;
}
public JSONObj... |
package com.sl.web.category.vo;
public class WebCategoryVO {
private int cat_id;
private int member_id;
private String key_id;
private int sort;
private String crt_dt;
private String crt_email;
private String updt_dt;
private String updt_email;
public int getCat_id() {
return cat_id;
}
public void setCat_... |
package com.qst.servlet;
import com.qst.bean.Applicant;
import com.qst.bean.ResumeBasicInfo;
import com.qst.dao.ApplicantDAO;
import com.qst.dao.ResumeDAO;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
... |
package hu.fallen.popularmovies.database;
import android.net.Uri;
import android.provider.BaseColumns;
public class FavoriteMoviesContract {
private FavoriteMoviesContract() {}
static final String AUTHORITY = "hu.fallen.popularmovies";
public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + ... |
package com.cts.aopdemo.service;
public interface GreetService {
String greet(String userName);
}
|
package com.tianwotian.tools;
/**
* 生成6位随机数
*/
public class GenerateSixRandomNums {
public static int count;
public static int generateSixNums(){
count = (int) ((Math.random()*9+1)*100000);
return count;
}
}
|
package org.example.utility.common;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
public class DateUtil {
private static final DateUtil o = new DateUtil();
public DateUtil() {
}
public static DateUtil get() {
return o;
}
publi... |
package com.zantong.mobilecttx.utils.dialog;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.zantong.mobilecttx.R;
/**
* 自定义dialog
*
* @author Wanghy
*/
public class NetLocatio... |
package com.example.springboot.urlshortener.controller;
import java.io.IOException;
import java.util.logging.Logger;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.validator.routines.UrlValidator;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import ... |
package com.prestech.chitchat.service.imp;
import com.prestech.chitchat.service.AuthService;
public class AuthServiceImp implements AuthService {
}
|
package com.esrinea.dotGeo.tracking.model.component.sensorConfiguration.dao;
import java.util.List;
import org.apache.log4j.Logger;
import com.esrinea.dotGeo.tracking.model.common.dao.AbstractDAO;
import com.esrinea.dotGeo.tracking.model.component.sensorConfiguration.entity.SensorConfiguration;
public clas... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.sara.administracion.programadortareas;
import java.util.Calendar;
import java.util.Locale;
import java.util.Date;
import java.util.GregorianCalendar;
import com.davivienda.utilidades.conversion.Fecha;
import com.davivienda.sara.config.SaraConfig;
public... |
package com.chinasoft.dao;
import java.util.List;
import com.chinasoft.domain.Clothing;
import com.chinasoft.domain.Rkmx;
public interface RkmxDao extends BaseDao<Rkmx>{
List<Rkmx> findAllRkmxLists(Integer rkdId) throws Exception;
}
|
package com.dian.diabetes.activity.sugar;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Map;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.view.LayoutInflater;
import andr... |
/**
*
*/
package ethan.traffic;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* @since 2013-10-31
* @author ethan
* @version $Id$
*/
public class Road {
private String name;
private List<String> c... |
package com.xinhua.api.domain.xQczBean;
import com.apsaras.aps.increment.domain.AbstractIncRequest;
import java.io.Serializable;
/**
* Created by lirs_wb on 2015/8/25.
* 续期冲正 请求
*/
public class XuQCZRequest extends AbstractIncRequest implements Serializable {
private String bankDate;
private String transE... |
package view.insuranceSystemView.salesView.salesMan;
import java.awt.Color;
import java.awt.event.ActionListener;
import view.aConstant.InsuranceSystemViewConstant;
import view.component.BasicLabel;
import view.component.SeparateLine;
import view.component.button.LinkButton;
import view.component.button.SelectButton;... |
package edu.mum.sonet.models;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
@Data
@NoArgsConstructor
@Entity
public class UserNotificationJoin extends BaseEntity {
@ManyToOne
private User user;
@ManyToOne
private UserNotifi... |
package com.company;
public class Masinuta extends PistaMasini {
String brandMasina;
int nrUsi;
public Masinuta(int anAparitie, boolean calitate, String nume, String culoare, String tipMaterial, boolean copiiSubCinciAni, boolean instructiuniAsamblare, float dimensiune, boolean esteInTrend, String brandMas... |
package com.framgia.fsalon.data.model;
import com.framgia.fsalon.FSalonApplication;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;
import static com.framgia.fsalon.utils.Constant.DATE_FORMAT_MM_DD_YYYY;
import static com.framgia.fsalon.utils.Constant.DAY_OF_WEEK_FORMAT;
/**
... |
package com.jxtb.thread.run;
import com.core.exception.BdRuntimeException;
import com.jxtb.thread.RunThreadService;
import com.jxtb.thread.server.service.SyncTestService;
import com.util.ConfigurationHelper;
import org.apache.log4j.Logger;
import javax.annotation.Resource;
/**
* Created with IntelliJ IDEA.
* User:... |
package io.github.satr.aws.lambda.bookstore.strategies.intenthandler;
// Copyright © 2022, github.com/satr, MIT License
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import io.github.satr.aws.lambda.bookstore.constants.IntentSlotName;
import io.github.satr.aws.lambda.bookstore.constants.IntentSlotValue;
i... |
package com.example.gamedb.adapter;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.... |
/*
* 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 servidor;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import java.net.SocketTimeoutExcept... |
import java.util.ArrayList;
import java.util.HashMap;
public class GroceryItem {
private String name;
private int quantity;
private int category;
public ArrayList<GroceryItem> groceryList = new ArrayList<>();
public static void main(String[] args) {
HashMap<Integer, String> categories = ... |
package biz.dreamaker.workreport.security;
import biz.dreamaker.workreport.security.filters.FilterSkipMatcher;
import biz.dreamaker.workreport.security.filters.FormLoginFilter;
import biz.dreamaker.workreport.security.filters.JwtAuthenticationFilter;
import biz.dreamaker.workreport.security.handlers.FormLoginAuthentic... |
package com.metoo.foundation.domain;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.hiber... |
package test.gensee.com.joinroom;
import android.content.Context;
import com.gensee.callback.IRoomCallBack;
import com.gensee.callback.IVideoCallBack;
import com.gensee.common.ServiceType;
import com.gensee.entity.LiveInfo;
import com.gensee.room.RtSdk;
import com.gensee.routine.State;
import com.gensee.routine.UserI... |
package modelo.personajes;
import modelo.Personaje;
public abstract class EnemigoDeLaTierra extends Personaje {
protected boolean esGuerreroZ(){return false;};
protected boolean esEnemigoDeLaTierra(){return true;};
}
|
package com.example.suneel.musicapp.Utils;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.net.ConnectivityManager;
import android.support.v7.app.AlertDialog;
/**
* Created by suneel on 29/5/18.
*/
public class Utils {
public static boolean i... |
/*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the "License"). You may not use this file except
* in compliance with the License.
*
* You can obtain a copy of the license at
* https://jwsdp.dev.java.net/CDDLv1.0.html
* See the License for the sp... |
package com.test;
import com.zking.Entity.StudentEntity;
import com.zking.dao.StudentDao;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.List;
/**
*... |
/**
* Sencha GXT 3.0.1 - Sencha for GWT
* Copyright(c) 2007-2012, Sencha, Inc.
* licensing@sencha.com
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.examples.test.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.logical.shared.ResizeEvent;
import com.go... |
package com.drivetuningsh.service.user.impl;
import com.drivetuningsh.dto.UserRequestDto;
import com.drivetuningsh.entity.user.Role;
import com.drivetuningsh.entity.user.RoleEnum;
import com.drivetuningsh.entity.user.User;
import com.drivetuningsh.repository.user.RoleRepository;
import com.drivetuningsh.repository.us... |
package Library.serializers;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import Library.entities.Book;
import Library.entities.Employee;
import Library.entities.Library;
import com.google.gson.*;
import org.hibernate.Hibernate;
public class Li... |
package com.xiaole.mvc.model.checker.simpleChecker;
import net.sf.json.JSONObject;
import org.apache.log4j.Logger;
/**
* Created by llc on 17/3/24.
*/
public class XiaoleSimpleChecker implements CheckSimpleInterface {
private static final Logger logger = Logger.getLogger(XiaoleSimpleChecker.class);
@Overri... |
package com.stubborn.receievingsmsbybroadcast;
import android.Manifest;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.provider.Telephony;
import android.widget.Toast;
import java.util.ArrayList;
import... |
package com.git.cloud.resmgt.common.dao;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import com.git.cloud.common.dao.ICommonDAO;
import com.git.cloud.common.exception.RollbackableBizException;
import com.git.cloud.common.support.Pagination;
import com.git.cloud.common.support.P... |
package app;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.MarkerManager;
public class University {
static Logger logger = LogManager.getLogger(University.class);
public void doSomething(){
logger.info("qwert from university");
... |
// https://www.interviewbit.com/problems/least-common-ancestor/
// #tree #binary-tree
/**
* Definition for binary tree class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int
* x) { val = x; left=null; right=null; } }
*/
public class Solution {
public int lca(TreeNode A, int B, int C) {
// idea: ... |
package com.example.myapplication;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Im... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package avimarkmodmedcond;
import java.util.ArrayList;
/**
*
* @author jbaudens
*/
public class ClinicalComplaints {
private ArrayList<ClinicalComplaint> listOfClinicalComplaints;
private ArrayList<String> c... |
package gromcode.main.lesson30.homework30_1.dao;
import gromcode.main.lesson30.homework30_1.Customer;
import java.util.HashSet;
import java.util.Set;
public class CustomerDAO {
private static Set<Customer> customers = new HashSet<>();
public void setCustomers(Customer customer) {
customers.add(cust... |
package net.lantrack.framework.springplugin.view;
import org.springframework.oxm.xstream.XStreamMarshaller;
public class Marshaller extends XStreamMarshaller {
}
|
/*
* Copyright 2002-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package no.nav.vedtak.sikkerhet.kontekst;
public enum Groups {
SAKSBEHANDLER,
BESLUTTER,
OVERSTYRER,
OPPGAVESTYRER,
VEILEDER,
DRIFT
}
|
package Commands;
import java.io.Serializable;
import java.util.Scanner;
import collection.Collection;
import data.*;
import collection.loader.*;
/*
Краткая информация:
На сервер передается несколько пакетов:
1. Команда add
2. - 8. Элементы команды add
*/
public class addCommand implements Serializable {
priva... |
package com.midea.designmodel.factorypartern.simplefactory;
public interface Car {
public void getName();
}
|
package edu.neu.ccs.cs5010;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class CustomerTest {
private Address address;
private Customer customer;
@Before
public void setUp() throws Exception {
address = new Address("6649 N Blue Gum St", "New Orleans", "Orleans... |
/*
* 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 exceptionprograms;
public class NativeMethodCode {
public static native void printText();
static {
Syste... |
package com.example.authenticationservice.service;
import com.example.authenticationservice.domain.Product;
import com.example.authenticationservice.dto.ProductDto;
import com.example.authenticationservice.repositiory.ProductRepository;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annot... |
package net.leseonline.sundial;
import android.app.IntentService;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.content.pm.PackageManager;
import android.content.pm.Resol... |
package com.cinema.sys.service;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.alibaba.fastjson.JSONObject;
import com.cinema.sys.model.User;
import com.cinema.sys.model.base.TUser;
public interface UserService {
User getDetail(String id);
User getDetai... |
package com.xiaoxz.controller;
import com.alibaba.fastjson.JSON;
import com.github.pagehelper.PageInfo;
import com.xiaoxz.exception.MyExceptionHandler;
import com.xiaoxz.pjo.Result;
import com.xiaoxz.service.BookService;
import com.xiaoxz.utils.OrderInfoUtil2_0;
import com.xiaoxz.utils.PropertyLoad;
import com.xiaoxz.... |
package Service;
import model.RFID;
import utils.SqlHelper;
/**
* Created by RJzz on 2016/12/3.
*/
public class RFIDService {
//添加RFID设备
public boolean addRFID(RFID rfid) {
boolean isOK = false;
String sql = "insert into rfid values(?,?,?,?,?,?,?,?,?)";
String parameters[] = {
... |
package com.Radiabutton;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class Facebook_Radiobuttons_Test {
public static void main(String[] args) {
System.setP... |
/**
* This class is generated by jOOQ
*/
package schema.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Identity;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.... |
package com.demo.validator_demo.one;
import com.demo.validator_demo.BeanValidator;
import io.swagger.annotations.Api;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bi... |
package pl.basistam.beer;
import pl.basistam.beer.model.BeerExpert;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespo... |
package exercicios.desafios.uri;
import java.util.Locale;
import java.util.Scanner;
public class GastoCombustivel1017 {
public static void main(String[] args) {
Locale.setDefault(Locale.US);
Scanner sc = new Scanner(System.in);
int tempo = sc.nextInt();
int v... |
package com.movieapp.anti.movieapp.Models;
import java.io.Serializable;
/**
* Created by Anti on 2/18/2018.
*/
public class Cast implements Serializable {
String name;
String character;
String profile_path;
public String getCharacter() {
return character;
}
public void setCharac... |
package collections;
import java.util.*;
public class GenericCollection {
public static void main(String[] args) {
ArrayList<String> al = new ArrayList<String>();
// al.add(10);//error
al.add("xxx");
al.add("yyy");
al.add("zzz");
System.out.println(al);// [xxx,yyy,zzz]
for (String s : al)
System.out... |
package com.hello.suripu.service.pairing;
import com.hello.suripu.api.ble.SenseCommandProtos;
import com.hello.suripu.service.utils.RegistrationLogger;
public class PairingResult {
public final SenseCommandProtos.MorpheusCommand.Builder builder;
public final RegistrationLogger onboardingLogger;
public P... |
package com.jushu.video.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
*
* </p>
*
* @author che... |
package com.lenovohit.ssm.treat.manager.impl;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apa... |
/*
* 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 mbh.employee;
/**
*
* @author Benny.D
*/
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;
... |
/*
* Copyright © 2018 www.noark.xyz All Rights Reserved.
*
* 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 !
* 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件:
*
* http://www.noark.xyz/LICENSE
*
* 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播;
* 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本;
* 3.无论你对源代码做出任何修改和改进,版权都归Noark... |
package items;
import board.blockingobject.Player;
import board.square.Square;
import util.parameters.ItemUseParameter;
import util.parameters.PlayerEventParameter;
import util.parameters.StepOnParameter;
public class Teleporter extends Item {
private Square position;
private Teleporter destination;
/**
* Creat... |
package com.esum.wp.ims.restinfo.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.esum.appframework.service.IBaseService;
public interface IRestInfoService extends IBaseService {
Object insert(Object object);
Object update(Object object);
Objec... |
package br.com.raiox.controller;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.faces.context.FacesContex... |
package network.nerve.swap.storage;
import io.nuls.base.data.NulsHash;
import network.nerve.swap.model.po.FarmUserInfoPO;
/**
* @author Niels
*/
public interface FarmUserInfoStorageService {
FarmUserInfoPO save(int chainId,FarmUserInfoPO po);
boolean delete(int chainId,NulsHash farmHash, byte[] address);
... |
package orm.integ.test.entity;
import java.util.Date;
import orm.integ.dao.annotation.ForeignKey;
import orm.integ.dao.annotation.Table;
import orm.integ.eao.model.Entity;
@Table( name="tb_student")
public class Student extends Entity {
private String name;
private Integer sex;
private Date birthday;
@For... |
package com.example.adnan.reportcard;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
ListView listView;
ArrayList<students> list;
@Override
protected void onC... |
package com.example.onix_android;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
public class FullScreenNote extends AppCompatActivity {
TextView bigTitle, bigText, bigDate, bigTag;
@Override
protect... |
/*
* Copyright 2002-2023 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package br.com.cast.scc.dao;
import org.springframework.stereotype.Component;
import br.com.cast.scc.model.DominioTipoVeiculo;
@Component
public class DominioTipoVeiculoDAO extends DAOBase<DominioTipoVeiculo> {
}
|
/* ~~ The PreviewRow is part of BusinessProfit. ~~
*
* The BusinessProfit's classes and any part of the code
* cannot be copied/distributed without
* the permission of Sotiris Doudis
*
* Github - RiflemanSD - https://github.com/RiflemanSD
*
* Copyright © 2016 Sotiris Doudis | All rights reserved
... |
package cn.com.signheart.common.util;
import java.util.ArrayList;
import java.util.List;
public class TreeObject {
String icon;
String title;
String titleurl;
List<TreeObject> nodes = new ArrayList();
public TreeObject() {
}
public String getIcon() {
return this.icon;
}
... |
package user.com.foodexuserui;
import android.app.Activity;
import android.app.Notification;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.gra... |
/*
* Copyright 2014. AppDynamics LLC and its affiliates.
* All Rights Reserved.
* This is unpublished proprietary source code of AppDynamics LLC and its affiliates.
* The copyright notice above does not evidence any actual or intended publication of such source code.
*/
package com.appdynamics.monitors.iPlanet.be... |
package kr.ac.kopo.day17;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;
public class FileMain {
public static void main(String[] args) {
File fileObj = new File("iodata/a.txt");
String name = fileObj.getName();
String parent = fileObj.getParent();
String path = fileObj.getP... |
package com.gxtc.huchuan.ui.circle.findCircle;
import com.gxtc.commlibrary.BaseListPresenter;
import com.gxtc.commlibrary.BaseListUiView;
import com.gxtc.commlibrary.BasePresenter;
import com.gxtc.commlibrary.BaseUiView;
import com.gxtc.huchuan.bean.CircleBean;
import java.util.List;
/**
* 来自 伍玉南 的装逼小尾巴 on 17/5/5.
... |
package com.rev.dao.spring;
import com.rev.dao.GenericRepository;
import org.apache.log4j.Logger;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.an... |
package chatClient;
import chatClient.videoUI.VideoCallReceiver;
import chatClient.videoUI.VideoCallServer;
import chatServer.ServerWorker;
import dependencies.Listeners.LoginListener;
import dependencies.Listeners.MessageListener;
import dependencies.lib.Config;
import dependencies.lib.UserBean;
import des.K... |
package com.example.noteit.DAO;
import android.content.Context;
import com.example.noteit.Note;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
@Database(entities = {Note.class},version = 1) // adding schema dependency helps to create a json database file
public abstract ... |
package p05;
import java.util.Scanner;
public class ArrayExam2 {
public static void main(String[]args) {
Scanner s=new Scanner(System.in);
int x=s.nextInt();
int y=s.nextInt();
for(int i=1;i<=x;i++) {
for(int j=1;j<=y;j++) {
System.out.print(i+" * "+j+" = "+(i*j)+"||");
/*if(j<y) {... |
package logHandling;
import java.util.List;
public class PRElement {
public final long id;
public List<Long> physicalNodes;
public final String type;
public PRElement(long id, String type) {
this.id = id;
this.type = type;
}
public String getTypeId(){
return type+id;
... |
import java.util.ArrayList;
public class Hospital {
// Atributos
private ArrayList<Paciente> listaPacientes = new ArrayList<Paciente>();
private ArrayList<Medico> listaMedicos = new ArrayList<Medico>();
private ArrayList<Enfermeiro> listaEnfermeiros = new ArrayList<Enfermeiro>();
private ContaJuridica contaJ;
pr... |
package testing;
import static org.junit.Assert.*;
import org.junit.Test;
import obj.Action;
public class ActionTest extends GenericTest {
public Action action = new Action(10, "Boil", "Heat liquid at a medium temperature until it begins to bubble");
@Test
public void testConstructor() {
assertEquals(10, act... |
package com.novakivska.app.homework.homework3;
import com.novakivska.app.homework.homework3.TrainingMethods;
import org.junit.Assert;
import org.junit.Test;
/**
* Created by Tas_ka on 3/16/2017.
*/
public class TrainingMethodsTest {
int a = 30;
int b = 30;
TrainingMethods method = new TrainingMethods(... |
package com.lesports.albatross.adapter.community;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import com.facebook.drawee.view.SimpleDrawee... |
package fri1;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... |
package projectImplementation;
import java.time.LocalDate;
import java.time.LocalTime;
public class MiniStatement
{
String transcationType;
int transactionAmount;
LocalTime transactionTime;
double balance;
LocalDate transactionDate;
public MiniStatement(String transactionType, int transactionAmount, LocalTim... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.