text stringlengths 10 2.72M |
|---|
package jie.android.ip.screen.menu;
import java.util.ArrayList;
import aurelienribon.tweenengine.BaseTween;
import aurelienribon.tweenengine.Timeline;
import aurelienribon.tweenengine.Tween;
import aurelienribon.tweenengine.TweenCallback;
import aurelienribon.tweenengine.TweenManager;
import com.badlogic.gdx.graphics... |
package tilePack;
import org.newdawn.slick.Image;
public class BackgroundTile extends Tile{
public BackgroundTile(String name, Image img) {
super(name, img);
this.setTag("background");
// TODO Auto-generated constructor stub
}
}
|
package thuc_hanh.Comparator;
import java.util.Comparator;
public class SquareComparator implements Comparator<Square> {
@Override
public int compare(Square r1, Square r2) {
if (r1.getSide() > r2.getSide()) return 1;
if (r1.getSide() < r2.getSide()) return -1;
return 0;
}
}
|
package il.co.xsites.developertest.pizza;
import il.co.xsites.developertest.base.BaseDaoImpl;
import il.co.xsites.developertest.pizza.model.PizzaMenu;
import org.hibernate.Criteria;
import org.hibernate.criterion.MatchMode;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repos... |
package com.emily.framework.autoconfigure.threadpool;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @program: spring-parent
* @description: 异步线程池配置文件
* @create: 2020/08/21
*/
@ConfigurationProperties(prefix = "spring.emily.async-thread-pool")
public class AsyncThreadPoolPropert... |
package controllers;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import models.User;
import utils.EmailSender;
public cla... |
package com.doronin.mvc.security;
import com.doronin.mvc.service.security.LoginDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.BadCredentialsException;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToke... |
package com.ibm.jikesbt;
/*
* Licensed Material - Property of IBM
* (C) Copyright IBM Corp. 1998, 2003
* All rights reserved
*/
/**
Represents an instruction that manipulates doubles:
opc_dadd,
opc_dsub,
opc_dmul,
opc_ddiv,
opc_drem, or
opc_dneg.
Typically created by one of the {@link ... |
package com.prashanth.sunvalley.domain;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
@Getter
@Setter
@Entity
public class Fee {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long ... |
package com.example.proiectdam_serbansorinaalexandra.Data;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.example.proiectdam_serbansorinaalexandra.R;
import java... |
package com.hnam.androiddagger.chat;
import android.util.Log;
import com.hnam.androiddagger.di.ChatComponent.ChatScope;
import com.hnam.androiddagger.main.MainContract;
import javax.inject.Inject;
/**
* Created by nampham on 12/23/18.
*/
@ChatScope
public class ChatPresenterImpl implements ChatContract.Presenter ... |
package com.ifisolution.cmsmanagerment.controller;
import java.util.List;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.ann... |
package MobileAutomationPrerequisite.desktop.get_property;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class DeliveredOrderedSetProperty {
private Properties prop = new Properties();
private void fileInputStream() throws IO... |
package com.example.goroshigeno.lab10;
import android.Manifest;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Geocoder;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
... |
package com.data.rhis2;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.location.Location;
import android.os.Bundle;
import android.text.Html;
import androi... |
package com.javakc.ssm.modules.booklistOut.entity;
/**
* @ClassName BooklistOutEntity
* @Description TODO
* @Author Administrator
* @Date 2020/3/21 11:56
* @Version 1.0
**/
public class BooklistOutEntity {
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.tencent.mm.plugin.appbrand.dynamic.j;
import android.os.Bundle;
import com.samsung.android.sdk.look.airbutton.SlookAirButtonFrequentContactAdapter;
import com.tencent.mm.ab.w;
import com.tencent.mm.ipcinvoker.i;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.appbrand.appcache.WxaPkgWrappingIn... |
package com.shubh.javaworld;
import java.util.HashMap;
import java.util.Map;
public class BinaryTreeFromInOrderAndPreOrder {
private int preOrderIndex;
public TreeNode buildTree2(int[] preorder, int[] inorder) {
preOrderIndex = 0;
Map<Integer, Integer> inOrderMap = new HashMap<Integer, Integer>();
for (int i... |
package com.lingnet.vocs.dao.sewage;
import com.lingnet.common.dao.BaseDao;
import com.lingnet.vocs.entity.SewagePermit;
public interface SewagePermitDao extends BaseDao<SewagePermit, String>{
}
|
package com.xhpower.qianmeng.dao;
import com.xhpower.qianmeng.entity.Category;
import com.baomidou.mybatisplus.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author xc
* @since 2018-07-27
*/
public interface CategoryMapper extends BaseMapper<Category> {
}
|
package com.wellhope.dubboproductservice;
import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
@EnableDubbo
... |
/*
* [y] hybris Platform
*
* Copyright (c) 2000-2016 SAP SE
* All rights reserved.
*
* This software is the confidential and proprietary information of SAP Hybris ("Confidential Information"). You shall not disclose such
* Confidential Information and shall use it only in accordance with the terms of the license... |
package edu.htu.ap.lesson21.arraylist;
import java.util.ArrayList;
import java.util.Random;
public class ArrayListTest1 {
public static void main(String[] args) {
// ArrayList: dynamic array that could be expanded and shrinking dynamically
// <>: is called generics to inforce the list to be of specific type
//... |
package customer.gajamove.com.gajamove_customer.utils;
import android.content.Context;
import android.content.SharedPreferences;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import java.util.ArrayList;
import customer.gajamove.com.gajamove_customer... |
package org.browsexml.timesheetjob.web;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.validation.Errors;
import org.springframework.validation.FieldError;
import org.springframework.validation.ObjectError;
public class MyErrors ... |
package io.github.gronnmann.coinflipper.hook;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import com.SirBlobman.combatlogx.api.ICombatLogX;
import com.SirBlobman.combatlogx.api.utility.ICombatManager;
public final class HookCombatLogX10 {
private HookCombatLogX10() {}
private static final HookCombat... |
package com.CallRail_Test.pages;
import org.junit.Assert;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import com.CallRail_Test.utils.CommonMethods;
public class AddUserPage extends BasePage{
... |
/*
* 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 SQL;
import java.util.List;
/**
*
* @author Eduardo
*/
public class Test
{
public static void main... |
package hw1;
import java.sql.Types;
import java.util.Arrays;
import java.util.HashMap;
/**
* This class represents a tuple that will contain a single row's worth of information
* from a table. It also includes information about where it is stored
*
* @author Sam Madden modified by Doug Shook
*/
public class Tupl... |
package services.pivot;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Query;
import org.hibernate.classic.Session;
import db.HibernateUtil;
import model.pivot.PivotSource;
public class PivotSourceService {
public static void save(PivotSource data, Boolean isNew) {
Sess... |
//Ritu Kumari 2016078
package mypackage;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
public class Clustering {
static int K, dim, no_features, no_of_points, iteration, se... |
package adaptivex.pedidoscloud.Model;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import adaptivex.pedidoscloud.Config.Configurador;
/**
* Created by ezequiel on 30/05/2016.
*/
public class HojarutaDataBaseHelper extends SQLiteOpen... |
package win.lioil.bluetooth.adapter;
import android.bluetooth.BluetoothDevice;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.ArrayLi... |
package com.tantransh.workshopapp.jobbooking;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provi... |
package pl.edu.pw.mini.gapso.initializer;
import org.junit.Assert;
import org.junit.Test;
import pl.edu.pw.mini.gapso.function.ConvexSquareFunction;
import pl.edu.pw.mini.gapso.function.Function;
import pl.edu.pw.mini.gapso.optimizer.MySamplingOptimizer;
public class ModelInitializerTest {
@Test
public void ... |
package com.jim.multipos.data.db.model.intosystem;
/**
* Created by Sirojiddin on 16.11.2017.
*/
public class ProductCost {
private Long vendorId;
private Double cost;
public Double getCost() {
return cost;
}
public void setCost(Double cost) {
this.cost = cost;
}
public Lo... |
package com.example.shopping.mapper;
import com.example.shopping.dto.ProductDto;
import com.example.shopping.entity.Product;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.stream.Collectors;
@Component
public class ProductMapper {
public Product toEntity(ProductDto pro... |
package com.tencent.mm.model;
public class x {
public final boolean bKe;
private final String bWI;
private final String dBm;
private boolean dBn;
private final String name;
private final String type;
public x() {
this.type = "";
this.name = "";
this.bWI = "";
... |
package exception;
/**
* The InvalidTowerException is thrown when a tower type is incorrectly selected.
*/
public class InvalidTowerException extends Exception {
/**
* The constructor of the InvalidTowerException.
* @param message The message explaining the exception.
*/
public InvalidTowerExc... |
package com.kzw.leisure.rxJava;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
public class RxManager {
private CompositeDisposable mCompositeDisposable = new CompositeDisposable();//管理Observables 和 Subscribers订阅
/**
* 管理观察者
*
* @param disposa... |
package aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
imp... |
package com.passing.hibernate.beans;
import java.util.HashSet;
import java.util.Set;
/**
* AbstractJpwordmeaning generated by MyEclipse Persistence Tools
*/
public abstract class AbstractJpwordmeaning implements java.io.Serializable {
// Fields
private Long id;
private Jpword jpword;
private S... |
package practice8;
public class Ex03 {
public static void main(String[] args) throws Exception {
BankAccount bank = new BankAccount(-100000);
bank.withdraw(500000);
}
}
|
package com.acode.player.lib.data;
import android.net.Uri;
import com.acode.player.lib.bean.PlayerBean;
import java.util.ArrayList;
/**
* user:yangtao
* date:2018/4/271355
* email:yangtao@bjxmail.com
* introduce:功能
*/
public class Data {
public static ArrayList<PlayerBean> getPlayerBeans() {
Array... |
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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 app... |
package com.ev.srv.demopai.model;
import lombok.Builder;
import lombok.Data;
import com.ev.srv.demopai.model.AggregationWrapper;
import com.ev.srv.demopai.model.PaymentModel;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiMode... |
package com.jiw.dudu.service.user;
import com.jiw.dudu.event.UserRegisterEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;
import org.springframework.stereotype.Component;
/**
* @Description 用户注册服务... |
package stack;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Stack;
public class StackUtils {
private static HashMap<String, Integer> priortyMap = new HashMap<String, Integer>();
private static HashMap<Character, Character> parenthesisPairs = new HashMap<Charact... |
package com.camiloalzate.takumprueba.model;
public class Usuario {
private long Usuacodi;
private String Usuanomb;
private String Usuaapel;
private String Usuadire;
private long Usuaterc;
private String Usuaemai;
private long Usuarol;
public Usuario() {
Usuacodi = 0;
}
public Usuario(long Usuac... |
package com.tencent.mm.plugin.webview.ui.tools.fts;
class FTSBaseWebViewUI$5 implements Runnable {
final /* synthetic */ FTSBaseWebViewUI qdI;
FTSBaseWebViewUI$5(FTSBaseWebViewUI fTSBaseWebViewUI) {
this.qdI = fTSBaseWebViewUI;
}
public final void run() {
if (FTSBaseWebViewUI.y(this.q... |
package com.data.rhis2;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.database.Cursor;
import android.graphics.Color;
import android.location.Location;
import android.os.Bundle;
impo... |
package com.rc.portal.webapp.util;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* Created... |
package com.ssafy.algo;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Stack;
import java.util.StringTokenizer;
/*
ACMICPC
문제 번호 : ... |
package com.tencent.mm.ui.chatting.b.b;
import android.view.View.OnClickListener;
import com.tencent.mm.ak.a.a.c;
import com.tencent.mm.modelvideo.s;
import com.tencent.mm.plugin.messenger.foundation.a.a.f;
import com.tencent.mm.pluginsdk.model.app.j.a;
import com.tencent.mm.pluginsdk.ui.chat.l;
import com.tencent.mm.... |
package com.framework.service;
import java.util.List;
import java.util.Map;
import com.framework.bean.common.Page;
import com.framework.bean.common.ResultMessage;
import com.framework.model.ActReModel;
public interface ActReModelService {
void queryActReModelList(Page<ActReModel> page, Map<String,Object> params) t... |
package com.tencent.mm.plugin.appbrand.jsapi.wifi;
import com.tencent.mm.plugin.appbrand.jsapi.h;
public class a$a extends h {
private static final int CTRL_INDEX = 322;
private static final String NAME = "onWifiConnected";
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package framework;
import dataset.DatasetTupleFactory;
import invertedFile.Indexer;
import invertedFile.InvertedFileSearch;
import util.LoadRTree;
import java.io.FileNotFoundException;
import java.io.IOException;
import... |
package pro.absolutne.lunchgator.lunch.provider;
import lombok.extern.slf4j.Slf4j;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.springframework.stereotype.Component;
import pro.absolutne.lunchgator.data.entity.DailyMenu;
import pro.absolutne.lunchgator.d... |
package com.tencent.mm.ui.widget.picker;
import android.widget.NumberPicker.Formatter;
import java.util.Locale;
final class g implements Formatter {
final StringBuilder mBuilder = new StringBuilder();
final Object[] uLB = new Object[1];
char uLC;
java.util.Formatter uLD;
g() {
d(Locale.ge... |
package com.dev.lungyu.homecontroller.tools.interpreter;
/**
* Created by lungyu on 3/5/18.
*/
public class OptionInterpreter {
public OptionInterpreter(int optionId){
this.optionId = optionId;
}
public OptionInterpreter(){
}
private int optionId;
public void setOption(String op... |
//import java.util.Scanner;
//
//public class testCasesClass implements CONNECT_CONSTANTS {
// public static void main(String[] args) {
// int num = 0;
// polymorphism();
// num += testPlaneClass();
// num += testLookUpTable();
// num += testDirection();
// num += testBoard... |
/*
* 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 asos.cv8;
import org.aspectj.lang.ProceedingJoinPoint;
/**
*
* @author vsa
*/
public class SecBean {
private int key ... |
public class No{
int chave;
No proximo;
//construtor
No(int ch){
chave = ch;
proximo = null;
}
} |
package com.tencent.mm.plugin.brandservice.b;
public interface c$a {
void auM();
}
|
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
public class PasswordGetter extends JFrame {
/**
*
*/
private static final long serialVersionUID = 2115000111510828044L;
private JPanel panel;
private JPasswordField passField;
private JLabel prompt;
... |
package repositories;
import java.util.Collection;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import domain.Article;
@Repository
public interface ArticleRepository extends JpaRepository<Articl... |
package gdut.ff.exception;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.multipart.MultipartException;
import com.fasterxml.jackson.databind.node.ObjectNode;
import gdut.ff.utils.NodeUtil;
/**
*
* @... |
package com.gooddata.java7.examples.nio2;
import java.nio.charset.StandardCharsets;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.util.List;
public class ReadLines {
public void test() throws Exception {
List<String> lines = Files.readAllLines(FileSystems.getDefault().getPath... |
package zajaczkowski.adrian.tools;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.jupiter.MockitoExtension;
import static org.jun... |
package com.gmail.volodymyrdotsenko.cms.be.services;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.gmail... |
package com.tencent.mm.plugin.appbrand.launching;
import android.content.Intent;
import android.os.Build.VERSION;
import com.tencent.mm.compatible.util.d;
import com.tencent.mm.plugin.appbrand.task.e;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.MMA... |
package com.rastiehaiev.notebook.bean;
import org.springframework.data.annotation.Id;
import org.springframework.util.Assert;
/**
* @author Roman Rastiehaiev
* Created on 21.09.15.
*/
public class Word implements HasIdentifier, Copyable<Word> {
@Id
private String id;
private String word;
p... |
package com.softvilla.slmparentportal;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.s... |
package com.java.abs_fact;
public class Fish implements ISeeAnimal {
@Override
public IAnimal print() {
ISeeAnimal animal=new Fish();
animal.disp();
return animal;
}
@Override
public void disp() {
System.out.println("fish class");
}
}
|
package buildcraftAdditions.core;
/**
* Copyright (c) 2014, AEnterprise
* http://buildcraftadditions.wordpress.com/
* Buildcraft Additions is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://buildcraftadditions.wordpress.c... |
package pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import testbase.Testbase;
public class SigninPage extends Testbase{
@FindBy(name = "Email")
public WebElement emailTextField;
@FindBy(name = "Password")
public WebElement passwordTextField;
@FindBy(name = "su... |
package ch.examples.service;
import org.springframework.stereotype.Service;
import ch.springcloud.lite.core.anno.Remote;
import ch.springcloud.lite.core.anno.Stub;
@Service
@Stub("newService2")
public class StubService2 implements NewService {
@Remote
NewService newService2;
@Remote("newService2")
... |
/*
* Copyright 2016 Johns Hopkins University
*
* 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 ... |
package testNG;
import org.testng.annotations.Test;
import utilities.GenericMethods;
public class TestNGConcepts extends GenericMethods {
/* Group Execution
*
* Parameters
*
* execute same test case multiple times
*
*/
@Test(priority=0,groups="smoke",invocationTimeOut=1000)
pub... |
package Primitives;
import java.lang.Math;
public class Point3D extends Point2D {
Coordinate _z;
//*************** Constractor ****************//
public Point3D() {
super();
this._z =new Coordinate();
}
public Point3D(Coordinate _x, Coordinate _y, Coordinate _z) {
super(_x, _y);
this.... |
package com.allianz.ExpenseTracker;
import javax.swing.UIManager;
import com.allianz.ExpenseTracker.Panels.PnlExpenseTrackerMain;
public class ExpenseTrackerMain {
public static void main(String[] args) {
// TODO Auto-generated method stub
try
{
UIManager.setLookAndFeel("com.sun.... |
package com.javarush.task.task08.task0820;
import java.util.HashSet;
import java.util.Set;
import java.util.Iterator;
/*
Множество всех животных
*/
public class Solution {
public static void main(String[] args) {
Set<Cat> cats = createCats();
Set<Dog> dogs = createDogs();
Set<Object> pe... |
package com.tencent.mm.plugin.appbrand.q;
import android.text.TextUtils;
import com.tencent.mm.compatible.util.e;
import com.tencent.mm.plugin.websearch.api.p;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.w;
import com.tencent.mm.sdk.pl... |
package com.tencent.mm.plugin.wenote.ui.nativenote;
import android.graphics.Bitmap;
import com.tencent.mm.plugin.wenote.model.h;
class NoteEditorUI$29 implements Runnable {
final /* synthetic */ Bitmap quD;
final /* synthetic */ NoteEditorUI qur;
NoteEditorUI$29(NoteEditorUI noteEditorUI, Bitmap bitmap) ... |
package com.tencent.mm.modelappbrand.b;
import android.graphics.Bitmap;
import android.widget.ImageView;
import com.tencent.mm.modelappbrand.b.b.h;
import com.tencent.mm.sdk.platformtools.ah;
import com.tencent.mm.sdk.platformtools.x;
import java.lang.ref.WeakReference;
class b$j implements h {
private final Weak... |
package com.kzw.leisure.realm;
import io.realm.RealmList;
import io.realm.RealmObject;
/**
* author: kang4
* Date: 2021/1/19
* Description:
*/
public class VideoWatchRealm extends RealmObject {
public String videoName;
public RealmList<VideoWatchTypeRealm> mlist=new RealmList<>();
public VideoWatchR... |
/* *****************************************
* CSCI205 - Software Engineering and Design
* Spring 2015 *
* Name: Morgan Eckenroth
* Date: Feb 14, 2015
* Time: 2:34:58 PM *
* Project: csci205
* Package: lab11
* File: OneTime
* Description:
* A one time only appointment represenatation
* *********************... |
/*
* Copyright 2002-2013 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 required by ap... |
package org.ml4j.wit.api.impl.json;
import java.util.ArrayList;
public class IntentListResponse extends ArrayList<Intent> {
private static final long serialVersionUID = 1L;
}
|
/*
* 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 algorithm;
import java.util.ArrayList;
import java.util.Scanner;
/**
*
* @author aziza
*/
public class permut {
static... |
package com.gokuai.base.utils;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.io.*;
import java.net.URLDecoder;
import java.security.MessageDigest;
import java.security.NoSuchAlgorith... |
package com.tencent.mm.plugin.fts;
import com.tencent.mm.g.a.d;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
class PluginFTS$6 extends c<d> {
final /* synthetic */ PluginFTS jpM;
PluginFTS$6(PluginFTS pluginFTS) {
this.jpM = pluginFTS;
this.sFo = d.class.getName().hashCode();... |
package szallasok;
import szallasok.model.Foglalasok;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.persistence.TypedQuery;
import java.time.LocalDate;
import java.util.List;
/**
* Created by Stefyy on 2017.05.30..
*/
publi... |
package com.plter.news.data;
public class NewsData {
public NewsData(String label,String[] content) {
setLabel(label);
setContent(content);
}
public NewsData(String label,String[] content,boolean selected) {
setLabel(label);
setContent(content);
setSelected(selected);
}
public String getLabel() ... |
package proc;
import log.LogSetting;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;
import java.util.Timer;
import java.util.logging.Logger;
/**
* Created by wenc on 2017/4/28.
* 根据投票阶段的投票信息,计算出局情况
* 谁的票数多,就宣布谁出局
* 平票就继续进入发言环节和投票环节,但是选项只能从平票人中选择
* 平票再进入发言环节,若平票就进入pk台下发言环节并进行... |
package com.ssm.wechatpro.dao;
import java.util.Map;
public interface WechatPhoneMessageLogMapper {
public int insertPhoneMessage(Map<String,Object> map) throws Exception;
public int selectCount(Map<String,Object> map) throws Exception;
}
|
package edu.data.service.impl;
import edu.config.PropertyLoader;
import edu.curd.dto.ClassExercisesDTO;
import edu.curd.dto.GradesDTO;
import edu.curd.dto.StudentGradesDTO;
import edu.curd.operation.JDBCDataObject;
import edu.curd.operation.excercises.ManageClassExercises;
import edu.curd.operation.student.ManageStude... |
package bibliotecaProyecto.negocio;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import... |
package fl.sabal.source.interfacePC.Windows;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.util.Locale;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import java.awt.Font;
import javax.swing.SwingConstants;
import javax.swing.JTextField;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.