text stringlengths 10 2.72M |
|---|
package kxg.searchaf.url.gymboree;
import java.util.ArrayList;
public class GymboreeUtil {
public ArrayList<GymboreeProduct> checkuser(
ArrayList<GymboreeProduct> matchprolist,
GymboreeMailList amail, String ttype) {
ArrayList<GymboreeProduct> usermatch = new ArrayList<GymboreeProduct>();
//baby... |
package com.example.threadapp;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.io.File;
import java.util.Random;
import java.util.concurr... |
package com.esum.wp.ims.clientstatlog.dao.impl;
import java.util.List;
import com.esum.appframework.dao.impl.SqlMapDAO;
import com.esum.wp.ims.clientstatlog.dao.IClientStatLogDAO;
public class ClientStatLogDAO extends SqlMapDAO implements IClientStatLogDAO {
protected String selectDailyClientStatLogID = "";
publ... |
package Models;
/**
* Created by BurakMac on 13/05/15.
*/
public class Requirement {
}
|
/*
* (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 com.thecupboardapp.cupboard;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher... |
package com.rengu.operationsoanagementsuite.Service;
import com.rengu.operationsoanagementsuite.Entity.DeviceEntity;
import com.rengu.operationsoanagementsuite.Utils.Utils;
import org.springframework.stereotype.Service;
import java.io.IOException;
import java.net.*;
import java.util.Arrays;
@Service
public class UDP... |
package example;
public class UsbDiskWriter implements IDeviceWriter {
public String saveToDevice() {
return "save-to-usb";
}
} |
package com.freddygenicho.mpesa.stkpush.interfaces;
import com.freddygenicho.mpesa.stkpush.model.Token;
public interface TokenListener {
void onTokenSuccess(Token token);
void OnTokenError(Throwable throwable);
}
|
/*
package tm.controller;
import org.apache.tiles.preparer.ViewPreparer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind... |
package com.example.demo.models.service.estadosolicitud;
import com.example.demo.models.dao.DIEstadoSolicitud;
import com.example.demo.models.entity.EstadoSolicitud;
import com.example.demo.models.entity.EstadoSolicitudPK;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... |
package com.jd.jarvisdemonim.ui.testfragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CalendarView;
import android.widget.TextView;
import com.... |
package ca.usask.cs.srlab.simclipse.ui.view.clone;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.ui.IViewPart;
import ca.usask.cs.srlab.simclipse.SimClipsePlugin;
public class CloneViewContentProvider im... |
package com.dokyme.alg4.sorting.application;
import com.dokyme.alg4.sorting.Sorting;
import com.dokyme.alg4.sorting.priorityqueue.MaxHeap;
import static com.dokyme.alg4.sorting.basic.Example.*;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
/**
* Created by intellij IDEA.But custom... |
public class Employee
{
private String name =" ";
private int idnumber = 0;
private String department = " ";
private String position =" ";
public Employee (String name, int idnumber, String department, String position)
{
this.name = name;
this.idnumber = idnumber;
this.department = department;
... |
package com.insurance.quote.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import com.insurance.quote.entity.Accounts;
import com.insurance.quote.entity.Bussiness_Segment;
import... |
package net.davoleo.javagui.forms.controls;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class JMultiListGui extends JFrame {
private JList leftList, rightList;
private JButton moveButton;
private static String[] food = {"bacon",... |
package com.example.android.geoquizstudyguide;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.LinearLayoutManager;
import java.util.ArrayList;
import java.util.List;
public class... |
package com.offbeat.apps.tasks.Utils;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import com.offbeat.apps.tasks.R;
public class Utils {
Context mContext;
public Utils(Context mC... |
package com.boge.controller;
import com.boge.service.MessageService;
import com.boge.util.SignUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.w... |
package xyz.spacexplorer.utils;
public class Result extends BaseEntity {
private static final long serialVersionUID = -6547341289120281153L;
public static final String SUCCESS_CODE = "0";
public static final String FAILE_CODE = "1";
private String retCode;
private String retMessage;
public Re... |
package ch.ffhs.ftoop.doppelgruen.quiz.game;
/** Representations for all the valid locations for the game where the player could be. */
public enum Location {
LOBBY,
LOOKING_FOR_GAME,
INGAME
}
|
package com.DataDriven_NewTours;
import org.testng.annotations.Test;
public class xmlDemo {
@Test
public void DisplayResult() {
System.out.println("Hello welcome to selenium world");
}
}
|
package com.bcq.oklib.net.view;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
import com.bcq.oklib.net.listener.refresh.OnLoadListener;
import com.bcq.oklib.net.listener.refresh.OnRefreshListener;
/**
* @author: BaiCQ
* @className: BaseListView
* @Description: ... |
package com.servlets;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.List;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.htt... |
import java.io.Console;
import java.math.BigInteger;
public class HashMap<Key, Value> {
private boolean quadratic = false; // Use quadratic probing
private boolean exactSize = false; // Don't round capacity up to next prime
private double maxLoad = 0.5; // Load factor at which table is resized
p... |
package StackAndQueue.WindowMaxValue;
import java.util.LinkedList;
/**
* @author zjbao123
* @version 1.0
* @since 2020-08-30 22:31:08
*/
public class WindowMaxValue {
public static int[] getWindowMaxValue(int[] arr, int w) {
if(arr == null || w < 1 || arr.length < w){
return null;
... |
package com.atlassian.connector.intellij.remoteapi;
import com.atlassian.connector.commons.api.ConnectionCfg;
import com.atlassian.connector.intellij.util.HttpClientFactory;
import com.atlassian.theplugin.commons.cfg.ServerId;
import com.atlassian.theplugin.commons.exception.HttpProxySettingsException;
import com.atla... |
package net.mv.app;
import javax.ejb.Stateless;
@Stateless(name="calculate")
public class Calculator implements CalculatorRemote {
public Calculator(){
}
@Override
public double add(double first, double second) {
return first+second;
}
@Override
public double power(double first, double second) {
... |
package com.example.httptestapp.http;
import android.content.Context;
import android.util.Log;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.navercorp.volleyextensions.volleyer.builder.PostBuilder;
import com.navercorp.volleyextensions.vo... |
package com.ipincloud.iotbj.srv.domain;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Time;
import java.sql.Date;
import java.sql.Timestamp;
import com.alibaba.fastjson.annotation.JSONField;
//(Dtype)设备类型
//generate by redcloud,2020-07-24 19:59:20
public class Dtype implements Serializable... |
package edu.uestc.sdn;
import struct.StructClass;
import struct.StructField;
@StructClass
public class Packet_in {
@StructField(order = 0)
public short ingress_port ;
@StructField(order = 1)
public short reason ;
@StructField(order = 2)
public byte[] dmac = new byte[6];
@StructField(o... |
/*
* 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 PO;
/**
*
* @author QueroDelivery
*/
public class cashback {
//para banco
private int cod_cash;
private int cod... |
//
// Decompiled by Procyon v0.5.36
//
package com.davivienda.sara.base;
import java.util.List;
import java.io.FileNotFoundException;
import com.davivienda.sara.entitys.HostAtm;
import java.util.Collection;
public interface ProcesadorArchivoHostInterface
{
Collection<HostAtm> getRegistrosHost() throws FileNotF... |
package com.zarokima.mastersproject.util;
import com.badlogic.gdx.physics.box2d.Contact;
import com.badlogic.gdx.physics.box2d.ContactImpulse;
import com.badlogic.gdx.physics.box2d.ContactListener;
import com.badlogic.gdx.physics.box2d.Manifold;
public class MastersContactListener implements ContactListener
{... |
package com.mabang.android.entity;
public enum Enable {
ENABLE(1, "可用"), UNABLE(0, "不可用");
private Integer value;
private String text;
private Enable(Integer value, String text) {
this.value = value;
this.text = text;
return;
}
public Integer getValue() {
retu... |
/**
* Test support for core AOT classes.
*/
@NonNullApi
@NonNullFields
package org.springframework.aot.test.generate;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
|
package pl.basistam.books;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
import java.util.List;
@XmlRootElement(name = "book")
@XmlType(propOrder = {"authors", "titles", "isbn", "state"})
public class Book implements Serializable {
private ... |
/*
* APNSMessenger.java
*
**********************************************************************
Copyright (c) 2013 - 2014 netty-apns
***********************************************************************/
package apns.netty;
import java.util.Calendar;
import org.apache.log4j.Logge... |
package com.test.base;
/**
* On a 2D plane, we place stones at some integer coordinate points. Each coordinate point may have at most one stone.
* 在一个二维矩阵上,放置一些点,每个点最多有一个值
*
* Now, a move consists of removing a stone that shares a column or row with another stone on the grid.
* 然后,如果点的行或列相同,可以移除一些点
*
* What ... |
package com.emed.shopping.dao.model.admin.system;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
public class ShopAccessory implements Serializable {
@Id
@GeneratedValue(generator = "JDBC")
private ... |
package com.hanks.algorithm.service;
import com.hanks.algorithm.common.exception.ServiceException;
public interface AlgorithmService {
Integer[] bubbleSort(Integer[] metaData) throws ServiceException;
Integer[] selectionSort(Integer[] metaData) throws ServiceException;
Integer[] quickSort(Integer[] meta... |
package com.sansan.tx.transfer_demo4;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.... |
package fr.skytasul.quests.utils.compatibility;
public class MissingDependencyException extends RuntimeException{
private static final long serialVersionUID = 8636504175650105867L;
public MissingDependencyException(String depend){
super("Missing dependency: " + depend);
}
} |
package com.dfire.dao;
import com.dfire.common.entity.*;
import com.dfire.common.entity.model.HeraJobBean;
import com.dfire.common.entity.vo.HeraDebugHistoryVo;
import com.dfire.common.enums.StatusEnum;
import com.dfire.common.service.*;
import com.dfire.common.util.ActionUtil;
import com.dfire.common.util.BeanConvert... |
package com.atlassian.theplugin.idea.action.issues;
import com.atlassian.theplugin.idea.IdeaHelper;
import com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
public class CreateIssueAction extends AnAct... |
package com.karya.dao;
import java.util.List;
import com.karya.model.Login001MB;
import com.karya.model.Role001MB;
import com.karya.model.UserRole001MB;
public interface IUserRoleDAO{
public void userRoleAddAction(UserRole001MB userrole001mb);
public UserRole001MB userRoleEditAction(int id);
public void userRole... |
package jianzhioffer;
import java.util.Comparator;
import java.util.PriorityQueue;
/**
* @ClassName : Solution41
* @Description : 数据流中的中位数
* 用最大堆和最小堆来实现:中位数,把数组分成了两部分,一部分全小于mid,另一部分全大于mid
* 最大堆存小的数,最小堆存大的数,奇数放小数,偶数使放大数
* @Date : 2019/9/19 19:51
*/
public class Solution41 {
int count=0;
PriorityQueue<Int... |
package com.tony.service.Impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tony.dao.WordDao;
import com.tony.model.WordModel;
import com.tony.service.WordService;
@Service("WordService")
public class WordServiceImpl ... |
package com.java.util.one.test;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class ArticleListTest {
public static void main(String[] args) throws ParseException {
//创建集合对象
... |
package com.laulee.gank.base;
/**
* Created by laulee on 16/12/25.
*/
public class HttpResult<T> {
private String source;
private String message;
private int code;
private T value;
public String getSource() {
return source;
}
public T getValue() {
return value;
}... |
package bms.table;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.logging.Logger;
import java.util.regex.Pattern;
import bms.table.Course.Trophy;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
/**
* 難易度表パーサ
*
* @author e... |
/*
* Copyright (c) 2014 ICM Uniwersytet Warszawski All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.saml.sp;
import org.springframework.stereotype.Component;
import pl.edu.icm.unity.server.utils.RemoteAuthenticationContextManagement;
/**
* Singleton component man... |
package msip.go.kr.board.service.impl;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import msip.go.kr.board.entity.BoardMaster;
import msip.go.kr.board.service.BoardMasterService;
import msip.go.kr.common.entity.Tree;
import org.springframew... |
package com.codemybrainsout.onboarder;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.ColorRes;
import android.support.annotation.DrawableRes;
import android.support.annotation.StringRes;
import android.support.design.w... |
package com.citibank.ods.entity.pl;
import com.citibank.ods.entity.pl.valueobject.TbgSystemEntityVO;
//
//©2002-2007 Accenture. All rights reserved.
//
/**
*@author michele.monteiro,02/05/2007
*/
public class TbgSystemEntity extends BaseTbgSystemEntity
{
/**
* Cria novo objeto TplEntryInter... |
package pl.basistam.zad2;
import org.xml.sax.SAXException;
import pl.basistam.zad3.books.Books;
import javax.xml.XMLConstants;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.validation.SchemaFactory;
import java.io.File;
public class Reade... |
package main.java;
import sx.blah.discord.api.ClientBuilder;
import sx.blah.discord.api.IDiscordClient;
import sx.blah.discord.handle.obj.Status;
import sx.blah.discord.util.DiscordException;
public class Bot {
public static IDiscordClient discordClient;
/**
* Main function
* @param args the token... |
package edu.nyu.cs9053.homework4.hierarchy;
import java.util.Objects;
public class Swamp extends BodyOfWater {
private final int swampParameter;
public Swamp(String name, double volume, int swampParameter) {
super(name, volume);
this.swampParameter = swampParameter;
}
pub... |
package com.test.utilities;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.aeonbits.owner.ConfigFactory;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
public class TestEnv {
Environment testEnvironment;
@T... |
package be.dpms.medwan.webapp.wo.authentication;
import be.dpms.medwan.common.model.IConstants;
import java.util.Hashtable;
/**
* Created by IntelliJ IDEA.
* User: MichaŽl
* Date: 15-avr.-2003
* Time: 10:59:16
* To change this template use Options | File Templates.
*/
public class AuthenticationTokenWO {
... |
package br.senai.sp.jandira.app;
import br.senai.sp.jandira.lista.TipoConta;
import br.senai.sp.jandira.model.Agencia;
import br.senai.sp.jandira.model.Cliente;
import br.senai.sp.jandira.model.Conta;
public class App {
public static void main(String[] args) {
//Criação da Agência que os Todos os Clientes Fazem ... |
package com.minefrance.vampire;
import org.bukkit.Location;
public class Totem {
private String name;
private Location l1;
private Location l2;
private Location spawnLocation;
private String owner;
public Totem(String name, Location l1, Location l2, Location spawnLocation, String owner)
{
this.name = nam... |
package sonto.common;
public abstract class KeyValue {
public String key;
public Object value;
public KeyValue () {
}
public KeyValue (String key, Object v) {
this.key = key;
this.value = v;
}
public KeyValue (String key, int v) {
... |
package com.tvm.reflection;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class ReflectClassDeclaration {
public static void main(String[] args) {
try {
Class<?> myClass = Class.forName("com.tvm.reflection.MyClass");
System.out.println(
"Canonical Form " + myClass.getCano... |
package fr.ucbl.disp.vfos.controller.service;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
//Service Endpoint Interface
@WebService
@SOAPBinding(style = Style.RPC)
public interface CPSLocalService {
@WebMethod String getCPSStatu... |
/*
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/**
*/
package iso20022;
import java.lang.String;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Sender Asynchronicity</b></em>',
* and utilit... |
package bicycles;
import java.util.ArrayList;
import java.util.List;
public class FunRide {
//--
private int max;
private List <Bicycle> bikeList;
public FunRide(int maxNum){
this.max = maxNum;
bikeList = new ArrayList<>();
}
public String accept(Bicycle bicycleType){
//... |
package com.krt.gov.strategy.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.krt.common.util.StringUtils;
import com.krt.gov.device.entity.GovDevice;
import com.krt.gov.device.service.IGovDeviceService;
import com.krt.gov.strategy.service.CallBackService;
import com.krt.gov.thread.CallbackThread;
impo... |
package com.metaco.api.contracts;
import com.google.gson.annotations.SerializedName;
public class PageDetails {
@SerializedName("number")
private int number;
@SerializedName("size")
private int size;
public PageDetails() {
}
public int getNumber() {
return number;
}
publ... |
package org.umssdiplo.automationv01.stepdefinitionproject;
import cucumber.api.PendingException;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.testng.Assert;
import org.umssdiplo.automationv01.core.managepage.Adidas.Ad... |
package lab.heisenbug.sandbox;
import lab.heisenbug.sandbox.payroll.repositories.EmployeeRepository;
import org.junit.Assert;
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.sp... |
package com.esum.framework.security.crypto.encrypt;
import java.io.IOException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.Certificate;
import java.security.cert.CertificateEncodingException... |
package com.sid.notepad;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextVie... |
package com.zzh.cloud;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud... |
package IO;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Sivan on 5/16/2017.
*/
public class MyDecompressorInputStream extends InputStream {
private InputStream in;
public MyDecompressorInputStream(InputStream in) {
this.in = in;
}
@Override
public int read... |
package com.dinglan.moffice.model;
import java.util.Date;
import java.util.List;
import com.dinglan.ext.plugin.TableBind;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;
@SuppressWarnings("serial")
@TableBind(tableName="wx_notice")
public class Notice extends Model... |
package com.sportyShoes.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sportyShoes.model.User;
import com.sportyShoes.repository.UserRepository;
import com.sportyShoes.service.UserCrudService;
@Service
pub... |
package com.project.coupons;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import com.project.dao.CompanyDBDAO;
import com.project.dao.DaoException;
import com.project.dao.ICompanyDAO;
public class TestCoupon {
public static void main(String[] args) throw... |
package com.example.android.navigationaldrawer2.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import com.example.android.navigationaldra... |
package co.company.test.config;
import org.springframework.stereotype.Component;
@Component
public class AppleSpeaker implements Speaker {
@Override
public void volumeup() {
System.out.println("AppleSpeaker");
}
}
|
package utils;
import org.apache.commons.codec.digest.DigestUtils;
/**
* @program: left-box
* @description:
* @author: Payton Wang
* @date: 2019-10-01 13:34
**/
public class SessionUtil {
public static String getSha256Hex(String secret) {
return DigestUtils.sha256Hex(secret);
}
}
|
package br.com.finpe.biblestudy;
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.TextView;
import android.widget.Toast;
import br.com.finpe.biblestudy.dto.Book;
import br.com.finpe.... |
package examples;
public class example6 {
static int metodo(int x, int y, int z) {
return (x+y+z);
}
static int metodo(int x, int z) {
return (x+z);
}
public static void main(String[] args) {
System.out.println("Resultado do metodo 1 = " + metodo(3, 5));
System.out.println("Resultado do metodo 2 =... |
package com.example.gameproject.kittyjump;
import com.example.gameproject.gl.DynamicGameObject;
public class Cat extends DynamicGameObject {
public static final int CAT_STATE_JUMP = 0;
public static final int CAT_STATE_FALL = 1;
public static final int CAT_STATE_HIT = 2;
public static final float CAT_JUMP_V... |
package com.example.examplemod.init;
import com.example.examplemod.blocks.BlockCheese;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecr... |
package com.logicbig.example.primary;
public class DaoB implements Dao {
@Override
public void saveOrder(String orderId) {
System.out.println("DaoB Order saved " + orderId);
}
} |
package br.com.candleanalyser.genetics;
public enum Gene {
BUY_ADVISOR(0, 0, true),
SELL_ADVISOR(0, 0, true),
RSI_ADVISOR_BUY_WEIGHT(0, 0),
RSI_ADVISOR_BUY_NR_CANDLES(14, 14),
RSI_ADVISOR_SELL_WEIGHT(0, 0),
RSI_ADVISOR_SELL_NR_CANDLES(14, 14),
STOCH_RSI_ADVISOR_BUY_WEIGHT(1, 1),
STOCH_RSI_... |
package com.capitalone.socialApiFb.controllers;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMappi... |
package com.sirma.itt.javacourse.intro.task4.arraySorting;
import java.util.List;
import com.sirma.itt.javacourse.InputUtils;
/**
* Class for running the QuickSort class.
*
* @author simeon
*/
public class RunQuickSort {
/**
* Main method for QuickSortImpl.
*
* @param args
* for main metho... |
package no.hartvigor.s306386mappe1;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import androidx.appcompat.app.AlertDialog;
... |
package com.esum.comp.ws.table;
import com.esum.common.record.InterfaceInfoRecord;
import com.esum.framework.common.sql.Record;
import com.esum.framework.core.component.ComponentException;
/**
* WS_INFO 테이블의 레코드와 매칭되는 클래스
*
* Copyright(c) eSum Technologies, Inc. All rights reserved.
*/
public class WsInfoRecord e... |
package com.lenovohit.hwe.treat.service.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.lenovohit.hwe.treat.dao.HisRestDao;
import com.lenovohit.hwe.treat.dao.HisRestEntityResponse;
import com.lenovohit.hwe.treat.dao.HisRestListResponse;
import com.lenovohit.hwe.treat.dao.HisR... |
class car {
Interger id;
String license;
String driver;
Interger passenger;
} |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.inbio.ara.persistence.germplasm;
import java.io.Serializable;
import java.util.Calendar;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persis... |
package com.raymon.api.demo.synchronizeddemo;
/**
* Author: raymon
* Date: 2019/4/7
* Description:可重入粒度测试,调用父类的方法,即调用其他类中的方法
*/
public class SynchronizedSuperClass12 {
public synchronized void doSomthing(){
System.out.println("This is super class");
}
}
class TestClass extends SynchronizedSuperCl... |
package com.example.chat.dto.response;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiResponse {
private Boolean success;
private String message;
} |
package com.xi.main;
import com.xi.ListDemo.MergeList;
import java.text.DecimalFormat;
/**
* Created by Administrator on 2015/12/26.
*/
public class Execute {
public static void main(String[] args) {
// MergeList ml=new MergeList();
// ml.queryList();
// Integer vacantRoom=671;
// I... |
package com.detroitlabs.comicview.controller;
import com.detroitlabs.comicview.model.*;
import com.detroitlabs.comicview.model.Character;
import com.detroitlabs.comicview.service.ComicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.sp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.