text
stringlengths
7
995k
package com.zfinfo.microservice.zuul; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; import org.springframework.con...
package com.ublox.BLE; import android.app.Application; public class UbloxApplication extends Application { }
/* * 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 not ...
// Copyright 2014 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 com.zdy.xiangxue.lesson03_proxy; import android.view.View; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import androidx.annotation.IdRes; /** * 创建日期:2020-04-29 on 19:23 * 描述: * 作者:zhudongyo...
package lib.ui.android; import io.appium.java_client.AppiumDriver; import lib.ui.MyListsPageObject; public class AndroidMyListsPageObject extends MyListsPageObject { static { FOLDER_BY_NAME_TPL = "xpath://*[@text='{FOLDER_NAME}']"; ARTICLE_BY_TITLE_TPL = "xpath://*[@text='{TITLE}']"; } ...
package org.folio.inventory.resources; import static java.lang.String.format; import static org.folio.inventory.common.FutureAssistance.allOf; import java.lang.invoke.MethodHandles; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMa...
package rainbow.core.util.pinyin; import static rainbow.core.util.Preconditions.checkNotNull; import java.io.IOException; import java.util.Properties; import rainbow.core.util.Utils; public final class PinYin { /** * A hash table contains <Unicode, HanyuPinyin> pairs */ private static Properties pinyinTable ...
/* 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...
package asia.asoulcnki.api.common.constant; import lombok.Setter; public enum PropTypeEnum { IMAGE("image"), ; private final String type; PropTypeEnum(String type) { this.type = type; } public String getType() { return type; } }
package net.socialhub.define.action.group; /** * SNS グループアクション一覧 * SNS Group Actions */ public enum GroupActionType { // TimeLine GetTimeLine, // // User GetUserMe, // ; }
package com.wiledion.kani; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import com.badlogic.gdx.Files; /** * Main class for desktop application * * @author wiledion * */ public class Main { public static void main(String[] arg...
package xuul.flint.datagen; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import xuul.flint.common.init.ModItems; import xuul.flint.common.init.ModTags; import net.minecraft.advancements.critereon.EnchantmentPredicate; import net.minecraft.advancements.critereon.ItemPredicate; import net.minecraft.a...
package com.capinfo.entity; import com.capinfo.base.BaseEntity; import lombok.EqualsAndHashCode; import lombok.ToString; import javax.persistence.*; @Table(name = "cap_yessw_case_process") @ToString @EqualsAndHashCode public class CapYesswCaseProcess extends BaseEntity { @Id @GeneratedValue(generator = "JDB...
/* * ================================================== * Connector Implementation Container * -------------------------------------------------- * This file is released under CC0. * Written in 2019-2022 by RINEARN (Fumihiro Matsui) * ================================================== */ package org.vcssl.conne...
/******************************************************************************* * Copyright (c) Apr 2, 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, a...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ package org.opensearch.upgrade; import org.junit.Before; import org.opensearch.LegacyESVersion; import org.opensea...
package com.lagache.sylvain.AppRateDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.util.Pair; import android.view.ContextThemeWrappe...
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * 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 a...
/* * Copyright 2018-2020 The Code Department. * * 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.partysys.test.entity; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; @Entity @Table(name="party_person_t...
package com.baeldung.collections.nullsafecollectionstreams; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.stream.Stream; import org.junit.Test; import static org.junit.Assert.*; public class NullSafeCollectionStreamsUsingNullDereferenceCheckUnitTest { private...
package b.o; import android.annotation.SuppressLint; import android.app.Activity; import android.app.job.JobScheduler; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.os.SystemClock; import android.view.ViewTreeObserver; import androi...
package me.tepis.integratednbt; public class ByteMaskMaker { private byte mask = 1; public byte nextMask() { byte mask = this.mask; this.mask = (byte) (mask << 1); if (mask < 0) { throw new RuntimeException("Byte mask overflow."); } return mask; } }
/* * This file was automatically generated by EvoSuite * Fri May 22 15:11:53 GMT 2020 */ package com.google.gson; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import com.google.gson.DefaultDateTypeAdapter; import com.google.gson.Gson; import com.googl...
/* * 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 com.view.jameson.androidrecyclerviewcard; import android.annotation.SuppressLint; import android.content.Context; import android.os.Build; import android.os.Handler; import android.support.annotation.RequiresApi; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.Layout...
/* * 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 distributed under t...
package com.junhua.mybatis.db; import com.junhua.mybatis.db.model.MomentDO; import com.junhua.mybatis.mapper.MomentMapper; import com.junhua.mybatis.model.Moment; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ib...
package com.timeanddate.services.dataTypes.time; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; /** * * @author Cato Auestad {@literal <cato@timeanddate.com>} * */ public class TimeChange { private int _newDaylightSavingTime = -1; private int _newTimezoneOffset = -1; private int _newTotalOffset; p...
package com.example.hr.converter; import java.time.Instant; import java.time.ZoneId; import java.time.ZonedDateTime; import org.bson.BsonReader; import org.bson.BsonWriter; import org.bson.codecs.Codec; import org.bson.codecs.DecoderContext; import org.bson.codecs.EncoderContext; /** * * @author Binnur Kurt <binn...
package com.sensiblemetrics.api.alpenidos.pattern.adapter9.round; /** * EN: RoundHoles are compatible with RoundPegs. * <p> * RU: КруглоеОтверстие совместимо с КруглымиКолышками. */ public class RoundHole { private final double radius; public RoundHole(double radius) { this.radius = radius; }...
package socialite.logic.parser; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static socialite.logic.parser.CliSyntax.PREFIX_REMARK; import static socialite.testutil.TypicalIndexes.INDEX_FIRST_PERSON; import java.util.Arrays; import java...
package org.tarento.retail.util; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; public class ResponseGenerator { private static ObjectMapper objectMapper = new ObjectMapper(); public static S...
/* * Copyright 2019 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 applica...
/* * 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) 2003, 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 se.lnu.siq.s4rdm3x.experiments.metric; import org.junit.jupiter.api.Test; import se.lnu.siq.s4rdm3x.dmodel.NodeGenerator; import se.lnu.siq.s4rdm3x.model.CGraph; import se.lnu.siq.s4rdm3x.model.CNode; import java.util.Arrays; import static org.junit.jupiter.api.Assertions.assertEquals; public class BCCCTest...
package org.hitogo.button.core; import androidx.annotation.CallSuper; import androidx.annotation.NonNull; import org.hitogo.core.HitogoController; /** * This class is used to attach a lifecycle to the button object. Each method will be called by * the system in a specific order to structure the code and simplify t...
package com.google.api.ads.adwords.jaxws.v201607.billing; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java clas...
package com.gail.sps.action; import java.io.PrintWriter; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.ServletActionContext; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.Namespace; impor...
package com.minda.mindadaily.model; /** * Created by jindongping on 14-9-1. */ public class ExamArrangeInfo{ private int id ; private String state="";//考试编排状态 private String courseId="";//课程id private String courseName="";//课程名 private String courseGrade="";//学分 private String courseTeacher=...
package com.sistr.realmoving.mixin; import com.sistr.realmoving.network.Networking; import com.sistr.realmoving.network.PacketAction; import com.sistr.realmoving.setup.ClientSetup; import com.sistr.realmoving.util.IActionable; import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.entity.En...
package com.example.hajken.helpers; import android.content.Context; import android.content.ContextWrapper; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Path; import android.preference.PreferenceManager; import android.util.Log;...
/** * Copyright 2009-2019 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 * * Unle...
import java.util.Stack; /** * Leetcode844 */ public class Leetcode844 { public static boolean backspaceCompare(String S, String T) { Stack<Character> sStack = new Stack<>(); for(int i = 0; i < S.length(); i++) { if(S.charAt(i) != '#') { sStack.push(S.charAt(i)); ...
/* * 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 distributed under t...
/** * ============LICENSE_START==================================================== * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * ==================================================================...
package org.omg.DynamicAny.DynAnyPackage; /** * org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u201/12322/corba/src/share/classes/org/omg/DynamicAny/DynamicAny.idl * Saturday, Decemb...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
package net.minecraft.server; import com.google.common.base.Predicate; import java.util.Random; public class BlockDoor extends Block { public static final BlockStateDirection FACING = BlockStateDirection.of("facing", (Predicate) EnumDirectionLimit.HORIZONTAL); public static final BlockStateBoolean OPEN = Blo...
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
package org.apereo.cas.ticket.registry; import org.apereo.cas.config.CasCoreHttpConfiguration; import org.apereo.cas.config.CasCoreServicesConfiguration; import org.apereo.cas.config.CasCoreTicketCatalogConfiguration; import org.apereo.cas.config.CasCoreTicketIdGeneratorsConfiguration; import org.apereo.cas.config.Cas...
/* * Copyright 2020 Supasin Tatiyanupanwong * Copyright 2017 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 * * Unles...
/* * Copyright (c) 2004-2021, University of Oslo * 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 cond...
/* * 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.github.lyd.gateway.provider.service.impl; import com.github.lyd.base.client.constants.BaseConstants; import com.github.lyd.common.exception.OpenAlertException; import com.github.lyd.common.mapper.ExampleBuilder; import com.github.lyd.common.model.PageList; import com.github.lyd.common.model.PageParams; imp...
/* * 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) 2022 AccelByte Inc. All Rights Reserved * This is licensed software from AccelByte Inc, for limitations * and restrictions contact your company contract manager. * * Code generated. DO NOT EDIT. */ package net.accelbyte.sdk.api.iam.models; import com.fasterxml.jackson.annotation.JsonIgnore; i...
package frc.robot.commands; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.Constants; import frc.robot.OI; import frc.robot.subsystems.FeederSubsystem; import frc.robot.subsystems.HopperSubsystem; import frc.robot.subsystems.IntakeSubsystem; public class...
package com.study.settingcenter; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.LinearLayout; import android.widget.SeekBar; import android.widget.Toast; import butterknife.Bin...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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: 2016.07....
package com.jaiky.imagespickers.preview; import android.content.Context; import android.graphics.Matrix; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.GestureDetector; import android.view.MotionE...
/** * 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 distributed under ...
package org.im97mori.ble.characteristic.u2a89; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import org.junit.Test; public class FatBurnHeartRateUpperLimitTest { @Test public void test_constructor001() { //@formatter:off byte[] data = new byte...
package com.github.badoualy.telegram.tl; import com.github.badoualy.telegram.tl.core.TLBool; import com.github.badoualy.telegram.tl.core.TLGzipObject; import com.github.badoualy.telegram.tl.core.TLIntVector; import com.github.badoualy.telegram.tl.core.TLLongVector; import com.github.badoualy.telegram.tl.core.TLObject;...
package utilities.App; import org.junit.Test; import utilities.*; import java.util.ArrayList; import static org.junit.Assert.*; public class AppTest { @Test public void fizzBuzzTest() { ArrayList<Node> children1 = new ArrayList<>(); ArrayList<Node> children2 = new ArrayList<>(); ...
package com.phone1000.chayu.adapters; import android.content.Context; import android.util.Log; import android.view.View; import android.widget.TextView; import com.phone1000.chayu.R; import com.phone1000.chayu.modles.PinPaiGridViewModle; import com.phone1000.chayu.utils.TeachBaseAdapter; import java.util.List; /** ...
/* * Copyright (c) 2002-2017, Mairie de Paris * 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. Redistributions of source code must retain the above copyright notice * and the...
package rookie.java.leetcode.lt84; import rookie.java.leetcode.lt84.stack.Solution; public class App { public static void main( String[] args ) { Solution solution = new Solution(); int[][] heightses = {{2,1,5,6,2,3}, {4,2,0,3,2,5}, {1}, {0,9}, {3,6,5,7,4,8,1,0}}; for (int i=0; i<heightses.length; ...
package com.vladmihalcea.book.hpjp.hibernate.identifier.global; import com.vladmihalcea.book.hpjp.util.AbstractMySQLIntegrationTest; import org.junit.Test; public class MySQLIdentifierTest extends AbstractMySQLIntegrationTest { @Override protected Class<?>[] entities() { return new Class<?>[] { ...
package org.fbme.ide.richediting.viewmodel; import org.fbme.lib.common.Declaration; import org.fbme.lib.iec61499.fbnetwork.EntryKind; import org.jetbrains.annotations.NotNull; import java.util.Objects; public class FunctionBlockPortView implements NetworkPortView { private final FunctionBlockView myOwner; pr...
package com.ruitukeji.zwbh.mine.abnormalrecords; import android.content.Intent; import android.view.View; import android.widget.AdapterView; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; import com.ruitukeji.zwbh.R; import com.ruitukeji.zwbh.adapter.mine.abnormalr...
/* * Copyright © 2020 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.mango.sys.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins....
package io.mycat.manager.response; import java.nio.ByteBuffer; import io.mycat.backend.BackendConnection; import io.mycat.backend.mysql.PacketUtil; import io.mycat.backend.mysql.nio.MySQLConnection; import io.mycat.config.Fields; import io.mycat.manager.ManagerConnection; import io.mycat.net.NIOProcessor; import io.m...
package club.javalearn.thread.lock; import java.util.concurrent.TimeUnit; /** * @author king-pan * @date 2019/3/11 * @Description ${DESCRIPTION} */ public class ClassLock { public static void main(String[] args) { ClassLock classLock = new ClassLock(); ClassLock classLock2 = new ClassLock(); ...
/* * Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * - Redistribution of source code must retain the above copyright * notice, this list o...
package ex; /* * Topic: ISBN(International Standard Book Number) 是一種世界共通的書籍編碼方法,世界上任 何一本書籍之出版,皆有著唯一的一組 ISBN 碼。此碼由十個位數組成,每一位數可 以為 0~9 的任何一個數字,或者為 X ,代表此位數為 10 。其判斷方法如下,首先, 將此 ISBN 碼的十個位數分開,自左而右依次為第一位數,第二位數至第十位數,接 著進行第一次的累加,使得第二位數成為第一位數到第二位數的和,第三位數為第一 位數到第三位數的累加和,第十位數為第一位數到第十位數的累加和;進行完第一次 的累加和後,接著再依照相同之方法進行第二次的累加動作,我們稱...
package com.project.rptang.android.dialog_style; import com.project.rptang.android.dialog_style.effects.BaseEffects; import com.project.rptang.android.dialog_style.effects.FadeIn; import com.project.rptang.android.dialog_style.effects.FlipH; import com.project.rptang.android.dialog_style.effects.FlipV; import com.pro...
package io.swagger.v3.core.util; import com.fasterxml.jackson.annotation.JsonView; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.introspect.Annotated; import io.swagger.v3.core.co...
package com.vanniktech.emoji.google.category; import com.vanniktech.emoji.google.GoogleEmoji; final class ObjectsCategoryChunk0 { @SuppressWarnings("PMD.ExcessiveMethodLength") static GoogleEmoji[] get() { return new GoogleEmoji[] { new GoogleEmoji(0x1F453, new String[]{"eyeglasses"}, 14, 7, false), ...
package com.works.entities; import lombok.Data; import javax.persistence.Entity; import javax.persistence.*; import java.util.List; @Entity @Data public class Role { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String name; @ManyToMany(mappedBy = "roles") pri...
package lumien.randomthings.Library.Inventorys; import lumien.randomthings.Items.ItemDropFilter; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.InventoryBasic; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; public cla...
package com.dhy.uploader; public class AppVersion { public int id; public String url; public String packagename; public String versiontype; public String message; public int versioncode; public String versionname; public long packagesize; static class Response { int code; ...
package org.codeanywhere.data; import java.util.LinkedList; import java.util.List; /** * DataTable 元数据描述 */ public class DataTableDescriptor { private String tableName; /** * 表注释 */ public String getTableComment() { return tableComment; } /** * 表注释 */ public voi...
package com.coolweather.android.db; import org.litepal.crud.DataSupport; /** * 县级数据 * Created by 侯彦兵 on 2017/6/2. */ public class County extends DataSupport { private int id; private String countyName; private String weatherId; private int cityId; public int getId() { return id; }...
package com.example.fire.application; 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 org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE113_HTTP_Response_Splitting__Property_addCookieServlet_73b.java Label Definition File: CWE113_HTTP_Response_Splitting.label.xml Template File: sources-sinks-73b.tmpl.java */ /* * @description * CWE: 113 HTTP Response Splitting * BadSource: Property Read data from a sy...
/** * 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...
// This file is made available under Elastic License 2.0. // This file is based on code available under the Apache license here: // https://github.com/apache/incubator-doris/blob/master/fe/fe-core/src/main/java/org/apache/doris/http/rest/TableSchemaAction.java // Licensed to the Apache Software Foundation (ASF) unde...
/** * * Copyright (c) 2006-2019, Speedment, 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 requ...
import java.util.Arrays; public class MergeSort { private final int[] nums; private final int[] tempArray; public MergeSort(int[] num) { nums = num; tempArray = new int[nums.length]; } public void mergeSort(int low, int high) { if (low >= high) return; ...
package com.nacid.web.model.nomenclatures.regprof; import java.util.Date; import com.nacid.bl.nomenclatures.Speciality; import com.nacid.bl.nomenclatures.regprof.SecondaryProfessionalQualification; import com.nacid.data.DataConverter; //RayaWritten--------------------------------------------- public class SecondaryP...
/* * 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 time; import java.awt.image.BufferedImage; /** * * @author charles */ public class Background { BufferedImage image; ...
package org.cavebeetle.blueprint; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.lang.reflect.Method; import java.util.Iterator; import o...
package org.hisp.dhis.external.location; /* * Copyright (c) 2004-2016, University of Oslo * 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 ab...
/* * Copyright 2014-2020 The Ideal Authors. All rights reserved. * * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ package ideal.experimental.mini; import static ideal.experimental.mini.library...
/* * 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 ...