text stringlengths 10 2.72M |
|---|
import javafx.geometry.BoundingBox;
/**
* Created by C on 5/18/2017.
*/
public class BoundingBox3D implements Boundary {
private int xMin = 0, xMax, yMin = 0, yMax, zMin = 0, zMax;
public BoundingBox3D(int length, int width, int height) {
xMax = length;
yMax = width;
zMax = height;
... |
package scriptinterface.defaulttypes;
import scriptinterface.ScriptType;
import scriptinterface.execution.returnvalues.ExecutionResult;
/**
* Script type wrapper for Integer. The value is assumed to be non-negative.
*/
public class GPositiveInteger extends ExecutionResult<Integer> implements TextHolder {
... |
/**
* Copyright (C) 2009-2012 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
... |
package server.classes;
public class Invoice {
public String nome;
public String cpf;
public String dataNasc;
public String endereco;
public Car carbuyed = new Car();
public Invoice(){}
public Invoice(String nome, String cpf, String dataNasc, String endereco, Car carBuyed){
thi... |
package com.teebz.hrf.listeners;
import android.view.View;
public interface SectionListItemClickListener {
/**
* This method will be invoked when an item in the ListFragment is
* clicked
*/
void onSectionListItemClick(View view, int position, int sectionId);
} |
package net.cupmouse.minecraft.eplugin.data;
import net.cupmouse.minecraft.eplugin.EPlugin;
import net.cupmouse.minecraft.eplugin.EPluginComponent;
import net.cupmouse.minecraft.eplugin.database.ResultConsumer;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import jav... |
package com.catnap.demo.core.util;
import java.util.Random;
/**
* Created by Woody on 12/29/13.
*/
public class RandomUtil
{
public static String getRandomValue(final Random random, final int lowerBound, final int upperBound, final int decimalPlaces)
{
if(lowerBound < 0 || upperBound <= l... |
package com.lumadimusalia.su_cafeteria2;
import android.content.Intent;
import android.os.Bundle;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import android.view.MenuItem;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.navigation.ui.AppBarConfiguratio... |
package tw.org.iii.java;
public class Brad51 {
public static void main(String[] args) {
//Brad511 obj1 = new Brad511();
Brad512 obj2 = new Brad512();
Brad511 obj3 = new Brad512(); // OK
}
}
abstract class Brad511 {
void m1() {System.out.println("Brad511:m1()");}
void m2() {System.out.println("Brad511:m... |
/*
* 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 common;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import... |
package com.tencent.mm.plugin.appbrand.launching;
import android.os.Process;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.plugin.appbrand.k;
import com.tencent.mm.plugin.appbrand.launching.AppBrandPrepareTask.3;
import com.tencent.mm.plugin.appbrand.launching.AppBrandPrepareTask.4;
import com.tencent.mm.p... |
package ch.carve.maven.consulkv;
import java.util.List;
import java.util.Properties;
import java.util.function.Consumer;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.ann... |
package com.tinyurl.repository;
import java.util.Optional;
import org.springframework.data.repository.CrudRepository;
import com.tinyurl.model.TinyUrl;
public interface TinyUrlRepository extends CrudRepository<TinyUrl, String>{
Optional<TinyUrl> findOneBytinyUrl(String url);
}
|
package com.rsm.yuri.projecttaxilivredriver.main;
import android.util.Log;
import androidx.annotation.NonNull;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import ... |
package com.example.estudiante.gps;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.content.Context... |
package br.com.keepitup.dao;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import br.com.keepitup.entity.Treino;
public class TreinoDao implements InterfaceDao<Treino> {
@Override
public void salvar(Treino t) {
EntityManager em = Conexao.getInstance()... |
package com.arkaces.aces_marketplace_api.reset_password;
import lombok.Data;
@Data
public class PasswordReset {
private String createdAt;
}
|
package com.hallauniv.helper;
import java.lang.ref.WeakReference;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.widget.Toast;
import com.hallauniv.halla.MainActivity;
import com.hallauniv.halla.R;
/**
* 개선된 ... |
/*
* 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 util;
import java.util.List;
import model.Cargo;
import model.Empresa;
import model.Pessoa;
import model.Retorno;
import model... |
package com.fleet.jooq.service;
import com.fleet.jooq.generator.tables.pojos.User;
import java.util.List;
public interface UserService {
void insert(User user);
void delete(Integer id);
void update(User user);
User get(Integer id);
List<User> list();
}
|
/*
* 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 Admin;
import pds.HomePage;
/**
*
* @author USER
*/
public class HomePageAdmin extends javax.swing.JFrame {
/**
... |
package ladder.DynamicProgrammingII;
/**
* Given two strings, find the longest common substring.
* Return the length of it.
*
* Given A = "ABCD", B = "CBCE", return 2.
*/
public class LongestCommonSubstring {
/**
* @param A, B: Two string.
* @return: the length of the longest common substring.
*... |
/*
* 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 dao;
import java.util.List;
import modelo.Disciplina;
/**
*
* @author Laboratorio
*/
public interface DisciplinaDAO {
... |
Public class Historia{
String sinopse;
} |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the ter... |
package kr.aleks.timer;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
TextView mTextView;
protected Coun... |
package com.tencent.mm.plugin.emoji.ui;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.emoji.ui.v2.EmojiStoreV2DesignerUI;
import com.tencent.tmassistantsdk.openSDK.OpenSDKTool4Assistant;
class EmojiStoreDetailUI$6 implements OnClickList... |
package com.eCommerce.eComApp.security;
import com.eCommerce.eComApp.exceptions.NotFoundException;
import com.eCommerce.eComApp.model.Admin;
import com.eCommerce.eComApp.service.AdminService;
import com.google.common.collect.ImmutableList;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... |
//package com.mycom.config;
//
//import java.io.IOException;
//
//import javax.servlet.FilterChain;
//import javax.servlet.ServletException;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
//import org.springframework.security.authentication.BadCredentialsException;
/... |
package rhtn_homework;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
public class BOJ_9663_NQueen {
private static StringBuilder sb = new StringBuilder();
private static int N,cnt;
private static int[][] map;... |
package com.github.emailtohl.integration.core.user.employee;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import com.github.emailtohl.integration.core.user.entities.Employee;
/**
* 平台账号数据访问层
* @author HeLei
*/
public interface EmployeeRepository extends JpaRepo... |
package com.honu.standup;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextSwitcher;
import android.widget.TextView;
import java.util.Random;
publi... |
package com.microsilver.mrcard.basicservice.model;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class FxSdUserDeliverAdditional {
private Long id;
private Long deliverId;
private String lat;
private String lng;
private BigDecimal serviceScore;
private Integer levelScore;
... |
package com.smxknife.java2.externalizable;
import java.io.*;
/**
* @author smxknife
* 2018/11/5
*/
public class Animal2SerializableDemo {
public static void main(String[] args) throws Exception {
String serializableFile = "./animal2.ser";
FileOutputStream fos = null;
ObjectOutputStream oos = null;
FileInp... |
package database;
import java.sql.*;
import com.mysql.jdbc.Connection;
import javax.swing.*;
public class DatabaseHandler {
private static DatabaseHandler handler;
private static final String db_url = "jdbc:mysql://127.0.0.1/VarsityManagement2";
public static Connection con = null;
private static S... |
package todotask;
public class SleepTask extends Task{
SleepTask(){
this(8f);
}
SleepTask(int priority){
super(priority);
}
SleepTask(float time){
super(time);
}
SleepTask(int priority, float time){
super(priority, time);
}
} |
package things.entity;
import things.entity.observer.Observer;
import things.entity.observer.Subject;
import things.entity.strategy.draw.DrawSquareSprite;
import things.entity.strategy.update.UpdateBullet;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
/**
* This is an instantiable class call... |
package com.linsr.mvpdemo.service;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.support.annotation.Nullable;
import android.util.Log;
import com.linsr.mvpdemo.aidl.IMyAidlInterface;
/**
* Description
*
* @author linsenrong ... |
package pageobject;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class ForgotPasswrd {
public WebDriver driver;
By newlogin = By.cssSelector("[id='user_email']");
By sendme = By.cssSelector("[type='submit']");
public ForgotPasswrd(WebDriver ... |
package com.z3pipe.z3core.util;
/**
* @author: hancuiyan 2015-6-2
*/
public class WGS2Google {
private static final double pi = 3.14159265358979324;
private static final double a = 6378245.0;
private static final double ee = 0.00669342162296594323;
/**
* 将 GPS 坐标转为墨卡托坐标
*
* @param lo... |
package ex1;
/*
Illustrates:
1) upcast to interface
2) interface extending more than one interface
3) Calling method using interface handle.
*/
public class InterfaceTest
{
public static void main(String s[])
{
MyBike mb = new MyBike();
//upcast to interface
Moveable mv = mb;
mv.mov... |
package br.com.zup.zupacademy.daniel.mercadolivre.categoria;
import br.com.zup.zupacademy.daniel.mercadolivre.validadores.IdOpcionalEExistente;
import br.com.zup.zupacademy.daniel.mercadolivre.validadores.ValorUnico;
import org.springframework.util.Assert;
import javax.validation.constraints.NotBlank;
import java.uti... |
package com.movietoy.api.domain.movieInfo.Object;
import lombok.Data;
@Data
public class Directors {
/*감독명*/
private String peopleNm;
/*김독명(영문)*/
private String peopleNmEn;
}
|
package com.app.reposetory;
import java.util.ArrayList;
import javax.transaction.Transactional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import com.app.pojos.Student;
import com.app.p... |
class Person9{
String name;
public void go(){
System.out.println("°¡´Ù");
}
} |
package facebook;
public class FarmTraversal {
public void print2D(int mat[][]) {
// Loop through all rows
for (int[] row : mat)
// Loop through all columns of current row
for (int x : row)
System.out.print(x + " ");
}
int collectFruit(int[][] far... |
package Model.Entities;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
public class Firma {
private SimpleStringProperty Nazwa;
private SimpleIntegerProperty Telefon;
private SimpleStringProperty Email;
private SimpleStringProperty Adres;
pri... |
package com.example.demo;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import com.netflix.appinfo.InstanceInfo;
import... |
package com.gdcp.weibo.service;
import com.gdcp.weibo.dto.CollectionExecution;
import com.gdcp.weibo.entity.Collection;
public interface CollectionService {
/**
* 添加或删除微博收藏
* @param collection
* @return
*/
CollectionExecution checkCollection(Collection collection);
/**
* 查询的微博的收藏列表
* @param collec... |
package com.company;
public class Cliente
{
private int id;
private String nombre;
private int cupo;
public Cliente(int id, String nombreCliente, int cupo)
{
this.id=id;
nombre=nombreCliente;
this.cupo=cupo;
}
public int getId() {
return id;
}
publ... |
package bean;
/**
* Created by zhuxinquan on 16-8-14.
*/
public class Message {
private String name;
private String desc;
public Message() {
}
public Message(String name, String desc) {
this.name = name;
this.desc = desc;
}
public String getName() {
return name;... |
package com.komaxx.komaxx_gl;
import java.util.Hashtable;
import android.graphics.Rect;
import android.opengl.GLES20;
import android.opengl.Matrix;
import com.komaxx.komaxx_gl.math.MatrixUtil;
import com.komaxx.komaxx_gl.math.GlRect;
import com.komaxx.komaxx_gl.math.GlTrapezoid;
import com.komaxx.komaxx_gl.math.Vect... |
package net.chunk64.gui;
import javax.swing.*;
import java.awt.*;
import java.io.IOException;
import java.io.InputStream;
public class GUI
{
public static final Dimension WINDOW_SIZE = new Dimension(800, 800);
public static Font FONT = loadFont();
public static GUI INSTANCE;
private PanelController controller;
... |
package com.itfdms.gateway.component.handler;
import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.repository.DefaultRateLimiterErrorHandler;
import com.marcosbarbero.cloud.autoconfigure.zuul.ratelimit.config.repository.RateLimiterErrorHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.ufc.poo.sorveteria.views;
import com.ufc.poo.sorveteria.services.ClienteService;
import com.ufc.poo.sorveteria.services.im... |
package com.kareo.ui.codingcapture.implementation.data;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ServiceLocation {
private long serviceLocationId;
@JsonProperty("serviceLocationId")
public long getServiceLocationId() { return serviceLocationId; }
@JsonProperty("ServiceLocati... |
package at.ebinterface.validation.web.pages.convert.result;
import java.io.IOException;
import java.io.OutputStream;
import javax.annotation.Nullable;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.ap... |
package com.yixin.kepler.dto.webank;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.Date;
/**
* 微众请求报文公共头信息
* Package : com.yixin.kepler.dto.webank
*
* @author YixinCapital -- wangwenlong
* 2018年7月6日 下午... |
/**
* 135. Candy
* 自己还是太菜了
*/
class Solution {
private void fillPit(int[] ratings, int n, int i, int[] candys) {
int l = i - 1, r = i + 1;
candys[i] = 1;
while (l >= 0 && ratings[l] >= ratings[l + 1]) {
int t = ratings[l] == ratings[l + 1] ? 1 : candys[l + 1] + 1;
... |
package com.tencent.mm.ui.chatting.i;
import android.content.Context;
import android.os.Bundle;
import com.tencent.mm.plugin.messenger.a.e.b;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java.lang.ref.WeakReference;
import java.util.Map;
class a$1 implements b {
fi... |
package com.spd.function;
import android.annotation.SuppressLint;
import android.support.v7.app.AppCompatActivity;
/**
* @author :Reginer in 2017/12/28 9:18.
* 联系方式:QQ:282921012
* 功能描述:
*/
@SuppressLint("Registered")
public class BaseActivity extends AppCompatActivity {
}
|
package com.example.crud;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import a... |
package com.practice;
import java.lang.*;
import java.util.Arrays;
import java.util.Vector;
public class StringFunctions {
public static void main(String[] args) {
// String l = "Solar";
// char a = charAt(4, l);
// System.out.println("CharAt is "+a);
// char [] c = toCharArray(l);
// for(char k: c){
// Sy... |
package threadEx;
public class StringEx {
public static void main(String[] args) {
String str1 = "AAA";
String str2 = "AAA";
}
}
|
package org.qizuo.cm.modules.system.pojo;
import org.qizuo.cm.modules.base.pojo.BasePoJo;
import java.util.List;
/**
* @Author: fangl
* @Description: 消息
* @Date: 14:20 2018/10/29
*/
public class MsgPoJo extends BasePoJo {
/**
* 标题
*/
private String title;
/**
* 内容
*/
private S... |
package com.pay.beans.dictionary;
import com.pay.beans.dictionary.base.BaseDict;
import com.pay.beans.dictionary.base.DefaultDict;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.sprin... |
package cn.it.homework6.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
public class DBHelper extends SQLiteOpenHelper {
private static final int VERSION =1;//数据库版本
pub... |
package com.zmji.api.gateway;
import lombok.Getter;
import lombok.Setter;
/**
* @Description:
* @Author: zhongmou.ji
* @Date: 2021/9/4 下午8:46
**/
@Getter
@Setter
public class MobileProduct {
private String price;
}
|
package com.company;
import java.util.Random;
public class Randomness {
public static void main(String[] args) {
Random random =new Random();
int x=1+random.nextInt(10);
System.out.println("My random number is "+x);
System.out.println("Here are some numbers from 1 to 5!");
Sy... |
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
/**
* @Author: Mr.M
* @Date: 2019-03-07 21:53
* @Description:
**/
public class ThreadDemo {
public static void main(String[] args) {
MyThread b = new MyThread();
for (int i = 0... |
package com.phone1000.martialstudyself.adapters;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import... |
execute(registers, memory) {
String valueZero = registers.get("ST0");
String valueOne = registers.get("ST1");
Calculator c = new Calculator(registers, memory);
double regValZero = Double.parseDouble(valueZero);
double regValOne = Double.parseDouble(valueOne);
double resultVal = 0.0;
if( -(... |
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
public class Main
{
private static String file = "data/movementList.csv";
public static void main(String[] args)
{
Account bank = new Account();
bank.getAllDeposit();
bank.get... |
package com.tmtmmobile.tmtm;
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatActivity;
import andr... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mygame.listbox;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.controls.ListBox.ListBoxViewConverter;
import de.lessvoid.nifty.effects.Effect;
import de.lessvoid.nifty.effects.EffectEventId;
import de.... |
package de.jmda.app.uml.shape.type;
import java.util.Optional;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import de.jmda.app.uml.shape.arrow.Arrow;
import de.jmda.app.uml.shape.arrow.Arrow.HeadPositionChangeData;
import de.jmda.core.cdi.event.ActionOnEvent;
import d... |
package com.example.serpentcs.room_sample.database;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
import com.example.serpentcs.room_sample.dao.DetailsDao;
import com.example.serpentcs.room_sa... |
package com.jacobwysko.teacherquotes;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.CheckBox;
import android.widget.EditText;
import java.i... |
package com.example.android.automuteathome.database;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.content.Context;
@Database(entities = {PlaceEntry.class}, version = 1, exportSchema = false)
public abstract ... |
package com.tencent.mm.plugin.appbrand.jsapi.f.a;
public class c$b {
public String data;
public String fTs;
public boolean fTt;
public int height;
public int left;
public int top;
public int width;
}
|
package com.tencent.mm.wallet_core.d;
import com.tencent.mm.ab.l;
public interface f {
void b(int i, int i2, String str, l lVar, boolean z);
}
|
package com.moremoregreen.socialnetwork;
import android.util.Log;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
public class MyFirebaseCloudMessaging extends FirebaseMessagingService {
private static final String TAG = MyFirebaseCloudMessaging.... |
package com.hit.neuruimall.mapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.junit.jupiter.api.Assertions.*;
@SpringBootTest
class Admin2UserMapperTest {
@Autowired
Admin2Us... |
/*
* [y] hybris Platform
*
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
*
* This software is the confidential and proprietary information of SAP
* ("Confidential Information"). You shall not disclose such Confidential
* Information and shall use it only in accordance with the te... |
package com.wshoto.user.anyong.ui.activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import android.widget.TextView;
import android.widget.Toast;
import com.google.gson.Gson;
import com.loopj.android.image.SmartImageView;
import com.wshoto.user.anyong... |
package com.example.healthmanage.ui.activity.doctorhall.doctordetail.appointmentregistration;
import com.example.healthmanage.base.BaseViewModel;
public class AppointmentRegistrationViewModel extends BaseViewModel {
}
|
public class DropoutStack<T> {
private final int DEFAULT_CAPACITY = 3;
private int capacity;
private int top;
private int bottom;
private T[] stack;
// This constructor takes an integer capacity. Top and bottom are set to 0
public DropoutStack(int c) {
capacity = c;
top = 0;
bottom = 0;
... |
package popcol.model;
import java.sql.Date;
public class Customer {
private String cid;
private String cname;
private String cpassword;
private String cemail;
private String cphone;
private int cpoint;
private String cdel;
private Date creg_date;
private Date cbirthday;
private String ccheckbd... |
// Sun Certified Java Programmer
// Chapter 7, P616
// Generics and Collections
import java.util.*;
public class Tester616 {
public void addAnimal(List<Animal> animals) {
animals.add(new Dog()); // this is always legal,
// since Dog can
// be assigned to an Animal
// refer... |
package com.iqmsoft.dw.kafka.resources;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;
import com.iqmsoft.dw.kafka.SimplePubSub;
import lombok.extern.slf4j.Slf4j;
@ServerEndpoint("/kafkaws... |
package com.tencent.tencentmap.mapsdk.a;
import android.graphics.DashPathEffect;
import com.tencent.mapsdk.raster.model.Circle;
import com.tencent.mapsdk.raster.model.LatLng;
public class pv implements Circle {
private qt a;
public pv(qt qtVar) {
this.a = qtVar;
}
public void remove() {
... |
package com.stagnationlab.c8y.driver.platforms.simulated;
import com.stagnationlab.c8y.driver.devices.AbstractRelayActuator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SimulatedRelayActuator extends AbstractRelayActuator {
private static final Logger log = LoggerFactory.getLogger(Simul... |
/*
* Started by Rory Allford (rda10)
*/
package com.septacore.ripple.node;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import com.septacore.ripple.preprocess.PPBase;
/**
* Represents a Payload producer with an output queue
*/
public class PinSource extends ... |
package wine.com.LojasCEP.modelo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity(name = "loja_cep")
public class Loja {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
p... |
package org.anyrtc.utils;
/**
* Created by Skyline on 2016/7/29.
*/
public class RTMPUrlHelper {
/**
* rtmp 推流地址
*/
public static final String RTMP_PUSH_URL = "rtmp://192.168.7.207/live/%s";
/**
* rtmp 拉流地址
*/
public static final String RTMP_PULL_URL = "rtmp://192.168.7.207/live/%... |
package org.mycompany.service.exception;
public class MarkerServiceException extends Exception {
public MarkerServiceException(String message) {
super(message);
}
}
|
package nodomain.cleversort;
import com.google.common.base.Joiner;
import nodomain.cleversort.random.RandomIntegerService;
import nodomain.cleversort.sorter.SorterService;
import nodomain.cleversort.sorter.SortingResult;
import nodomain.cleversort.time.StopWatch;
import nodomain.cleversort.time.StopWatchService;
impor... |
import javax.swing.*;
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class MenuFrame extends JFrame {
public MenuPanel PMenu;
public MenuFrame(String tytuł) // konstruktor
{
super(tytuł);
init();
}
private void init()
{
setLayout(n... |
package com.example.applemac.myapplication;
import android.app.Activity;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap;
import android.graphics.BitmapFact... |
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.GregorianCalendar;
public class ep5_14 {
public static void main(String[] args) {
GregorianCalendar cal = new GregorianCalendar(); // 表示当前日期
System.out.println(new SimpleDateFormat("yyyy-mm-dd hh:mm:ss EEEE")
.format(cal.getTime())... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.