text stringlengths 10 2.72M |
|---|
/*
* 메인 메뉴 화면
*/
package com.example.test;
import java.lang.ref.WeakReference;
import java.net.Socket;
import com.google.android.gcm.GCMRegistrar;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.os.Handler;
import android.os.Mes... |
package com.example.spring.application.annotation;
import com.example.spring.beans.ObjectA;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import java.io.IOException;
@ComponentScan(basePackages = {"com.example.lc... |
package pl.rafalmurawski.basic_auth_h2_project.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import pl.ra... |
/*
*
* [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 th... |
package com.tencent.mm.plugin.appbrand.ui;
import com.tencent.mm.plugin.appbrand.r.k.a;
import java.util.List;
public abstract class AppBrandLauncherUI$c<T> extends a {
public final List<T> guO;
public final List<T> guP;
public AppBrandLauncherUI$c(List<T> list, List<T> list2) {
this.guO = list;
... |
package fragments;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.GridView;
import com.example.zeky.arsamandi.Detall... |
package com.link.api.service.base;
import com.jfinal.plugin.activerecord.Model;
import com.link.common.util.DataGrid;
import com.link.common.util.JqGrid;
import com.link.common.util.ResultJson;
import com.link.model.Channel;
import java.util.List;
/**
* Created by linkzz on 2017-05-26.
*/
public interface BaseServ... |
import java.awt.*; import java.awt.event.*;
public class ExitButton extends Button implements ActionListener
{ public ExitButton() { super("Exit"); addActionListener(this); }
public void actionPerformed(ActionEvent evt) { System.exit(0); }
}
|
package com.example.webproject.repository.jpa;
import com.example.webproject.models.Recipe;
import com.example.webproject.models.vm.Page;
import com.example.webproject.repository.RecipeRepositoryInterface;
import org.springframework.context.annotation.Lazy;
import org.springframework.data.domain.PageRequest;
import or... |
package com.bingo.code.example.design.abstractfactory.dao;
public class BusinessObject {
public static void main(String[] args) {
DAOFactory df = new RdbDAOFactory();
OrderMainDAO mainDAO = df.createOrderMainDAO();
OrderDetailDAO detailDAO = df.createOrderDetailDAO();
mainDAO.saveOrderMain();
detailDAO.save... |
package be.klak.whatsthat.domain;
import com.googlecode.objectify.annotation.Embed;
@Embed
public class DrawablePiece {
private int x;
private int y;
private boolean piece;
public DrawablePiece() {
}
public DrawablePiece(int x, int y) {
this(x, y, false);
}
public DrawablePiece(int x, int y, boolean pie... |
/*
* [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... |
import java.util.ArrayList;
import java.util.List;
public class particularelementarraylist {
public static void main(String[] args) {
List<String> al = new ArrayList<>();
al.add("q");
al.add("w");
al.add("e");
al.add("r");
String s = al.get(3);
System.out.pri... |
package com.tencent.mm.plugin.card.sharecard.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.plugin.card.model.am;
import com.tencent.mm.plugin.card.sharecard.a.b;
import com.tencent.mm.plugin.report.service.h;
class ShareCardListUI$3 implements OnClickListener {
fina... |
package com.stackroute.springboot.service;
import com.stackroute.springboot.domain.Product;
import com.stackroute.springboot.exception.ProductAlreadyExistsException;
import com.stackroute.springboot.exception.ProductNotExistsException;
import java.util.List;
public interface ProductService {
public Product save... |
package it.objectmethod.dao;
import java.util.List;
import it.objectmethod.model.City;
import it.objectmethod.model.Continent;
import it.objectmethod.model.Country;
public interface CitycountryDao {
public City infoCity(String name);
public List<Country> infoCountry(String name, String continent );
public List... |
/**
* 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... |
package com.lec.ex4_Object;
public class Person {
private long juminNo;// ex.980812-1234568
// 생성자
public Person(long juminNo) {
this.juminNo = juminNo;
}
@Override // equals ctrl+space
public boolean equals(Object obj) {
// Person p3;
// p1.equals(p3) -> false / p1.equals(str1) ->false
// p1.equals(p2... |
package com.isystk.sample.common;
/**
* 管理画面 URL
*/
public interface AdminUrl {
/**
* ---- URLs ----
**/
public static final String HOME = "/";
public static final String POST = "/post";
public static final String POST_REGIST = "/post/regist";
public static final String POST_EDIT = "/post/edit";
... |
package collection.practice;
import java.util.ArrayList;
public class StudentClient {
public static void main(String[] args) {
Student studd = new Student(108, "Golu");
Student studd1 = new Student(112, "Utkarsh");
Student studd3 = new Student(116, "Aman");
Student studd4 = new Student(120, "Abraham");
St... |
package com.example.entity;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
@Entity
public class Category {
@Id
@Gene... |
package boj2108;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
//병합정렬
public class Main1 {
private static final int MAX = 4000;
private static BufferedReader bufferedReader;
private static BufferedWri... |
package com.example.test;
import com.example.test.encrypt.AesUtil;
import com.example.test.encrypt.Des3Util;
import com.example.test.encrypt.MD5Util;
import com.example.test.encrypt.RSAUtil;
import com.example.test.sm3.SM3Digest;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import androi... |
package com.smxknife.springboot._01_exception;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.Map;
/**
* @author smxknife
* 2020/7/31
*/
@Component
@ConfigurationProperties(prefix = "unit")
pub... |
package communication;
import main.Conference;
/**
* The interface that is responsible with waiting for requests and processing them. Receives a {@link Conference} which it uses to process requests
*/
public interface CommunicationManager {
/**
* Waits for requests and generates responses using the funct... |
/*
* 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 main;
/**
*
* @author Euller
*/
public class Contatos {
private String nome;
private int telefone;
private Str... |
package com.apprisingsoftware.xmasrogue.entity;
import asciiPanel.AsciiPanel;
import java.awt.Color;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.List;
import java.util.Random;
public enum Entities {
// turns/
// maxHP regen char color name
PLAYER( 20, 10, '@', AsciiPanel.... |
package net.thumbtack.asurovenko.trainee;
import net.thumbtack.asurovenko.trainee.figures.Rectangle;
import net.thumbtack.asurovenko.trainee.generics.ArrayBox;
public class NamedArrayBox<T extends Rectangle> extends ArrayBox<T> {
private String name;
public NamedArrayBox(T[] arrayObject, String name) {
... |
package searching;
public class SubsetSums {
public static void main(String[] args) {
int n = 3;
int A = -1;
int B = 2;
int arr[] = { 1, -2, 3 };
System.out.println(subsetSums(arr, n, A, B));
}
static int res = 0;
static int subsetSums(int arr[], int n, int A, int B) {
calculate(0, 0, arr, n, A, B);
... |
public class Egret {
private String color;
public Egret() {
this("white");
}
public Egret(String color) {
color = color;
}
public static void main(String[] args) {
Egret e = new Egret();
System.out.println("Color:" + e.color);
}
}
// A
// Color:
// B
// Color... |
package calculation;
public class _CalculationTest {
} |
package com.rca_gps.app.model;
import java.io.Serializable;
/**
* Created by wafer on 2016/12/6.
*/
public class HisttoryCaseInfo implements Serializable {
/**
* "pagination": null,
"isSuccess": true,
"errorCode": "None",
"errorMessage": "",
"resCode": 0,
"resDes": ""
*/
... |
package com.tencent.mm.plugin.webview.ui.tools.jsapi;
import android.app.ProgressDialog;
import android.graphics.Bitmap;
import com.tencent.mm.R;
import com.tencent.mm.ak.c.c;
import com.tencent.mm.pluginsdk.model.app.f;
import com.tencent.mm.ui.base.h;
import java.util.Map;
class g$10 implements c {
final /* syn... |
package com.tencent.mm.plugin.wallet_payu.order.ui;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.mm.ab.l;
import com.tencent.mm.plugin.wallet_payu.order.a.c;
import com.tencent.mm.plugin.wxpay.a$f;
import com.tencent.mm.plugin.wxpay.a$g;
import com.te... |
package sixkyu.spinwords;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
class SpinWordsTest {
SpinWords spinWords;
@BeforeEach
public void init() {
spinWords = new SpinWords();
}
@Test
... |
public class ShotEntity extends Entity {
public double Speed = -300;
public DesignWindow Game;
public boolean used = false;
public ShotEntity(DesignWindow Game, String sprite, int X, int Y)
{
super(sprite,X,Y);
this.Game = Game;
SpeedY = Speed;
}
public void move(long Delta)
{
super.Move(Delta);... |
package com.locadoraveiculosweb.modelo.dtos;
import java.util.Date;
import com.locadoraveiculosweb.modelo.Sexo;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public class MotoristaDto extends UsuarioDto {
MotoristaDto(Long codigo, St... |
package com.spring.domain;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
@Entity
@Table(name="sme_sf_fieldview... |
package gameMechanics;
import utilities.DoubleLinkedLockedList;
public class ElectricityNetwork {
private DoubleLinkedLockedList<ElectricitySubNetwork> subNetworks;
ElectricityNetwork(){
subNetworks=new utilities.DoubleLinkedLockedList<ElectricitySubNetwork>();
}
public ElectricitySubNetwork a... |
package com.challenge.bibliotheque.endpoint.bean;
import java.util.List;
public class RechercherAlbumResponse {
List<AlbumResponse> listeAlbums;
public List<AlbumResponse> getListeAlbums() {
return listeAlbums;
}
public void setListeAlbums(List<AlbumResponse> listeAlbums) {
this.listeAlbums = listeAlbums;... |
package temakereso.service;
import temakereso.entity.Category;
import temakereso.entity.Department;
import temakereso.helper.ReportFilters;
import temakereso.helper.TopicDto;
import temakereso.helper.TopicType;
import java.util.List;
import java.util.Map;
public interface TopicReportService {
/**
* Returns... |
package com.company.ClassRelationship;
public class Worker {
public String name;
public String type;
public Worker(String name, String type) {
this.name = name;
this.type = type;
}
public String toString() {
return name + " " + type;
}
}
|
public class Main {
public static void main(String[] args) {
// write testcode here
Counter a = new Counter(1,true);
System.out.println(a.value());
a.decrease();
System.out.println(a.value());
a.decrease();
System.out.println(a.value());
Counter c = n... |
package com.tencent.mm.plugin.appbrand.launching.b;
/* synthetic */ class e$1 {
static final /* synthetic */ int[] ghg = new int[a$a.akS().length];
static {
try {
ghg[a$a.ggZ - 1] = 1;
} catch (NoSuchFieldError e) {
}
try {
ghg[a$a.ghb - 1] = 2;
... |
package org.yggard.brokkgui.panel;
import java.util.Arrays;
import org.yggard.brokkgui.component.GuiNode;
import org.yggard.brokkgui.control.GuiFather;
import org.yggard.brokkgui.data.RelativeBindingHelper;
import org.yggard.brokkgui.data.ZLevelComparator;
import org.yggard.brokkgui.internal.IGuiRenderer;
import org.... |
package com.tyss.cg.jpa.mapping;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import com.tyss.cg.jpa.beans.AddressBean;
import com.tyss.cg.jpa.beans.EmployeeInfoBean;
import lombok.extern.java.... |
package laserlight;
import laserlight.GameItemsListener.gameItems;
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.ArrayList;
public class Gam... |
package chapter_1_05_Extends;
public class AClass {
/**
* @param args
* @throws IllegalAccessException
* @throws InstantiationException
*/
public static void main(String[] args) throws InstantiationException, IllegalAccessException {
// TODO Auto-generated method stub
AClass a = new AClass... |
package presentation;
import logic.Logika;
import java.util.Scanner;
public class Main {
static Logika logika = new Logika();
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true){
System.out.println("________________________");
System.out.... |
package com.tencent.mm.plugin.freewifi.e;
import com.tencent.mm.plugin.freewifi.a.a.a;
import com.tencent.mm.plugin.freewifi.e.j.2.1;
import com.tencent.mm.plugin.freewifi.k.b;
import com.tencent.mm.plugin.freewifi.m;
import com.tencent.mm.plugin.freewifi.ui.FreeWifiFrontPageUI;
import com.tencent.mm.plugin.freewifi.u... |
/*
* 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 ma... |
package com.example.a2education;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
class DatabaseHelper extends SQLiteOpenHelper {
private static final String DATABASE_NAME = "user_scores";
private static final int DATABASE_VERSION ... |
package com.ib.dtos;
import java.util.Date;
import java.util.List;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonAutoDetect.Visibility;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jac... |
package Uebungsblatt4;
import java.util.ArrayList;
import java.util.Collections;
public class Bank {
private ArrayList<Kredit>list=new ArrayList<>();
public Bank(ArrayList<Kredit> list) {
super();
this.list = list;
}
public ArrayList<Kredit> getKredit()
{
Collections.sort(list);
retu... |
package day27_customMethods;
public class voidMethodPractice_removeduplicate4 {
//task.write a method that can remove duplicate from the string and print out the result
//(aabbbccc)
//output(abc)
public static void main(String[] args) {
removeDuplicates("abbfhdjdyyydh");
}
public static void removeDuplicate... |
package com.tencent.mm.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnDismissListener;
import android.os.Bundle;
import com.tencent.mm.R;
import com.tencent.mm.model.au;
import com.tencent.mm.model.bg;
import com.tencent.mm.model.q;
import com.tencent.mm.sdk.platformtools.x;
impor... |
package com.tencent.mm.plugin.card.ui.view;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import com.tencent.mm.plugin.card.a.d;
import com.tencent.mm.plugin.card.a.e;
import com.tencent.mm.protocal.c.pr;
import com.tencent.mm.pr... |
/**
* Engine / Entity
*/
package edu.self.engine;
import java.awt.Color;
import java.awt.Graphics2D;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Entity Class
*/
public abstract class Entity {
/**
* Debug
*/
private static fi... |
package socks.merchant;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Solution {
// Complete the sockMerchant function below.
static int sockMerchant(int n, int[] ar) {
HashSet<Integer> individualNumbers=new HashSet<>();
for(int i=0;i<ar... |
package zm.gov.moh.common.submodule.form.model;
import java.io.Serializable;
public class Action implements Serializable {
//added a static field for criteria
public static final String ACTION_TYPE_CRITERIA = "criteria";
String type;
Metadata metadata;
public String getType() {
return ty... |
package com.yknx4.magmarooms;
import android.util.Log;
import com.google.api.client.util.DateTime;
import com.google.api.services.calendar.model.Event;
import java.sql.Date;
import java.text.DateFormat;
/**
* Created by yknx4 on 2/19/16.
*/
public class Cleaner {
private final Event mEvent;
private Clean... |
package com.tencent.mm.plugin.appbrand.dynamic;
import android.os.Bundle;
import com.tencent.mm.ipcinvoker.a;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.modelappbrand.s;
import com.tencent.mm.sdk.platformtools.x;
class a$a implements a<Bundle, Bundle> {
private a$a() {
}
public final /* sy... |
import com.sun.tools.doclets.Taglet;
import com.sun.javadoc.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
public class ExampleCodeTaglet implements Taglet {
/**
* Ge... |
package org.melayjaire.boimela.data;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteStatem... |
package com.example.ui.pages;
import com.codeborne.selenide.Condition;
import com.codeborne.selenide.Selenide;
import com.codeborne.selenide.SelenideElement;
import io.qameta.allure.Step;
import static com.codeborne.selenide.Condition.*;
import static com.codeborne.selenide.Selenide.$;
public class LoginPage extends ... |
package numerosprimos;
public class EvaluaNumeros
{
public static boolean esPrimo(int numero){
int contador = 2;
boolean primo=true;
while ((primo) && (contador!=numero)){
if (numero % contador == 0)
primo = false;
contador++;
}
return primo;
}
public static boolean esMultiploSiete(in... |
package com.baidu.oauth.service;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.baidu.oauth.dao.BaiduUserDao;
import com.baidu.oauth.domain.BaiduUser;
import com.baidu.oauth.qvo.BaiduUserQvo;
import... |
package kodlamaio.hrms.core.verifications;
import org.springframework.stereotype.Repository;
@Repository
public class MailManager implements VerificationService {
@Override
public void sendEmail(String email, String code) {
System.out.println("Doğrulama kodu " + email + " adresine gönderildi. Kod: " + code);
}
... |
package org.aion.kernel;
import java.math.BigInteger;
import org.aion.avm.core.BillingRules;
import org.aion.avm.core.util.Helpers;
import java.util.Arrays;
import java.util.Objects;
public class Transaction {
public static Transaction create(byte[] from, long nonce, BigInteger value, byte[] data, long energyL... |
package chess.pkg2;
public class Pawn extends Piece {
public Pawn(int piecePosition, int alliance) {
super(piecePosition, alliance);
}
public final static int[] whitePawnEvaluator = {
0 ,0 ,0 , 0 , 0 ,0 ,0 ,0 ,
50,50,50, 50, 50,50,50,50,
10,10,20, 30, 30,20,10,10,
... |
package com.pfchoice.springboot.service.impl;
import java.util.List;
import com.pfchoice.springboot.model.ICDMeasure;
import com.pfchoice.springboot.repositories.ICDMeasureRepository;
import com.pfchoice.springboot.service.ICDMeasureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.s... |
package jp.noxi.collection;
import javax.annotation.Nonnull;
final class WhereIndexCollection<TSource> extends LinqCollection<TSource> {
final IndexPredicate<TSource> mPredicate;
WhereIndexCollection(@Nonnull Iterable<TSource> iterable, @Nonnull IndexPredicate<TSource> predicate) {
super(iterable);
... |
/**
@author Chazwarp923
*/
package tech.chazwarp923.unifieditems;
import java.io.File;
import org.apache.logging.log4j.Logger;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.c... |
/*
* Copyright (c) 2016 Filippo Engidashet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
/*
* 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 lesson22.hw1;
public class ArrayUtils {
public static int maxElement(int[] array) {
int max = array[0];
for (int el : array) {
if (el > max)
max = el;
}
return max;
}
public static int nCount(int[] array, int n) {
int count = 0;... |
package Client.Services;
import Client.Services.*;
import Client.Services.Enums.*;
public class Management extends Worker
{
private double weeklyBenefits;
private double bonus;
public Management()
{
super();
weeklyBenefits=100.00;
bonus = 10.0;
}
public Management(String a,int b ,int c,Jobs d,double e,dou... |
package com.tsn.service;
import com.tsn.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 用户角色表 服务类
* </p>
*
* @author tsn
* @since 2021-07-21
*/
public interface UserRoleService extends IService<UserRole> {
}
|
package com.wiipu.mall.fragment;
import java.util.ArrayList;
import android.app.Fragment;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.... |
package task3;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Main obj=new Main();
obj=null;
System.gc();
}
protected void finalize() {
System.out.println("hello");
}
}
|
package com.tencent.mm.plugin.emoji.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import com.tencent.mm.plugin.emoji.f.g;
class EmojiStoreDetailUI$10 implements OnClickListener {
final /* synthetic */ EmojiStoreDetailUI inz;
EmojiStoreDetailUI$10(EmojiSto... |
package de.zarncke.lib.init;
import java.io.File;
import java.util.jar.Manifest;
import de.zarncke.lib.err.GuardedTest;
import de.zarncke.lib.io.IOTools;
import de.zarncke.lib.io.store.FileStore;
import de.zarncke.lib.io.store.Store;
import de.zarncke.lib.io.store.StoreUtil;
public class BootTest extends ... |
package laioffer.June24th;
import java.util.Comparator;
import java.util.PriorityQueue;
/**
* Created by mengzhou on 6/24/17.
*/
public class CourseSchedule {
class Interval {
public int start;
public int end;
public Interval(int start, int end) {
this.start = start;
... |
/*
* Copyright (C) 2019-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... |
package com.example.vezbepredtest001.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.vezbepredtest001.R;
import ... |
package com.example.radio.Activity;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import com.example.radio.Model.AllData;
import com.example.radio.R;
import com.example.radio.UserStatusIntetFace;
... |
package se.ecutb.oscarjohanneson;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class AppTest
{
private HangMan testObject;
@Before
public void init() {
testObject = new HangMan("Books");
}
@Test
public void testRandomGeneratedWords()
{
/... |
package com.admin;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.view.GravityCompat;
import androidx.drawerlayout.widget.DrawerLayout;
import com.g... |
/*
* Copyright: (c) 2004-2011 Mayo Foundation for Medical Education and
* Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the
* triple-shield Mayo logo are trademarks and service marks of MFMER.
*
* Except as contained in the copyright notice above, or as used to identify
* MFMER as the author of ... |
package com.tencent.mm.plugin.wallet_core.ui;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.mm.g.a.qu;
import com.tencent.mm.plugin.wallet_core.model.Orders.ShowInfo;
import com.tencent.mm.sdk.b.a;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformto... |
package com.fleet.exception.controller;
import com.fleet.exception.config.exception.BaseException;
import com.fleet.exception.json.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author April Han
*/
@RestController
public class ... |
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import soot.Local;
import soot.MethodOrMethodContext;
import soot.PackManager;
import soot.Scene;
import soot.SceneTransformer;
import soot.SootClass;
import soot.SootField;
import... |
package com.tencent.mm.plugin.appbrand.ui;
class h$1 implements Runnable {
final /* synthetic */ int bpX;
final /* synthetic */ String etb;
final /* synthetic */ h gwP;
h$1(h hVar, int i, String str) {
this.gwP = hVar;
this.bpX = i;
this.etb = str;
}
public final void ... |
package com.hason.dtp.message.consumer.receiver;
import com.hason.dtp.account.payload.RegistPoint;
import com.hason.dtp.core.utils.JsonMapper;
import com.hason.dtp.core.utils.result.Result;
import com.hason.dtp.message.consumer.service.MessageServiceClient;
import com.hason.dtp.message.consumer.service.PointServiceCli... |
package premiereleague.crawler;
/**
* This class contains a list of useful constants
* @author Andrés Sánchez
*/
public class Constants
{
public static final String USER_AGENT = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19";
}
|
package readingmeter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
@Entity
public class MeterReading {
@Id
@Generated... |
/**
* This class ParkingMeter know
* the number of minutes of parking time that has been purchased.
*/
public class ParkingMeter
{
private int purchasedTime;
/**
* no-arg constructor, setting the variable to zero.
*/
public ParkingMeter()
{
setPurchasedTime(0);
}
/**
* constructor, s... |
package com.accp.service.impl;
import com.accp.entity.Sellquote;
import com.accp.dao.SellquoteDao;
import com.accp.service.ISellquoteService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author ljq
* @since 2019... |
package com.techlab.lskov;
public class Penguin extends Bird {
public Penguin() {
super.setFlyable(false);
System.out.println("cant fly");
}
@Override
public void fly() {
// System.out.println("I'm flying high, across the mountain !");
}
}
|
package collectionpackage;
import java.util.Arrays;
public class CompareStrings {
public static void main(String[] args) {
// TODO Auto-generated method stub
String s1="Latha";
String s2="Kalaiarasan";
String s3="Murugan";
String s4="Ramamoorthy";
String [] s= {s1,s2,s3,s4};
Arrays.sort(s);
for(Stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.