text stringlengths 10 2.72M |
|---|
package com.tencent.mm.ui.contact;
public abstract class m extends n {
public a ujV;
public abstract void a(String str, int[] iArr, boolean z);
public abstract void acV();
public m(l lVar, boolean z, int i) {
super(lVar, z, i);
}
public void a(a aVar) {
this.ujV = aVar;
... |
class CarTest{
public static void main(String [] args){
Car c=new Car();
System.out.println(c.getMileage());
c.goStraight(25);
c.turnLeft();
c.goStraight(30);
c.turnRight();
c.goStraight(15);
c.turnLeft();
c.goStraight(20);
System.out.printf("총 주행거리는 %d m입니다",c.getMileage());
}
}
class Car{
private int mil... |
package com.tt.miniapp.titlemenu.item;
import android.app.Activity;
import android.content.Context;
import android.text.TextUtils;
import android.view.View;
import com.tt.miniapp.AppbrandApplicationImpl;
import com.tt.miniapp.shortcut.ShortcutEntity;
import com.tt.miniapp.shortcut.ShortcutEventReporter;
impor... |
package com.example;
import android.os.Handler;
import android.text.TextUtils;
/**
* Created by shivam on 27/02/16.
*/
public class LoginInteractor {
ILoginPresenter listener;
public LoginInteractor(ILoginPresenter listener){
this.listener = listener;
}
public void checkLogin(final Strin... |
package oop1;
public class Account {
// 클래스 변수 - 대부분 상수
static final double RATE_OF_INTEREST = 0.021; // 상수는 모든 글자를 대문자로 적고, 여러 단어의 합성어인 경우 '_'를 사용하여 구분
// 인스턴스 변수
String owner; // 예금주
String no; // 계좌번호
String password; // 비밀번호
int balance; // 잔액
int period; // 가입기간
}
|
/*
* Name: James Horton
* Date: 12/11/2018
* Assignment: Final Project
* File: Product.java
*/
package froggy.s.book.and.game.store;
/**
*
* @author jh0375800
*/
public class Product
{
private String itemCode;
private String itemName;
private String desc;
p... |
package com.sparknetworks.exception;
@SuppressWarnings("serial")
public class QuestionException extends RuntimeException{
public QuestionException(String message){
super(message);
}
}
|
package cn.itsite.abase.demo;
import android.app.Application;
import android.util.Log;
import androidx.annotation.NonNull;
import cn.itsite.abase.mvvm.viewmodel.base.BaseViewModel;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.schedulers.Schedulers;
pu... |
package hirondelle.web4j.ui.translate;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.Locale;
import java.util.regex.*;
import hirondelle.web4j.BuildImpl;
import hirondelle.web4j.request.LocaleSource;
import hirondelle.web4j.ui.tag.TagHelper;
import hirondelle... |
package a5;
import java.beans.Beans;
import java.io.NotSerializableException;
import java.io.Serializable;
import java.io.StreamCorruptedException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import ja... |
/*
* 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.mycompany.gui.hiba;
import com.codename1.components.ImageViewer;
import com.codename1.components.SpanLabel;
import com.cod... |
package edu.softwarica.MeetingAttendence.View;
import edu.softwarica.MeetingAttendence.Controller.Controllerregister;
import edu.softwarica.MeetingAttendence.Model.Modelregister;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
i... |
package com.tencent.mm.plugin.ext.voicecontrol;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.protocal.c.dk;
import com.tencent.mm.protocal.c.dl;
import com.tencent.mm.protocal.c.dm;
import com... |
package com.lti.handson2;
import java.util.Scanner;
public class CountWords
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter the string:");
String s=sc.next();
System.out.println("There are" + count(s)+ "words in the string.");
}
static int count(St... |
/**
* Tanner Yost
* ManageSystem.java
*
* Date: 12/16/2018
*/
package tanneryost.flightreservation;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.Butto... |
package com.days.moment.qna.service;
import com.days.moment.common.dto.PageRequestDTO;
import com.days.moment.common.dto.PageResponseDTO;
import com.days.moment.miniboard.domain.Mini;
import com.days.moment.qna.domain.Qna;
import com.days.moment.qna.dto.QnaDTO;
import com.days.moment.qna.mapper.QnaMapper;
import lombo... |
package 笔试题;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Scanner;
public class 压缩字符 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String next = scanner.next();
scanner.close();
System.out.println(decode(next));
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gr.spinellis.ckjm;
import gr.spinellis.ckjm.utils.FieldAccess;
import gr.spinellis.ckjm.utils.LoggerHelper;
import gr.spinellis.ckjm.utils.MethodCoupling;
import gr.spinellis.ckjm.utils.MethodInvokation;
import... |
import processing.core.PApplet;
import processing.core.PImage;
public class MySketch extends PApplet{
int MAX_TAPPERS = 500;
int WIDTH = 1200;
int HEIGHT = 750;
float SCALE_FACTOR = 10f;
float DEFAULT_SIZE = 2f;
float MIN_SIZE = 0.8f;
String BGpath = "img/img4.png";
Tapper[] tappers =... |
package it.geek.annunci.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
public class LoginForm extends ActionForm{
p... |
package game.core.screen.bottomPanel.subPanels;
import game.core.HexTileActions;
import game.core.screen.Panel;
import game.core.screen.bottomPanel.BottomPanel;
import render2d.Color;
import render2d.elements.Point;
public class SkillPanel extends Panel {
public final static int LAYER = BottomPanel.LAYER + 1;
publ... |
package banking.model;
import java.util.HashSet;
import java.util.Set;
public class User {
@Override
public String toString() {
return "User [userID=" + userID + ", firstName=" + firstName + ", lastName=" + lastName + ", username="
+ username + ", phoneNumber=" + phoneNumber + ", password=" + password + ", ... |
package org.goshop.email.service;
import org.goshop.email.i.EMailService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.goshop.base.service.SpringBaseTest;
/**
* Created by Administrator on 2016/6/21.
*/
public class EMailServiceImplTest extends SpringBaseTest {
... |
package org.xgame.commons.generator;
/**
* @Company: 深圳市烈焰时代科技有限公司
* @Product: flame-gxnjy
* @File: com.flame.game.core.aacommon.generate.ILongIDReset.java
* @Description: 重设接口
* @Create: DerekWu 2017年8月8日 上午11:09:31
* @version: V1.0
*/
public interface ILongIDReset {
void startReset();
}
|
package com.yinghai.a24divine_user.bean;
/**
* @author Created by:fanson
* Created Time: 2017/11/19 15:36
* Describe:本地选择星座的Bean
*/
public class ConstellationBean {
private String constellation;
public String getConstellation() {
return constellation;
}
public void setCo... |
package com.tencent.mm.plugin.webview.ui.tools;
import android.net.Uri;
import com.tencent.mm.plugin.webview.model.ah;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.d;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.f.a;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.i$a;
import com.tencent.mm.protocal.... |
package org.company;
import org.testng.annotations.Test;
public class CompanyInfo {
@Test(priority=1)
private void companyName() {
System.out.println("company name is HCL");
}
@Test(priority=0)
private void companyId() {
System.out.println("company id is 51638");
}
@Test(priority=2)
private void... |
import java.awt.event.KeyEvent;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JOptionPane;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templa... |
package com.example.pedro.pethost;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;
public class AnfitriaoAdapter extends Bas... |
package twoLayerNN;
import java.util.Arrays;
public class NeuronLayer {
int num_neurons;
int num_inputs;
double[][] weights;
Neuron[] neurons;
public NeuronLayer (int num_neurons, double[] weights_arr, double bias) {
this.num_neurons = num_neurons;
this.num_inputs = weights_arr.length/this.num_neurons;
... |
package com.tt.miniapp.monitor;
import android.app.ActivityManager;
import android.content.Context;
import android.os.Debug;
import android.os.Process;
import com.tt.miniapp.AppbrandApplicationImpl;
import com.tt.miniapphost.AppbrandContext;
import com.tt.miniapphost.MiniappHostBase;
public class MemoryMoni... |
/**************************************************************************
* <pre>
*
* Copyright (c) Unterrainer Informatik OG.
* This source is subject to the Microsoft Public License.
*
* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
* All other rights reserved.
*
* (In other words you may co... |
package ru.mindbroker.lesson01;
import ru.mindbroker.common.Task;
import java.util.List;
public class LuckyTicketTask implements Task {
private Integer n;
private Integer qty;
public String run(List<String> data) {
if (data == null || data.get(0) == null) {
return null;
}
... |
package com.ace.easyteacher.Adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.ace.easyteacher.DataBase.TeacherInfo;
import com.ace.easyteacher.R... |
package layouts;
import controller.eventHandler;
import factories.buttonFactory;
import factories.imageFactory;
import javafx.scene.Scene;
public abstract class layout {
protected double windowHeight;
protected double windowWidth;
protected Scene scene;
protected buttonFactory factory;
protected imageFactory im... |
package com.vilio.ppms.dao.common;
import com.vilio.ppms.pojo.common.RouteBankDayTotal;
public interface RouteBankDayTotalMapper {
int deleteByPrimaryKey(Long id);
int insert(RouteBankDayTotal record);
int insertSelective(RouteBankDayTotal record);
RouteBankDayTotal selectByPrimaryKey(Long id);
... |
package hearthstone;
import java.util.Scanner;
public class HearthstoneBoard {
Card deck[];
Card enemyDeck[];
Card hand[] = new Card[10];
Card enemyHand[] = new Card[10];
Card fieldCards[] = new Card[7];
Card enemyFieldCards[] = new Card[7];
int startMana;
int currentMana;
Hero al... |
package com.espendwise.manta.web.forms;
import java.util.List;
import com.espendwise.manta.model.view.TradingPartnerListView;
import com.espendwise.manta.spi.Initializable;
import com.espendwise.manta.util.Pair;
import com.espendwise.manta.util.validation.Validation;
import com.espendwise.manta.web.validator.Distrib... |
/**
*
*/
package com.cnk.travelogix.common.facades.product.impl;
import java.util.ArrayList;
import java.util.List;
import org.fest.util.Collections;
import com.cnk.travelogix.common.facades.product.CnkProductSearchFacade;
import com.cnk.travelogix.common.facades.product.data.BasePageableSearchData;
import com.cnk... |
package com.gorniak.spring.spring_boot_2h.dao;
import com.gorniak.spring.spring_boot_2h.model.Person;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
public interface PersonDao {
int insertPerson(UUID id, Person person);
default int insertPerson(Person person){
... |
package com.piistech.gratecrm.Utils.Service;
import android.app.IntentService;
import android.content.Intent;
import android.content.Context;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Request;
import com.android.volley... |
package JsonParser;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import model.Itune;
/**
* Created by anh khoa on 11/6/2017.
*/
public class ItuneParser {
public static Itune getItune(String url,int i) throws JSONException{
Itune i... |
package com.mideas.rpg.v2.game.classes;
import com.mideas.rpg.v2.game.Joueur;
import com.mideas.rpg.v2.game.item.stuff.Stuff;
import com.mideas.rpg.v2.game.shortcut.SpellShortcut;
import com.mideas.rpg.v2.game.spell.Spell;
import com.mideas.rpg.v2.game.spell.SpellManager;
import com.mideas.rpg.v2.game.spell.list.Ambus... |
/*
package com.bingo.code.example.filecode;
*/
/**
* Created by ZhangGe on 2017/10/26.
*//*
public class ChangeCode {
private String source;
private String destination;
public ChangeCode(String source, String destination) {
this.source = source;
this.destination = destination;
}
... |
package demoGui;
import javax.swing.JList;
import javax.swing.JTree;
import javax.swing.SwingWorker;
import javax.swing.tree.DefaultMutableTreeNode;
/*****************************************************************************************************************************************
* This class represents a para... |
package com.tencent.mm.ui.chatting;
import android.view.View;
import com.tencent.mm.ui.base.MMPullDownView.c;
class y$3 implements c {
final /* synthetic */ y tMm;
y$3(y yVar) {
this.tMm = yVar;
}
public final boolean aCi() {
View childAt = y.a(this.tMm).getChildAt(y.a(this.tMm).getC... |
package nodes.base;
import flow.Wire;
import flow.Bit;
import exceptions.LogicException;
import java.util.List;
import java.util.ArrayList;
public abstract class AbstractGate extends AbstractNode implements Gate{
private List<Wire> inputs;
private List<Wire> outputs;
public AbstractGate(int inputCount, int out... |
package pl.edu.amu.datasupplier.exception;
import lombok.Getter;
import java.util.HashSet;
@Getter
public class TestDataRepleteException extends RuntimeException {
private final HashSet<String> testDataErrors;
public TestDataRepleteException(HashSet<String> testDataErrors) {
this.testDataErrors = ... |
package com.sage.rpg;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class Saving {
public static String SAVE_0 = System.getProperty("user.home") + "\\save0.properties";
public static String SAVE_1 = ... |
package com.sunyd.common.response;
import lombok.Getter;
import java.io.Serializable;
/**
* 统一 Response 设计指南
* NOTE: https://mawen.work/java/2020/07/03/unify-response/
*/
@Getter
public final class BaseResponse<T> implements Serializable {
private static final long serialVersionUID = 3886133510113334083L;
pri... |
package com.smxknife.java2.classloader.hotswap;
/**
* @author smxknife
* 2019/10/31
*/
public class _Doc {
/** 使用ClassLoader实现热部署
* 原理:比较class文件修改时间,如果被修改过,就重新加载
*/
}
|
package org.sankozi.rogueland.generator;
import com.google.common.base.Function;
import org.sankozi.rogueland.model.Item;
import java.util.Collections;
/**
* Generates loot
* @author sankozi
*/
public interface ItemGenerator {
ItemGenerator NULL = new ItemGenerator() {
@Override
public Iterab... |
/**
* ************************************************************************
* Copyright (C) 2010 Atlas of Living Australia All Rights Reserved.
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* Licens... |
package gov.samhsa.c2s.pcm.config;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;
import javax.... |
package model.dao;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import model.vo.movie.CountryVO;
import model.vo.movie.GenreVO;
import model.vo.movie.MovieGradeInfo;
import model.vo.movie.MovieVO;
import model.vo.movie.StaticsVO;
import model.vo... |
/*
* This file is part of PixelCam Mod, licensed under the Apache License, Version 2.0.
*
* Copyright (c) 2016 CrushedPixel <http://crushedpixel.eu>
* Copyright (c) contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
package ca.csf.dfc.poo.Singleton;
public class ObjetSeul {
private static ObjetSeul instance = new ObjetSeul();
//espace memoire deja reserve
private ObjetSeul() {};//constructeur private comme sa personne peut creer la classe
public static ObjetSeul getInstance(){
return instance;
}
p... |
package ru.aahzbrut.reciperestapi.dto.responses.recipe;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import ru.aahzbrut.reciperestapi.domain.Difficulty;
import ru.aahzbrut.reciperestapi.dto.responses.category.CategoryResponse;
import r... |
package br.com.pcmaker.spring.config;
import javax.sql.DataSource;
import org.apache.commons.configuration2.DatabaseConfiguration;
import org.apache.commons.configuration2.FileBasedConfiguration;
import org.apache.commons.configuration2.PropertiesConfiguration;
import org.apache.commons.configuration2.builder.... |
/**
* 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 org.hov.test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import java.util.List;
import org.hov.config.AppConfig;
import org.hov.model.User;
import org.hov.service.UserService;
import org.junit.Ignore;
import org.junit... |
package com.giga.annotation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.util.Arrays;
import java.util.List;
public class CityValidator implements ConstraintValidator<City, String> {
List<String> cities = Arrays.asList("Sai Gon", "Ha Noi", "Da Nang"... |
//This class is responsible for creating and removing the blades when the mouse is dragged based on a set duration
import java.awt.Image;
public class Blade {
private int xPosition;
private int yPosition;
private Image picture;
private int counter;
private final int BLADE_DURATION=7;
public Blade (int x, int ... |
package com.translator.domain.model.validation;
import com.translator.domain.model.numeral.RomanNumeral;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import static com.translator.domain.model.numeral.RomanNumeral.*;
import static com.translator.domain.model.numeral.RomanNumeral.C;
i... |
package model.vo.mycinema;
import model.vo.mycinema.MemberLevelInfoVO;
public class MemberVO {
private int member_no;
private String ssn;
private String id;
private String password;
private String name;
private String member_addr;
private String email;
private String join_day;
private String mem... |
package com.sharpower.service.impl;
import com.sharpower.entity.User;
import com.sharpower.service.UserService;
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
}
|
package com.xindq.yilan.dialog.item;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Point;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.view.Display;
import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
... |
package discreteStochaticSim;
import java.util.Comparator;
/**************************************************************
* Comparador entre Eventos
*
* @author Grupo 11
* <p> Classe que e usada somente para comparar Eventos baseando
* nos seus tempos. Quando usado com o metodo list.sort (Comparador),
* ele c... |
package com.jim.multipos.ui.admin_main_page.fragments.product.adapter;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.jim.mpviews.MpRoundedImageView;
import com.jim.multipos.R;
import co... |
package lastoccurance;
public class Solutiontest {
public static void main (String []args){
Solution s = new Solution ();
int array[] = {1,2,2,2,3};
System.out.println(s.lastOccur(array, 2));
}
}
|
package com.lalit.hibernate.mapping.onetoone.bidirectional;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
public class DeleteDemo {
public static void main(String... s) {
SessionFactory factory = new Configuration().configure("hibernate.cfg-mapp... |
package com.tencent.mm.plugin.hp.b;
import com.tencent.mm.g.a.d;
import com.tencent.mm.model.au;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.x;
import com.tinkerboots.sdk.a;
public final class f extends c<d> {
private static long bvB = 0;
public f() {... |
package onlinerealestateproject.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSe... |
package jc.sugar.JiaHui.jmeter.preprocessor;
import jc.sugar.JiaHui.jmeter.*;
import org.apache.jmeter.protocol.http.modifier.AnchorModifier;
import java.util.HashMap;
import java.util.Map;
@JMeterElementMapperFor(value = JMeterElementType.AnchorModifier, testGuiClass = JMeterElement.AnchorModifier)
public class Anc... |
package com.tencent.mm.plugin.sns.ui;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.messenger.a.b;
import com.tenc... |
/*
* 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 optimization;
/**
*
* @author hp
*/
import java.awt.BorderLayout;
import java.awt.Color;
import org.jfree.chart.ChartFactor... |
package angel.v.devil;
import static android.opengl.GLES10.*;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.ShortBuffer;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.ope... |
package com.tencent.mm.ak.a.b;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
public final class b implements com.tencent.mm.ak.a.c.b {
public final com.tencent.mm.ak.a.d.b mb(String str) {
... |
package Lab06.Zad2;
public interface Deliver {
void deliver(String stuff);
}
|
package com.facebook.react.views.view;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.RippleDrawable;
import android.os.Build;
import android.util.TypedValue;
... |
package javax.vecmath;
import java.io.Serializable;
public class AxisAngle4f implements Serializable, Cloneable {
static final long serialVersionUID = -163246355858070601L;
public float x;
public float y;
public float z;
public float angle;
static final double EPS = 1.0E-6D;
public Axi... |
package com.bricenangue.nextgeneration.ebuycamer;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.ConnectivityManager;
import android.ne... |
package vshah2212.sih;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.util.Log;
import android.widget.Toast;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import cz.msebera.android.httpclient.HttpResponse;
import cz.msebera.android.httpcl... |
package SebastianMiklaszewski.Excercises.Presentation.UseCase.ExerciseOne;
import SebastianMiklaszewski.Excercises.Infrastructure.Adapter.Input.ConsoleInputAdapter;
import SebastianMiklaszewski.Excercises.Presentation.Shared.Input.InputInterface;
import java.math.BigDecimal;
public class MoneyToWithdrawInput {
p... |
package org.simpleflatmapper.converter.impl;
import org.simpleflatmapper.converter.Converter;
public class CharSequenceCharacterConverter implements Converter<CharSequence, Character> {
@Override
public Character convert(CharSequence in) throws Exception {
if (in == null) return null;
return C... |
package com.example.strongM.mycalendarview.calendar.formatter;
import com.example.strongM.mycalendarview.calendar.CalendarDayData;
public interface TitleFormatter {
CharSequence format(CalendarDayData day);
}
|
package com.tencent.smtt.sdk;
import java.io.File;
import java.io.FileFilter;
class at implements FileFilter {
final /* synthetic */ ar a;
at(ar arVar) {
this.a = arVar;
}
public boolean accept(File file) {
return file.getName().endsWith("tbs.conf");
}
}
|
package org.wso2.charon3.core.protocol.endpoints;
/*
* @author{Jayesh}
* */
public class AuthenticationObject {
/*@Override
public String toString() {
return "AuthenticationObject [name=" + name + ", description=" + description + ", specUri=" + specUri
+ ", documentationUri=" + documentationUri + ", type=" ... |
package com.anydecisions.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;
... |
package graph;
public class Edge {
public Node start_node;
public Node target_node;
public String annotation;
public double weight;
public Edge(Node start_node, Node target_node, String annotation, double weight) {
this.start_node = start_node;
this.target_node = target_node;
... |
package com.slavko.prometeus.week5.patternCommand;
public class EchoCommand implements Command{
Menu menu;
String string;
public EchoCommand(Menu menu, String string) {
this.menu = menu;
this.string = string;
}
@Override
public void execute() {
menu.echo(string);
}
}
|
package upper_case_client;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;
/**
* This cla... |
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Button for handling betAmount multiples
*
* @author Saksham Ghimire and Densai Moua
* @version 12/15/2010
*/
public class x2 extends Actor
{
/**
* Act() method updates the betAmount by times and resets the display
... |
package com.projekt.app.appprojekt;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class Menue extends AppCompatActivity implements View.OnClickListener {
Button Routenberechnung, HHNStandort... |
package io.vakin.io.nio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.Channel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import ja... |
package org.tyaa.java.springboot.gae.simplespa.JavaSpringBootGaeSimpleSpa.model;
import com.google.gson.annotations.Expose;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;
import lombok.Getter;
import lombok.NoArgsConst... |
package org.myas.kafka;
import org.apache.kafka.clients.producer.RecordMetadata;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.junit.jupiter.api.Test;
import org.myas.kafka.consumer.BasicKafkaConsumer;
import org.myas.kafka.co... |
package ms.ui;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;
import javafx.fxml.FXML;
import javafx.geometry.Insets;
import javafx.scene.c... |
package com.sula.service.impl;
import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;
import com.spatial4j.core.io.GeohashUtils;
import com.sula.model.Truck;
import com.sula.model.TruckInfo;
import com.sula.service.DriverService;
import com.... |
package day58_polymorphism;
public class SuperManTest {
public static void main(String[] args) {
Father spMan =new SuperMan();
spMan.playWithKid();
spMan.feedKid();
spMan.raiseKid();
//spMan.work("SDET") -->ERROR because left side Father gives just its methods
Wor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.