text stringlengths 7 995k |
|---|
/*******************************************************************************
* Copyright (c) 2013, 2016 EclipseSource.
*
* 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 restr... |
/*
* Copyright (c) 1996, 2006, 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 ... |
package algorithm.leetcode.medium;
import java.util.*;
/**
* @author initial.y
* @className TopKFrequentElements
* @description
* @date 2021/8/12
* @num 347
* @link https://leetcode-cn.com/problems/top-k-frequent-elements/description/
*/
public class TopKFrequentElements {
public int[] topKFrequent(int[] ... |
/*
* Copyright 2013 Google Inc.
* Copyright 2018 Andreas Schildbach
*
* 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 requ... |
/**
* Copyright (c) 2009-2015, Data Geekery GmbH (http://www.datageekery.com)
* All rights reserved.
*
* This work is dual-licensed
* - under the Apache Software License 2.0 (the "ASL")
* - under the jOOQ License and Maintenance Agreement (the "jOOQ License")
* ===================================================... |
package com.github.phantauth.token;
import com.github.phantauth.core.Scope;
import com.github.phantauth.core.TokenKind;
import com.github.phantauth.core.Tenant;
import com.github.phantauth.resource.Producer;
import com.nimbusds.jwt.JWT;
public interface TokenFactory<T> extends Producer<T> {
String newStorageToken... |
/*
* Copyright 2015 Key Bridge LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.graphic.domain.tables;
import cn.vertxup.graphic.domain.Db;
import cn.vertxup.graphic.domain.Indexes;
import cn.vertxup.graphic.domain.Keys;
import cn.vertxup.graphic.domain.tables.records.GClusterRecord;
import org.jooq.*;
import org.jooq.impl.DSL;
import ... |
package com.ian.hrmapp.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.... |
package com.advancedtechnicalengineering.sparkdemo.spark;
import com.advancedtechnicalengineering.sparkdemo.twitter.TwitterDataProvider;
import com.google.common.collect.Lists;
import org.apache.spark.storage.StorageLevel;
import org.apache.spark.streaming.receiver.Receiver;
import twitter4j.Status;
import java.util.... |
package com.sequenceiq.cloudbreak.cloud.cumulus.yarn;
import static com.sequenceiq.common.api.type.ResourceType.CUMULUS_YARN_SERVICE;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.inject.Inject;
import org.apache.cb.yarn.service.api.ApiException;
import org.apache.cb.... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* 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/license... |
package es.uniovi.miw.monitora.agent.snapshot;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URI;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.text.MessageFormat;
import java.text.SimpleDateFormat;
import java.util.Ca... |
/*
* Copyright 2002-2017 the original author or 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 ap... |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-edition... |
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... |
/**
* Copyright (C) 2018 Cambridge Systematics, 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 app... |
package com.example.e_mer_gen_cy;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public vo... |
package com.sjt.jrpc.serialization;
import com.google.protobuf.InvalidProtocolBufferException;
import com.sjt.jrpc.protocol.JRpcProto;
import com.sjt.jrpc.protocol.JRpcProto.RpcRequestMeta;
import com.sjt.jrpc.protocol.JRpcProto.RpcResponseMeta;
import com.sjt.jrpc.request.RpcRequest;
import org.slf4j.Logger;
import o... |
package com.example.viewpager;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.viewpager.widget.PagerAdapter;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.Toast;
import java.util.List;
/... |
/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this ... |
/*
* 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 (c) 2017. Edward Bryan Abergas. All rights reserved.
*/
package com.fcm.fuzzycomputingmachine.dagger.modules;
import android.app.Application;
import dagger.Module;
import dagger.Provides;
import javax.inject.Singleton;
/**
* Created by bry1337 on 13/09/2017.
*
* @author edwardbryan.abergas@gmail.... |
// 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 cn.homeron.homerfast.common.enmu;
public enum LoginType {
PASSWORD("password"), // 密码登录
NOPASSWD("nopassword"); // 免密登录
private String code;// 状态值
private LoginType(String code) {
this.code = code;
}
public String getCode() {
return code;
}
} |
package org.basex.query.value.seq.tree;
import java.util.*;
import org.basex.query.*;
import org.basex.query.iter.*;
import org.basex.query.util.fingertree.*;
import org.basex.query.value.*;
import org.basex.query.value.item.*;
import org.basex.query.value.seq.*;
import org.basex.query.value.type.*;
import org.basex.... |
package io.choerodon.statemachine.dto;
import com.google.common.base.MoreObjects;
/**
* @author peng.jiang@hand-china.com
* @author dinghuang123@gmail.com
* @since 2018/10/23
*/
public class ExecuteResult {
private Boolean isSuccess;
private Long resultStatusId;
private String errorMessage;
p... |
package net.avalara.avatax.rest.client.models;
import net.avalara.avatax.rest.client.enums.*;
import net.avalara.avatax.rest.client.serializer.JsonSerializer;
import java.lang.Override;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
/*
* AvaTax Software Dev... |
package com.ycao.mysite.service.constant;
import java.util.List;
/**
* get frontend-needed constant from backend
* Created by ycao on 2021-12-25 13:00:05
*/
public interface IConstantService {
/**
*
* @param
* @return
*/
public List getConstantFromDomain(String userId, String domain);
... |
package com.hyh.download.core;
import com.hyh.download.db.bean.TaskInfo;
/**
* Created by Eric_He on 2019/1/6.
*/
public interface InnerTaskListener {
void onPrepare(TaskInfo taskInfo);
void onWaitingInQueue(TaskInfo taskInfo);
void onConnected(TaskInfo taskInfo);
void onDownloading(TaskInfo ta... |
package com.mindex.challenge.service;
import com.mindex.challenge.data.Compensation;
public interface CompensationService {
Compensation createCompensation(Compensation comp);
Compensation readCompensation(String id);
} |
package de.zalando.swagger.intellij.yaml.psi;
/**
* Scalar value
*/
public interface NeonScalar extends NeonValue {
public String getValueText();
} |
package Exercise1;
public class Fruit
{
private String name;
private double mass; //grams
public Fruit(String name) {
float min = 100.f;
float max = 250.f;
float random = (float) (min + Math.random() * (max - min));
this.mass = random;
this.name = name;
}
... |
/*
* 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 net.sourceforge.pmd.util.viewer.gui.menu;
import java.text.MessageFormat;
import javax.swing.JMenu;
import net.sourceforge.pmd.lang.ast.Node;
import net.sourceforge.pmd.lang.ast.xpath.Attribute;
import net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator;
import net.sourceforge.pmd.util.viewer.model.Attr... |
/* MazeRunnerII: A Maze-Solving Game
Copyright (C) 2008-2010 Eric Ahnell
Any questions should be directed to the author via email at: MazeRunnerII@worldwizard.net
*/
package com.puttysoftware.mazerunner2.maze.objects;
import com.puttysoftware.mazerunner2.maze.abc.AbstractProgrammableKey;
import com.puttysoftware.ma... |
/**
* 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... |
/*
* blackduck-common-api
*
* 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.blackduck.api.manual.temporary.enumeration;
import com.synopsys.integ... |
package com.huaweicloud.sdk.iotda.v5.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util.Objects;... |
/*
* ******************************************************************************
* * Copyright (c) 2021 Deeplearning4j Contributors
* *
* * This program and the accompanying materials are made available under the
* * terms of the Apache License, Version 2.0 which is available at
* * https://www.apache.or... |
/*
* 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 n... |
package com.microsoft.bingads.v13.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for InheritFromParentBiddingScheme complex type.
*
* <... |
/*
* Copyright 2008 biaoping.yin
*
* 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 agr... |
package com.telfa.andrei.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.serializer.support.DeserializingConverter;
import org.springframework.core.serializer.support.SerializingConverter;
import org.springframewor... |
package net.codetojoy.service;
import java.util.List;
import net.codetojoy.dao.BookDao;
import net.codetojoy.model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class BookServiceImpl implements BookService {
@Autowired
Bo... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 蚂蚁风险运营平台业务域、风险域信息
*
* @author auto create
* @since 1.0, 2022-03-25 17:43:26
*/
public class RiskBizDomain extends AlipayObject {
private static final long serialVersionUID = 129572957754782... |
package in.arjsna.mapsalarm.mvpbase;
import android.content.Context;
import in.arjsna.mapsalarm.db.CheckPointDataSource;
public class BasePresenter<V extends IMVPView> implements IMVPPresenter<V> {
private final Context mContext;
private final CheckPointDataSource mCheckPointDataSource;
V view;
public BasePr... |
package com.sony.bigcommerce.demo.service.rest;
public enum BigCommerceURL {
CATEGORIES("/catalog/summary");
public final String url;
private BigCommerceURL(String url)
{
this.url= url;
}
} |
package org.colorcoding.ibas.integration;
/**
* 我的配置项
*/
public class MyConfiguration extends org.colorcoding.ibas.bobas.MyConfiguration {
/**
* 模块标识
*/
public static final String MODULE_ID = "568e7e6d-a67a-46a8-93b9-7bc896b1c2b7";
/**
* 命名空间
*/
public static final String NAMESPACE_ROOT = "http://color... |
/*
* SuperiorNetworks tier 1 YT rank
*/
package network.superior.ranks;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.ChatColor;
import org.bukkit.permissions.Permission;
import link.mc.permission.Rank;
public class YouTuber implements Rank {
@Override
public String getName() {
return ... |
/*******************************************************************************
* Copyright (c) 2015 Sierra Wireless and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 whi... |
/*
* Copyright 2017-2020 original 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
/**
* Copyright 2013-2015 JueYue (qrb.jueyue@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 ... |
/*
* Copyright 2004-2006 Stefan Reuter
*
* 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 com.linkedin.restli.examples.typeref.api;
import javax.annotation.Generated;
import com.linkedin.data.schema.TyperefDataSchema;
import com.linkedin.data.template.DataTemplateUtil;
import com.linkedin.data.template.TyperefInfo;
/**
*
*
*/
@Generated(value = "com.linkedin.pegasus.generator.JavaCodeUtil", ... |
package com.criteo.hadoop.garmadon.hdfs.writer;
import com.criteo.hadoop.garmadon.event.proto.EventHeaderProtos;
import com.criteo.hadoop.garmadon.hdfs.FixedOffsetComputer;
import com.criteo.hadoop.garmadon.hdfs.offset.OffsetComputer;
import com.criteo.hadoop.garmadon.reader.Offset;
import com.criteo.hadoop.garmadon.r... |
/*
* 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 io.freefair.gradle.plugins.git;
import org.codehaus.groovy.runtime.ProcessGroovyMethods;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.logging.Logger;
public class GitVersionPlugin implements Plugin<Project> {
private Project project;
private Logger logger;
@... |
package com.hazacs.smdtabs;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.ArrayList;
import Models.Sell_book;
/**
* Create... |
/*
* Portions Copyright (C) 2003-2006 Sun Microsystems, Inc.
* All rights reserved.
*/
/*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 2.0 (the "License"), the contents of this
** file are ... |
package org.heuros.data.model;
import org.heuros.core.data.base.View;
/**
* Getter only class used in rule implementations to access Airport instances.
*
* @author bahadrzeren
*
*/
public interface AirportView extends View {
public String getCode();
public boolean isAnyHb();
public boolean isAnyNonHb();
pu... |
/**
* Starving - Bukkit API server mod with Zombies.
* Copyright (c) 2015, Matej Kormuth <http://www.github.com/dobrakmato>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistrib... |
/*
* 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 eu.unipv.zanussi.fdi2.cf;
import java.util.Set;
import java.util.TreeSet;
public class ExampleC {
public static void main(String[] args) {
// With TreeSet, duplicated elements get deleted automatically.
Set<String> stringsList = new TreeSet<>();
stringsList.add("Ciao");
s... |
/*
* Copyright 2016 - 2019 Anton Tananaev (anton@traccar.org)
*
* 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 LeetCode;
/**
* @desc:
* @auther: kid1999
* @date: 2020/4/24 9:49
**/
public class P122 {
// 贪心
public int maxProfit(int[] prices) {
int res = 0;
if(prices.length < 2) return 0;
for (int i = 1; i <prices.length ; i++) {
if(prices[i] > prices[i-1]) res += prices[... |
package com.cg.sprint.demo.service;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cg.sprint.demo.model.Employer;
import com.cg.sprint.demo.repository.EmployerRepo... |
package info.bitrich.xchangestream.bitmex;
import info.bitrich.xchangestream.bitmex.dto.BitmexExecution;
import info.bitrich.xchangestream.core.StreamingExchangeFactory;
import info.bitrich.xchangestream.util.LocalExchangeConfig;
import info.bitrich.xchangestream.util.PropsLoader;
import io.reactivex.Observable;
impor... |
package android.gameengine.icadroids.dashboard;
import android.gameengine.icadroids.engine.GameEngine;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;
/**
* An extension of the default Android TextView class
* (see http:/... |
package com.moduscreate.javafeatures;
public class RecordClasses {
public static void main(String[] args) {
var person = new Person("Michael Jordan", 50);
System.out.println(person.name());
System.out.println(person.age());
var otherPerson = new Person("Micha... |
package com.strategyobject.substrateclient.rpc.api;
import com.strategyobject.substrateclient.common.utils.HexConverter;
import com.strategyobject.substrateclient.rpc.DecoderPair;
import com.strategyobject.substrateclient.rpc.annotation.AutoRegister;
import com.strategyobject.substrateclient.rpc.decoders.AbstractDecod... |
// Template Source: BaseStreamRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------... |
package pl.sdacademy.tarr2020java6.java.podstawy.instrukcje.przelacz;
import pl.sdacademy.tarr2020java6.java.podstawy.typydanych.typwyliczeniowy.Status;
/**
* @author : Jakub Olszewski [http://github.com/jakub-olszewski]
* @project : tarr2020java6
* @since : 29.02.2020
**/
public class SwitchMain {
public st... |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/* 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 writing, software
* distribut... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Vedran Grgo Vatavuk
*
* 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
*... |
/*
* 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 m... |
package com.zhuyaya.mall;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class PlatformApplicationTests {
@Test
void contextLoads() {
}
} |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ssl;
import org.apache.http.HttpHost;
im... |
/*
* 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.tfyre.victronenergy.common;
/**
*
* @author acid
*/
public enum RAMVariable {
UMAIN("Main Voltage Scale", 0x00),
... |
package io.github.ycg000344.async.excel.constant;
/**
* @author lusheng
* @since 2021-07-09
*/
public enum ExportTitleEnum {
STATIC,
DYNAMIC
} |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... |
package org.reactor.event;
public interface ReactorEventConsumer<T extends ReactorEvent> {
void consumeEvent(T event);
} |
/*
* Copyright (C) 2017 OrionStar Technology Project
*
* 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 ... |
/**
* The MIT License
*
* Copyright (c) 2017, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*
* 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, includi... |
/*
* Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.nc2.thredds;
import ucar.nc2.*;
import ucar.nc2.dataset.DatasetUrl;
import ucar.nc2.ft.FeatureDataset;
import ucar.nc2.stream.CdmRemote;
import ucar.nc2.ft.remote.CdmrFeatureDa... |
package mchorse.blockbuster.recording.scene;
import com.mojang.authlib.GameProfile;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import mchorse.blockbuster.Blockbuster;
import mchorse.blockbuster.CommonProxy;
import mchorse.blockbuster.audio.AudioState;
import mchorse.blockbuster.capabilities.recor... |
package com.zhelihenku.dictionary.generator.engine.base;
import com.zhelihenku.dictionary.core.util.ToolUtil;
import com.sun.javafx.PlatformUtil;
import org.beetl.core.Configuration;
import org.beetl.core.GroupTemplate;
import org.beetl.core.Template;
import org.beetl.core.resource.ClasspathResourceLoader;
import jav... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package stallone.api.algebra;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import stallone.api.do... |
package io.github.vampirestudios.gadget.programs.email.task;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import io.github.vampirestudios.gadget.api.task.Task;
import io.github.vampirestudios.gadget.programs.email.EmailManager;
public clas... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
package com.example.reflectbook_java;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.example.reflectbook_java.EntryContract.*;
public class entryDBHelper extends SQLiteOpenHelper{
public static final String DATABASE_NAME... |
package com.moemoe.lalala.view.adapter;
import android.content.Intent;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Rela... |
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengles;
import org.lwjgl.*;
import java.nio.*;
public final class EXTRobustness {
/**
* Returned by GetGraphicsResetStatusEXT:
*/
public static final int GL_NO_ERROR = 0x0,
GL_GUILTY_CONTEXT_RESET_EXT = 0x8253,
GL_INNOCENT_CONTEXT_RESET_EXT = ... |
package net.minecraft.command.server;
import java.util.Arrays;
import java.util.List;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.command.PlayerNotFoundException;
import net.minecraft.command.WrongUsageExcept... |
package com.sena.bankdemo.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table
public class Client {
@Id
@GeneratedValue
private int id;
private Str... |
/*
* Copyright 2007 ZXing 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 or agreed ... |
package com.teemukurki.carddeck;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Andr... |
package cn.stt.generator.entity;
import lombok.Data;
/**
* @ClassName Trigger
* @Description 触发器
* @Author shitt7
* @Date 2019/11/20 10:25
* @Version 1.0
*/
@Data
public class Trigger {
/**
* 触发器名称
*/
private String name;
/**
* 触发器类型
*/
private String triggerType;
/**
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.