text
stringlengths
10
2.72M
package com.gxtc.huchuan.ui.live.member; import com.gxtc.commlibrary.data.BaseRepository; import com.gxtc.huchuan.bean.ChatJoinBean; import com.gxtc.huchuan.bean.LiveRoomBean; import com.gxtc.huchuan.bean.SignUpMemberBean; import com.gxtc.huchuan.http.ApiCallBack; import com.gxtc.huchuan.http.ApiObserver; import com.g...
/* * @(#)ScormPreviewBean.java * * Copyright(c) 2006, Jin-pil Chung * All rights reserved. */ package com.ziaan.scorm2004; import java.sql.PreparedStatement; import java.util.ArrayList; import java.util.List; import java.util.Vector; import com.ziaan.library.ConfigSet; import com.ziaan.library.DataBox; import c...
package com.demo.jsf; import com.sun.faces.config.ConfigureListener; import com.sun.faces.config.FacesInitializer; import com.sun.faces.config.InitFacesContext; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.se...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hdfcraft; import java.io.IOException; import java.io.ObjectInputStream; import hdfcraft.minecraft.Material; /** * * @author pepijn */ public class GroundCoverLayer extends CustomLayer { public GroundCov...
package com.android.recommender.movie; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.android.recommender.HTTPTransfer; import com.android.recommender.model.Movie; import com.example.recommender.R; import android.app.A...
package com.fanfte.rpc.spring; import lombok.Data; /** * Created by tianen on 2018/11/8 * * @author fanfte * @date 2018/11/8 **/ @Data public class User { String id; private String name; private String email; private int age; }
package com.joalib.donate.action; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.joalib.DAO.DonateDAO; import com.joalib.DTO.ActionForward; import com.joalib.DTO.Donate_ApplicationDTO; public class DonateApplicationAddActio...
package com.orsegrups.splingvendas.model; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import java.io.Serializable; /** * Created by filipeamaralneis on 17/12/16. */ @DatabaseTable(tableName = "pedido_produto" ) public class PedidoProduto implements Serializable { ...
package life.zhangwq.community.community.dto; import lombok.Data; /** * Created by zhangwq on 2019/10/12. */ @Data public class GithubUser { private String name; private Long id; private String bio; // descriptin private String avatarUrl; }
package mine; public class test { public static void main(String[] args) { Mine mine = new Mine(); mine.createFan(); mine.createFan(); mine.createFan(); mine.createFan(); mine.createFan(); mine.startFan(0); mine.stopFan(0); mine.startFan(0); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Trivia; import java.awt.BorderLayout; import java.awt.Button; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; impo...
package com.zundrel.ollivanders.common.feature; import net.minecraft.block.sapling.LargeTreeSaplingGenerator; import net.minecraft.world.gen.feature.AbstractTreeFeature; import net.minecraft.world.gen.feature.DefaultFeatureConfig; import java.util.Random; public class RedwoodSaplingGenerator extends LargeTreeSapling...
package com.test; import com.test.base.ListNode; /** * Given a sorted linked list, delete all nodes that have duplicate numbers, * leaving only distinct numbers from the original list. * 给一个排序好的链表,删除所有重复的节点 * * Example 1: * Input: 1->2->3->3->4->4->5 * Output: 1->2->5 * * Example 2: * Input: 1->1->1->2->3...
package containers; import java.awt.Rectangle; import java.util.ArrayList; import java.util.HashMap; import com.rapplebob.ArmsAndArmorChampions.AAA_C; public class Container { public Rectangle conSurf = new Rectangle(0, 0, 0, 0); public String TITLE = ""; public String ID = ""; public int conSize = 20; public b...
package com.javalintest.backend.controllers; import com.javalintest.backend.config.Constants; import com.javalintest.backend.managers.UsersManager; import com.javalintest.backend.model.request.UserRequestModel; import com.javalintest.backend.model.response.Result; import com.javalintest.backend.model.response.UserExis...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package poker; /** * * @author skorp */ public class Move { public enum Type { SB, BB, FOLD, CHECK, CALL, RAISE } public Type type; public int value; public Move(Type type, int value) { this.type = type; ...
package com.manuvastra; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MotionEvent; import android.view.View; import android.widget.LinearLayout; import android.widget.ListView; import android.widge...
package com.pooyaco.gazelle.web.bundle; /** * Created by h.rostami on 2015/03/18. */ public class GazelleBundle_en extends GazelleResourceBundle<GazelleResources> { public GazelleBundle_en() { super(); } }
package ninja.pelirrojo.takibat.irc; import java.util.Formattable; import java.util.Formatter; public class Server extends User implements Formattable{ private final String name; public Server(String a){ super(a,a,a); name = a; } public String toString(){ return name; } public void formatTo(Formatter f, i...
/** * Tag class * @author Amy Guinto * @author Aziz Rahman */ package model; import java.io.Serializable; public class Tag implements Serializable { private String type; private String value; /** * Tag constructor initializes tag type-value pair * @param type * @param value */ public Tag(String type, ...
package com.spring.professional.exam.tutorial.module03.question04.jdbc.callback.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.spring.professional.exam.tutorial.module03.question04.jdbc.callback.dao.EmployeeDao; @Service public class ...
package com.oa.menu.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.ModelAtt...
package org.kevoree.registry.exception; /** * Created by leiko on 09/01/15. */ public class InvalidNamespaceException extends Exception { public InvalidNamespaceException(String message) { super(message); } }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.jearl.ejb.translatable; /** * * @author bamasyali */ public interface TranslatableInterface { String getValue(String field); void setValue(String field, String value); }
/* * Copyright 2002-2018 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 patterns.behavioral.state; public class GumballMachine { /** * 机器持有各个状态 */ private State hasQuarterState; private State noQuarterState; private State soldOutState; private State soldState; /** * 当前状态 */ private State currentState; ...
package com.edasaki.rpg.items; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; public abstract class RPGItem { public String identifier; public String name = null; public Material material = null; public String description = null; public boolean soulbound; public abstract...
package com.cninnovatel.ev.wxapi; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import com.cninnovatel.ev.App; import com.cninnovatel.ev.HexMeet; import com.cninnovatel.ev.R; import com.cninnovatel.ev.conf.ConferenceJoiner; import com.cninnovatel...
package de.example.simpleREST.model; import java.time.LocalDateTime; import java.util.List; import java.util.UUID; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.format.annotation.DateTimeFormat; public interface ProdOrderRe...
package Tools; import com.fazecast.jSerialComm.SerialPort; import java.util.Timer; public class Emulator { /** * Generate data over a parbola. * @return */ public static int[] xGens = new int[13]; public static void main(String args[]){ SerialPort[] ports = SerialPort.getCommPor...
package com.lfalch.korome; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; import com.lfalch.korome.packets.InvalidPacketException; import com.lfalch.korome.packets.Packet; import com.lfalch.korome.packets.PacketMethod; public class Server exte...
package pl.manufacturer.object.util; import java.util.Random; public class BasicTypeValueGeneratorUtil { private static Random random = new Random(); private BasicTypeValueGeneratorUtil() { // this should be empty } public static String generateString(int length) { int leftLimit = 9...
package homework3; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Student extends Person { public int sid = -1; private int noOfGrades = 0; private double[] grades = new double[100]; public static int noOfStudents = 0; public Student(String s, int id) { ...
/** * 此处是证书 */ package com.pansoft.xbrl.cloud;
package gov.nih.mipav.view.renderer.J3D.surfaceview.rfaview; import com.sun.j3d.utils.geometry.*; import com.sun.j3d.utils.picking.*; import java.awt.*; import javax.media.j3d.*; import javax.vecmath.*; /** * <p>Title: DefaultPorbe</p> * * <p>Description: The default probe is the cyan probe. This class builds...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * 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 ap...
package cn.sort.heapSort; /** * @Author: xiaoni * @Date: 2020/3/14 20:15 * * 堆排序(大顶堆、小顶堆)----C语言 - 蓝海人 - 博客园 https://www.cnblogs.com/lanhaicode/p/10546257.html * * 堆和普通树的区别 * 内存占用: * 普通树占用的内存空间比它们存储的数据要多。你必须为节点对象以及左/右子节点指针分配额外的内存。堆仅仅使用数组,且不使用指针 * (可以使用普通树来模拟堆,但空间浪费比较大,不太建议这么做) * * 平衡: * 二叉搜索树必须是“平衡”的情况下,其...
/* * Copyright 2019 WeBank * * 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 writi...
package boying.Interface; /* * 请求接口封装,根据传入city id组装不同的请求地址,进行请求,并返回结果数据 */ import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; public class getCityWeather { private String url = ""; ...
package jire.packet; import jire.network.Client; public class PacketBuildEvent extends PacketServiceEvent { public PacketBuildEvent(Client client, PacketService service, Packet packet, PacketRepresentation packetRepresentation) { super(client, service, packet, packetRepresentation); } }
import java.util.Scanner; public class BitwiseOperator { public static short countBits(int num) { short count = 0; if(num == 0) { return 0; } while(num != 0){ count += num & 1; num >>>= 1; } return count; } // Time Complexity i...
package model.bst; import java.lang.Math; import java.lang.IllegalArgumentException; /** * The TreeSet class creates a Set of any type * and arranges them in sorted order */ public class TreeSet<E extends Comparable<E>> implements Set<E> { protected TreeNode<E> root; protected int size; /** * C...
package com.GestiondesClub.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; @Entity @Table(name="TypeEvenement"...
package com.filestore.callable; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import java.util.concurrent.Callable; import org.codehaus.jettison.json.JSONObject; public class ReadCallable implements Callable<JSONObject> { private String key = null; private String storeLoc = null; publi...
package de.Schambes.Hangman; import java.util.ArrayList; import java.util.regex.Pattern; public class Word { private final String word; private final char[] letters; private char[] lettersHidden; private String wordHidden; private final int length; private ArrayList<Character> revealed; pub...
package com.prep.etc; public class Enumeration { enum Student{ A(5),B(10),C(25),D(50),E(100),F(200); private int value; private Student(int value){ this.value=value; } }; public static void main(String[] args){ System.out.println(Student.A.value); } }
package ru.job4j.merge; /** * Class Merge реализует слияние отсортированных массивов. * Использован алгоритм сортировки слиянием. * @author Goureev Ilya (mailto:ill-jah@yandex.ru) * @version 1 * @since 2017-04-13 */ public class Merge { /** * Сливает 2 массива в 1 c сортировкой значения по возрастанию. ...
package com.logicbig.example; public class MainScreenProperties { private int refreshRate; private int width; private int height; public int getRefreshRate() { return refreshRate; } public void setRefreshRate(int refreshRate) { this.refreshRate = refreshRate; } public...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.inbio.ara.persistence.format; import java.util.Calendar; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import...
package org.isc.certanalysis.repository; import org.isc.certanalysis.domain.Crl; import org.springframework.cache.annotation.Cacheable; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificati...
package com.natsu.springbootshirodemo.realm; import com.natsu.springbootshirodemo.pojo.User; import com.natsu.springbootshirodemo.service.PermissionService; import com.natsu.springbootshirodemo.service.RoleService; import com.natsu.springbootshirodemo.service.UserService; import java.util.Set; import org.apache.shiro....
public class Powerit { public int calc(int n, int k, int m) { long[] results = new long[n + 1]; long sum = 1; for(int i = 2; i < results.length; ++i) { if(results[i] == 0) { for(int j = i + i; j < results.length; j += i) { results[j] = i; ...
package com.git.cloud.resmgt.compute.model.po; import com.git.cloud.common.model.base.BaseBO; public class RmHostResPoolPo extends BaseBO implements java.io.Serializable{ /** * */ private static final long serialVersionUID = 3657155742087231181L; // Fields private String id; private Strin...
package com.darwinsys.bookmarkscp; import android.content.ContentProvider; import android.content.ContentValues; import android.database.AbstractCursor; import android.database.Cursor; import android.net.Uri; /** * A completely mock re-implementation of the BrowserBookmarks CP * that died back in API 23. * Not use...
package com.egreat.devicemanger; import java.security.Key; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; /** * 使用3DES加密与解密,可对byte[],String类型进行加密与解密 密文可使用String,byte[]存储. * */ public c...
package com.community.yuequ.modle; import java.util.List; /** * Created by Administrator on 2016/5/11. */ public class YQImageDao { /** * { "errorCode" : 200, "errorMessage" : "查询成功", "result" : [ { "id" : 7, "name" : "段子", "img_path" : "http://171.8.238.102:8081/yqfile", ...
package com.btress; import java.util.ArrayList; import java.util.List; import java.util.Stack; public class TreeDiameter { public static void main(String[] args) { BinaryTree bst = new BinaryTree(); BinaryTree tree1 = bst.createBinaryTree(); //System.out.println(diameter(tree1.root)); TreeDiameter td = ne...
package jp.ac.kyushu_u.csce.modeltool.explorer.explorer; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.viewers.ViewerComparator; import org.eclipse.jface.viewers.ViewerSorter; /** * リソースのソート順を規定するクラス ...
package com.tensquare.qa.test; import com.tensquare.qa.pojo.Problem; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class IPProjectTest { @RequestMapping("/retuser") public Problem returnProblem(){ re...
/* * Banco Davivienda 2008 * Proyecto Utilidades * Versión 1.0 */ package com.davivienda.utilidades.archivoxls; import java.util.ArrayList; import java.util.Collection; /** * Registro - 11/08/2008 * Descripción : Registro que comprende una líneaXLS * Versión : 1.0 * * @author jjvargas * Davivienda 2008 ...
package in.anandm.oj.repository; import in.anandm.oj.model.EvaluationResult; import in.anandm.oj.model.Solution; import java.util.List; import org.springframework.transaction.annotation.Transactional; public interface EvaluationResultRepository { @Transactional EvaluationResult saveEvaluationResult(Evaluat...
/** * */ package com.needii.dashboard.controller; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.anno...
package com.apon.taalmaatjes.frontend.transition; import com.apon.taalmaatjes.frontend.presentation.Screen; import javafx.fxml.FXMLLoader; import java.util.HashMap; import java.util.Map; public class FxmlLocation { private static FxmlLocation ourInstance = new FxmlLocation(); public static FxmlLocation getI...
package controlador; import javax.swing.JProgressBar; import modelo.Hotel; import modelo.Progreso; import vista.PConfiguracion; import vista.VIntroduccion; import vista.VFrame; import vista.VTabla; public class Controlador { private VFrame frame; private Hotel hotel; private boolean pause,stop; private Progreso...
package org.robotframework.formslibrary.chooser; import java.awt.Component; import org.netbeans.jemmy.ComponentChooser; import org.robotframework.formslibrary.util.ComponentType; /** * Chooser to select Oracle Forms components based on their type (class) and * index (occurrence). Hidden components are ign...
import java.util.Scanner; public class task5 { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("Введите число в бинарном формате: "); String binaryStr = in.nextLine(); int binaryNum = Integer.parseInt(binaryStr, 2); System.out....
/** * This class is generated by jOOQ */ package schema.tables.records; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Record1; import org.jooq.Record3; import org.jooq.Row3; import org.jooq.impl.UpdatableRecordImpl; import schema.tables.DjangoCommentClientPermissionRoles; /** * This...
package Game; import Player.Player; //So here is a basic concept for a game, where you'll be able to level a player //and use items to perform tasks. The example here shows I added one item to my bag public class Game { private Player player; public Game(String s) { player = new Player(s, "123"); ...
package com.gbros.springboot; import java.util.HashSet; import java.util.Set; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.web.bind.annotation.RequestMap...
package com.inovi.allerta.activity; import android.os.Bundle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.widget.Button; import com.inovi.allerta.R; public class APACPublicarActivity extends AppCompatAct...
package hwarang.artg.funding.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import hwarang.artg.common.model.CriteriaDTO; import hwarang.artg.funding.model.FundingReplyVO; import hwarang.artg.mapper.FundingRelpyMapper; imp...
package Servidor; import java.net.*; // Este paquete se encarga del manejo de los // DataStream y ObjectStream import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; public class Servidor { DataInputStream entrada;//Para leer comunicacion DataOutputStream salida;//Para enviar comu...
/* * 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 bbdd; import java.util.ArrayList; /** * * @author jesus */ interface BBDD { /** * Inicia la conexión con el servi...
package main; public class ex36 { public static void main(String[] args) { // TODO Auto-generated method stub int[] intArray = new int[] {8, 7, 9, 6, 2, 5, 3, 4}; double[] doubleArray = new double[intArray.length]; int[] intArray2 = new int[intArray.length]; double nr = 2.5; for(int i=0; i<...
/* * (C) Mississippi State University 2009 * * The WebTOP employs two licenses for its source code, based on the intended use. The core license for WebTOP applications is * a Creative Commons GNU General Public License as described in http://*creativecommons.org/licenses/GPL/2.0/. WebTOP libraries * and wapplets are ...
package io.github.selchapp.api.model; import javax.persistence.Column; import javax.persistence.Embeddable; import com.fasterxml.jackson.annotation.JsonIgnore; @Embeddable public class GPRSPosition { @Column(nullable = true) private double lat; @Column(nullable = true) private double lng; pub...
import javax.xml.stream.XMLStreamException; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Date; import java.util.*; /** * Class used in order to represent each time-frame for each trend. */ public class TimeFrame { Trend trend; //the trend its coming from Date startedTim...
public class LinkedList { private Object Obj; private LinkedList nextNode; public LinkedList(Object Obj,LinkedList nextNode) { this.Obj = Obj; this.nextNode = nextNode; } public LinkedList(Object Obj) { this(Obj,null); } public void show(){ System.out.println(Obj.getClass()); if (Obj instanceof V...
// https://www.youtube.com/watch?v=3JIwIRir2sM class Solution { public int makeConnected(int n, int[][] connections) { boolean visited[] = new boolean[n]; ArrayList<Integer>[] adj = new ArrayList[n]; for (int i = 0; i < adj.length; i++){ adj[i] = new ArrayList<Integer>()...
/* * Created on Mar 12, 2007 * * * Window - Preferences - Java - Code Style - Code Templates */ package com.citibank.ods.modules.product.aggrprodprvt.functionality.valueobject; /** * @author leonardo.nakada * * * Window - Preferences - Java - Code Style - Code Templates */ public class AggrPr...
package com.master.job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; @Component public class DemoJob implements BaseJob { private static Logger _log = LoggerFactory.getLogger...
package com.github.edgar615.cache.spring.caffeine; import com.github.benmanes.caffeine.cache.Caffeine; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.conditi...
package com.kg.python;//import org.gradle.tooling.BuildLauncher; //import org.gradle.tooling.GradleConnector; //import org.gradle.tooling.ProjectConnection; import com.echonest.api.v4.TrackAnalysis; import com.kg.wub.AudioObject; import com.kg.wub.system.SpotifyUtils; import org.json.simple.parser.ParseException; imp...
// jDownloader - Downloadmanager // Copyright (C) 2015 JD-Team support@jdownloader.org // // 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 3 of the License,...
package com.bucket.common.vo.base; import java.io.Serializable; import java.sql.Date; /** * 基础vo * @author user * */ public class BaseVo implements Serializable { private static final long serialVersionUID = 2395091349473170650L; private long id; private String creator; private Date createTime; private S...
package com.stocktrading.stockquote.repository; import com.stocktrading.stockquote.entity.Client; import com.stocktrading.stockquote.entity.PersistingBaseEntity; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.data...
package com.hfjy.framework.logging; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import com.hfjy.framework.init.Initial; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.classic.joran.JoranConfigurator; import ch.qos.logback.core.joran.spi.JoranException; public class Logge...
package com.example.cape_medics; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; import android.widget.EditText; import ...
package com.company.model; import com.company.storage.FilmStore; /** * Created by abalamanova on May, 2019 */ public class Film { public int id; public String name; public Type type; public Fee fee; public Status status; public Film(String name, Type type){ this.id = FilmStore.nex...
package com.qfc.yft.ui; import com.qfc.yft.YftData; import com.qfc.yft.YftValues; import com.qfc.yft.data.DataManager; import com.qfc.yft.entity.User; import com.qfc.yft.entity.listitem.LIIPeople; import com.qfc.yft.entity.listitem.LIIProduct; import com.qfc.yft.ui.current.CurrentPersonActivity; import com.qf...
package com.example.yuanbaodianfrontend.dao; import com.example.yuanbaodianfrontend.pojo.YbdGoodnews; import com.example.yuanbaodianfrontend.pojo.YbdPicture; import com.example.yuanbaodianfrontend.pojo.YbdUser; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.u...
package com.zc.base.sys.common.util; import java.util.HashMap; import java.util.Map; public class MyMap { public static Map<?, ?> quickInitMap(Object... args) { Map<Object, Object> map = new HashMap(); for (int i = 0; i < args.length; i += 2) { if (i + 1 < args.length) { ...
package com.cb.cbfunny.bean; import java.io.Serializable; import java.util.ArrayList; /** * Created by long on 2016/1/19. */ public class GzhkMenuList implements Serializable { private ArrayList<GzhkMenu> gzhkMenuList; private long lastUpdateTime; public long getLastUpdateTime() { return lastUp...
package rally; import java.util.HashMap; import org.springframework.stereotype.Component; public class Items { // ITEMNAME , ITEM private HashMap<String, Item> items; public Items(HashMap<String, Item> initItems) { this.items = initItems; } public HashMap<String, Item> getItems() { return items; } publ...
package application.apiInt; import application.domain.FanBlock; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; public interface Fan { FanBlock addFan(@RequestParam String name, @RequestParam String pasprortNumber); FanBlock selectFan(@RequestParam Long fanId); FanBlo...
package io.ceph.rgw.client; import io.ceph.rgw.client.action.ActionFuture; import io.ceph.rgw.client.action.ActionListener; import io.ceph.rgw.client.model.notification.SubscribeObjectRequest; import io.ceph.rgw.client.model.notification.SubscribeObjectResponse; /** * A client that provides <a href="https://docs.cep...
import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.Scanner; /** * Created by gmarson on 08/05/16. */ public class Matrix { public int matrixRow = 6; public int matrixCol = 5; public double matrixExpectedValue; /// eu to treinando pra ver qual numero. esse numero...
package de.hofuniversity.io.xml; import org.jdom2.Element; import de.hofuniversity.core.GeologicalCoordinates; import de.hofuniversity.core.Stadium; import de.hofuniversity.core.cache.TeamCache; /** * * @author Markus Exner * */ public class XMLStadiumReader { public XMLStadiumReader() {} ...
public class LogicalOperator { public static void main (String [] args) { /* remmember the table AND & is only when both oparands are have the operands are true. Inclusive OR | is only false if both operands are false Exclusive OR ^ is only true if the operands are different */ int f = 8...
package revolt.backend.service; import revolt.backend.dto.CountryDto; import java.util.List; public interface CountryService { List<CountryDto> getCountries(); CountryDto createCountry(CountryDto countryDto); CountryDto getCountry(Long id); CountryDto updateCountry(CountryDto countryDto, Long cou...