text
stringlengths
7
995k
/*------------------------------------------------------------------------------ Copyright (c) CovertJaguar, 2011-2018 http://railcraft.info This code is the property of CovertJaguar and may only be used with explicit written permission unless otherwise specified on the license page at http://railcraft.info/wiki...
/** * 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.github.invince.worker.adapter.redis.future; import io.github.invince.exception.WorkerError; import io.github.invince.exception.WorkerRemoteError; import io.github.invince.worker.core.ITaskIdentify; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.experimental.Access...
/* * Copyright 2014 8Kdata Technology * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.lavos.app; import android.content.ContentResolver; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.database.DatabaseUtils; import android.graphics.Bitmap; import android.net.Uri; import android.os.Build; impor...
package org.terracotta.jenkins.plugins.acceleratedbuildnow; import hudson.model.AbstractBuild; import hudson.model.BuildBadgeAction; import org.kohsuke.stapler.export.Exported; /** * @author : Anthony Dahanne */ public class AcceleratedBuildNowBadgeAction implements BuildBadgeAction{ private final static String 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...
package freeseawind.swing; import java.awt.Graphics; import java.awt.LayoutManager; import javax.swing.JComponent; import javax.swing.JPanel; import freeseawind.lf.canvas.LuckCanvas; import freeseawind.lf.canvas.LuckOpaquePainter; /** * ๅฎŒๅ…จไธ้€ๆ˜Ž็š„JPanelๅฎž็Žฐ็ฑป, ็”จไบŽ้˜ฒๆญขๅญ—ไฝ“่ตฐๆ ท * * @author freeseawind@github * @version 1.0 *...
package com.example.flutternpmsearch; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package y2k.joyreactor; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import y2k.joyreactor.App; public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bundle sav...
/* * Copyright 2014-2019 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.haoxuer.ucms.questions.data.dao; import com.haoxuer.discover.data.core.BaseDao; import com.haoxuer.discover.data.core.Updater; import com.haoxuer.ucms.questions.data.entity.QuestionAnswerVote; /** * Created by imake on 2019ๅนด09ๆœˆ23ๆ—ฅ11:38:26. */ public interface QuestionAnswerVoteDao extends BaseDao<Ques...
package jetbrains.mps.lang.generator.editor; /*Generated by MPS */ import jetbrains.mps.nodeEditor.DefaultNodeEditor; import jetbrains.mps.openapi.editor.cells.EditorCell; import jetbrains.mps.openapi.editor.EditorContext; import org.jetbrains.mps.openapi.model.SNode; public class TemplateDeclarationReference_Editor...
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_core; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nolapack....
/** * 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.zyf.bings.bingos.coupon.adapter; import android.content.Context; import android.support.annotation.LayoutRes; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.zyf.bings.bingos.R; import com.zyf.bings.bingos.coupon.bean.CouponListBean; ...
/* * Minecraft Forge * Copyright (c) 2016-2020. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation version 2.1 * of the License. * * This library is distributed in the hope that it...
package com.jetty.nested.demo; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletHandler...
/* * Copyright 2012-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
//este programa lee el nombre y sexo de 10 personas //e imprime cuantos son hombres o mujeres public class E9 { public static void main(String[]args) { int m=0,h=0; for (int i=1;i<=10;i++) { System.out.println("escribe el nombre"); String nombre=Keyboard.readString(); System.out.println("escribe el sexo"); String sexo...
/* * 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 customerAndInvoice; /** * * @author User */ public class TestCustomerAndInvoice { public static void main(String [...
import javax.sound.midi.*; public class MiniMiniMusicApp{ public void play(){ try{ Sequencer player = MidiSystem.getSequencer(); player.open(); Sequence seq = new Sequence(Sequence.PPQ,4); Track track = seq.createTrack(); ShortMessage a = new ShortMessage(); a.setMessage(144,1,44,100);//type,f...
package uk.gov.hmcts.reform.iacaseapi; import static io.restassured.RestAssured.*; import static org.assertj.core.api.Assertions.assertThat; import io.restassured.builder.RequestSpecBuilder; import io.restassured.response.Response; import io.restassured.specification.RequestSpecification; import org.apache.commons.la...
/** * Copyright (c) 2002-2013 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
package org.basex.query.func.xquery; import java.util.*; import java.util.concurrent.*; import org.basex.query.*; import org.basex.query.value.*; import org.basex.query.value.item.*; import org.basex.util.*; /** * Forks a set of tasks, performing their computation in parallel followed by rejoining the results. * ...
package JavaOOP.Polymorphism.Exercise.Vehicles_01; public class Truck extends Vehicle { private static final double AIR_CONDITIONER_ADDITIONAL_CONSUMPTION = 1.6; public Truck(double fuel, double consumption){ super(fuel, consumption + AIR_CONDITIONER_ADDITIONAL_CONSUMPTION); } @Override p...
/************************************************************************** * copyright file="FindItemsResults.java" company="Microsoft" * Copyright (c) Microsoft Corporation. All rights reserved. * * Defines the FindItemsResults.java. *************************************************************************...
package org.springframework.samples.petportal.domain; import java.io.Serializable; /** * The PetDescription stores a file's contents as an array of bytes. * It is used to demonstrate file upload from within a portlet. * * @author John A. Lewis * @author Mark Fisher */ public class PetDescription implements Ser...
package com.eu.habbo.habbohotel.items.interactions; import com.eu.habbo.habbohotel.items.Item; import com.eu.habbo.habbohotel.rooms.Room; import com.eu.habbo.habbohotel.rooms.RoomLayout; import com.eu.habbo.habbohotel.users.Habbo; import java.sql.ResultSet; import java.sql.SQLException; public class InteractionSwitc...
package org.ovirt.engine.core.vdsbroker.irsbroker; import javax.inject.Inject; import org.ovirt.engine.core.common.FeatureSupported; import org.ovirt.engine.core.common.asynctasks.AsyncTaskCreationInfo; import org.ovirt.engine.core.common.asynctasks.AsyncTaskType; import org.ovirt.engine.core.common.vdscommands.MoveI...
package com.vitaviva.multipletheme.widget; import android.content.Context; import android.content.res.Resources; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import com.vitaviva.multipletheme.ThemeUiInterface; import com.vitaviva.multipletheme.util.ViewAttributeUtil; @Su...
package net.moonlightflower.wc3libs.bin; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset.Charset; import java.nio.charset.Standar...
apach derbi test function test test tool java file java ioexcept java lang process java lang runtim java lang secur except java net url java secur code sourc java util vector apach derbi test function test har background stream saver apach derbi test function test har jvm derbyrunjartest arg except code sourc apach der...
package com.fish.design.model.create.prototype; import java.util.Date; public class CloneObject implements Cloneable { private String name; private Long id; private Date date; private Product product; public String getName() { return name; } public void setName(String name) { ...
package tech.tobot.voidmining.voidmining.block; import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; import net.minecraft.block.BlockEntityProvider; import net.minecraft.block.Blocks; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.Entity; import net.minecraft.item.Ite...
package com.java110.fee.api; import com.alibaba.fastjson.JSONObject; import com.java110.dto.importFee.ImportFeeDto; import com.java110.dto.importFeeDetail.ImportFeeDetailDto; import com.java110.fee.bmo.importFee.IGetImportFeeBMO; import com.java110.fee.bmo.importFeeDetail.IDeleteImportFeeDetailBMO; import com.java110....
package com.xy.modular.basics.action; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotat...
package com.stylefeng.guns.rest.common.persistence.model; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName;...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * ๅ ๆฏ”็ฑปๆŽฅๅฃ่ฟ”ๅ›ž็š„ๆ•ฐๆฎ็ฑปๅž‹ * * @author auto create * @since 1.0, 2019-09-06 20:54:35 */ public class RatioDetail extends AlipayObject { private static final long serialVersionUID = 7666243355936815622L; ...
/* * 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 2013 Xtreme Labs * * 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...
/* * Copyright 2018-2020 Pnoker. 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 appli...
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * SDPartyLifeCycleManagementFeedbackInputModelServiceDomainFee...
package com.xwc1125.chain5j.ens; import java.net.IDN; import java.nio.charset.StandardCharsets; import java.util.Arrays; import com.xwc1125.chain5j.crypto.Hash; import com.xwc1125.chain5j.utils.Numeric; /** * ENS name hash implementation. */ public class NameHash { private static final byte[] EMPTY = new byte...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package com.simibubi.create.content.contraptions.components.crank; import com.jozufozu.flywheel.core.PartialModel; import com.simibubi.create.AllBlockPartials; import com.simibubi.create.AllShapes; import com.simibubi.create.AllTileEntities; import com.simibubi.create.content.contraptions.base.DirectionalKineticBlock;...
package tw.someone.leetcode.BinaryTree; import org.junit.Test; import tw.someone.leetcode.util.MyAssert; import tw.someone.leetcode.util.TreeNode; public class BinaryTreePreorderTraversalTest { @Test public void preorderTraversal() { TreeNode a = new TreeNode(1); TreeNode b = new TreeNode(2); TreeNo...
package com.atguigu.gmall.ums.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * ็”จๆˆท็™ป้™†่ฎฐๅฝ•่กจ * * @author Gork * @email 1271367045@qq.com.com * @date 2020-08-26 19:42:02 */ @...
/* Copyright 2002-2021 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * 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 ...
/** * Scaffolding file used to store all the setups needed to run * tests automatically generated by EvoSuite * Sat Nov 07 09:44:50 GMT 2020 */ package Newzgrabber; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.After; import o...
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.MemoryUtil.*; import static org...
/* * JPPF. * Copyright (C) 2005-2019 JPPF Team. * http://www.jppf.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 re...
/* * @(#)BreadthFirstSpliterator.java * Copyright ยฉ 2021 The authors and contributors of JHotDraw. MIT License. */ package org.jhotdraw8.graph.iterator; import org.jhotdraw8.annotation.NonNull; import org.jhotdraw8.collection.AbstractEnumeratorSpliterator; import org.jhotdraw8.util.function.AddToSet; import java.u...
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.lickhunter.web.models.liquidation; import com.fasterxml.jackson.annotation.*; import javax.annotation.Generated; import java.util.HashMap; import java.util.Map; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "total_events", "total_usdt", "average_usdt", "average_amount", ...
package com.github.sparkzxl.authority.domain.repository; import java.util.Set; /** * description: ่ง’่‰ฒ่ต„ๆบ็ป‘ๅฎš ไป“ๅ‚จ็ฑป * * @author: zhouxinlei * @date: 2020-07-19 21:12:43 */ public interface IRoleAuthorityRepository { /** * ไฟๅญ˜็ป่‰ฒ่ต„ๆบ * * @param roleId ่ง’่‰ฒid * @param authorityType ๆƒ้™็ฑปๅž‹ * @...
package com.google.sps.servlets; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/form-handler") public class FormHandlerServlet extends HttpServlet ...
/* * Copyright (C) 2010 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 com.sandwich.koan; import java.io.File; import com.sandwich.util.io.DynamicClassLoader; import com.sandwich.util.io.FileMonitor; import com.sandwich.util.io.FileMonitorFactory; import com.sandwich.util.io.directories.DirectoryManager; public class KoanClassLoader extends ClassLoader { private static Dynami...
/** * ๅœจๅบซ */ package jjug.ccc.e6.domain.model.stock;
package huoShan.AnZhuo.SheBei.LaYaCaoZuo; public final class rg_LaYaFuWuQiTaoJieZiLei { public static android.bluetooth.BluetoothSocket rg_QuTaoJieZiDuiXiang1 (android.bluetooth.BluetoothServerSocket rg_YuCaoZuoBenDuiXiang2412, int rg_ChaoShi3) { try { return rg_YuCaoZuoBenDuiXiang2412.accept(...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * 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.org/licenses/LICENSE-2.0. * *...
/* * Copyright (c) 2008, Rickard ร–berg. 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 applicable l...
/* * The MIT License (MIT) * * Copyright (c) 2016-2018: * Una Thompson (unascribed), * Isaac Ellingson (Falkreon), * Jamie Mansfield (jamierocks), * Alex Ponebshek (capitalthree), * and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and a...
/* * Copyright (c) 2009-2018, United States Government, as represented by the Secretary of Health and Human Services. * 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 ...
package com.pointlion.sys.mvc.admin.oa.common; import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate.JavaDelegate; import org.activiti.engine.runtime.ProcessInstance; import com.pointlion.sys.mvc.admin.oa.workflow.WorkFlowService; import com.pointlion.sys.plugin.activiti.ActivitiP...
/* * Copyright 2016-2021 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.czn.shoppingmall.controller.backend.admin; import com.czn.shoppingmall.common.Const; import com.czn.shoppingmall.common.ServerResponse; import com.czn.shoppingmall.domain.User; import com.czn.shoppingmall.service.IUserService; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.fa...
import java.util.*; class ReadFile { //Native method declaration native byte[] loadFileInMemory(String name); //Load the library static { //in Linux prefix "lib" is added automatically //plus in Linux is important $LD_LIBRARY_PATH //see how it was used gcc -fpic ... System.loadLibrary("dad_native"); ...
package Twelveth; // ์ธํ„ฐํŽ˜์ด์Šค ์ž‘์„ฑ๋ฒ• // 1. public ์„ ์ ๊ณ  interface๋ฅผ ์ ๋Š”๋‹ค. // 2. ์ธํ„ฐํŽ˜์ด์Šค๋กœ ๋งŒ๋“ค ์ด๋ฆ„์„ ์ ๋Š”๋‹ค. // 3. ๋‚ด๋ถ€์— ๋‹คํ˜•์„ฑ์„ ๊ฐ€์ง€๊ฒŒ ๋งŒ๋“ค ๋งค์„œ๋“œ ํ”„๋กœํ† ํƒ€์ž…์„ ์ž‘์„ฑํ•œ๋‹ค. // ๋‹คํ˜•์„ฑ? // ๋ˆ„๊ฐ€ ์ด๊ฒƒ์„ ๊ตฌํ˜„ํ•˜๋ƒ์— ๋”ฐ๋ผ ๊ฒฐ๊ณผ๊ฐ€ ๋‹ฌ๋ผ์ง„๋‹ค. public interface Comparable { // ํ˜„์žฌ ์ด๋ถ€๋ถ„์€ ๋‹จ์ˆœํžˆ ํ”„๋กœํƒ€์ดํ•‘๋งŒ ํ•œ ๊ฒƒ์ด๋‹ค. // ํ”„๋กœํ† ํƒ€์ดํ•‘์ด ๋ฌด์—‡์ด๋ƒ ? ํ”„๋กœํ†  ํƒ€์ž…๊ณผ ๋™์ผํ•œ๋ฐ ๋‹ค๋ฅด๊ฒŒ ๋ถ€๋ฅด๋Š”๋“ฏ ํ•˜๋‹ค. // ๋ฉ”์„œ๋“œ์˜ ๋ฆฌํ„ดํƒ€์ž…, ๋ฉ”์„œ๋“œ ์ด๋ฆ„, ๋ฉ”์„œ๋“œ ์ธ์ž์— ์ž…๋ ฅ๋งŒ ์ •์˜ํ•œ...
package dao.impl; import dao.CommentDao; import org.apache.commons.dbutils.QueryRunner; import org.apache.commons.dbutils.handlers.BeanListHandler; import org.apache.commons.dbutils.handlers.ScalarHandler; import pojo.Comment; import util.DBUtil; import java.sql.SQLException; import java.util.*; /** * @Author Miss ...
package cn.imaq.autumn.http.server; import cn.imaq.autumn.http.server.protocol.AIOHttpServerSession; import cn.imaq.autumn.http.server.protocol.AutumnHttpHandler; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.Asynchronou...
/* * Copyright 1999-2019 Seata.io Group. * * 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 l...
package org.hzero.platform.api.dto; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModelProperty; import org.hzero.core.algorithm.tree.Child; import org.hzero.mybatis.domian.SecurityToken; import org.hzero.platform.domain.entity.Country; import org.hzero.platform.domain.entity.Re...
package seedu.tr4cker.logic.parser; import static seedu.tr4cker.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.tr4cker.logic.parser.CliSyntax.PREFIX_MODULE_CODE; import static seedu.tr4cker.logic.parser.CliSyntax.PREFIX_MODULE_DELETE; import static seedu.tr4cker.logic.parser.CliSyntax.PREFIX...
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2002-2009, Technische Universitรคt Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wit...
package de.cketti.safecontentresolver.sample; public class SampleInternalContentProvider extends SampleContentProvider { public static final String AUTHORITY = "de.cketti.safecontentresolver.sample.internal"; }
package com.eric.service; /** * Description : * * @author Eric L SHU * @date 2022-03-07 22:50 */ public interface UserService { /** * Save user */ void save(); }
/* * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Modifications copyright (C) 2017 Uber Technologies, Inc. * * 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 * loc...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.client.ui.api.attribute; /** * This interface gives read access to the {@link #isResizable() resizable} attribute of an object. * * @see AttributeWriteResizable * *...
package lang; public class FactorialLogic { public static void main(String[] args) { // TODO Auto-generated method stub int input=5; int output=1; for(int i=1;i<=input;i++){ output=output*i; } System.out.println(output); } }
package while_language.ast; import while_language.Environment; import while_language.VariableNotDefinedException; public class ComparisonExpr extends BoolExpr { private ArithExpr expression1; private ArithExpr expression2; private Integer sign; public ComparisonExpr(ArithExpr expression1, ArithExpr expres...
/* * Copyright 2014-2019 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 org.jacobvv.mediapicker.util; import android.annotation.SuppressLint; import android.support.annotation.WorkerThread; import android.text.TextUtils; import android.util.Log; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import jav...
package org.usfirst.frc.team694.trajectory; public abstract class Spline { private static final int SAMPLE_SIZE = 500; protected Function interpolationX, interpolationY; public Spline(Function interpolationX, Function interpolationY) { this.interpolationX = interpolationX...
package org.apache.fop.util; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.SAXException; import org.xml.sax.helpers.AttributesImpl; public class GenerationHelperContentHandler extends DelegatingContentHandler { private static final Attributes EMPTY_ATTS = new AttributesImpl()...
package com.jkinvest.jkl.base.database.parsers; import org.apache.ibatis.reflection.MetaObject; import com.baomidou.mybatisplus.core.parser.ISqlParser; import com.baomidou.mybatisplus.core.parser.SqlInfo; import com.jkinvest.jkl.base.context.BaseContextHandler; import cn.hutool.core.util.StrUtil; import lombok.Data;...
package com.hotboom; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class HotboomAdminApplicationTests { @Test void contextLoads() { } }
package com.planet_ink.coffee_mud.Items.MiscMagic; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
/* * 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 ...
/******************************************************************************* * MIT License * * Copyright (c) 2017 CNES * * 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 r...
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package org.apache.shiro.session.mgt.scheduler; import org.apache.shiro.session.mgt.DefaultSessionManager; import org.apache.shiro.session.mgt.SessionValidationScheduler; import org.a...
/* * MethodSignature.java * * Created on 4 de febrero de 2004, 20:19 */ package com.innowhere.jnieasy.core.typedec; import com.innowhere.jnieasy.core.mem.NativeAddress; import com.innowhere.jnieasy.core.method.NativeBehaviorReflection; import com.innowhere.jnieasy.core.method.NativeDirectCallback; import com.inno...
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group 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 no...
// Copyright 2021 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 writi...
public class MyMain { // This method adds up the values of all digits // in x, recursively public static int addDigits(int x) { if(x == 0){ return 0; } else { int a = x % 10; int b = x / 10; return (a + addDigits(b)); } } ...
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE package org.bytedeco.spinnaker.Spinnaker_C; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.spinnaker.global.Spinnaker_C.*; @Prop...
package dev.schoolmanagement.controller; import dev.schoolmanagement.DTO.CourseDTO; import dev.schoolmanagement.DTO.StudentDTO; import dev.schoolmanagement.DTO.response.CreationSuccess; import dev.schoolmanagement.DTO.response.DeletionSuccess; import dev.schoolmanagement.DTO.response.UpdateSuccess; import dev.schoolma...
package com.overlord.designpatterns.command.commands; import com.overlord.designpatterns.command.Tv; /** * ๆขๅฐๅ‘ฝไปค */ public class ChannelCommand implements Command { //็”ต่ง† private Tv myTv; //้ข‘้“ private int channel; //ๆž„้€ ๆ–นๆณ• public ChannelCommand(Tv tv,int channel){ myTv = tv; this.channel = channel; } /**...