text stringlengths 10 2.72M |
|---|
package org.libreoffice;
import android.graphics.Bitmap;
import android.graphics.PointF;
import android.os.Environment;
import android.util.Log;
import android.view.KeyEvent;
import org.libreoffice.kit.DirectBufferAllocator;
import org.libreoffice.kit.Document;
import org.libreoffice.kit.LibreOfficeKit;
import org.li... |
package com.gtfs.dao.interfaces;
import java.util.List;
import com.gtfs.bean.UserRoleRlns;
public interface UserRoleRlnsDao {
List<UserRoleRlns> findActiveUserRoleByUserId(Long userId);
Long insertIntoUserRoleRlns(UserRoleRlns userRoleRlns);
Integer deleteFromUserRoleRlnsByRoleIdAndUserId(Long roleId, Long userid... |
/*
* 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 za.co.terratech.minerstats.statsproviderworkers;
import com.google.gson.annotations.Expose;
import com.google.gson.ann... |
package com.rsm.yuri.projecttaxilivredriver.home.di;
import android.util.Log;
import com.rsm.yuri.projecttaxilivredriver.domain.FirebaseAPI;
import com.rsm.yuri.projecttaxilivredriver.home.HomeInteractor;
import com.rsm.yuri.projecttaxilivredriver.home.HomeInteractorImpl;
import com.rsm.yuri.projecttaxilivredriver.ho... |
package com.example.barea.notelist.Utils;
import android.content.Context;
import android.content.SharedPreferences;
public class PrefUtils {
private static SharedPreferences getSharedPrefernce(Context context){
return context.getSharedPreferences("APP_PREF", Context.MODE_PRIVATE);
}
public stati... |
/*
* [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... |
/**
* Provides abstract classes that represents CSAR related deployment
* information.<br />
* <br />
* Copyright 2012 IAAS University of Stuttgart <br />
* <br />
*
* @author Rene Trefft - trefftre@studi.informatik.uni-stuttgart.de
*/
package org.opentosca.core.model.deployment; |
package annotation_test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Description:
*
* @author Baltan
* @date 2019-05-10 09:10
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHO... |
package com.beiyelin.commonwx.miniapp.message;
import com.beiyelin.commonwx.miniapp.api.WxMaService;
import com.beiyelin.commonwx.miniapp.bean.WxMaMessage;
import com.beiyelin.commonwx.common.exception.WxErrorException;
import com.beiyelin.commonwx.common.session.WxSessionManager;
import java.util.Map;
/**
* 处理小程序推... |
package moderate;
/* Sample code to read in test cases:*/
import java.util.*;
import java.lang.*;
import java.io.*;
public class SumOfIntegers {
public static void main (String[] args) throws IOException {
File file = new File(args[0]);
BufferedReader buffer = new BufferedReader(new FileReader(file... |
package com.framework.controller;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.... |
package com.example.musicthread;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.os.Environment;
import android.view.View;
import android.widget.Button;
import java.io.IOException;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCre... |
package br.com.pcmaker.entity;
import javax.persistence.MappedSuperclass;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
@NamedQueries({
@NamedQuery(
name = "queryFaturamentoMesAno",
query = "select new br.com.pcmaker.entity.RelatorioGrafico(date_format(etapaOrdemServico.dataInclus... |
package tests.day14;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.testng.*;
import org.testng.annotations.Test;
import utilities.TestBase;
public class C4_FileUpload extends TestBase {
/*
1.Tests packagenin altina bir class oluşturun : D14_UploadFile
2.https://the-inte... |
package com.gmail.volodymyrdotsenko.cms.be.domain.media;
import java.io.Serializable;
import javax.persistence.*;
//@Entity
//@Table(name = "")
@Embeddable
public class TextItem implements Serializable {
private static final long serialVersionUID = 1L;
public TextItem() {
}
public TextItem(String text) {
th... |
package ejercicios.clases.wrappers;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
// byte, tipo primitivo
System.out.println("1. byte");
byte datoByte = 2; // primitivo
Byte datoByteWrapper = 3; // byte, Wrapper
System.out.println("primitivo: " + datoByte... |
import java.util.ArrayList;
import java.util.Scanner;
/**
* Created by Mighty on 29.3.2016 г..
*/
public interface CombineListsOfLetters {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] firstIn = sc.nextLine().split(" ");
String[] secondIn... |
package comparisons;
import java.util.Comparator;
import fish.Fish;
public class CompareFishPreyBySize implements Comparator<Fish>{
public CompareFishPreyBySize(){
}
@Override
public int compare(Fish fishOne, Fish fishTwo) {
// TODO Auto-generated method stub
return -(fishOne.getSize... |
package com.yygame.common.utils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import ja... |
package com.bucares.barcode.controller;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframew... |
package com.appdear.client;
import com.appdear.client.commctrls.BaseActivity;
import com.appdear.client.commctrls.SharedPreferencesControl;
import com.appdear.client.download.FileDownloaderService;
import com.appdear.client.download.SiteInfoBean;
import com.appdear.client.exception.ApiException;
import com.appdear.cli... |
package fr.formation.spring.museum.controllers.jsp;
import java.sql.Date;
import java.time.Instant;
import java.util.List;
import java.util.Optional;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
package tech.adrianohrl.stile.control.bean.reports;
/**
*
* @author Adriano Henrique Rossette Leite (contact@adrianohrl.tech)
*/
public enum AttendanceChartTypes implements ChartType<AttendanceChartTypes> {
ATTENDANCE("Horas de trabalho diárias de ", "Horas de Trabalho", "[h]");
private final Stri... |
package com.gikk.chat.auto;
import com.gikk.ChatSingleton;
import com.gikk.SystemConfig;
import com.gikk.chat.AbstractChatCommand;
import com.gikk.chat.conditions.CooldownPerUser;
import com.gikk.twirk.types.emote.Emote;
import com.gikk.twirk.types.users.TwitchUser;
import java.util.Arrays;
import java.util.HashSet;
i... |
package jp.co.disney.spplogin.web;
import java.text.MessageFormat;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
import... |
/*
* 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 ventanas;
import java.awt.event.*;
import javax.swing.*;
import SecuGen.FDxSDKPro.jni.*;
import clases.Conexion;
import com.pa... |
package hashimotonet;
import java.util.List;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
public class MyFirstTweet {
private void output() throws TwitterException {
// このファクトリインスタンスは再利用可能でスレッドセーフです
Twitter twitter = TwitterFactory.ge... |
package Praktikum;
/**
*
* @author Master
*/
public class DaftarGaji {
public Pegawai[] listPegawai;
private int jumlahPegawai = 0;
public DaftarGaji(int n) {
listPegawai = new Pegawai[n];
}
public void addPegawai(Pegawai pegawai){
listPegawai[jumlahPegawai] = pegawai;... |
import java.util.Scanner;
/**
* Этот анализатор считывает пользовательский ввод и преобразует его в
* Команды для приключенческой игры. При каждом звонке
* он читает строку с консоли и пытается это сделать
* интерпретировать команду из двух слов.
* он возвращает команду как объект команды класса.
*
* Парсер и... |
package com.groovybot.engine;
public interface GroovyShellEngine extends GroovyEngine {
}
|
package conversores;
import controle.TipoControle;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.FacesConverter;
import modelo.Tipo;
/**
*
* @author mathe
*/
@FacesConverter(forClass = Tipo.class)
public class Tip... |
package com.company;
import javax.swing.*;
import javax.swing.border.BevelBorder;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class FirstForm extends Form{
private JFrame frame;
private JTextArea area; //ссылка на текстовое полк
private JT... |
package com.ic.SysAgenda.repository;
import org.springframework.data.repository.CrudRepository;
import com.ic.SysAgenda.model.Pessoa;
public interface PessoaRepository extends CrudRepository<Pessoa, Long>{
}
|
package guo.ping.taotao.search.mapper;
import guo.ping.taotao.search.pojo.SearchItem;
import java.util.List;
/**
* Solr服务的导入数据
*/
public interface ItemMapper {
List<SearchItem> getItemList();
}
|
package rent.common.entity;
import javax.persistence.*;
/**
* Помещение
*/
@Entity
@Table(name = ApartmentEntity.TABLE_NAME, indexes = {
@Index(columnList = ApartmentEntity.Columns.ID),
@Index(columnList = ApartmentEntity.Columns.BUILDING),
@Index(columnList = ApartmentEntity.Columns.APARTME... |
package com.services.utils.thread;
import java.util.concurrent.*;
/**
* 异步执行类
*/
public final class SyncExcutor {
private static final int corePoolSize = 100;//核心线程数量
private static final int maximumPoolSize = 1000;//最大线程数量
private static final int CAPACITY = 1000;//队列任务最大数量
private static final lo... |
package com.e6soft.bpm.action;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import com.e6soft.api.bpm.BpmAction;
import com.e6soft.api.bpm.BpmInterface;
import com.e6soft.api.bpm.dto.BpmFormData;
import com... |
package app.com.example.ozgur.sunny;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActiv... |
package com.vilio.nlbs.bms.dao;
import java.util.List;
import java.util.Map;
/**
* Created by dell on 2017/7/11/0011.
*/
public interface BmsDictionariesDao {
public List<Map> queryDictionariesByType(String type) throws Exception;
}
|
package com.tencent.mm.plugin.appbrand.dynamic.d;
import android.os.Bundle;
import android.os.Parcelable;
import com.tencent.mm.ipcinvoker.f;
import com.tencent.mm.model.u.b;
import com.tencent.mm.plugin.appbrand.collector.CollectSession;
import com.tencent.mm.plugin.appbrand.collector.c;
import com.tencent.mm.plugin.... |
public abstract class Account{
protected String owner;
protected double balance;
protected int IBAN;
public Account(String owner,double bal,int ban){
this.owner=owner;
balance=bal;
IBAN=ban;}
public double deposit(double amount){
balance+=amount;
System.out.println("The current balance is: "+balance);
return balance... |
package com.farhath.web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.farhath.web.dao.DatabaseConnector;
import c... |
package co.nos.noswallet.ui.home.adapter;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.support.annotation.DrawableRes;
import android.support.graphics.drawable.VectorDrawableCompat;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widg... |
package com.tt.miniapp.msg;
import com.tt.frontendapiinterface.a;
import com.tt.frontendapiinterface.b;
import com.tt.miniapp.thread.ThreadUtil;
import com.tt.miniapp.titlebar.TitleBarControl;
import com.tt.miniapphost.util.DebugUtil;
import com.tt.option.e.e;
import org.json.JSONException;
import org.json.JS... |
package com.tencent.mm.pluginsdk.ui;
import android.graphics.Bitmap;
public interface h {
public interface c {
void bQ(long j);
void pV(String str);
}
void SL();
void SM();
boolean ac(float f);
boolean ajG();
void ajY();
void ajZ();
void c(boolean z, String... |
package com.sdk4.boot.fileupload;
import com.alibaba.fastjson.JSON;
import com.google.common.collect.Lists;
import com.sdk4.common.id.IdUtils;
import lombok.extern.slf4j.Slf4j;
import org.joda.time.DateTime;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpS... |
public class MergeTwoSortedLists {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
class ListNode {
int val;
ListNode next;
ListNode(int x) {
val = x;
}
}
class SolutionMergeTwoLists {
public ListNode mergeTwoLists(ListNode l1, ListNode l2) {
L... |
package com.ifinance.controller.follow;
import com.ifinance.base.BaseController;
import com.ifinance.model.Customer;
public class FollowController extends BaseController {
/**
* 客户跟单列表
*/
public void listCustomer() {
String respone = FollowService.service.listCustomers(this);
renderJson(respon... |
package com.hema.www.myscrolltrack.scroll;
import android.animation.ObjectAnimator;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewParent;
/**
* Created by Administrator on 2016/5/6.
*/
public class BottomTrackListener extends RecyclerView.OnScrollListener {
pri... |
package com.ntxdev.zuptecnico.fragments.reports;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vie... |
/*
* 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.lubarov.daniel.web.http.parsing;
import com.lubarov.daniel.data.dictionary.KeyValuePair;
import com.lubarov.daniel.data.table.sequential.SequentialTable;
import org.junit.Test;
import java.nio.charset.StandardCharsets;
import static org.junit.Assert.assertEquals;
public class CookieHeaderParserTest {
... |
package com.red.gotrade.db.gen;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.DaoConfig;
import org.greenrobot.greendao.database.Database;
import org.greenrobo... |
package com.zngcloudcms.utils.cache;
public enum CACHE_ENUM {
USERNAME, USER, PROJECTS
}
|
/*
* Copyright (c) 2013 University of Tartu
*/
package org.jpmml.evaluator;
import org.dmg.pmml.*;
class NeuronClassificationMap extends EntityClassificationMap<Entity> {
NeuronClassificationMap(){
super(Type.PROBABILITY);
}
NeuronClassificationMap(Entity entity){
super(Type.PROBABILITY, entity);
}
} |
package com.project.backend.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import co... |
package Model;
/**
*
* @author User
*/
public class Company {
private int id_company;
private String name_company;
private String cnpj;
private String city;
private String phone;
private String email;
private String img;
public Company(int id_company, String name_... |
package com.cyberdust.automation.application.ServerOutput;
import java.awt.Color;
import java.io.IOException;
import java.io.OutputStream;
import javax.swing.JTextPane;
import javax.swing.text.BadLocationException;
import javax.swing.text.Style;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyleCont... |
package api.repository.usuario;
import api.model.Usuario;
import org.hibernate.boot.jaxb.hbm.spi.EntityInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.support.JpaEntityInformation;
import org.springframework.data.jpa.repository.support.JpaEntityInform... |
package com.rc.portal.dao;
import java.sql.SQLException;
import java.util.List;
import com.rc.portal.vo.TPhysician;
import com.rc.portal.vo.TPhysicianExample;
public interface TPhysicianDAO {
int countByExample(TPhysicianExample example) throws SQLException;
int deleteByExample(TPhysicianExample example) t... |
package Client;
public class BlackAndWhiteCameraRoll implements CameraRoll {
public void processing() {
System.out.println("-1 чёрно-белый кадр");
}
}
|
package de.allmaennitta.mindware.conceptmap.node;
import java.util.List;
import org.springframework.data.neo4j.annotation.Query;
import org.springframework.data.neo4j.repository.Neo4jRepository;
public interface NodeRepository extends Neo4jRepository<Node, Long> {
Node findByName(String name);
@Query("MATCH (n:... |
/**
* CommonFramework
*
* Copyright (C) 2017 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 o... |
package Day12;
public class Day12_2 {
private String 성명;
public String 아이디;
String 연락처;
protected String 성별;
}
|
/* 1: */ package org.linphone.core;
/* 2: */
/* 3: */ import org.linphone.mediastream.video.AndroidVideoWindowImpl;
import java.util.Vector;
/* 4: */
/* 5: */
/* 6: */ public abstract interface LinphoneCore
/* 7: */ {
/* 8: */ public abstract void setContext... |
package structures.graph.list.model;
import com.herz.structures.graph.list.model.GraphLinkedList;
public enum GraphDataTypes {
INTEGERINTEGER {
@Override
public GraphLinkedList<Integer, Integer> createGraph() {
return new GraphLinkedList<>();
}
}, INTEGERFLOAT {
@Ov... |
package net.minecraft.entity.passive;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockCarrot;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;... |
package dao;
import entity.PersonalHasUser;
public interface PersonalHasUserDAO {
}
|
package monopoly.controller;
import javafx.beans.binding.Bindings;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.concurrent.Task;
import javafx.concurrent.Worker;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx... |
package com.cambot.league.models;
import lombok.Data;
@Data
public class ErrorResponse {
private int errorCode;
private String message = "An error has occurred. Please try again later.";
}
|
package LessonsJavaCore_8;
import LessonsJavaCore_8.Local.Eng.ConsoleEng;
import LessonsJavaCore_8.Local.Ua.ConsoleUa;
import LessonsJavaCore_9.WrongInputConsoleParametersException;
import java.util.Scanner;
public class ConsoleMain {
public static void main(String[] args){
Scanner scanner = ne... |
package com.tencent.mm.plugin.appbrand.page;
import android.app.Activity;
import android.content.Context;
import com.tencent.mm.plugin.appbrand.q.a;
class m$3 extends a {
final /* synthetic */ m gmG;
final /* synthetic */ Context val$context;
m$3(m mVar, Context context) {
this.gmG = mVar;
... |
package star.orf.app;
import java.text.MessageFormat;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class Length extends JPanel implements EventListener
{
private static final long serialVersionUID = 1L;
float length = 0;
JLabel label;
@Override
public void addNotify()
{
super.addNotify();
... |
package com.lolRiver.river.models;
import org.apache.commons.lang3.StringUtils;
/**
* @author mxia (mxia@lolRiver.com)
* 10/2/13
*/
public class Role {
public enum Name {
NONE, // for ARAM
TOP,
MID,
JUNG,
SUPP,
ADC
}
private Name name;
pub... |
package com.ibanity.apis.client.helpers;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
import java.nio.charset.Charset;
import static java.util.Objects.requireNonNull;
public class IbanityTestHelper {
private static final Charset UTF8_ENCODING = Charset.forName("UTF-8");
public static ... |
package com.cts.projectManagement.repository;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.cts.projectManagement.entity.User;
@Repository
public interface UserRepository extends CrudRepository<User,Long> {
List<User> ... |
package com.yinghai.a24divine_user.callback;
/**
* @author Created by:fanson
* Created Time: 2017/10/27 9:53
* Describe:监听Adapter里的点击事件
*/
public interface OnAdapterListener {
/**
* 点击Adapter的某项
* @param object 序号/Model
*/
void clickItem(Object... object);
}
|
package com.canfield010.mygame.item;
import com.canfield010.mygame.mapsquare.MapSquare;
import java.awt.*;
public abstract class Item {
public byte count;
public final byte maximumCount;
public String name;
public String description = "";
public Item(String name, byte maxCount) {
this.nam... |
package pl.sda.spring.decouplinginterface;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
@Component
@Primary
@Qualifier("account")
public class Account implements Transferable{
private String t... |
package com.smclaughlin.tps.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import java.util.Objects;
/**
* Created by sineadmclaughlin on 24/11/2016.
*/
@Entity(name = "Account_Details")
public class AccountDetails extends AbstractEntity{
private String accountName;
private St... |
package pl.jrkn.legacyofthevoidapi.model.character;
public class StatPoints {
private int currentHitPoints;
private int maxHitPoints;
private int defence;
private int resistance;
private int damage;
private int damageMin;
private int damageMax;
private int dodgeChance;
private int ... |
package views;
import java.awt.GridLayout;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JPanel;
public class PanelContainer extends JPanel{
private PanelLeft panelLeft;
private PanelRight panelRight;
private PanelResult panelResult;
public Pan... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.baggage.spi;
import io.opentelemetry.baggage.BaggageManager;
import javax.annotation.concurrent.ThreadSafe;
/**
* BaggageManagerFactory is a service provider for {@link BaggageManager}. Fully qualified clas... |
package com.tencent.mm.ui;
import com.tencent.mm.sdk.platformtools.ad;
public interface e$b {
public static final String tht = ad.getPackageName();
}
|
package com.pedidovenda.controller;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;
import com.pedidovenda.model.Grupo;
import com.pedidovenda.model.Usuario;
import com.pedidovenda.repository.Gr... |
package edu.buet.cse.spring.ch02;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import edu.buet.cse.spring.ch02.spel.SystemProperties;
public class App17 {
public static void main(String... args) {
ApplicationContext appContext... |
package dao;
import com.zhao.RunBoot;
import com.zhao.entity.City;
import com.zhao.repository.CityRepository;
import org.apache.shardingsphere.api.hint.HintManager;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.conte... |
package July26;
import java.util.Random;
import static java.lang.Math.*;
public class Sample1 {
public static void main(String[] args) {
System.out.println("just trying math methods");
System.out.println((abs(-2.3)));
System.out.println((max(-2.3,3)));
System.out.println(acos(0));
... |
package com.packagename.myapp.Views;
import com.packagename.myapp.Controllers.PersonasController;
import com.packagename.myapp.Models.Personas;
import com.packagename.myapp.Views.Windows.Delete_User;
import com.packagename.myapp.Views.Windows.Editar_User;
import com.vaadin.flow.component.button.Button;
import com.vaad... |
package jumpingalien.model;
import jumpingalien.model.Position;
import jumpingalien.part3.programs.Program;
import jumpingalien.util.Sprite;
import jumpingalien.util.Util;
import be.kuleuven.cs.som.annotate.Basic;
import be.kuleuven.cs.som.annotate.Immutable;
import be.kuleuven.cs.som.annotate.Raw;
/**
* Class repre... |
package com.mysender;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class MyOrderedSender extends Activity {
private static final String MyAction = "com.mybroadcast.action... |
/*
* 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 asos.p8_aop;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.util.S... |
package com.ibeiliao.statement.impl.entity;
import java.io.Serializable;
import java.util.Date;
/**
* t_pay_bank_unmatch
*
* <pre>
* 自动生成代码: 表名 t_pay_bank_unmatch, 日期: 2016-08-17
* unmatch_id <PK> bigint(20)
* sum_id bigint(20)
* pay_id bigint(20)
* bi... |
package com.tencent.mm.plugin.setting.model;
public interface a$a {
void vK(int i);
}
|
package cn.xeblog.design.patterns.decorator.code.other;
/**
* 迪迦装饰者
*
* @author anlingyi
* @date 2021/4/17 10:46 下午
*/
public abstract class TigaDecorator implements TigaService {
private TigaService tigaService;
public TigaDecorator(TigaService tigaService) {
this.tigaService = tigaService;
... |
package L3.task4;
import java.util.ArrayList;
public class Job implements Runnable {
MFU mfu;
ArrayList<Integer> job;
public Job(MFU mfu, ArrayList<Integer> job) {
this.mfu = mfu;
this.job = job;
}
public void run() {
mfu.print(job);
}
}
|
package com.andy.weexlab.activity;
/**
* Created by Andy on 2017/9/12.
*/
public class EventPageActivity extends BaseWXActivity {
@Override
public boolean renderLocal() {
return false;
}
@Override
public String urlRend() {
return null;
}
}
|
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
String st = "how r you";
System.out.println("String is : " + st);
}
}
|
package ua.kiev.doctorvera;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Locale;
import java.util.Random;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.preference.PreferenceMa... |
package practice;
import java.util.Scanner;
public class AddDigit {
public static void main(String[] args) {
int num, temp,rem=0,sum=0;
Scanner scan=new Scanner(System.in);
System.out.println("Enter any number: ");
num=scan.nextInt();
temp=num;
while(num>0){
rem=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.