text
stringlengths
7
995k
/******************************************************************************* * 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...
/* * Copyright 2010-2018 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 "lice...
/* * Copyright 2016 TomeOkin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package LDraw.Support; public class Range { /** * @uml.property name="start" * @uml.associationEnd multiplicity="(0 -1)" elementType="LDraw.Files.LDrawMPDModel" */ int start; /** * @uml.property name="end" * @uml.associationEnd multiplicity="(0 -1)" elementType="java.lang.String" */ int end; publ...
/* * 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 pja16_13042020.DAO; import java.util.ArrayList; import java.util.List; import pja16_13042020.Model.TokoRecord_Model; /** * ...
/* * 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 org.dcsa.ebl.repository; import org.dcsa.core.repository.ExtendedRepository; import org.dcsa.ebl.model.CargoItem; import org.dcsa.ebl.model.Party; import java.util.UUID; public interface PartyRepository extends ExtendedRepository<Party, String> { }
package com.mahamitra.implementations.Sorts; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; public class MergeSortThreadOptimize extends MergeSort { @Override protected void run(int[] input, int start, int end) { ExecutorServi...
package com.ua.wozzya.client; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; /** * Represents abstract client * that enters information * via STDIN */ public abstract class AbstractConsoleClient { protected final...
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl...
package io.github.thiagolvlsantos.json.predicate.value.impl; import com.fasterxml.jackson.databind.JsonNode; import io.github.thiagolvlsantos.json.predicate.IAccess; import io.github.thiagolvlsantos.json.predicate.value.AbstractPredicateValue; public class PredicateContains extends AbstractPredicateValue { public ...
/* * Copyright (C) 2013 Lucas Batista. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. */ package jall.inference; import jall.lang.ast.Identifier; import jall.lang...
/******************************************************************************* * Copyright (c) 1998, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
package main; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StreamTokenizer; import java.util.HashMap; import java.util.Hashtable; import java.util.Map; import java.util.Random; import java.util.Vector; imp...
package info.u_team.u_mod.data; import info.u_team.u_mod.UMod; import info.u_team.u_mod.data.provider.*; import info.u_team.u_team_core.data.GenerationData; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.Event...
package org.arquillian.cube.impl.client; import org.arquillian.cube.CubeController; import org.arquillian.cube.spi.CubeConfiguration; import org.jboss.arquillian.core.api.Injector; import org.jboss.arquillian.core.api.Instance; import org.jboss.arquillian.core.api.InstanceProducer; import org.jboss.arquillian.core.api...
/* * Copyright 2022 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...
package top.hihanying.hyblog.xo.mapper; import top.hihanying.hyblog.commons.entity.Todo; import top.hihanying.hyblog.base.enums.EStatus; import top.hihanying.hyblog.base.mapper.SuperMapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; /** * 待办事项表 Mapper 接口 * * @author 应...
package uk.gov.hmcts.reform.civil.controllers.testingsupport; import feign.FeignException; import io.swagger.annotations.Api; import lombok.Data; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; import org.springfr...
/* * Copyright 2014-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright (c) 2013-2018 Spotify AB * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package excel ; import com4j.*; @IID("{000244A5-0001-0000-C000-000000000046}") public interface ITableStyleElement extends Com4jObject { // Methods: /** * <p> * Getter method for the COM property "Application" * </p> * @return Returns a value of type excel._Application */ @VTID(7) excel._App...
/* * 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.phoegel.iterator.modify; /** * 抽象聚合类角色 */ public interface Aggregate { Iterator createIterator(); }
package be.artisjaap.document.persisters; import be.artisjaap.document.action.ActivateSimpleOrCombinedTemplate; import be.artisjaap.document.action.AddSimpleTemplate; import be.artisjaap.document.action.to.TemplateNewTO; import be.artisjaap.document.action.to.TemplateTO; import org.apache.commons.io.FileUtils; import ...
/* * 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 dto; import java.io.Serializable; import java.util.Date; public class MovimentiDTO implements Serializable { /** * */ private static final long serialVersionUID = 1L; private int ID_mov; private Date data; private float prezzo; private int quantita; private float totale; private Fornitor...
package com.hardsoftstudio.anchorsheetlayout; import java.util.Arrays; import ohos.agp.components.Component; import ohos.agp.components.ComponentContainer; import ohos.agp.components.VelocityDetector; import ohos.multimodalinput.event.ManipulationEvent; import ohos.multimodalinput.event.TouchEvent; /** * DragHelper ...
package org.ovgu.de.fiction.utils; import java.io.IOException; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.SortedMap; import java.util.TreeMap; import org.apache.log4j.Logger; import org.ovgu.de.fiction.model.Similarity; import com.google...
/* * Copyright (c) 2013 Vwazen Nou * All rights reserved. */ package org.vwazennou.mrs.search; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.vwazennou.mrs.MRSField; import org.vwazennou.mrs.MRSField.MRSFieldType; publi...
package arc.backend.teavm; import arc.*; import arc.struct.*; import arc.func.*; import arc.util.*; import arc.graphics.*; import arc.util.Log.*; import org.teavm.jso.*; import org.teavm.jso.browser.*; import org.teavm.jso.dom.html.*; public class TeaApplication implements Application{ private TeaApplicationConfi...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.3.0 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.08.06 ...
// // 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.09....
/* * Copyright 2017 StreamSets 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...
package models; import io.ebean.Finder; import io.ebean.Model; import javax.persistence.*; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Optional; @Entity @Table(name = "usuario") public class User extends Model { @Id private Integer id; @Column(unique=tru...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997, 2015 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution Licen...
/* * 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...
/* * 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...
//(c) British Telecommunications plc, 2009, All Rights Reserved package com.bt.pi.sss.exception; public class MissingContentLengthException extends BucketException { private static final long serialVersionUID = 8575851760990673660L; public MissingContentLengthException() { super(); } }
package name.xs.rpc.config; /** * 基本配置信息 * @author xs * create time: 2019-06-30 17:04 */ public class BaseConfig { }
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
/* The MIT License Copyright (c) 2010-2014 Paul R. Holser, Jr. 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, mod...
/* Copyright 2011 Robert Spencer Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
package com.cn.test.functiontest; /*函数式接口中可以额外定义多个抽象方法,但这些抽象方法签名必须和Object的public方法一样 接口最终有确定的类实现, 而类的最终父类是Object。 因此函数式接口可以定义Object的public方法。 如以下的接口依然是函数式接口: @FunctionalInterfacepublic interface ObjectMethodFunctionalInterface { void count(int i); String toString(); //same to Object.toString int hashCode(); //same to ...
/* * Copyright © 2013-2020, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.seed.web.spi; ...
package com.wxapi.process; import java.util.SortedMap; import java.util.TreeMap; import com.core.util.wx.SecurityUtil; import com.core.util.wx.SignUtil; public class WxSign { private String appId; private String timestamp; private String nonceStr; private String signature; public WxSign(){ } public Wx...
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
package com.atguigu.gmall.pms.service; import com.atguigu.gmall.pms.vo.GroupVO; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.pms.entity.AttrGroupEntity; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import java.util.List; /** * 属性分组 * * ...
package com.laegler.openbanking.soap.service; import javax.xml.ws.WebFault; /** * An error occurred while executing the operation * * This class was generated by Apache CXF 3.3.3 * 2019-10-21T07:01:27.021+13:00 * Generated source version: 3.3.3 */ @WebFault(name = "OBAccountPaymentServiceProviders_GET_Retriev...
/* * Copyright (c) 2020 TurnOnline.biz 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...
package geektime.algo.leecode; import java.util.LinkedList; import java.util.Queue; /// // @author: zhaixiaoshuang // @date: 2021-04-08 08:48 // @description: 101. 对称二叉树 // 给定一个二叉树,检查它是否是镜像对称的。 // / public class IsSymmetricTree { public class TreeNode { int val; TreeNode left; ...
/* * SoapUI, Copyright (C) 2004-2016 SmartBear Software * * Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Li...
package ca.uhn.fhir.jpa.term; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.jpa.entity.TermCodeSystemVersion; import ca.uhn.fhir.jpa.entity.TermConcept; import ca.uhn.fhir.jpa.entity.TermConceptParentChildLink; import ca.uhn.fhir.jpa.term.custom.ConceptHandler; import ca.uhn.fhir.jpa.term.custom.Hierarchy...
package ru.job4j.models; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.stream.Collectors; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationT...
package com.cla.sds.slide; import com.cla.sds.EntityNotFoundException; public class SlideNotFoundException extends EntityNotFoundException { private static final long serialVersionUID = 1L; public SlideNotFoundException(String string) { super(string); } }
package game.Game; import game.Main.Price; public enum OperationData { Box(new Price(50,0,0),0,0,0,0,0,1), Garage(new Price(800,0,0),2,0,0,0,0,10), Office(new Price(4000,0,0),5,0,0,0,0,80), Cole(new Price(10000,0,0),200,0,0,0.2,0.2,150), Nhan(new Price(100000,0,0),30,0,0.5,0,0,100), School(new Price(500000,0,0)...
/* * (c) Copyright 2017 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
/* * Copyright (C) 2015-2018 SoftIndex 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 ag...
package com.xtreme.wall.service.amqp; import android.os.AsyncTask; import android.os.Handler; import android.os.Looper; class AmqpAutoConnectUtil { private static final int RETRY_PERIOD_IN_MILLIS = 500; // Half a second. private final Handler mUiThreadHandler = new Handler(Looper.getMainLooper()); private final Am...
package io.github.bbodin.yncgamelab.models.gems; import io.github.bbodin.yncgamelab.models.gems.GemGrid; import io.github.bbodin.yncgamelab.utils.Int2; public class GemSolver { public static void solve (GemGrid grid) { grid.Move(new Int2(1,2), new Int2(1,0)); grid.Move(new Int2(3,1), new Int2(1,...
package org.testcontainers.containers.startupcheck; import com.github.dockerjava.api.DockerClient; import com.google.common.util.concurrent.Uninterruptibles; import java.util.concurrent.TimeUnit; /** * Variant of {@link OneShotStartupCheckStrategy} that does not impose a timeout. * Intended for situation such as w...
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodation...
/* * Copyright 2005 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 ap...
/** * Copyright 2011-2021 Asakusa Framework Team. * * 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 com.atguigu.gulimall.product.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.common.utils.PageUtils; import com.atguigu.gulimall.product.entity.BrandEntity; import java.util.Map; /** * 品牌 * * @author huang_2 * @email huang_2@gmail.com * @date 2020-09-11 22:28:09 ...
/** * @Author Gladson Antony * @Date 10-Sep-2017 * @Time 11:06:48 AM */ package utils; import java.util.List; import controllers.InitMethod; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import...
package frc.robot; import edu.wpi.first.wpilibj.TimedRobot; import edu.wpi.first.wpilibj2.command.CommandScheduler; public class Match extends TimedRobot { private Robot robot; @Override public void robotInit() { robot = new Robot(); } @Override public void robotPeriodic() { CommandScheduler...
package org.glob3.mobile.generated; // // TaitBryanAngles.cpp // G3MiOSSDK // // Created by Jose Miguel SN on 06/02/14. // // // // TaitBryanAngles.hpp // G3MiOSSDK // // Created by Jose Miguel SN on 06/02/14. // // public class TaitBryanAngles { public final Angle _heading ; public final Angle _pitch ; ...
/* * Copyright (C) 2019 Alberto Irurueta Carro (alberto@irurueta.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 * * Unles...
/* * Copyright 2020 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 "license" ...
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
package fossilsarcheology.server.entity.prehistoric; import com.google.common.base.Predicate; import fossilsarcheology.Revival; import fossilsarcheology.client.sound.FASoundRegistry; import fossilsarcheology.server.entity.ai.*; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import ne...
/* * 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 2021 Netflix, 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 ...
package io.korhner.codilitypractice.genomicrangequery; public class Solution { public static int[] solution(String S, int[] P, int[] Q) { int[][] prefix = new int[4][S.length()]; for (int i = 0; i < S.length(); i++) { char c = S.charAt(i); if (i == 0) { prefix['A'][i] = (c == 'A' ? 1 : 0); prefix...
/* * 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 2000-2021 Vaadin 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...
/* * Copyright 2002-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...
package com.internshipElves.controller; import com.internshipElves.entity.*; import com.internshipElves.service.ComCreateTeamService; import com.internshipElves.service.ComIntroduceService; import com.internshipElves.service.ComMessageService; import com.internshipElves.service.ComProductService; import org.springfra...
/* * 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...
/******************************************************************************* * * Copyright 2012 Impetus Infotech. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * *...
package org.researchstack.backbone.ui.step.layout; import android.view.View; import org.jetbrains.annotations.NotNull; import org.researchstack.backbone.result.StepResult; import org.researchstack.backbone.step.Step; import org.researchstack.backbone.ui.callbacks.StepCallbacks; /** * @deprecated Deprecated as part ...
package com.rfdhd.scraper.model.configuration; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Authentication { @SerializedName("username") @Expose private String username; @SerializedName("password") @Expose private String password; ...
package com.isxcode.link.common.pojo; import com.isxcode.link.common.menu.SyncType; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @AllArgsConstructor @NoArgsConstructor public class LinkRequest { private String executeId; /* ...
package burp; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.exc.MismatchedInputException; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonParser; import org.apache.commons.lang3.StringEscapeUtils; import org.apache.co...
package com.rozsa.crow.screen.ui.api; @FunctionalInterface public interface ISlotGroupControllerCommand { void invoke(); }
/* * Copyright (c) 2004-2022, 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...
package com.anthunt.terraform.generator.aws.service.rds.model; import lombok.Builder; import lombok.Data; import lombok.Singular; import lombok.ToString; import software.amazon.awssdk.services.rds.model.OptionGroup; import software.amazon.awssdk.services.rds.model.Tag; import java.util.List; @Data @Builder @ToString...
package com.platform.dao.shop; import com.platform.dao.BaseDao; import com.platform.entity.shop.UserRecordEntity; import org.apache.ibatis.annotations.Mapper; /** * 会员Dao * * @author 周海生 * @email 939961241@qq.com * @date 2017-08-16 15:02:28 */ @Mapper public interface UserRecordDao extends BaseDao<UserRecordEnt...
package ca.ubc.cs.spl.aspectPatterns.examples.state.aspectj; /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This file is part of the design patterns project at UBC * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not ...
package tundraclimate.com.github.colormessage; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.plugin.java.JavaPlugin; public final class ColorMessage extends JavaPlugin implements Listener { ...
package interfacepackage; public class enumexample { public static void main(String[] args) { enumexample obj=new enumexample(); //obj.turn(direction.East); //System.out.println(directionconstants.East); //System.out.println(direction.East.ordinal); for (int i=0; i<direction.values().length; i++) { ...
/** * This file is part of Billund - http://www.computercraft.info/billund * Copyright Daniel Ratcliffe, 2013. Do not distribute without permission. * Send enquiries to dratcliffe@gmail.com */ package dan200.billund.shared.data; public class Brick { public boolean illuminated; public boolean transparent; ...
package seedu.zookeep.storage; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import seedu.zookeep.commons.exceptions.IllegalValueException; import seedu.zookeep.model.medicalcondition.MedicalCondition; /** * Jackson-friendly version of {@link MedicalConditio...
/** * Contains the callbacks needed to listen for notifications on * HALO. */ package com.mobgen.halo.android.notifications.callbacks;
import javax.crypto.SecretKey; import java.security.KeyPair; import java.util.Base64; public class Main{ public static void main(String args[]){ SecretKey keyGen = SecurityService.generateKey(); SecretKey keyImport = SecurityService.importKey(new byte[]{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}); KeyPair keyRS...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
/* * Copyright (C) 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package io.schinzel.crypto.cipher; import io.schinzel.basicutils.RandomUtil; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.assertj.core.api.Assertions.*; public class NoCipherTest { @Test public void create_NoArgs_NoCipherInstance() { assertThat(NoCipher.crea...
/* * * Copyright 2018 Netflix, 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 ap...