text
stringlengths
7
995k
package com.app.pixstory.ui.login_dashboard.login_signup_dashboard.fragments.signup.interest; import com.app.pixstory.base.BaseNavigator; /** * Author : Arvindo Mondal * Created on 17-03-2020 */ interface InterestNavigator extends BaseNavigator { void onSuccess(); }
/** * 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.onem.onemwallet.presenter.activities.util; import android.app.Activity; import android.content.Intent; import android.os.Handler; import android.util.Log; import com.onem.onemwallet.BreadApp; import com.onem.onemwallet.tools.security.BitcoinUrlHandler; import com.onem.onemwallet.tools.security.PostAuth; i...
package com.xtel.vparking.view.widget; import android.graphics.Bitmap; import com.squareup.picasso.Transformation; /** * Created by Lê Công Long Vũ on 12/6/2016. */ public class BitmapTransform implements Transformation { private final int maxWidth; private final int maxHeight; public BitmapTransform(...
package net.atlefren.GpxUploader.service; import com.topografix.gpx._1._0.Gpx; import com.topografix.gpx._1._1.*; import org.springframework.stereotype.Component; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import java....
package de.codecentric.reedelk.mail.component; import de.codecentric.reedelk.runtime.api.component.Inbound; import de.codecentric.reedelk.runtime.api.component.InboundEventListener; import de.codecentric.reedelk.runtime.api.exception.PlatformException; import de.codecentric.reedelk.runtime.api.flow.FlowContext; import...
/* * Copyright 2018 Danish Maritime Authority * * 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 org.mitre.synthea.export; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.nio.file.Files; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.TemporaryFolder...
/* * This file is part of the swblocks-decisiontree library. * * 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...
package org.uberfire.client.splash; import java.util.ArrayList; import java.util.Collection; import javax.enterprise.context.Dependent; import javax.inject.Inject; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArrayString; import org.uberfire.client.plugin.JSNativePlugin; imp...
package SpringbootSinglesAndAlbums.service; import java.util.ArrayList; import org.springframework.stereotype.Service; import SpringbootSinglesAndAlbums.domain.Album; @Service public class AlbumService { public AlbumService() { } public ArrayList<Album> getAlbums(){ ArrayList<Album> albums = new ArrayLi...
package com.example.admin.mybledemo.activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.example.admin.mybledemo.R; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bund...
package com.hlju.common.utils; import com.baomidou.mybatisplus.core.metadata.IPage; import java.io.Serializable; import java.util.List; /** * 分页工具类 * * @author haoqiang * @email 3277427547@qq.com */ public class PageUtils implements Serializable { private static final long serialVersionUID = 1L; /** ...
/** * Copyright 2012-2015 Gunnar Morling (http://www.gunnarmorling.de/) * and/or other contributors as indicated by the @authors tag. See the * copyright.txt file in the distribution for a full listing of all * contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
package e2log.configrpc; import com.google.protobuf.util.JsonFormat; import com.jayway.jsonpath.JsonPath; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframework.jdbc.co...
package ru.job4j.puzzle.firuges; public class Block implements Figure { private final Cell position; public Block(final Cell position) { this.position = position; } @Override public Cell position() { return this.position; } @Override public Cell[] way(Cell source, Cell de...
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
import java.io.Serializable; @InjectName @MarkMyMethods public class Main { public String name; public Main() { name = "jack"; } public String testMethod() { return "Test"; } protected String testMethodProtected() { return "Blah!"; } /** * @param args */ public static void main(String[] args...
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
import lombok.extern.slf4j.XSlf4j; @lombok.extern.slf4j.XSlf4j class LoggerXSlf4j { } @XSlf4j class LoggerXSlf4jWithImport { } @XSlf4j(topic="DifferentName") class LoggerXSlf4jWithDifferentName { } @XSlf4j(topic=LoggerXSlf4jWithStaticField.TOPIC) class LoggerXSlf4jWithStaticField { static final String TOPIC = "Sta...
/******************************************************************************* * Copyright (c) 2000, 2004 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, an...
// Copyright (C) 2014 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 applicable ...
package org.onebillion.onecourse.mainui.oc_countingto3; import org.onebillion.onecourse.controls.OBGroup; import org.onebillion.onecourse.mainui.generic.OC_Generic; import org.onebillion.onecourse.mainui.generic.OC_Generic_Tracing; import java.util.EnumSet; /** * Created by pedroloureiro on 13/07/16. */ public cla...
package disparity.characterCreation.screens; import java.awt.BorderLayout; import java.awt.Color; import java.util.ArrayList; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.UIManager; import disparity.characterCreation.GUIresources.ColoredTabs; import disparit...
package com.flashoverride.angrybees.handlers; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.oredict.ShapedOreRecipe; public class CraftingHandler { public static void init()...
/* * Copyright ConsenSys AG. * * 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...
/** * Copyright 2016 Smart Society Services B.V. * * 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 */ package org.opensmartgridplatform.web...
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as publ...
package com.primalpond.hunt.agent.prey.planner.plans; import com.primalpond.hunt.agent.Agent; import com.primalpond.hunt.agent.prey.Action; import com.primalpond.hunt.agent.prey.memory.MoodLevel; import com.primalpond.hunt.agent.prey.memory.StressLevel; import com.primalpond.hunt.agent.prey.memory.WorldModel; import c...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
package br.edu.sp.mackenzie.ppgeec.study; import static br.edu.sp.mackenzie.ppgeec.study.TwoDiasesValue.I; import static br.edu.sp.mackenzie.ppgeec.study.TwoDiasesValue.I1; import static br.edu.sp.mackenzie.ppgeec.study.TwoDiasesValue.I12; import static br.edu.sp.mackenzie.ppgeec.study.TwoDiasesValue.I2; import static...
package br.senac.tads.dsw.exemplospring; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ExemploSpringCrudApplication { public static void main(String[] args) { SpringApplication.run(ExemploSpringC...
/* * Copyright (C) 2009-2020 Lightbend Inc. <https://www.lightbend.com> */ package javaguide.forms; import com.google.common.collect.ImmutableMap; import com.typesafe.config.Config; import org.junit.Test; import play.Application; import play.core.j.JavaHandlerComponents; import play.data.DynamicForm; import play.da...
package Moonworks.cards; import Moonworks.OrangeJuiceMod; import Moonworks.cards.abstractCards.AbstractDynamicCard; import Moonworks.characters.TheStarBreaker; import Moonworks.powers.SteadyPower; import com.megacrit.cardcrawl.actions.common.ApplyPowerAction; import com.megacrit.cardcrawl.actions.common.GainBlockActio...
package org.omg.PortableServer.POAManagerPackage; /** * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from /Users/java_re/workspace/8-2-build-macosx-x86_64/jdk8u211/12973/corba/src/share/classes/org/omg/PortableServer/poa.idl * Mond...
package org.apache.commons.jcs3.auxiliary.remote.http.client; /* * 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...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.schema.document; import java.io.Serializable; /** * Defines how a field should be matched. * Matching objects can be compared based on their content, but they are <i>not</i> immutable. * * @a...
/** * Copyright (c) 2017 Dell Inc., or its subsidiaries. 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 */ pac...
package com.bn.Sample10_2; import java.util.Set; //表示法向量的类,此类的一个对象表示一个法向量 public class Normal { public static final float DIFF=0.0000001f;//判断两个法向量是否相同的阈值 //法向量在XYZ轴上的分量 float nx; float ny; float nz; public Normal(float nx,float ny,float nz) { this.nx=nx; this.ny=ny; this.nz=nz; ...
package com.sequenceiq.cloudbreak.api.model.template; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; @ApiModel @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public clas...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2012 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
package org.knowm.xchange.lakebtc.dto.account; import static org.assertj.core.api.Assertions.assertThat; import java.io.IOException; import java.io.InputStream; import org.junit.Test; import com.fasterxml.jackson.databind.ObjectMapper; /** * Created by cristian.lucaci on 12/19/2014. */ public class LakeBTCAccoun...
/* * 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 u...
package nl.mwensveen.adventofcode.year_2020.day_14; import static org.junit.jupiter.api.Assertions.assertEquals; import java.math.BigInteger; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; public class ProgramRunnerTest { @Test public void testRunProgramVersionOne() throw...
package com.github.cmput301f21t44.hellohabits.view.social; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.lifecycle.ViewModelP...
import java.lang.*; public class PasswordCheck { public static final int MIN_SIZE_PWD = 8; public static final int MAX_SIZE_PWD = 25; public PasswordCheck(){ } public boolean checkPassword(String password){ if(password == null){ return false; } char[] c = pa...
/** * Copyright (C) 2016 Hyphenate Inc. All rights reserved. * <p> * 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...
/* Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
package cn.edu.gdut.zaoying.Option.series.line.markLine; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface AnimationDurationUpd...
/* * Copyright 2015 Goldman Sachs. * * 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 ...
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
package cn.jianke.sample.module.jkchat.util; import android.app.Activity; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Environment; import android.provider.MediaStore; import java.io.ByteArrayOutputStream; import java.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 * distribut...
// Copyright 2020 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...
/* * 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.distrimind.bouncycastle.util.encoders; import java.io.IOException; import java.io.OutputStream; /** * A streaming Hex encoder. */ public class HexEncoder implements Encoder { protected final byte[] encodingTable = { (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5', (b...
package cn.co.willow.android.ultimate.gpuimage.core_render_filter.blend_mode_filter; /** * 多重混合滤镜,通常用于创建阴影和深度效果 */ public class GPUImageMultiplyBlendFilter extends GPUImageTwoInputFilter { public static final String MULTIPLY_BLEND_FRAGMENT_SHADER = "" + "varying highp vec2 textureCoordinate;\n" + ...
/* * #%L * de-metas-camel-shopware6 * %% * Copyright (C) 2021 metas GmbH * %% * This program 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 Foundation, either version 2 of the * License, or (at your option) any ...
/* * Copyright 2020 赖柄沣 bingfengdev@aliyun.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/** * Copyright (c) 2018, Riccardo Balbo - Lorenzo Catania * 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, thi...
/* * Copyright 2018 Amazon.com, Inc. 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 applica...
package org.contentmine.ami.tools; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Collections; import java.util.List; import javax.imageio.ImageIO; import org.apache.commons.io.FileExistsException; import org.apache.commons...
/* * Copyright 2013-2020 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...
/* * Copyright © 2014-2020 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * 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 ...
/* * This program 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 Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
package org.elastos.spvcore; /** * ISidechainSubWallet jni */ public class ISidechainSubWallet extends ISubWallet { private long mSidechainProxy; public String CreateWithdrawTransaction(String fromAddress, long amount, String mainChainAddress, String memo, String remark) throws WalletException { ret...
package org.campagnelab.circles.aspect.textGen; /*Generated by MPS */ import jetbrains.mps.text.rt.TextGenDescriptorBase; import jetbrains.mps.text.rt.TextGenContext; import jetbrains.mps.text.impl.TextGenSupport; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations; import jetbrains.mps.smodel.ad...
/* * 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.brad.web.webspringboot.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.brad.web.webspringboot.system.entity.User; import org.apache.ibatis.annotations.Pa...
/** * 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...
/* * 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-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
package com.song.cn.concurrent.java8; import org.junit.Test; import org.springframework.util.StopWatch; import java.util.concurrent.TimeUnit; import java.util.stream.IntStream; public class ForEachOrderedTest { private static void consume(int i) { try { TimeUnit.SECONDS.sleep(1); } ca...
package ru.pavlenov.bio.chapter.rosalind.combinatorics; import ru.pavlenov.bio.amino.Peptide; import ru.pavlenov.bio.utils.Dump; import java.math.BigInteger; /** * Created by laser13 on 25.06.14. */ public class Mrna { public static void start() { String aa = "MVKRCASWWGVSMGFSYWLDKFMLPKQDNGVAFVPCQMMY...
package com.singame.admin.exception; import com.singame.admin.common.ReplyBizStatus; import lombok.Getter; @Getter public class UnauthorizedException extends ApiException { private static final long serialVersionUID = 7784303438684941314L; public UnauthorizedException() { this("Unauthorized"); } public ...
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2011 LMAX Ltd. * * 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 wri...
/******************************************************************************* * Copyright © 2019 by California Community Colleges Chancellor's Office * * 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 * o...
/* * DBeaver - Universal Database Manager * Copyright (C) 2013-2015 Denis Forveille (titou10.titou10@gmail.com) * 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 ...
package wusc.edu.pay.facade.trade.vo; import java.io.Serializable; import wusc.edu.pay.common.utils.number.AmountUtil; import wusc.edu.pay.common.utils.string.StringUtil; import wusc.edu.pay.common.utils.validate.ValidateUtils; import wusc.edu.pay.facade.trade.exception.TradeBizException; /** * * @描述: 充值订单VO. *...
package com.twu.biblioteca; import org.junit.Before; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import static org.hamcrest.core.StringContains.containsString; import static org.junit.Assert.assertThat; /** * Created by Administrator on 2015/6/3. */ public class Bibliotec...
package edu.harvard.iq.policymodels.externaltexts; import java.util.Objects; /** * A string in a given markup format. * @author michael */ public class MarkupString { private final MarkupFormat format; private final String content; public MarkupString(MarkupFormat format, String content) { ...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.utils.servicemanager; import java.util.Comparator; import java.io.Serializable; /...
/* * MIT License * * Copyright (c) 2020 Airbyte * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
package examples.space; public class Station { private int fuel; public void refuel(Rocket r, int amount) { r.dock(); r.attachFuelHose(); r.addFuel(amount); fuel -= amount; r.detachFuelHose(); r.undock(); } public int getFuel() { return fuel; } public void setFuel(int fuel) {...
/* * The baseCode project * * Copyright (c) 2007-2019 University of British Columbia * * 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/LICENS...
/** * ESUP-Portail eCandidat - Copyright (c) 2016 ESUP-Portail consortium * * * 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 * ...
/* * Copyright 2018-present HiveMQ and the HiveMQ Community * * 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 ...
package br.com.alura.gerenciador.servlet; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.annotation.WebFi...
package com.miicaa.detail; import java.io.Serializable; import org.json.JSONObject; public class Document implements Serializable{ /** * */ private static final long serialVersionUID = -8692503823377959727L; String id; String title; String ext; int size; String infoid; int status; String orgcode; St...
/* * * Copyright 2015 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...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
package com.alipay.sdk.cons; public final class MiniDefine { public static final String a = "status"; public static final String b = "msg"; public static final String c = "form"; public static final String d = "onload"; public static final String e = "name"; public static final String f = "host...
/******************************************************************************* * Copyright 2021 Danny Kunz * * 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....
package rdf2rdb; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.ap...
package com.okta.developer.api; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; ...
package org.redalert1741.powerup.auto.move; import static org.junit.Assert.*; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.redalert1741.powerup.Manipulation; import org.redalert1741.robotbase.auto.ManualEnd; import org.red...
package db; import org.litepal.crud.DataSupport; /** * Created by liuzh on 2017/5/14. */ public class County extends DataSupport{ private int id; private String countyName; private String weatherId; private int cityId; public int getId(){ return id; } public void setId(int id){...
/* * Copyright 2000-2019 JetBrains s.r.o. * * 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...