text stringlengths 10 2.72M |
|---|
package com.tencent.mm.plugin.setting.ui.setting;
import android.os.Bundle;
import com.tencent.mm.model.q;
import com.tencent.mm.plugin.setting.a.g;
import com.tencent.mm.plugin.setting.a.i;
import com.tencent.mm.plugin.setting.model.k;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.ui.base.preferenc... |
package p3;
import java.io.BufferedReader;
import java.io.FileReader;
import java.util.ArrayList;
public class P3
{
private ArrayList<Integer> deck = new ArrayList<>();
private int n;
/*public static void main(String[] args) {
P3 p3 = new P3();
p3.readFile("input1.txt");
p3.doAlgorithm();
}*/
publ... |
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* 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 of the License, or
* (at your option) any lat... |
package PrimeGenerator;
import static java.lang.System.out;
import java.util.ArrayList;
import java.util.BitSet;
public class SieveofEratosthenesPrimeFounder extends PrimeAlgo {
public SieveofEratosthenesPrimeFounder(int from, int until) {
super(from, until);
this.primes = findPrimes(until);
}
@Override
pu... |
package com.tencent.mm.plugin.webview.model;
import com.tencent.mm.sdk.platformtools.bi;
import com.tencent.mm.sdk.platformtools.x;
import java.util.HashMap;
public final class ae {
private static ae pRO = new ae();
HashMap<String, WebViewJSSDKFileItem> pRP = new HashMap();
public static final ae bUk() {... |
package jdk8;
import java.util.ArrayList;
/**
* @author yinchao
* @date 2020/12/7 20:12
*/
public class ArrayListTest {
public static void main (String[] args) {
ArrayList<Integer> arrayList;
}
}
|
package com.fansolomon.Structural.Bridge.Shape.impl;
import com.fansolomon.Structural.Bridge.Shape.DrawAPI;
/**
* ConcreteImplementor
* 实现Implementor接口并定义它的具体实现
*/
public class DrawGreen implements DrawAPI {
@Override
public void drawColor(String content) {
System.out.println("Drawing Circle[ color... |
package com.tencent.mm.g.c;
import android.content.ContentValues;
import android.database.Cursor;
import com.tencent.mm.sdk.e.c;
import com.tencent.mm.sdk.e.c.a;
import java.lang.reflect.Field;
public abstract class cy extends c {
private static final int cHK = "musicId".hashCode();
private static final int c... |
package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.graphics.Texture;
import java.util.List;
/**
* Created by on 26.07.14.
*/
public class Player extends Collidable {
private int moveSpeed = 5;
private int jumpSpeed = 12;
private int smallJumpSpe... |
package com.canby.command.commands.power;
import com.canby.command.Command;
import com.canby.command.interfaces.HasPower;
/**
* Created by acanby on 6/11/2014.
*/
public abstract class AbstractPowerCommand implements Command {
protected final HasPower hasPower;
public AbstractPowerCommand(HasPower hasPower... |
package com.tencent.mm.protocal;
import com.tencent.mm.protocal.c.g;
public class c$go extends g {
public c$go() {
super("reportActionInfo", "reportActionInfo", 234, false);
}
}
|
package ru.javabegin.training.webservices.main;
import ru.javabegin.training.webservices.parsers.StaxParser;
public class Start {
public static void main(String[] args) {
String xmlPath = "c:\\test\\people2.xml";
// new DomParser().parse(xmlPath);
// new SaxParser().parse(xmlPath);
... |
package com.example.ahmed.octopusmart.Model.ServiceModels;
import java.io.Serializable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang.builder.ToStringBuilder;
public class UserRateModel implements Serializable
{
@SerializedName("rate... |
package com.espendwise.manta.web.tags;
import com.espendwise.manta.util.Constants;
import com.espendwise.manta.util.alert.AppLocale;
import com.espendwise.manta.util.arguments.ArgumentType;
import com.espendwise.manta.util.parser.AppParserException;
import com.espendwise.manta.util.parser.Parse;
import com.espendwise.... |
package main.java.breakingPointTool.calculations;
import java.sql.SQLException;
import java.util.ArrayList;
public class OptimalArtifactC
{
private double optimalComplexity;
// private double optimalNumOfFunctions;
private double optimalLinesOfCode;
//private double optimalCommentsDensity;
private do... |
package com.google.android.gms.common.internal;
import android.content.ComponentName;
import android.content.Context;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.Handler.Callback;
import android.os.IBinder;
import android.os.Message;
import java.util.HashMap;
import java.util... |
package com.example.railway.repository.Train;
import com.example.railway.model.Root;
import com.example.railway.model.Train;
import org.springframework.data.mongodb.repository.MongoRepository;
public interface TrainRepository extends MongoRepository<Train, String> {
}
|
package com.catnap.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created with IntelliJ IDEA.
*
* @author gwhit7
*/
@Target(ElementType.METHOD)
@Retention(Retention... |
package bicicleteria;
import java.util.ArrayList;
import java.util.List;
public class Bicicleteria {
private List<Bicicleta> bicicletas;
private float ganancias;
private Integer cantidadDeVentas;
public Bicicleteria(){
bicicletas= new ArrayList<>();
}
public Bicicleteria(List<Bic... |
/**
* Subclass of Shape
*/
public class ShapeS extends Shape {
//set a color index for this Tetris shape
public static final int COLOR = 6;
/**
* Constructor
* Set the coordinates of the blocks in a way that would form this figure
*/
public ShapeS (){
/... |
/*
* Copyright (c) 2018-2025, lxr All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and t... |
package com.tencent.mm.plugin.appbrand.jsapi.auth;
import com.tencent.mm.plugin.appbrand.jsapi.auth.JsApiOperateWXData.OperateWXDataTask;
import com.tencent.mm.plugin.appbrand.jsapi.auth.JsApiOperateWXData.OperateWXDataTask.a;
import com.tencent.mm.protocal.c.bio;
import com.tencent.mm.sdk.platformtools.x;
import java... |
// Maryam Athar Khan
// Homework 08 Part 1
// Due date is October 20,2015
// This program is designed to calcuate the Area of a shape that the user inputs, using methods.
import java.util.Scanner; // import Scanner class
public class Area { // define a class
public static double input() {// define input method wit... |
package org.apache.commons.net.ftp;
public interface FTPFileFilter {
boolean accept(FTPFile paramFTPFile);
}
/* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\org\apache\commons\net\ftp\FTPFileFilter.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1... |
public class Node
{
int data;
Node left;
Node right;
Node(int data)
{
this.data = data;
}
}
public class BinaryTree
{
public static Node root;
public static int preIndex;
public static Node buildTree(int in[], int pre[], int inStrt, int inEnd)
{
if(inStrt > inEnd )
{
return n... |
package airplanebooking.gui;
import airplanebooking.CurrentBooking;
import airplanebooking.BookingListener;
import airplanebooking.CurrentFlight;
import airplanebooking.database.Airplane;
import airplanebooking.database.Database;
import airplanebooking.database.Flight;
import airplanebooking.database.Seat;
import air... |
package main.java.com.activationFunctions;
/*
* Activation function interface
*
* Author: Dylan Lasher
*/
import main.java.com.deepNeuralNetwork.Matrix;
public interface ActivationFunctions
{
Matrix forward(Matrix z);
Matrix backward(Matrix dA, Matrix z);
} |
package com.malko7.petagram.fragment.pet;
import java.util.List;
/**
* Created by Fenix on 28/05/2016.
*/
public interface IPetFragmentPresenter {
void getPets();
void getUserMediaRecent(String user);
void getTimeLine(List<String> accounts);
void onDestroy();
}
|
package com.polsl.edziennik.desktopclient.properties;
public class Properties {
public static final String Component = "com/polsl/edziennik/desktopclient/properties/components";
public static final String Menu = "com/polsl/edziennik/desktopclient/properties/menu";
public static final String Entity = "com/polsl... |
package com.shagaba.kickstarter.auth.core.service.security.account;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;
import com.google.common.collect.Lists;
import com.shagaba.kickstar... |
package com.joe.holi;
import androidx.appcompat.app.AppCompatActivity;
import android.Manifest;
import android.annotation.TargetApi;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.widget.FrameLayout;
... |
import java.io.*;
import java.util.*;
public class Hero{
private ArrayList<Weapon> weapons = new ArrayList<Weapon>();
private String name;
private int xPos;
private int yPos;
private int health;
private Weapon weapon;
private Armor armor;
private int numPotions;
public Hero(Str... |
package com.example.waterbilling;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.sql.SQLDataException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.u... |
package com.gtfs.util;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.Iterator;
public class CalenderUtil implements Serializable {
public static Integer monthDiff(Date oldDate, Date newDate) {
if (oldDate.compareTo(newDate) > 0) {
return -1;
}
... |
/*
* 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 processBD;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java... |
package id.ac.ub.ptiik.papps.base;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
public class Agenda {
public String agenda_id, jenis_kegiatan_id, lokasi, ruang, judul, keterangan,
penyelenggara, tgl_mulai, tgl_sele... |
package controllers.filters;
import models.User;
import services.BlockedService;
import services.UserService;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io... |
package com.wlt.retrofit.bean;
/**
* Created by Administrator on 2016-5-12.
*/
public class BaseBean {
/**
* message : success
* message_code : 10000
*/
/*
*
* 10000 请求成功
*10001 用户未登录
*10004 用户名不存在
*10006 缺少参数
*error_code 20000 数据库连接失败
*
*/
public Strin... |
package com.yboweb.bestmovie;
import android.widget.ImageView;
/**
* Created by test on 24/03/16.
*/
public class ImageItem {
private String image = null;
private String title = null;
private String rating = null;
private String voting = null;
private String id = null;... |
import java.util.List;
import java.util.ArrayList;
/**
* Provides a structure for handling multiple orders of cookies.
*
* @author Ben Godfrey
* @version 13 FEB 2018
*/
public class MasterOrder {
/** Holds the list of cookie orders. */
private List<CookieOrder> orders;
/** Constructs a new master o... |
package entidades;
import java.text.SimpleDateFormat;
import java.util.Date;
import enums.TipoLancamento;
public class Lancamentos {
private int id;
private String descricao;
private double valor;
private Date data;
private int categoria;
private TipoLancamento tipoLancamento;
public Lancamentos(int id, St... |
package com.cse308.sbuify.security;
/**
* Security-related constants.
*/
public class SecurityConstants {
public static final String LOGIN_URL = "/api/login";
public static final String SIGN_UP_URL = "/api/users";
public static final String RESET_URL = "/api/reset-password";
public static final Strin... |
package com.hesoyam.pharmacy.pharmacy.controller;
import com.hesoyam.pharmacy.pharmacy.dto.PharmacyCreateDTO;
import com.hesoyam.pharmacy.pharmacy.dto.PharmacyDTO;
import com.hesoyam.pharmacy.pharmacy.dto.PharmacySearchDTO;
import com.hesoyam.pharmacy.pharmacy.exceptions.InvalidPharmacyCreateRequest;
import com.hesoya... |
package com.oocl.ita.test;
import static org.junit.Assert.*;
import org.junit.Test;
public class ExamsTest extends Exams{
@Test
public void Question1() {
assertEquals("onetwodefault",q1());
}
@Test
public void Question2() {
int n = 5;
assertEquals(8, q2(n));
}
@Test
public void... |
package com.allinpay.its.boss.framework.repository.mybatis.model;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.Column;
import javax.... |
package oopsPractice;
//abstract class
abstract class Car{
//constructor
Car()
{
System.out.println("Car classs");
}
//abstract method
abstract void gearChange();
void name()
{
System.out.println("CAR");
}
}
//inheritance
class Swift extends Car{
@Override
void name()
{
System.out.println("SWIFT... |
package com.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import com.configuration.DBConnect;
import com.model.Member;
publi... |
package org.proyectofinal.gestorpacientes.vista;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JTextField;
import java.awt.Font;
import java.awt.Window;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import org.pro... |
package com.example.royal.app;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.util.Log;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.J... |
package cn.wycclub.dao.po;
import java.io.Serializable;
import java.util.Date;
/**
* 订单和商品关联信息
*
* @author WuYuchen
* @create 2018-02-19 19:03
**/
public class ProductOrderConnInfo implements Serializable {
protected int oid;
protected int pid;
protected int quantity;
protected... |
package com.tencent.mm.plugin.mmsight.ui;
import com.tencent.mm.plugin.mmsight.ui.a.7;
class a$7$1 implements Runnable {
final /* synthetic */ 7 lpo;
a$7$1(7 7) {
this.lpo = 7;
}
public final void run() {
if (this.lpo.lpk.eXe != null) {
this.lpo.lpk.eXe.dismiss();
... |
package org.fuusio.api.rest;
import org.fuusio.api.component.Component;
/**
* {@link RequestManager} define interface for a {@link Component} that is used to execute
* {@link RestRequest}s.
*/
public interface RequestManager<T_Request extends RestRequest> extends Component {
<T extends T_Request> T execute(fi... |
/*
* #%L
* Janus
* %%
* Copyright (C) 2014 KIXEYE, Inc
* %%
* 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... |
package laioffer.serial;
/**
* Created by mengzhou on 6/25/17.
*/
public class AboutGame {
class NQueen {
}
class Sudoku {
}
}
|
package com.tencent.tencentmap.mapsdk.a;
public abstract class ol {
public kk a;
}
|
package ua.goit.timonov.enterprise.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import ua.goit.timonov.enterprise.exceptions.NoItemInDbException;
import ua.goit.timonov.enterprise.model.Employee;
... |
package org.tellervo.desktop.tridasv2.ui;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tellervo.desktop.core.App;
import org.tellervo.desktop.tridasv2.ui.support.TridasEntityProperty;
import org.tellervo.desktop.tridasv2.ui.support.TridasProjectDictionaryProperty;
import ... |
package cn.canlnac.onlinecourse.data.entity;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* 关注.
*/
public class FollowerEntity {
@SerializedName("total")
private int total;
@SerializedName("users")
private List<LoginEntity> users;
public int getTotal() {
... |
package com.ahmetkizilay.yatlib4j.datatypes;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Date;
import java.util.Hashtable;
import com.ahmetkizilay.yatlib4j.utils.GenericUtils;
import net.minidev.json.JSONObject;
import net.minidev.json.JSONValue;
public class Tweet {
private Object an... |
//
// DO NOT EDIT THIS FILE, IT HAS BEEN GENERATED USING AndroidAnnotations 3.0.1.
//
package tk.woppo.sunday.ui.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;
... |
package edu.cmu.lti.bio.alkesh.tools;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
//import java.util.Iterator;
//import java.util.regex.Matcher;
//import java.util.regex.Pattern;
import org.apache.... |
package unalcol.evolution.ga;
import unalcol.search.population.TotalSelectionReplacement;
import unalcol.search.population.variation.ArityTwo;
import unalcol.search.selection.Selection;
import unalcol.search.space.ArityOne;
/**
* <p>Title: SteadyStateGA</p>
* <p>
* <p>Description: Steady State Genetic Algorithm (G... |
package com.duanxr.yith.define.versionControl;
/**
* @author Duanran 2019/2/27 0027
*/
public class VersionControl {
private static final int firstBadVersion = 12;
public boolean isBadVersion(int version) {
return version >= firstBadVersion;
}
}
|
import biuoop.DrawSurface;
import java.awt.Color;
/**
* Created by user on 01/06/2017.
*/
public class LivesIndicator implements Sprite {
private Counter lifes;
/**
* construct a LivesIndicator with lifes.
*
* @param lifes the lives counter.
*/
public LivesIndicator(Cou... |
package Test;
/**
* Test
*
* @author jh
* @date 2018/9/9 18:51
* description:
*/
public class Person {
private String name="hello";
int age=0;
}
class Child extends Person{
public static void main(String[] args) {
Person child = new Child ();
//child.age
}
}
|
package com.example.android_essential_07_hw3;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import java.util.concurrent.TimeUnit;
public class MyService extends Service {... |
package ch.rasc.eds.starter.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerE... |
package services;
import common.utils.UserUtils;
import model.domain.Persoana;
import model.domain.User;
import model.domain.UserRole;
import model.forms.PersoanaFormModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... |
package com.ssgl.controller;
import com.alibaba.fastjson.JSONArray;
import com.ssgl.bean.*;
import com.ssgl.service.FloorService;
import com.ssgl.util.FileUtils;
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.shiro... |
package org.search.flight.model;
import java.math.BigDecimal;
public class Flight {
private Airport from;
private Airport to;
private String airlineCodeFlight;
private Airline airline;
private BigDecimal basePrice;
public Flight(Airport from, Airport to, String airlineCodeFlight, Airline airline, BigDecimal b... |
package pl.com.garage.model;
import org.springframework.stereotype.Component;
@Component
public class Client {
private int id;
private String name;
private String carModel;
public Client() {
}
public void setId(int id) {
this.id = id;
}
public void setName(String name) {
... |
package com.example.shopping.dto;
import com.example.shopping.entity.User;
import com.example.shopping.validation.PasswordValid;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.co... |
import java.util.Scanner;
public class run{
public static void main(String[] args){
slotmachine test = new slotmachine();
test.setregisters();
boolean loop = true;
float wallet = 0;
float bank = 0;
//System.out.println(test.getregister1());
//System.out.println(test.getregister2());
//System.out.print... |
package yuste.zombis.armas;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
public abstract class Arma {
public static int COSTO;
protected int daņo;
protected float intervaloDisparos;
protected int municionInicial;
protected int municionActual;
protected long ultimoDisparo;
/*UTIL... |
package com.jim.multipos.ui.customer_debt;
import com.jim.multipos.core.BaseView;
/**
* Created by Sirojiddin on 29.12.2017.
*/
public interface CustomerDebtActivityView extends BaseView{
}
|
package quizzlr.backend.UnitTests;
import org.junit.*;
import quizzlr.backend.*;
public class AchievementTypeTest {
@Test
public void testAchievementTypes() {
/*
* TODO: presumably a big test block like
* AchievementType a = AchievementType.getAchievementTypeFromID(123);
* Assert.assertEquals(... |
package net.sssanma.mc.data.user;
public final class UserBanException extends UserException {
/**
*
*/
private static final long serialVersionUID = 1L;
public UserBanException(String paramString) {
super(paramString);
}
public UserBanException(Throwable arg0) {
super(ar... |
package home.inna.work;
import home.inna.study.Mobile;
import home.inna.work.test.Test;
/**
* User: Alexandr
* Date: 25.10.2014
*/
public class Inna {
// public static void main(String[] args) {
// Inna inna = new Inna();
// home.inna.study.Inna inna2 = new home.inna.study.Inna();
// Mobi... |
package cn.codef1.apidemo.demo.app;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.... |
import java.io.*;
import java.util.*;
public class names1{
main(){
int i=0;
FileWriter fw= new FileWriter("file.txt");
}
} |
package com.hazelcast.map;
import com.hazelcast.map.record.Record;
import com.hazelcast.nio.serialization.Data;
import com.hazelcast.nio.serialization.SerializationService;
import com.hazelcast.query.PagingPredicate;
import com.hazelcast.query.Predicate;
import com.hazelcast.query.impl.QueryEntry;
import com.hazelcast... |
package cryptography;
import java.math.BigInteger;
public class STS_Agent {
public DSA_Agent dsa_agent;
public DH_Agent dh_agent;
/* Signature variables*/
private BigInteger prv_key;
public Point pub_key;
/* Shared key establishment variables*/
private BigInteger dh_prv_key; // a
public Point dh_pub_key; // a... |
package polydungeons.entity;
import net.dblsaiko.qcommon.croco.Mat4;
import net.dblsaiko.qcommon.croco.Vec3;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.block.BlockState;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraf... |
package ru.android.messenger.view.adapters;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import ru.android.messenger.R;
import ru.android.messenger.... |
/*
* Copyright © 2019 The GWT Project 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
package gretig.datastructuur;
import gretig.StatLogger;
import java.io.IOException;
import java.util.*;
import java.util.concurrent.ThreadLocalRandom;
/**
* Created by brent on 10/8/16.
*/
public class Graaf {
private Boog[] bogen;
private Top[] toppen;
private HashSet<Top> toppenlijst;
private int... |
/*
* Copyright © 2014 YAOCHEN Corporation, All Rights Reserved.
*/
package com.yaochen.address.data.mapper.address;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.easyooo.framework.sharding.annotation.Table;
import com.yaochen.address.data.domain.address.AdRoleRes;
import com.yaochen... |
import java.util.*;
import java.io.*;
public class Spavanac {
public static void main(String[] args) throws IOException {
Scanner nya = new Scanner(System.in);
Calendar bob = new Calendar.Builder().setTimeOfDay(nya.nextInt(),nya.nextInt(),0).build();
bob.add(Calendar.MINUTE,-45);
Sy... |
package server.repositories;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import server.models.Projekt;
@RepositoryRestResource(path = "projekte", collectionResourceRel = "projekte")
public interface ProjektReposito... |
package com.iamyeong.myfriendsplace.ui.home;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.icu.text.MessagePattern;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import ... |
package mg.egg.eggc.compiler.libegg.base;
import java.io.Serializable;
public abstract class EltREGLE implements Serializable {
private static final long serialVersionUID = 1L;
protected REGLE regle;
protected String nom;
protected int pos;
public String getNom() {
return nom;
}
public EltREGLE(REGLE regle... |
/**
* (C) Copyright IBM Corporation 2014.
*
* 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 agre... |
package org.fuserleer.utils;
import java.util.Objects;
/**
* Utilities for manipulating primitive {@code long} values.
*/
public final class Longs {
private Longs() {
throw new IllegalStateException("Can't construct");
}
/**
* Create a byte array of length {@link Long#BYTES}, and
* populat... |
package com.example.galdino.filmespopulares.adapter;
import android.databinding.DataBindingUtil;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.galdino.filmespopulares.databinding.AdapterListComentariosBind... |
/*
* 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.tencent.mm.plugin.gallery.ui;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
class AlbumPreviewUI$9 implements OnClickListener {
final /* synthetic */ AlbumPreviewUI jCE;
AlbumPreviewUI$9(AlbumPreviewUI albumPreviewUI... |
package co.th.aten.network.model;
import java.io.Serializable;
public class TeamBinaryReportModel implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int index;
private int customerId;
private String customerCode;
private String customerName;
pr... |
package com.sdl.webapp.tridion;
import com.sdl.context.engine.repository.ContextRepositoryManager;
import com.tridion.content.BinaryFactory;
import com.tridion.dynamiccontent.DynamicMetaRetriever;
import lombok.extern.slf4j.Slf4j;
import org.dd4t.core.factories.ComponentPresentationFactory;
import org.dd4t.core.factor... |
package com.actionimpl;
import java.io.InputStream;
import com.javabean.User;
public interface UserImpl {
int register(User user);
int login(String username,String password);
void remove (int uid);
int update(User user);
User find(int uid);
InputStream returnImage(int id);
}
|
package napps.com.nearbycoffee.Contract;
import napps.com.nearbycoffee.BasePresenter;
import napps.com.nearbycoffee.BaseView;
/**
* Created by "nithesh" on 7/15/2017.
*/
public interface NetworkContract {
interface View extends BaseView<Presenter>{
void showNetworkError();
}
interface Present... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.