text stringlengths 7 995k |
|---|
package com.cg.oct12.batch3.day9.conc;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
public class CallableWithArguments {
public static void main(String[] args) throws InterruptedException, Exec... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.protocol;
import net.java.sip.communicator.service.protocol.event.ChatStateNotificationsListener;
import org.jivesoftware.smack.Sm... |
package com.twu.biblioteca.router.instance;
import com.twu.biblioteca.model.RouterState;
import com.twu.biblioteca.router.RouterContext;
import com.twu.biblioteca.router.RouterMessage;
import com.twu.biblioteca.router.IActionHandler;
import com.twu.biblioteca.service.BibliotecaService;
public class ReturnActionHandl... |
package com.bank.reference.test;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.app.Instrumentation;
import android.content.Context;
import android.util.Log;
import static com.bank.reference.core.Constants.Auth.*;
import com.bank.reference.tests.R;
import com.bank.reference.ut... |
/**
* 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.innovateuk.ifs.util;
/**
* A function that takes 4 arguments and produces an output
*/
@FunctionalInterface
public interface QuadFunction<A, B, C, D, T> {
T apply(A a, B b, C c, D d);
} |
package com.hotelmarketingapp;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainCom... |
/*
* Copyright 2009-2020 Tilmann Zaeschke
*
* 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 ... |
/*
* Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.com).
*
* 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 appl... |
package com.ke.css.cimp.fwb.fwb6;
/* -----------------------------------------------------------------------------
* Rule_Grp_Gross_Weight_Details.java
* -----------------------------------------------------------------------------
*
* Producer : com.parse2.aparse.Parser 2.5
* Produced : Tue Mar 06 10:37:30 KST 20... |
package engine.compiler.parser;
import engine.compiler.Token;
import engine.errors.CommandSyntaxException;
import engine.compiler.slogoast.*;
import javafx.util.Pair;
import java.util.*;
/**
* A version 1 implementation of the Parser interface. It takes a list of Tokens and output ASTs or store variables.
*
* @au... |
/*
* Copyright 2013 Hippo B.V. (http://www.onehippo.com)
*
* 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... |
// Targeted by JavaCPP version 1.5.1-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.cpython;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.cpython.global.python.*;
@Properties(inherit = org.bytedeco.cpython.presets.python.class)
public ... |
/**
* 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... |
/*
* Copyright 2020 Erik Amzallag
*
* 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 agreed to... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package alunos.menus;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import alunos.modelos.Aluno;
public class listarAluno extends ItemDeMenu implements Comparator<Aluno> {
@Override
public String getDescricao() {
return "Listar alunos.";
}
@Override
public Boolean ex... |
/*
* Copyright 2015 Brent Douglas and other contributors
* as indicated by the @author tags. All rights reserved.
*
* 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.or... |
/*
* Copyright (c) 2015 Christian Chevalley
* This file is part of Project Ethercis
*
* 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
*
... |
/*
* service-email
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.alert.service.email.model;
import java.util.Map;
import java.util.Optional;
... |
package app.models.dto;
import app.models.entities.User;
import org.modelmapper.ModelMapper;
import javax.xml.bind.annotation.*;
import java.util.HashSet;
import java.util.Set;
@XmlRootElement(name="user")
@XmlAccessorType(XmlAccessType.FIELD)
public class Query4UsersDto {
@XmlAttribute(name="first-name")
pr... |
package org.apache.maven.model.building;
/*
* 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 Lic... |
package com.fasterxml.jackson.databind.ser.std;
import com.fasterxml.jackson.annotation.JsonFormat.Feature;
import com.fasterxml.jackson.annotation.JsonFormat.Value;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.BeanProperty;
import com.fasterxml.jackson.databind.JsonMappingExc... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.cassandra.test;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
package liquibase.diff.output.changelog.core;
import liquibase.change.Change;
import liquibase.change.core.AddForeignKeyConstraintChange;
import liquibase.database.Database;
import liquibase.diff.output.DiffOutputControl;
import liquibase.diff.output.changelog.AbstractChangeGenerator;
import liquibase.diff.output.chan... |
package com.ztiany.serbase.servlets.http;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* 演示设置不要缓存
*
* @author Ztiany
* Email ztiany3@gmail.com
* Date 18.4.14 23:56
*/
public class NoCacheServl... |
package org.avphs.camera;
public interface Camera {
boolean nextFrame(byte[] pixels);
boolean connect(int frameRate);
void finish();
int dimz();
int pixTile();
boolean live();
} |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// 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 appl... |
package gsan.distribution.gsan_api.run.representative;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Combination {
public static Set<List<String>> combination(Object[] elements, int K){
Set<List<String>> lint = new HashSet<List<String>>();
... |
/*
* 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 ... |
/*
* Copyright (c) 2020 , <Pierre Falda> [ pierre@reacted.io ]
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package io.reacted.streams.messages;
import io.reacted.core.reactorsystem.ReActorRef;
impo... |
package depotlifecycle.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;
import io.micronaut.core.annotation.Introspected;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructo... |
package com.google.android.gms.internal.ads;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.security.GeneralSecurityException;
abstract class kp implements pj {
private final jp a;
/* renamed from: b reason: collision with root package name */
private final jp f4834b;
kp(byte[] ... |
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
/*
* org.riverock.forum - Forum portlet
*
* Copyright (C) 2006, Riverock Software, All Rights Reserved.
*
* Riverock - The Open-source Java Development Community
* http://www.riverock.org
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... |
/*
* Copyright (c) 2020. 衷于栖 All rights reserved
* 版权所有 衷于栖 并保留所有权利 2020.
* ============================================================================
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
* 使用。不允许对程序代码以任何形式任何目的的再发布。如果项目发布携带作者
* 认可的特殊 LICENSE 则按照 LICENSE 执行,废除上面内容。请保留原作者信息。
* ===========================... |
package com.hitanshudhawan.popcorn.network.tvshows;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by hitanshu on 13/8/17.
*/
public class TVShowBrief {
@SerializedName("original_name")
private String originalName;
@SerializedName("id")
private Integer id;... |
/**
* Injection API (Core) パッケージ.<br>
* <br>
* Focaフレームワークの本体パッケージであり、以下APIを持ちます。<br>
* ・ Injection API (Core) パッケージ : 本ページで説明<br>
* ・ Annotation API (Core) パッケージ: {@linkplain jp.gr.java_conf.ke.foca.annotation}を参照<br>
* ・ Converter API(Option) パッケージ: {@linkplain jp.gr.java_conf.ke.foca.converter}を参照。<br>
* ... |
/*
* 11/09/2008
*
* FileIOExtras.java - Adds win32-specific functionality to the file chooser.
* Copyright (C) 2008 Robert Futrell
* http://fifesoft.com/rtext
* Licensed under a modified BSD license.
* See the included license file for details.
*/
package org.fife.ui.rtextfilechooser.extras;
import java.awt.Co... |
package com.icegreen.greenmail.standalone;
import com.icegreen.greenmail.configuration.PropertiesBasedGreenMailConfigurationBuilder;
import com.icegreen.greenmail.util.GreenMailUtil;
import com.icegreen.greenmail.util.PropertiesBasedServerSetupBuilder;
import com.icegreen.greenmail.util.ServerSetupTest;
import org.jun... |
package com.lxwls.hdsjd.ui.fragment;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.RelativeLayout;
import com.lxwls.hdsjd.R;
import com.lxwls.hdsjd.account.LoginActivity;
import com.lxwls.hdsjd.api.PileApi... |
package net.dongliu.apk.parser;
import net.dongliu.apk.parser.bean.ApkSignStatus;
import net.dongliu.apk.parser.utils.Inputs;
import java.io.ByteArrayInputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.04.18 at 02:04... |
package me.dpohvar.powernbt.command.action;
import me.dpohvar.powernbt.PowerNBT;
import me.dpohvar.powernbt.exception.NBTTagNotFound;
import me.dpohvar.powernbt.exception.NBTTagUnexpectedType;
import me.dpohvar.powernbt.nbt.NBTBase;
import me.dpohvar.powernbt.nbt.NBTContainer;
import me.dpohvar.powernbt.utils.NBTQuery... |
/*
* Copyright Terracotta, 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 by applicable law or agreed to ... |
package cn.stylefeng.roses.system.modular.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 培训班-班级风采表
* </p>
*
* @author Hyer
* @since 2019-11-26
*/
@TableName("tb_train_trainstyle")
public class TrainTrainstyle implements Serializable {
private static ... |
package com.yonyou.etl.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimen... |
/*
* Copyright 2011-2016 David Karnok
*
* 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... |
/*
* Copyright 2015 Google 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 by applicable law or agreed to in ... |
package nl.han.ica.icss.gui;
import javafx.scene.control.TextArea;
@SuppressWarnings("restriction")
public class FeedbackPane extends TextArea {
public FeedbackPane() {
super();
setEditable(false);
}
public void clear() {
this.setText("");
}
public void addLine(String line) {
this.setText( this.getTex... |
package org.atpfivt.jsyntrax.generators.elements;
import org.atpfivt.jsyntrax.styles.StyleConfig;
import org.atpfivt.jsyntrax.util.StringUtils;
import org.atpfivt.jsyntrax.util.Pair;
import java.awt.Color;
import java.awt.Font;
public class BoxBubbleElement extends BubbleElementBase {
public BoxBubbleElement(Pai... |
/**
* 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... |
/*******************************************************************************
* (c) Copyright 2017 Hewlett Packard Enterprise Development LP 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 ... |
package cn.yinjiahui.group_purchase.service;
import cn.yinjiahui.group_purchase.po.Category;
import cn.yinjiahui.group_purchase.po.Goods;
import java.util.List;
public interface GoodsService {
List<Goods> mGetGoods(List<Integer> goodsIdList);
void saveGoods(Goods goods);
List<Goods> mGetGoodsByTitleL... |
/*
* Copyright (C) 2004, 2005, 2006 Joe Walnes.
* Copyright (C) 2006, 2007, 2009, 2011 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Cre... |
package org.openstack4j.model.compute;
import java.util.Date;
import java.util.List;
import org.openstack4j.model.ModelEntity;
/**
* Rate limits are specified in terms of both a human-readable wild-card URI and a machine-processable regular expression.
* The human-readable limit is intended for displaying in grap... |
// Generated code from Butter Knife. Do not modify!
package com.codepath.apps.restclienttemplate.fragment;
import android.view.View;
import butterknife.ButterKnife.Finder;
import butterknife.ButterKnife.ViewBinder;
public class UserTweetsFragment$$ViewBinder<T extends com.codepath.apps.restclienttemplate.fragment.Use... |
// read
package Conversions;
/**
* @author Varun Upadhyay (https://github.com/varunu28)
*/
// Driver program
public class AnyBaseToDecimal {
public static void main(String[] args) {
assert convertToDecimal("1010", 2) == Integer.valueOf("1010", 2);
assert convertToDecimal("777", 8) == Integer.va... |
import java.sql.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Map;
import java.net.URI;
import java.net.URISyntaxException;
import static spark.Spark.*;
import spark.template.freemarker.FreeMarkerEngine;
import spark.ModelAndView;
import static spark.Spark.get;
import com.heroku.sdk.jdbc.... |
package com.gof.creational.prototype;
import java.time.ZoneId;
import java.time.ZonedDateTime;
public class Commit {
private final ZonedDateTime commitDate;
private final String author;
private final String comment;
public Commit(String author, String comment) {
this.author = author;
... |
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
* Restriction; you may not use this file except in compliance with the License. You may obtain a
* c... |
package xyz.zdk.ikanalyzer;
import org.apache.lucene.analysis.Tokenizer;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.TypeAttribute;
import org.wltea.analyzer.core.IKSegmenter;
i... |
// Author: Rodney Shaghoulian
// Github: github.com/RodneyShag
// HackerRank: hackerrank.com/RodneyShag
import java.util.Scanner;
// O(n) runtime. O(1) space. Uses XOR. Keep in mind:
// 1) x ^ x = 0
// 2) x ^ 0 = x
// 3) XOR is commutative and associative
public class Solution {
public static void m... |
package io.papermc.hangar.controllerold;
import io.papermc.hangar.util.Routes;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import javax... |
/*
* Copyright [2017] Wikimedia Foundation
*
* 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 o... |
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2014 - 2021 ImageJ developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of s... |
/*
* The MIT License
*
* Copyright 2017 Kapralov Sergey.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... |
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2021 ImageJ developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of s... |
package tfar.woodcutter.jei;
import mezz.jei.api.constants.VanillaTypes;
import mezz.jei.api.gui.IRecipeLayout;
import mezz.jei.api.gui.drawable.IDrawable;
import mezz.jei.api.gui.ingredient.IGuiItemStackGroup;
import mezz.jei.api.helpers.IGuiHelper;
import mezz.jei.api.helpers.IModIdHelper;
import mezz.jei.api.ingred... |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* 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 req... |
/**
* 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.wzhnsc.testframeanimation;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
package rest.client.contents.responses;
import java.util.List;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
/**
*
* @author Batuhan Duzgun (batux) Computer Engineer / Industrial Engineer
*
*/
@JsonIgnoreProperties(value = { "_type", "_markup","_page","_hasMoreItems" })
public class SessionRespons... |
/****************************************************************
* 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... |
package io.github.mivek.model;
import io.github.mivek.internationalization.MessageUtils;
import io.github.mivek.internationalization.Messages;
import io.github.mivek.model.trend.BECMGTafTrend;
import io.github.mivek.model.trend.FMTafTrend;
import io.github.mivek.model.trend.PROBTafTrend;
import io.github.mivek.model.t... |
/*
* @Copyright (c) 2018 缪聪(mcg-helper@qq.com)
*
* 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 requir... |
/*
* 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 app.roadquality.roadquality.data.entities;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
@Entity
public class Accelerometer {
@PrimaryKey(autoGenerate = true)
private int uid;
@ColumnInfo(name = "ts")... |
/*
* Copyright 2017-2018 Mangelion
*
* 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 agreed ... |
package com.zcw.cmall.user.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.zcw.cmall.user.dao.MemberLevelDao;
import com.zcw.cmall.user.entity.MemberLevelEntity;
import com.zcw.cmall.user.exception.PhoneExsitException;
import com.zcw.cmall.user.exception.UsernameExsit... |
package io.github.metteo.ws.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "echo_1_0", namespace = "h... |
/*
* Licensed to the Sakai Foundation (SF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... |
package com.box.androidsdk.content.utils;
import android.content.Context;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.draw... |
package com.mrjesseh.bettercraft.item;
import net.fabricmc.yarn.constants.MiningLevels;
import net.minecraft.item.Items;
import net.minecraft.item.ToolMaterial;
import net.minecraft.recipe.Ingredient;
import net.minecraft.tag.ItemTags;
import net.minecraft.util.Lazy;
import java.util.function.Supplier;
public enum M... |
/*
* MIT License
*
* Copyright (c) 2021 SATE-Lab
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/texttospeech/v1/cloud_tts.proto
package com.google.cloud.texttospeech.v1;
/**
* <pre>
* The message returned to the client by the `SynthesizeSpeech` method.
* </pre>
*
* Protobuf type {@code google.cloud.texttospeech.v1.Synthesiz... |
/*
* Copyright 2009 Google 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 by applicable law or agreed to ... |
package otomir23.connect.server.commands;
import otomir23.connect.server.Server;
import java.util.Arrays;
import static otomir23.connect.server.Server.LOGGER;
public class HelpCommand extends Command {
@Override
public void execute(String[] args) {
if (args.length == 0) {
for (Command c:... |
/*
* Copyright 2017-2018, Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.operator.cluster.operator.resource;
import io.fabric8.kubernetes.api.model.DoneableServiceAccount;
import io.fabric8.kubernetes.api.model.ServiceAccou... |
package ejb_generated;
import static javax.persistence.GenerationType.IDENTITY;
import static javax.persistence.CascadeType.ALL;
import javax.persistence.CascadeType;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Enumerated;
import javax.persistence.EnumType;
import javax.persistence.Colum... |
package service.server;
import lombok.RequiredArgsConstructor;
import service.domain.InternalRequest;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
@RequiredArgsConstructor
public class ServerResponder implements Runnable {
private final DatagramSocket socket;
pr... |
package javacloud.framework.cdi;
import javacloud.framework.util.ResourceLoader;
/**
* Helper class to invoke a method using CDI. Start/Stop managed service from: META-INF/javacloud.cdi.services.runlist
*
* @author ho
*
*/
public abstract class ServiceBootstrapper {
private static final ServiceBootstrapper BOO... |
// Copyright 2018 The Bazel Authors. All rights reserved.
//
// 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 applica... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* 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/LICE... |
package org.carlspring.strongbox.storage.indexing;
import org.carlspring.strongbox.config.MavenIndexerEnabledCondition;
import javax.inject.Inject;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.maven.index.Indexer;
import org.apache.maven.index.Scanner;
import org.apache.... |
/*
* 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 ... |
/*
* Copyright © 2018 Mark Raynsford <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVID... |
package com.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.SkuBoundsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品spu积分设置
*
* @author panda
* @email fengge@atguigu.com
* @date 2021-01-18 19:32:30
*/
@Mapper
public interface S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.