text stringlengths 10 2.72M |
|---|
package com.deltastuido.user.port;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.util.Optional;
import java.util.logging.Logger;
import javax.ejb.EJB;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet... |
/*
* fra2015
* https://github.com/geosolutions-it/fra2015
* Copyright (C) 2007-2013 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* GPLv3 + Classpath exception
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... |
package com.tencent.mm.plugin.traceroute.ui;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.view.View.OnClickListener;
import java.io.File;
class NetworkDiagnoseReportUI$3 implements OnClickListener {
final /* synthetic */ NetworkDiagnoseReportUI oDY;
NetworkD... |
package com.wooky.web.freemarker;
import com.wooky.core.StaticFields;
import com.wooky.core.Translator;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.servlet.ServletContext;
import javax.se... |
package com.huawei.esdk.tp.northcommu.cxf.healthcare.gen;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import com.huawei.esdk.tp.northcommu.cxf.common.gen.*;
/**
* This ... |
package com.asdf.demobo.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.asdf.demobo.vo.*;
@Mapper
public interface TestMapper {
List<TestVO> selectTestList() throws Exception;
}
|
import java.util.*;
public class Knapsack01 {
public int maxProfit(int[] costs, int[] values, int capacity) {
return oneD(costs, values, capacity);
}
private int twoD(int[] costs, int[] values, int capacity) {
int[][] dp = new int[costs.length + 1][capacity + 1];
for (int i = 1; i <= costs.length; i... |
package com.osce.api.system.message;
import com.osce.dto.common.PfBachChangeStatusDto;
import com.osce.dto.system.message.PfMessageDto;
import com.osce.dto.system.message.PfMessageTemplateDto;
import com.osce.entity.MessageTemplate;
import java.util.List;
/**
* @ClassName: PfMessageService
* @Description: 消息接口
*... |
package de.propra2.ausleiherino24.features.email;
import de.propra2.ausleiherino24.data.CaseRepository;
import de.propra2.ausleiherino24.model.Case;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import org.junit.jupiter.api.BeforeEach;
i... |
package com.yinghai.a24divine_user.module.divine.selecttime;
import com.example.fansonlib.base.BaseModel;
import com.example.fansonlib.http.HttpResponseCallback;
import com.example.fansonlib.http.HttpUtils;
import com.example.fansonlib.utils.SharePreferenceHelper;
import com.yinghai.a24divine_user.bean.DivineScheduleT... |
package com.encore.emp.repo;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.encore.emp.domain.DepartmentDto;
import com.encore.emp.domain.EmployeeDto;
@Reposi... |
/**
* Holds all the answers for Mmn 14, 2021a
* @author Ori Ben Nun
* @version 14/01/2021
*/
public class Ex14 {
// Question 1:
/**
* This method takes an appropriate array of integers,
* which each number occurs twice in a row but only 1 number which occurs only once ("orphan"),
* and retu... |
package kdmhs.me.hyemdooly.wakeupword.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import kdmhs.me.hyemdooly.wakeupword.DatabaseHelper;
import kdmhs.me.hyemdoo... |
package com.tyss.cg.operators;
public class RelationalOperator {
public static void main(String[] args) {
int i = 97;
int j = 45;
System.out.println("i < j: " + (i < j));
System.out.println("i > j: " + (i > j));
System.out.println("i <= j: " + (i <= j));
System.out.println("i >= j: " + (i >= j));
Sys... |
package nl.jtosti.hermes.company.exception;
public class UserAlreadyAddedException extends RuntimeException {
public UserAlreadyAddedException() {
super("User already added to this company");
}
}
|
package factory.design.pattern.example;
public class Hotel {
}
|
package com.tencent.mm.plugin.appbrand.jsapi.file;
import com.tencent.mm.plugin.appbrand.appstorage.j;
/* synthetic */ class ao$1 {
static final /* synthetic */ int[] fQo = new int[j.values().length];
static {
try {
fQo[j.fkO.ordinal()] = 1;
} catch (NoSuchFieldError e) {
... |
package com.cms.common.form;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.collections4.map.CaseI... |
package com.noteshare.common.utils;
import java.util.regex.Pattern;
/**
* @Title:
* @author NoteShare
* @since JDK1.8
* @history 2017年12月9日
*/
public class NumberUtil {
public static boolean isInteger(String str) {
Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$");
return pattern.matcher(str... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
System.out.println("nhap so khách trọ");
int n=scanner.nextInt();
MotelRoom[]motelRooms=new MotelRoom[n];
for (int i =0;i<n;i++){
motelR... |
package com.iltaek.example.springboot.web;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test... |
import java.util.ArrayList;
public class Poker {
private Francesa baralla;
private ArrayList<Jugador> llistaJugadors;
public void addJugador(Jugador j) {
llistaJugadors.add(j);
}
public Poker(ArrayList<Jugador> llistaJugadors) {
super();
this.llistaJugadors = llistaJugadors;
baralla= ... |
package com.FCI.SWE.ServicesModels;
import com.FCI.SWE.NotifCommand.NotifCommnad;
public class PagePostBuilder implements PostBuilder
{
PagePostEntity post ;
public PagePostBuilder()
{
post = new PagePostEntity();
post.setPostType("page");
post.setIsShare(false);
}
@Override
public void buildPrivacy(Pri... |
package trafficc;
class Car{
//메서드명은 소중하다.. 직관성을 부여하기 위해 힘들게 찾아서 작명하게 된다..
//그런데, 큰 차이가 별로 없는 상황임에도, 메서드 명을 정할때 전혀 다른 단어를 사용해야할까?
//java에서는 같은 메서드 명을 사용할 수 있다
//메서드명은 같지만, 완전히 일치하게 정의하는 것이 아니라, 매개변수의 자료형과
//객수를 틀리게 하면 중복 정의로 간주하지 않겠다!!
//오버로딩(overroading) - 메서드 중첩
//즉 개발자가 비슷한 로직으로 메서드를 정의할 경우, 큰 차이가 ... |
/*
* Copyright (c) 2018 Majid Vaghari
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publi... |
package com.rx.rxmvvmlib.util;
import android.annotation.SuppressLint;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.Pack... |
package banyuan.day12;
/**
* @author 陈浩
* @date Created on 2019/11/6
*/
public class TestP01 {
public static void main(String[] args) {
P01 m = new P01();
Thread s1 = new Thread(m);
s1.setName("A");
Thread s2 = new Thread(m);
s2.setName("B");
s1.start();
s... |
package com.kangYh.fangdou2.app.home.adapter;
import androidx.annotation.Nullable;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.kangYh.fangdou2.R;
import com.kangYh.fangdou2.app.home.model.IconTitleModel;
import java.util.List;
/**
* Created... |
package com.duanxr.yith.easy;
import com.duanxr.yith.define.listNode.ListNode;
/**
* @author 段然 2021/3/8
*/
public class RemoveDuplicatesFromSortedList {
/**
* Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well.
*
... |
package com.theincorrectclock.bsj;
import java.util.Arrays;
class BalancedStrategy extends InvestmentStrategy {
BalancedStrategy() {
super(Arrays.asList(
Pair.pair(InvestmentFundType.DOMESTIC, 0.3),
Pair.pair(InvestmentFundType.FOREIGN, 0.6),
Pair.pair(Inve... |
package fragments;
import android.support.v4.app.Fragment;
public class Multiplequeues extends Fragment {
}
|
package com.cse308.sbuify.test.helper;
import com.cse308.sbuify.user.User;
import com.cse308.sbuify.user.UserRepository;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.... |
/*
* Copyright (C) 2020-2023 Hedera Hashgraph, LLC
*
* 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 applicab... |
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import java.io.BufferedReader;
import java.util.Arrays;
import java.util.Collection;
import static spark.Spark.*;
public class SparkRestFul {
public static void main(String[] args) {
final IItemService service = new ItemServiceMapImpl();... |
package com.cqrcb.webapp.controller;
import org.appfuse.dao.SearchException;
import com.cqrcb.service.StaffManager;
import com.cqrcb.model.Staff;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controll... |
package model;
import java.util.ArrayList;
import java.util.List;
import service.PlanService;
public class PlanOfStudy {
private Student studentOwner;
private List<Course> courses;
public List<Course> diplay() {
PlanService service = new PlanService();
List<Course> list = new ArrayList<Course>();
list =... |
import java.util.Scanner;
class Test{
static Scanner s = new Scanner(System.in);
public static void main (String [] args){
System.out.print("배열의 개수:");
int n=s.nextInt();
double [] arr = new double [n];
}
static void ini1(double [] arr){
for(int i=0; i<arr.length; i++){
System.out.println(i+1+"번... |
package com.lc.exstreetseller.bean;
public class SettleBean {
}
|
package br.uff.ic.provmonitor;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.jar.Manifest;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParse... |
package ro.redeul.google.go.lang.psi.utils;
import java.util.ArrayList;
import java.util.List;
import com.intellij.lang.ASTNode;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.projectRoots.Sdk;
import com.intellij.openapi.roots.OrderRootType;
import com.intellij.openapi.vfs.VfsUtil;
import c... |
package com.mobica.rnd.parking.parkingbe.service;
import com.mobica.rnd.parking.parkingbe.model.Parking;
import com.mobica.rnd.parking.parkingbe.repository.ParkingRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ParkingSer... |
/**
* Paintroid: An image manipulation application for Android.
* Copyright (C) 2010-2013 The Catrobat Team
* (<http://developer.catrobat.org/credits>)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* publishe... |
package it.usi.xframe.xas.bfimpl.a2psms.configuration;
import it.usi.xframe.xas.bfimpl.a2psms.IGatewayA2Psms;
import it.usi.xframe.xas.bfutil.Constants;
import it.usi.xframe.xas.bfutil.XASException;
import it.usi.xframe.xas.util.json.XConstants;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Ma... |
package com.rekoe.loader;
import java.io.InputStream;
import java.util.List;
import org.nutz.lang.Lang;
import org.nutz.lang.Streams;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.resource.NutResource;
import org.nutz.resource.Scans;
/**
* @author 科技㊣²º¹³
* Feb 16, 2013 2:35:33 P... |
package cn.joyfollow.k21smartplayer;
import android.content.Context;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;
import com.daniulive.smartplayer.SmartPlayerJniV2;
import com.e... |
package model.customer_db;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.query.Query;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import java.util.Lis... |
package datastructures;
import misc.BaseTest;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import problems.LinkedIntListProblems;
import datastructures.LinkedIntList.ListNode;
import java.util.Arrays;
import static org.junit.Assert.fail;
/**
* WARNIN... |
package br.com.pizzaria.dao;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import br.com.pizzaria.entidades.Pizza;
@Repository
@Transactional
public class PizzaDAO extends GenericDAO<Pizza> {
}
|
package com.e6soft.form.dto;
import com.e6soft.form.model.DataSourceFieldShowRule;
import com.e6soft.form.model.SqlDatasource;
public class SqlDatasourceDto {
private SqlDatasource sqlDatasource;
private DataSourceFieldShowRule dataSourceFieldShowRule;
public DataSourceFieldShowRule getDataSourceFieldShowRule... |
public class Intervals extends Workout{
public int nIntervals;
public int intervalDist;
public double avgTime;
} |
package com.agong.demo;
import android.content.Context;
import android.util.DisplayMetrics;
import android.view.WindowManager;
/**
* dp、sp 转换为 px 的工具类
*/
public class DisplayUtil {
/**
* 将px值转换为dip或dp值,保证尺寸大小不变
*
* @param pxValue
* @param scale
* (DisplayMetrics类中属性density)
* @re... |
package com.lqs.hrm;
import java.util.HashMap;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
public class HashMapTest {
public static void main(String[] args) {
HashMap<String, Integer> map = new HashMap<>();
map.put("1", 1);
map.put("1", 2);
map.put("1",... |
package com.bo;
public class Message {
private String type;
private Object context;
public Message() {};
public Message(String type,Object object) {
this.type=type;
this.context=object;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Object get... |
package com.frank.servicelmpl;
import com.frank.bean.Vid_comment;
import com.frank.dao.Vid_commentMapper;
import com.frank.service.Vid_commentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by 啸 on... |
package com.tencent.mm.plugin.luckymoney.ui;
import com.tencent.mm.plugin.luckymoney.b.ac;
import com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyWishFooter.b;
import com.tencent.mm.sdk.platformtools.bi;
class LuckyMoneyBusiDetailUI$10 implements b {
final /* synthetic */ LuckyMoneyBusiDetailUI kUw;
LuckyMoney... |
package org.alienideology.jcord.event.guild.member;
import org.alienideology.jcord.Identity;
import org.alienideology.jcord.handle.guild.IGuild;
import org.alienideology.jcord.handle.guild.IMember;
import org.alienideology.jcord.handle.guild.IRole;
import java.util.List;
/**
* @author AlienIdeology
*/
public class... |
package com.timesheet.repository;
import com.timesheet.domain.Manager;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
/**
* Created by Vitaliy, Yan on 10.04.15.
*/
public interface ManagerRepository extends JpaRepository<Manager, Long>, Crud... |
package com.mygdx.game.components;
import com.badlogic.gdx.math.Vector2;
import com.scs.lang.NumberFunctions;
public class MoveWithGravityComponent {
public Vector2 dir;
public MoveWithGravityComponent() {
dir = new Vector2(NumberFunctions.rndFloat(-30, 30), NumberFunctions.rndFloat(20, 40));
}
}
|
/*
* Copyright (c) 2011, 2020, Frank Jiang and/or its affiliates. All rights
* reserved. KernelGamma.java is PROPRIETARY/CONFIDENTIAL built in 2013. Use is
* subject to license terms.
*/
package com.frank.svm.config;
/**
* A gamma kernel is a middle kernel, which declares that the current kernel
* conta... |
package com.mimi.mimigroup.ui.services;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
import com.mimi.mimigroup.db.DBGimsHelper;
public class mimiBroadcastReceiver extends BroadcastReceiver {
private DBGimsHelper mDB;
@... |
package com.example.keokimassad.testparcheesi;
import android.util.Log;
import java.util.Collection;
import java.util.Collections;
import game.GamePlayer;
import game.LocalGame;
import game.actionMsg.GameAction;
/**
* Created by KeokiMassad on 11/20/16.
* Thanks Keoki!
*/
public class ParLocalGame extends Local... |
package linkedlist;
/**
* 定义节点
*/
class StudentNode {
int id;
String name;
/**
* 用于保存下一个节点的地址
*/
StudentNode next;
public StudentNode(int id, String name) {
this.id = id;
this.name = name;
}
@Override
public String toString() {
return "StudentNode{"... |
package dmillerw.ping.client;
import dmillerw.ping.Ping;
import dmillerw.ping.client.gui.PingSelectGui;
import dmillerw.ping.data.PingType;
import net.minecraft.client.Minecraft;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.client.util.InputMappings;
import net.minecraftforge.api.distmarker.Di... |
package util;
import java.sql.*;
public class Conectar {
private Connection con;
public Conectar() {
con=null;
}
//método para realizar la conexion
public Connection conexion(){
try {
//cargamos nuestro driver
Class.forName("com.mysql.jdbc.Driver");
... |
package me.saurpuss.recap;
import org.apache.commons.lang.StringUtils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter;
import org.bukkit.entity.Player;
i... |
package com.tencent.mm.plugin.appbrand.appcache;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.tencent.mm.plugin.appbrand.config.WxaAttributes.e;
public class ModulePkgInfo extends e implements Parcelable {
public static final Creator<ModulePkgInfo> CREAT... |
package com.mahendra;
public class Book implements Comparable<Book>{
private Integer bookId;
private String title;
private String author;
public Book(Integer bookId, String title, String author) {
super();
this.bookId = bookId;
this.title = title;
this.author = author;
}
@Override
public int has... |
package com.kprojekt.alonespace.data.minigame;
import java.util.ArrayList;
import org.andengine.engine.camera.ZoomCamera;
import org.andengine.entity.Entity;
import org.andengine.entity.IEntity;
import org.andengine.entity.primitive.Line;
import org.andengine.entity.text.Text;
import org.andengine.opengl.texture.regi... |
import java.util.*;
class QuickSort {
public static void main(String[] args) {
int[] nums = {2};
QuickSort test = new QuickSort();
test.quickSort(nums);
System.out.println(Arrays.toString(nums));
}
public void quickSort(int[] nums) {
quickSort(nums, 0, nums.length - 1);
}
private void quickSort(int[]... |
package com.tencent.mm.ui;
import android.view.View;
public interface ag$a {
void onClickBackBtn(View view);
}
|
package cn.hui.javapro.list.arraylist;
import java.util.Arrays;
import java.util.Collection;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.RandomAcces... |
package com.rhysnguyen.casestudyjavaweb.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import com.rhysnguyen.casestudyj... |
/*
* 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 utilidadesbasicas;
/**
*
* @author Soxtec Desarrollo
*/
public class matriz {
public static String[][] transponerMatriz... |
package com.example.demcom.wheter.common;
/**
* Created by Demcom on 4/30/2017.
*/
public class Constants {
public static final String WEATHER_API_URL = "https://k8j9meupcg.execute-api.us-west-2.amazonaws.com/Weather";
public static final String WEATHER_DATE = "Date";
public static final String WEATHER_... |
package org.maven.ide.eclipse.io;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import org.eclipse.core.runtime.IProgressMonitor;
public class MonitoredOutputStream
extends FilterOutputStream
{
private IProgressMonitor monitor;
private int length = IProgress... |
package jie.android.ip.screen.play;
import aurelienribon.tweenengine.Tween;
import aurelienribon.tweenengine.TweenManager;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import jie.android.ip.CommonConsts.PackConfig;
import jie.android.ip.common.actor.BaseGroupAccessor;
im... |
/*
* 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 pack;
import javax.ejb.Local;
/**
*
* @author lenovo
*/
@Local
public interface BankLocal {
double deposit(double amt... |
package com.bingo.code.example.design.chainofresponsibility.module;
/**
* ְ�����Ŀͻ��ˣ�����ֻ�Ǹ�ʾ��
*/
public class Client {
public static void main(String[] args) {
//��Ҫ��װְ����
Handler h1 = new ConcreteHandler1();
Handler h2 = new ConcreteHandler2();
h1.setSuccessor(h2);
//Ȼ���ύ����
h1.handleReques... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package model.admin;
import entity.Sizes;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import ... |
package com.bowlong.objtrans;
public class C1 {
public boolean a;
public byte b;
public short c;
public int d;
public long e;
public float f;
public double g;
public Integer h;
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
|
package com.tencent.mm.plugin.topstory.ui.video;
import com.tencent.mm.model.d;
import com.tencent.mm.model.d.a;
import com.tencent.mm.modelcdntran.j;
import com.tencent.mm.protocal.c.bti;
import com.tencent.mm.sdk.platformtools.x;
public final class o {
a oAb;
d oCc = new d();
m oCd;
n oCe;
bti o... |
package com.spbsu.flamestream.example.bl.text_classifier.ops.classifier;
import com.expleague.commons.math.vectors.Vec;
import com.expleague.commons.math.vectors.impl.vectors.SparseVec;
import gnu.trove.map.TObjectIntMap;
import gnu.trove.map.hash.TObjectIntHashMap;
import java.io.BufferedReader;
import java.io.File;... |
package org.xorrr.util;
import earth.xor.model.Bookmark;
public class BookmarkObjects {
public static final Bookmark testBookmark1 = new Bookmark.Builder()
.url("http://www.foo.org").title("foo").user("user1").build();
public static final Bookmark testBookmark2 = new Bookmark.Builder()
... |
package locators;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class LocatorsDemo2_XpathAxes {
public static void main(String[] args) {
System.setProperty("webdriver.chr... |
package com.srg.prototype;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import ja... |
package com.tencent.mm.plugin.appbrand.jsapi;
import com.tencent.mm.plugin.appbrand.a;
import com.tencent.mm.plugin.appbrand.b.b;
import com.tencent.mm.plugin.appbrand.g;
import com.tencent.mm.plugin.appbrand.r.c;
import com.tencent.mm.sdk.platformtools.x;
import java.util.Map;
import org.json.JSONObject;
public abst... |
package com.tencent.mm.plugin.appbrand.game.d;
import com.tencent.mm.plugin.appbrand.config.d$a;
import com.tencent.mm.plugin.appbrand.config.d.b;
import com.tencent.mm.plugin.appbrand.l;
class a$1 implements d$a {
final /* synthetic */ int doP;
final /* synthetic */ l fCl;
final /* synthetic */ a fCm;
... |
package com.thinhlp.cocshopapp.services;
import com.thinhlp.cocshopapp.entities.RegisterError;
import com.thinhlp.cocshopapp.entities.User;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;
/**
* Created by thinhlp on 7/4/17.
*/
public interface UserService {
@POST("login")
... |
package com.vilio.plms.service;
import com.vilio.plms.dao.TransitOrderDao;
import com.vilio.plms.exception.ErrorException;
import com.vilio.plms.glob.GlobDict;
import com.vilio.plms.service.base.BaseService;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import javax.annotation.Resourc... |
/*
* @(#)EditDrawingAction.java 1.0 2007-12-18
*
* Copyright (c) 2007 by the original authors of JHotDraw
* and all its contributors.
* All rights reserved.
*
* The copyright of this software is owned by the authors and
* contributors of the JHotDraw project ("the copyright holders").
* You may not use, ... |
package org.sbbs.app.demo.service.impl;
import org.sbbs.app.demo.dao.DemoEntityDao;
import org.sbbs.app.demo.model.DemoEntity;
import org.sbbs.app.demo.service.DemoEntityManager;
import org.sbbs.base.service.impl.BaseManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
package com.example.Journal.provider;
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.Journal.R;
import java.util.ArrayList;
/**
* Created with IntelliJ ... |
package com.tencent.mm.plugin.game.gamewebview.ipc;
import com.tencent.mm.plugin.base.model.d.a;
class AddShortcutTask$1 implements a {
final /* synthetic */ AddShortcutTask jGb;
AddShortcutTask$1(AddShortcutTask addShortcutTask) {
this.jGb = addShortcutTask;
}
public final void dF(boolean z... |
package com.espendwise.manta.support.spring;
import com.espendwise.manta.i18n.I18nResource;
import com.espendwise.manta.i18n.MessageResource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.MessageSource;
import org.springframework.context.Messag... |
//
// Wire
// Copyright (C) 2016 Wire Swiss GmbH
//
// 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, or
// (at your option) any later version.
//
// This progr... |
package vn.geekup.utils;
import android.content.Context;
import org.joda.time.DateTime;
import org.joda.time.Days;
import org.joda.time.LocalDate;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
public class DateUtil... |
package ru.alxant.converter;
/**
* Created by Alxant on 10.03.2018.
*/
/**
* PersonalAccount В дневном отчете отсутствует придется брать его из БД по улице Дому и квартире
* fullName Берется из документа
* 10 field
*
* */
public class Receipt {
private String personalAccount;
private String fullName... |
package com.maweiming.wechat.bot.service.message.core;
import com.alibaba.fastjson.JSON;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* maweiming.com
* Copyright (C) 1994-2018 All Rights Reserved.
*
* @author CoderMa
* @version MessageCache.java, v 0.1 2... |
package org.spearhead.tinybits.algorythm.binary;
class BinaryNodeImpl<T extends Comparable<T>> implements BinaryNode<T> {
T value;
BinaryNode<T> left = (node) -> {
if (node == null) {
throw new IllegalArgumentException("Node cannot be null");
}
left = node;
return true;
};
BinaryNode<T> right = (node) ... |
package com.example.xiaox.goline2.activities;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.example.xiaox.goline2.R;
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.